@nudojs/harvester 0.3.28 → 0.4.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/dist/index.js +3 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1263,8 +1263,8 @@ function readDtsFiles(paths, maxFiles = 16) {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
};
|
|
1265
1265
|
for (const p of paths) {
|
|
1266
|
-
|
|
1267
|
-
|
|
1266
|
+
const st = statSync2(p, { throwIfNoEntry: false });
|
|
1267
|
+
if (st === void 0) continue;
|
|
1268
1268
|
if (st.isDirectory()) walk(p, 0);
|
|
1269
1269
|
else if (/\.d\.ts$/.test(p) || /\.(m)?ts$/.test(p)) {
|
|
1270
1270
|
if (!p.endsWith(".d.ts.map")) out.push(p);
|
|
@@ -2131,7 +2131,7 @@ function nodeHarvestCacheKey(root, maxFiles, maxMs) {
|
|
|
2131
2131
|
let sig = "nostat";
|
|
2132
2132
|
try {
|
|
2133
2133
|
const st = statSync4(join4(root, "package.json"));
|
|
2134
|
-
sig = `${st.size}:${
|
|
2134
|
+
sig = `${st.size}:${st.mtimeMs}`;
|
|
2135
2135
|
} catch {
|
|
2136
2136
|
}
|
|
2137
2137
|
return `${root}|${maxFiles}|${maxMs}|${sig}`;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nudojs/harvester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"engines": {
|
|
5
|
-
"node": ">=
|
|
5
|
+
"node": ">=22"
|
|
6
6
|
},
|
|
7
7
|
"description": "Harvests TypeScript .d.ts declarations into Nudo env definitions",
|
|
8
8
|
"type": "module",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@babel/types": "^8.0.6",
|
|
33
|
-
"@nudojs/core": "1.
|
|
34
|
-
"@nudojs/env": "0.
|
|
35
|
-
"@nudojs/parser": "1.
|
|
33
|
+
"@nudojs/core": "1.15.2",
|
|
34
|
+
"@nudojs/env": "0.5.2",
|
|
35
|
+
"@nudojs/parser": "1.5.2",
|
|
36
36
|
"typescript": "^6.0.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|