scv-esm 1.125.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/Makefile +4 -1
- package/WORK.md +15 -12
- package/index.mjs +1 -0
- package/package.json +2 -2
- package/index.js +0 -4
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
package/index.js
DELETED