Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@parcel/packager-js

Package Overview
Dependencies
Maintainers
1
Versions
892
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/packager-js - npm Package Compare versions

Comparing version 2.0.0-canary.1718 to 2.0.0-canary.1719

7

lib/DevPackager.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc