@parcel/packager-js
Advanced tools
Comparing version 2.0.0-nightly.97 to 2.0.0-nightly.101
@@ -52,3 +52,3 @@ "use strict"; | ||
if (options.scopeHoist) { | ||
if (bundle.env.scopeHoist) { | ||
let ast = await (0, _scopeHoisting.concat)(bundle, bundleGraph); | ||
@@ -62,3 +62,3 @@ ast = (0, _scopeHoisting.link)({ | ||
return replaceReferences({ | ||
contents: (0, _scopeHoisting.generate)(bundleGraph, bundle, ast, options).contents, | ||
contents: (0, _scopeHoisting.generate)(bundleGraph, bundle, ast).contents, | ||
map: null | ||
@@ -65,0 +65,0 @@ }); |
{ | ||
"name": "@parcel/packager-js", | ||
"version": "2.0.0-nightly.97+a63f3fc9", | ||
"version": "2.0.0-nightly.101+fa36fe82", | ||
"license": "MIT", | ||
@@ -19,8 +19,8 @@ "publishConfig": { | ||
"dependencies": { | ||
"@parcel/plugin": "2.0.0-nightly.97+a63f3fc9", | ||
"@parcel/scope-hoisting": "2.0.0-nightly.97+a63f3fc9", | ||
"@parcel/source-map": "2.0.0-nightly.97+a63f3fc9", | ||
"@parcel/utils": "2.0.0-nightly.97+a63f3fc9" | ||
"@parcel/plugin": "2.0.0-nightly.101+fa36fe82", | ||
"@parcel/scope-hoisting": "2.0.0-nightly.101+fa36fe82", | ||
"@parcel/source-map": "2.0.0-nightly.101+fa36fe82", | ||
"@parcel/utils": "2.0.0-nightly.101+fa36fe82" | ||
}, | ||
"gitHead": "a63f3fc9726483219412920faeb255e035f90747" | ||
"gitHead": "fa36fe822604e5bc19789cd5c1e89b090c3a7471" | ||
} |
@@ -44,7 +44,7 @@ // @flow strict-local | ||
// If scope hoisting is enabled, we use a different code path. | ||
if (options.scopeHoist) { | ||
if (bundle.env.scopeHoist) { | ||
let ast = await concat(bundle, bundleGraph); | ||
ast = link({bundle, bundleGraph, ast, options}); | ||
return replaceReferences({ | ||
contents: generate(bundleGraph, bundle, ast, options).contents, | ||
contents: generate(bundleGraph, bundle, ast).contents, | ||
map: null, | ||
@@ -51,0 +51,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
20448