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
893
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.97 to 2.0.0-nightly.101

4

lib/JSPackager.js

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

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