packtory 0.0.94 → 0.0.95
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/dead-code-eliminator/bundle-analysis.js +6 -0
- package/dead-code-eliminator/bundle-analysis.js.map +1 -0
- package/dead-code-eliminator/code-file-analyzer.js.map +1 -1
- package/dead-code-eliminator/cross-bundle/cross-bundle-seeds.js.map +1 -1
- package/dead-code-eliminator/cross-bundle/import-export-walker.js.map +1 -1
- package/dead-code-eliminator/cross-bundle/seed-store.js +0 -1
- package/dead-code-eliminator/cross-bundle/seed-store.js.map +1 -1
- package/dead-code-eliminator/eliminator.js +1 -5
- package/dead-code-eliminator/eliminator.js.map +1 -1
- package/dead-code-eliminator/liveness/resource-retention.js.map +1 -1
- package/dead-code-eliminator/reachability/local-seed-gathering.js.map +1 -1
- package/dead-code-eliminator/reachability/reachability.js.map +1 -1
- package/dead-code-eliminator/transform/declaration-removal.js +1 -0
- package/dead-code-eliminator/transform/declaration-removal.js.map +1 -1
- package/package.json +4 -4
- package/sbom.cdx.json +19 -19
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-analysis.js","sourceRoot":"","sources":["../../../../source/dead-code-eliminator/bundle-analysis.ts"],"names":[],"mappings":"AACA,OAA4D,yBAAyB,CAAC;AAEtF,OAA8D,0BAA0B,CAAC;AAEzF,OAA8B,kCAAkC,CAAC;AACjE,OAAsE,+BAA+B,CAAC;AACtG,OAAwC,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-file-analyzer.js","sourceRoot":"","sources":["../../../../source/dead-code-eliminator/code-file-analyzer.ts"],"names":[],"mappings":"AAEA,OAAwF,sBAAsB,CAAC;AAE/G,OAAoC,+BAA+B,CAAC;AACpE,OAA0B,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"code-file-analyzer.js","sourceRoot":"","sources":["../../../../source/dead-code-eliminator/code-file-analyzer.ts"],"names":[],"mappings":"AAEA,OAAwF,sBAAsB,CAAC;AAE/G,OAAoC,+BAA+B,CAAC;AACpE,OAA0B,8BAA8B,CAAC;AAGzD,OAAiC,oCAAoC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cross-bundle-seeds.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/cross-bundle/cross-bundle-seeds.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cross-bundle-seeds.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/cross-bundle/cross-bundle-seeds.ts"],"names":[],"mappings":"AAIA,OAA6B,mBAAmB,CAAC;AACjD,OAA0C,2BAA2B,CAAC;AACtE,OAA8C,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-export-walker.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/cross-bundle/import-export-walker.ts"],"names":[],"mappings":"AAAA,OAAqG,UAAU,CAAC;AAChH,OAA0B,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"import-export-walker.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/cross-bundle/import-export-walker.ts"],"names":[],"mappings":"AAAA,OAAqG,UAAU,CAAC;AAChH,OAA0B,+BAA+B,CAAC;AAE1D,OAAkF,mBAAmB,CAAC;AACtG,OAAyC,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seed-store.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/cross-bundle/seed-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"seed-store.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/cross-bundle/seed-store.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import "./bundle-analysis.js";
|
|
2
2
|
import "./cross-bundle/cross-bundle-seeds.js";
|
|
3
|
-
import "./dependency-metadata.js";
|
|
4
3
|
import "./elimination-emitter.js";
|
|
5
4
|
import "./load-bundle.js";
|
|
6
|
-
import "./liveness/resource-retention.js";
|
|
7
|
-
import "./source-map-recomposition.js";
|
|
8
|
-
import "./side-effects-field.js";
|
|
9
5
|
//# sourceMappingURL=eliminator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eliminator.js","sourceRoot":"","sources":["../../../../source/dead-code-eliminator/eliminator.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"eliminator.js","sourceRoot":"","sources":["../../../../source/dead-code-eliminator/eliminator.ts"],"names":[],"mappings":"AAEA,OAA6D,sBAAsB,CAAC;AACpF,OAAsC,sCAAsC,CAAC;AAC7E,OAAqC,0BAA0B,CAAC;AAChE,OAA+C,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-retention.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/liveness/resource-retention.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resource-retention.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/liveness/resource-retention.ts"],"names":[],"mappings":"AAEA,OAAqE,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-seed-gathering.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/reachability/local-seed-gathering.ts"],"names":[],"mappings":"AAAA,OAAqE,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"local-seed-gathering.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/reachability/local-seed-gathering.ts"],"names":[],"mappings":"AAAA,OAAqE,UAAU,CAAC;AAGhF,OAA+C,iBAAiB,CAAC;AACjE,OAAoE,kCAAkC,CAAC;AACvG,OAAwC,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reachability.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/reachability/reachability.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reachability.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/reachability/reachability.ts"],"names":[],"mappings":"AAEA,OAAwD,kBAAkB,CAAC;AAC3E,OAA8E,iBAAiB,CAAC;AAChG,OAAyC,kCAAkC,CAAC;AAC5E,OAAoD,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declaration-removal.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/transform/declaration-removal.ts"],"names":[],"mappings":"AAAA,OAMO,UAAU,CAAC;AAClB,OAA4C,6BAA6B,CAAC;AAC1E,
|
|
1
|
+
{"version":3,"file":"declaration-removal.js","sourceRoot":"","sources":["../../../../../source/dead-code-eliminator/transform/declaration-removal.ts"],"names":[],"mappings":"AAAA,OAMO,UAAU,CAAC;AAClB,OAA4C,6BAA6B,CAAC;AAC1E,OAA0B,+BAA+B,CAAC;AAC1D,OAGO,qCAAqC,CAAC;AAE7C,OAAmC,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"true-myth": "9.4.0",
|
|
29
29
|
"ts-morph": "28.0.0",
|
|
30
30
|
"ts-pattern": "5.9.0",
|
|
31
|
-
"type-fest": "5.
|
|
32
|
-
"unix-permissions": "6.0.
|
|
33
|
-
"zod": "4.4
|
|
31
|
+
"type-fest": "5.9.0",
|
|
32
|
+
"unix-permissions": "6.0.2",
|
|
33
|
+
"zod": "4.5.4"
|
|
34
34
|
},
|
|
35
35
|
"description": "Enable customized npm package bundling and publishing using packtory’s versatile API.",
|
|
36
36
|
"engines": {
|
|
@@ -149,5 +149,5 @@
|
|
|
149
149
|
"./tar/tarball-builder.js"
|
|
150
150
|
],
|
|
151
151
|
"type": "module",
|
|
152
|
-
"version": "0.0.
|
|
152
|
+
"version": "0.0.95"
|
|
153
153
|
}
|
package/sbom.cdx.json
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "packtory",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/packtory@0.0.
|
|
21
|
-
"purl": "pkg:npm/packtory@0.0.
|
|
19
|
+
"version": "0.0.95",
|
|
20
|
+
"bom-ref": "pkg:npm/packtory@0.0.95",
|
|
21
|
+
"purl": "pkg:npm/packtory@0.0.95"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
@@ -298,41 +298,41 @@
|
|
|
298
298
|
{
|
|
299
299
|
"type": "library",
|
|
300
300
|
"name": "type-fest",
|
|
301
|
-
"version": "5.
|
|
302
|
-
"bom-ref": "pkg:npm/type-fest@5.
|
|
301
|
+
"version": "5.9.0",
|
|
302
|
+
"bom-ref": "pkg:npm/type-fest@5.9.0",
|
|
303
303
|
"scope": "required",
|
|
304
304
|
"licenses": [
|
|
305
305
|
{
|
|
306
306
|
"expression": "(MIT OR CC0-1.0)"
|
|
307
307
|
}
|
|
308
308
|
],
|
|
309
|
-
"purl": "pkg:npm/type-fest@5.
|
|
309
|
+
"purl": "pkg:npm/type-fest@5.9.0"
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
"type": "library",
|
|
313
313
|
"name": "unix-permissions",
|
|
314
|
-
"version": "6.0.
|
|
315
|
-
"bom-ref": "pkg:npm/unix-permissions@6.0.
|
|
314
|
+
"version": "6.0.2",
|
|
315
|
+
"bom-ref": "pkg:npm/unix-permissions@6.0.2",
|
|
316
316
|
"scope": "required",
|
|
317
317
|
"licenses": [
|
|
318
318
|
{
|
|
319
319
|
"expression": "Apache-2.0"
|
|
320
320
|
}
|
|
321
321
|
],
|
|
322
|
-
"purl": "pkg:npm/unix-permissions@6.0.
|
|
322
|
+
"purl": "pkg:npm/unix-permissions@6.0.2"
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
"type": "library",
|
|
326
326
|
"name": "zod",
|
|
327
|
-
"version": "4.4
|
|
328
|
-
"bom-ref": "pkg:npm/zod@4.4
|
|
327
|
+
"version": "4.5.4",
|
|
328
|
+
"bom-ref": "pkg:npm/zod@4.5.4",
|
|
329
329
|
"scope": "required",
|
|
330
330
|
"licenses": [
|
|
331
331
|
{
|
|
332
332
|
"expression": "MIT"
|
|
333
333
|
}
|
|
334
334
|
],
|
|
335
|
-
"purl": "pkg:npm/zod@4.4
|
|
335
|
+
"purl": "pkg:npm/zod@4.5.4"
|
|
336
336
|
}
|
|
337
337
|
],
|
|
338
338
|
"dependencies": [
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
"ref": "pkg:npm/npm-registry-fetch@20.0.1"
|
|
377
377
|
},
|
|
378
378
|
{
|
|
379
|
-
"ref": "pkg:npm/packtory@0.0.
|
|
379
|
+
"ref": "pkg:npm/packtory@0.0.95",
|
|
380
380
|
"dependsOn": [
|
|
381
381
|
"pkg:npm/@arethetypeswrong/core@0.18.5",
|
|
382
382
|
"pkg:npm/@cyclonedx/cyclonedx-library@10.2.0",
|
|
@@ -399,9 +399,9 @@
|
|
|
399
399
|
"pkg:npm/true-myth@9.4.0",
|
|
400
400
|
"pkg:npm/ts-morph@28.0.0",
|
|
401
401
|
"pkg:npm/ts-pattern@5.9.0",
|
|
402
|
-
"pkg:npm/type-fest@5.
|
|
403
|
-
"pkg:npm/unix-permissions@6.0.
|
|
404
|
-
"pkg:npm/zod@4.4
|
|
402
|
+
"pkg:npm/type-fest@5.9.0",
|
|
403
|
+
"pkg:npm/unix-permissions@6.0.2",
|
|
404
|
+
"pkg:npm/zod@4.5.4"
|
|
405
405
|
]
|
|
406
406
|
},
|
|
407
407
|
{
|
|
@@ -429,13 +429,13 @@
|
|
|
429
429
|
"ref": "pkg:npm/ts-pattern@5.9.0"
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
|
-
"ref": "pkg:npm/type-fest@5.
|
|
432
|
+
"ref": "pkg:npm/type-fest@5.9.0"
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
|
-
"ref": "pkg:npm/unix-permissions@6.0.
|
|
435
|
+
"ref": "pkg:npm/unix-permissions@6.0.2"
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
|
-
"ref": "pkg:npm/zod@4.4
|
|
438
|
+
"ref": "pkg:npm/zod@4.5.4"
|
|
439
439
|
}
|
|
440
440
|
]
|
|
441
441
|
}
|