New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlaspack/packager-js

Package Overview
Dependencies
Maintainers
0
Versions
306
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaspack/packager-js - npm Package Compare versions

Comparing version

to
2.12.1-canary.3608

5

lib/ScopeHoistingPackager.js

@@ -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 @@ });

18

package.json
{
"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 @@ });