Skip to content

Commit e7a827f

Browse files
committed
fix: adjust Node version
1 parent 523a88e commit e7a827f

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.18.0
1+
22.14.0

docs/migration-guide-v1-to-v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide will help you migrate your code from `@kasnix/structured-objects` v1
66

77
### Node.js Version
88

9-
The minimum Node.js version has been updated from 20.8.1 to 22.12.0. To ensure the library continues to work correctly, make sure you are using Node.js version 22.12.0 or higher.
9+
The minimum Node.js version has been updated from 20.8.1 to 22.14.0. To ensure the library continues to work correctly, make sure you are using Node.js version 22.14.0 or higher.
1010

1111
To check your version, use the following command:
1212

@@ -65,7 +65,7 @@ expect(graph.size).toBe(5);
6565

6666
## Migration Checklist
6767

68-
- [ ] Update Node.js to version 22.12.0 or higher
68+
- [ ] Update Node.js to version 22.14.0 or higher
6969
- [ ] Replace all references to `ObjectGraph` class with `SimilarityGraph`
7070
- [ ] Update import subpaths from `/graph` or `/object-graph` to `/similarity-graph`
7171
- [ ] Replace all uses of `.length` with `.size`

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@kasnix/structured-objects",
33
"description": "A lightweight and powerful library for manipulating objects in JavaScript and TypeScript across different types of data structures.",
44
"author": "Kasnix",
5-
"version": "1.7.1",
5+
"version": "2.0.1",
66
"repository": {
77
"type": "git",
88
"url": "git+https://github.com/luckasnix/structured-objects.git"
@@ -35,7 +35,7 @@
3535
"access": "public"
3636
},
3737
"engines": {
38-
"node": ">=22.18.0"
38+
"node": ">=22.14.0"
3939
},
4040
"scripts": {
4141
"build": "tsc && vite build",
@@ -56,7 +56,7 @@
5656
"@biomejs/biome": "2.3.8",
5757
"@commitlint/cli": "20.1.0",
5858
"@commitlint/config-conventional": "20.0.0",
59-
"@types/node": "22.18.13",
59+
"@types/node": "22.14.1",
6060
"@vitest/coverage-v8": "4.0.14",
6161
"husky": "9.1.7",
6262
"semantic-release": "25.0.2",

0 commit comments

Comments
 (0)