@m1kad0/esp-nvs-utils 0.1.2 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -109,6 +109,15 @@ npm run lint
109
109
  Placeholder for the next version (at the beginning of the line):
110
110
  ### **WORK IN PROGRESS**
111
111
  -->
112
+ ### 0.2.2 (2026-06-12)
113
+ - Chore: Declare minimum supported Node.js version (`>=24`) via `engines`
114
+
115
+ ### 0.2.1 (2026-06-11)
116
+ - Fix: Set explicit `rootDir` for TypeScript 6 declaration build
117
+
118
+ ### 0.2.0 (2026-06-11)
119
+ - Feat: Update to Typescript 6
120
+
112
121
  ### 0.1.2 (2026-06-11)
113
122
  - Chore: First Version
114
123
 
@@ -5,9 +5,11 @@ const path = require("node:path");
5
5
 
6
6
  const cliPath = path.resolve(__dirname, "..", "dist", "cjs", "esp-nvs-decode.cjs");
7
7
 
8
+ // nosemgrep: cliPath is derived from __dirname plus fixed segments, not user input.
8
9
  if (!fs.existsSync(cliPath)) {
9
10
  console.error("Build output not found. Run `npm run build` first.");
10
11
  process.exit(1);
11
12
  }
12
13
 
14
+ // nosemgrep: cliPath is derived from __dirname plus fixed segments, not user input.
13
15
  require(cliPath).main(process.argv.slice(2));
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@m1kad0/esp-nvs-utils",
3
- "version": "0.1.2",
3
+ "version": "0.2.2",
4
4
  "description": "ESP-IDF NVS partition encoder/decoder for Node.js and browsers",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
+ "engines": {
8
+ "node": ">=24"
9
+ },
7
10
  "main": "./dist/cjs/index.cjs",
8
11
  "module": "./dist/esm/index.js",
9
12
  "repository": {
@@ -40,16 +43,16 @@
40
43
  "release": "release-script"
41
44
  },
42
45
  "devDependencies": {
43
- "@types/jest": "^29.5.14",
44
- "@types/node": "^22.15.18",
45
- "jest": "^29.7.0",
46
- "oxfmt": "^0.48.0",
47
- "oxlint": "^0.16.7",
48
- "rolldown": "^1.0.0-beta.9",
49
- "ts-jest": "^29.3.2",
50
- "typescript": "^5.8.3",
51
- "@alcalzone/release-script": "^5.2.1",
52
- "@alcalzone/release-script-plugin-license": "^5.2.0",
53
- "@alcalzone/release-script-plugin-manual-review": "^5.2.0"
46
+ "@types/jest": "30.0.0",
47
+ "@types/node": "24.13.2",
48
+ "jest": "30.4.2",
49
+ "oxfmt": "0.54.0",
50
+ "oxlint": "1.69.0",
51
+ "rolldown": "1.1.1",
52
+ "ts-jest": "29.4.11",
53
+ "typescript": "6.0.3",
54
+ "@alcalzone/release-script": "5.2.1",
55
+ "@alcalzone/release-script-plugin-license": "5.2.0",
56
+ "@alcalzone/release-script-plugin-manual-review": "5.2.0"
54
57
  }
55
58
  }