@m1kad0/esp-nvs-utils 0.1.0 → 0.2.1
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 +13 -1
- package/bin/esp-nvs-decode.cjs +2 -0
- package/package.json +14 -13
package/README.md
CHANGED
|
@@ -104,7 +104,19 @@ npm run format
|
|
|
104
104
|
npm run lint
|
|
105
105
|
|
|
106
106
|
```
|
|
107
|
-
|
|
107
|
+
## Changelog
|
|
108
|
+
<!--
|
|
109
|
+
Placeholder for the next version (at the beginning of the line):
|
|
110
|
+
### **WORK IN PROGRESS**
|
|
111
|
+
-->
|
|
112
|
+
### 0.2.1 (2026-06-11)
|
|
113
|
+
- Fix: Set explicit `rootDir` for TypeScript 6 declaration build
|
|
114
|
+
|
|
115
|
+
### 0.2.0 (2026-06-11)
|
|
116
|
+
- Feat: Update to Typescript 6
|
|
117
|
+
|
|
118
|
+
### 0.1.2 (2026-06-11)
|
|
119
|
+
- Chore: First Version
|
|
108
120
|
|
|
109
121
|
## License
|
|
110
122
|
|
package/bin/esp-nvs-decode.cjs
CHANGED
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m1kad0/esp-nvs-utils",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "ESP-IDF NVS partition encoder/decoder for Node.js and browsers",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -36,19 +36,20 @@
|
|
|
36
36
|
"lint": "oxlint --deny-warnings src test",
|
|
37
37
|
"format": "oxfmt src test",
|
|
38
38
|
"format:check": "oxfmt --check src test",
|
|
39
|
-
"typecheck": "tsc --noEmit"
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"release": "release-script"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
|
-
"@types/jest": "
|
|
43
|
-
"@types/node": "
|
|
44
|
-
"jest": "
|
|
45
|
-
"oxfmt": "
|
|
46
|
-
"oxlint": "
|
|
47
|
-
"rolldown": "
|
|
48
|
-
"ts-jest": "
|
|
49
|
-
"typescript": "
|
|
50
|
-
"@alcalzone/release-script": "
|
|
51
|
-
"@alcalzone/release-script-plugin-license": "
|
|
52
|
-
"@alcalzone/release-script-plugin-manual-review": "
|
|
43
|
+
"@types/jest": "30.0.0",
|
|
44
|
+
"@types/node": "24.13.1",
|
|
45
|
+
"jest": "30.4.2",
|
|
46
|
+
"oxfmt": "0.54.0",
|
|
47
|
+
"oxlint": "1.69.0",
|
|
48
|
+
"rolldown": "1.1.1",
|
|
49
|
+
"ts-jest": "29.4.11",
|
|
50
|
+
"typescript": "6.0.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"
|
|
53
54
|
}
|
|
54
55
|
}
|