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
1
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-nightly.214 to 2.0.0-nightly.219

20

lib/JSPackager.js

@@ -55,8 +55,12 @@ "use strict";

if (bundle.env.scopeHoist) {
let ast = await (0, _scopeHoisting.concat)(bundle, bundleGraph);
ast = (0, _scopeHoisting.link)({
let wrappedAssets = new Set();
let {
ast,
referencedAssets
} = (0, _scopeHoisting.link)({
bundle,
bundleGraph,
ast,
options
ast: await (0, _scopeHoisting.concat)(bundle, bundleGraph, wrappedAssets),
options,
wrappedAssets
});

@@ -66,3 +70,9 @@ let {

map
} = (0, _scopeHoisting.generate)(bundleGraph, bundle, ast, options);
} = (0, _scopeHoisting.generate)({
bundleGraph,
bundle,
ast,
referencedAssets,
options
});
return replaceReferences({

@@ -69,0 +79,0 @@ contents: contents + '\n' + (await getSourceMapSuffix(getSourceMapReference, map)),

{
"name": "@parcel/packager-js",
"version": "2.0.0-nightly.214+52fd6741",
"version": "2.0.0-nightly.219+f9f7320b",
"license": "MIT",

@@ -19,6 +19,6 @@ "publishConfig": {

"dependencies": {
"@parcel/plugin": "2.0.0-nightly.214+52fd6741",
"@parcel/scope-hoisting": "2.0.0-nightly.214+52fd6741",
"@parcel/plugin": "2.0.0-nightly.219+f9f7320b",
"@parcel/scope-hoisting": "2.0.0-nightly.219+f9f7320b",
"@parcel/source-map": "^2.0.0-alpha.4.9",
"@parcel/utils": "2.0.0-nightly.214+52fd6741",
"@parcel/utils": "2.0.0-nightly.219+f9f7320b",
"nullthrows": "^1.1.1"

@@ -29,3 +29,3 @@ },

},
"gitHead": "52fd6741a0ea1f2e043c628cf6b7be0715b1c837"
"gitHead": "f9f7320bed19a9a2a7d75d5c6da657272b4b44ef"
}

@@ -48,6 +48,18 @@ // @flow strict-local

if (bundle.env.scopeHoist) {
let ast = await concat(bundle, bundleGraph);
ast = link({bundle, bundleGraph, ast, options});
let wrappedAssets = new Set<string>();
let {ast, referencedAssets} = link({
bundle,
bundleGraph,
ast: await concat(bundle, bundleGraph, wrappedAssets),
options,
wrappedAssets,
});
let {contents, map} = generate(bundleGraph, bundle, ast, options);
let {contents, map} = generate({
bundleGraph,
bundle,
ast,
referencedAssets,
options,
});
return replaceReferences({

@@ -54,0 +66,0 @@ contents:

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