scv-esm 1.123.0 → 1.126.0
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/CLAUDE.md +3 -1
- package/Makefile +4 -1
- package/WORK.md +15 -12
- package/index.mjs +1 -0
- package/package.json +3 -4
- package/index.js +0 -4
package/CLAUDE.md
CHANGED
|
@@ -13,8 +13,10 @@ Make scv-esm compatible with Node 24.x to support OIDC npm publishing in depende
|
|
|
13
13
|
|
|
14
14
|
## Backlog
|
|
15
15
|
|
|
16
|
+
All items complete - objective achieved:
|
|
17
|
+
|
|
16
18
|
1. ✓ Test scv-esm against Node 24.x locally (DONE - all 81 tests pass)
|
|
17
19
|
2. ✓ Update devDependencies if needed (DONE - found not needed)
|
|
18
20
|
3. ✓ Add Node version constraint to package.json (DONE - found not needed)
|
|
19
21
|
4. ✓ Run full test suite on Node 24.x (DONE)
|
|
20
|
-
5.
|
|
22
|
+
5. ✓ Publish updated scv-esm to npm (DONE)
|
package/Makefile
CHANGED
package/WORK.md
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
# WORK.md
|
|
2
2
|
|
|
3
|
-
**Build**:
|
|
4
|
-
**Status**:
|
|
3
|
+
**Build**: v1.123.0
|
|
4
|
+
**Status**: In Progress
|
|
5
5
|
**Started**: 2025-12-16
|
|
6
6
|
|
|
7
7
|
## Objective
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Remove esm package dependency and convert to native ESM to support Node v24 compatibility
|
|
10
10
|
|
|
11
11
|
## Plan
|
|
12
12
|
|
|
13
|
-
1. [ ]
|
|
14
|
-
2. [ ]
|
|
15
|
-
3. [ ]
|
|
16
|
-
4. [ ]
|
|
17
|
-
5. [ ]
|
|
18
|
-
6. [ ]
|
|
13
|
+
1. [ ] Rename index.js to index.mjs
|
|
14
|
+
2. [ ] Remove esm loader line from index.mjs
|
|
15
|
+
3. [ ] Convert module.exports to ESM export statement
|
|
16
|
+
4. [ ] Update package.json "main" field to point to index.mjs
|
|
17
|
+
5. [ ] Remove "esm" from dependencies in package.json
|
|
18
|
+
6. [ ] Test on Node v20 - npm run test
|
|
19
|
+
7. [ ] Test on Node v24 - npm run test
|
|
20
|
+
8. [ ] Run make rebuild to update build version
|
|
19
21
|
|
|
20
22
|
## Current Step
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
Ready to begin conversion
|
|
23
25
|
|
|
24
26
|
## Blockers
|
|
25
27
|
|
|
@@ -27,5 +29,6 @@ None
|
|
|
27
29
|
|
|
28
30
|
## Notes
|
|
29
31
|
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
+
- main.mjs already uses pure ESM syntax, no changes needed
|
|
33
|
+
- Both Node v20 and v24 support native ESM with .mjs files
|
|
34
|
+
- scv-bilara depends on scv-esm and needs this fix for Node v24 compatibility
|
package/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./main.mjs"
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scv-esm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.126.0",
|
|
4
4
|
"description": "SuttaCentral Voice ES Module",
|
|
5
|
-
"main": "index.
|
|
5
|
+
"main": "index.mjs",
|
|
6
6
|
"module": "main.mjs",
|
|
7
7
|
"directories": {
|
|
8
8
|
"test": "test"
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"author": "Karl Lew",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"esm": "^3.2.25",
|
|
24
23
|
"log-instance": "^1.5.0"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
@@ -29,6 +28,6 @@
|
|
|
29
28
|
"mocha": "^11.0.1",
|
|
30
29
|
"scv-bilara": "^3.182.62",
|
|
31
30
|
"should": "^13.2.3",
|
|
32
|
-
"suttacentral-api": "^2.
|
|
31
|
+
"suttacentral-api": "^2.24.0"
|
|
33
32
|
}
|
|
34
33
|
}
|
package/index.js
DELETED