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

@parcel/packager-js

Package Overview
Dependencies
Maintainers
0
Versions
899
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.1769 to 2.0.0-canary.1770

10

lib/DevPackager.js

@@ -220,3 +220,5 @@ "use strict";

} else if (this.bundle.env.isNode()) {
let bundles = this.bundleGraph.getReferencedBundles(this.bundle);
let bundles = this.bundleGraph.getReferencedBundles(this.bundle, {
includeInline: false
});
for (let b of bundles) {

@@ -226,3 +228,7 @@ if (b.type !== 'js') {

}
importScripts += `require("${(0, _utils().relativeBundlePath)(this.bundle, b)}");\n`;
if (this.bundle.env.outputFormat === 'esmodule') {
importScripts += `import "${(0, _utils().relativeBundlePath)(this.bundle, b)}";\n`;
} else {
importScripts += `require("${(0, _utils().relativeBundlePath)(this.bundle, b)}");\n`;
}
}

@@ -229,0 +235,0 @@ }

16

package.json
{
"name": "@parcel/packager-js",
"version": "2.0.0-canary.1769+337c31c68",
"version": "2.0.0-canary.1770+e3a2b726d",
"license": "MIT",

@@ -20,15 +20,15 @@ "publishConfig": {

"node": ">= 16.0.0",
"parcel": "^2.0.0-canary.1767+337c31c68"
"parcel": "^2.0.0-canary.1768+e3a2b726d"
},
"dependencies": {
"@parcel/diagnostic": "2.0.0-canary.1769+337c31c68",
"@parcel/plugin": "2.0.0-canary.1769+337c31c68",
"@parcel/rust": "2.13.4-canary.3392+337c31c68",
"@parcel/diagnostic": "2.0.0-canary.1770+e3a2b726d",
"@parcel/plugin": "2.0.0-canary.1770+e3a2b726d",
"@parcel/rust": "2.13.4-canary.3393+e3a2b726d",
"@parcel/source-map": "^2.1.1",
"@parcel/types": "2.0.0-canary.1769+337c31c68",
"@parcel/utils": "2.0.0-canary.1769+337c31c68",
"@parcel/types": "2.0.0-canary.1770+e3a2b726d",
"@parcel/utils": "2.0.0-canary.1770+e3a2b726d",
"globals": "^13.2.0",
"nullthrows": "^1.1.1"
},
"gitHead": "337c31c68ff350f1a971752746bb0e01583f5ef4"
"gitHead": "e3a2b726db9382a873834da82746671d54557d2b"
}

@@ -279,3 +279,5 @@ // @flow strict-local

} else if (this.bundle.env.isNode()) {
let bundles = this.bundleGraph.getReferencedBundles(this.bundle);
let bundles = this.bundleGraph.getReferencedBundles(this.bundle, {
includeInline: false,
});
for (let b of bundles) {

@@ -285,3 +287,10 @@ if (b.type !== 'js') {

}
importScripts += `require("${relativeBundlePath(this.bundle, b)}");\n`;
if (this.bundle.env.outputFormat === 'esmodule') {
importScripts += `import "${relativeBundlePath(this.bundle, b)}";\n`;
} else {
importScripts += `require("${relativeBundlePath(
this.bundle,
b,
)}");\n`;
}
}

@@ -288,0 +297,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