@parcel/packager-js
Advanced tools
Comparing version 2.0.0-canary.1718 to 2.0.0-canary.1719
@@ -101,9 +101,10 @@ "use strict"; | ||
let resolved = this.bundleGraph.getResolvedAsset(dep, this.bundle); | ||
let specifier = (0, _utils2.getSpecifier)(dep); | ||
if (this.bundleGraph.isDependencySkipped(dep)) { | ||
deps[(0, _utils2.getSpecifier)(dep)] = false; | ||
deps[specifier] = false; | ||
} else if (resolved) { | ||
deps[(0, _utils2.getSpecifier)(dep)] = this.bundleGraph.getAssetPublicId(resolved); | ||
deps[specifier] = this.bundleGraph.getAssetPublicId(resolved); | ||
} else { | ||
// An external module - map placeholder to original specifier. | ||
deps[(0, _utils2.getSpecifier)(dep)] = dep.specifier; | ||
deps[specifier] = dep.specifier; | ||
} | ||
@@ -110,0 +111,0 @@ } |
{ | ||
"name": "@parcel/packager-js", | ||
"version": "2.0.0-canary.1718+d8408010f", | ||
"version": "2.0.0-canary.1719+7ee87f7d5", | ||
"license": "MIT", | ||
@@ -20,15 +20,15 @@ "publishConfig": { | ||
"node": ">= 16.0.0", | ||
"parcel": "^2.0.0-canary.1716+d8408010f" | ||
"parcel": "^2.0.0-canary.1717+7ee87f7d5" | ||
}, | ||
"dependencies": { | ||
"@parcel/diagnostic": "2.0.0-canary.1718+d8408010f", | ||
"@parcel/plugin": "2.0.0-canary.1718+d8408010f", | ||
"@parcel/rust": "2.12.1-canary.3341+d8408010f", | ||
"@parcel/diagnostic": "2.0.0-canary.1719+7ee87f7d5", | ||
"@parcel/plugin": "2.0.0-canary.1719+7ee87f7d5", | ||
"@parcel/rust": "2.12.1-canary.3342+7ee87f7d5", | ||
"@parcel/source-map": "^2.1.1", | ||
"@parcel/types": "2.0.0-canary.1718+d8408010f", | ||
"@parcel/utils": "2.0.0-canary.1718+d8408010f", | ||
"@parcel/types": "2.0.0-canary.1719+7ee87f7d5", | ||
"@parcel/utils": "2.0.0-canary.1719+7ee87f7d5", | ||
"globals": "^13.2.0", | ||
"nullthrows": "^1.1.1" | ||
}, | ||
"gitHead": "d8408010fea89c75717d799447b47ff119bd2179" | ||
"gitHead": "7ee87f7d588eda1be7bb5279266f274368443d76" | ||
} |
@@ -104,10 +104,10 @@ // @flow strict-local | ||
let resolved = this.bundleGraph.getResolvedAsset(dep, this.bundle); | ||
let specifier = getSpecifier(dep); | ||
if (this.bundleGraph.isDependencySkipped(dep)) { | ||
deps[getSpecifier(dep)] = false; | ||
deps[specifier] = false; | ||
} else if (resolved) { | ||
deps[getSpecifier(dep)] = | ||
this.bundleGraph.getAssetPublicId(resolved); | ||
deps[specifier] = this.bundleGraph.getAssetPublicId(resolved); | ||
} else { | ||
// An external module - map placeholder to original specifier. | ||
deps[getSpecifier(dep)] = dep.specifier; | ||
deps[specifier] = dep.specifier; | ||
} | ||
@@ -114,0 +114,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
157124
4016