@atlaspack/packager-js
Advanced tools
Comparing version
@@ -958,3 +958,6 @@ "use strict"; | ||
let unused = incomingDeps.every(d => { | ||
let symbols = (0, _nullthrows().default)(this.bundleGraph.getUsedSymbols(d)); | ||
let symbols = this.bundleGraph.getUsedSymbols(d); | ||
// No used symbols available for the asset, make sure we keep all of them | ||
if (!symbols) return false; | ||
return !symbols.has(symbol) && !symbols.has('*'); | ||
@@ -961,0 +964,0 @@ }); |
{ | ||
"name": "@atlaspack/packager-js", | ||
"version": "2.12.1-canary.3607+fc7589858", | ||
"version": "2.12.1-canary.3608+c17d17f39", | ||
"license": "(MIT OR Apache-2.0)", | ||
@@ -15,12 +15,12 @@ "publishConfig": { | ||
"engines": { | ||
"atlaspack": "2.12.1-canary.3607+fc7589858", | ||
"atlaspack": "2.12.1-canary.3608+c17d17f39", | ||
"node": ">= 16.0.0" | ||
}, | ||
"dependencies": { | ||
"@atlaspack/diagnostic": "2.12.1-canary.3607+fc7589858", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3607+fc7589858", | ||
"@atlaspack/plugin": "2.12.1-canary.3607+fc7589858", | ||
"@atlaspack/rust": "2.12.1-canary.3607+fc7589858", | ||
"@atlaspack/types": "2.12.1-canary.3607+fc7589858", | ||
"@atlaspack/utils": "2.12.1-canary.3607+fc7589858", | ||
"@atlaspack/diagnostic": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/plugin": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/rust": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/types": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/utils": "2.12.1-canary.3608+c17d17f39", | ||
"@parcel/source-map": "^2.1.1", | ||
@@ -30,3 +30,3 @@ "globals": "^13.2.0", | ||
}, | ||
"gitHead": "fc7589858cb8a7330b6ce2c389eb89917a143237" | ||
"gitHead": "c17d17f3994e30988351ae34a5b68b85048a3e0c" | ||
} |
@@ -1332,3 +1332,7 @@ // @flow | ||
let unused = incomingDeps.every((d) => { | ||
let symbols = nullthrows(this.bundleGraph.getUsedSymbols(d)); | ||
let symbols = this.bundleGraph.getUsedSymbols(d); | ||
// No used symbols available for the asset, make sure we keep all of them | ||
if (!symbols) return false; | ||
return !symbols.has(symbol) && !symbols.has('*'); | ||
@@ -1335,0 +1339,0 @@ }); |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
172150
0.12%4122
0.1%