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-canary.1612 to 2.0.0-canary.1613

4

lib/ScopeHoistingPackager.js

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

shouldBundleQueue(bundle) {
return this.useAsyncBundleRuntime && bundle.type === 'js' && bundle.bundleBehavior !== 'inline' && bundle.env.outputFormat === 'esmodule' && !bundle.env.isIsolated() && bundle.bundleBehavior !== 'isolated' && !this.bundleGraph.hasParentBundleOfType(bundle, 'js');
let referencingBundles = this.bundleGraph.getReferencingBundles(bundle);
let hasHtmlReference = referencingBundles.some(b => b.type === 'html');
return this.useAsyncBundleRuntime && bundle.type === 'js' && bundle.bundleBehavior !== 'inline' && bundle.env.outputFormat === 'esmodule' && !bundle.env.isIsolated() && bundle.bundleBehavior !== 'isolated' && hasHtmlReference;
}

@@ -220,0 +222,0 @@ runWhenReady(bundle, codeToRun) {

{
"name": "@parcel/packager-js",
"version": "2.0.0-canary.1612+a249debd4",
"version": "2.0.0-canary.1613+68bcdec6f",
"license": "MIT",

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

"node": ">= 16.0.0",
"parcel": "^2.0.0-canary.1610+a249debd4"
"parcel": "^2.0.0-canary.1611+68bcdec6f"
},
"dependencies": {
"@parcel/diagnostic": "2.0.0-canary.1612+a249debd4",
"@parcel/plugin": "2.0.0-canary.1612+a249debd4",
"@parcel/rust": "2.12.1-canary.3235+a249debd4",
"@parcel/diagnostic": "2.0.0-canary.1613+68bcdec6f",
"@parcel/plugin": "2.0.0-canary.1613+68bcdec6f",
"@parcel/rust": "2.12.1-canary.3236+68bcdec6f",
"@parcel/source-map": "^2.1.1",
"@parcel/types": "2.0.0-canary.1612+a249debd4",
"@parcel/utils": "2.0.0-canary.1612+a249debd4",
"@parcel/types": "2.0.0-canary.1613+68bcdec6f",
"@parcel/utils": "2.0.0-canary.1613+68bcdec6f",
"globals": "^13.2.0",
"nullthrows": "^1.1.1"
},
"gitHead": "a249debd492457ee33f093ea2cfc3c89179ad045"
"gitHead": "68bcdec6f706b9c81c1160cb89abca4fb764b838"
}

@@ -37,3 +37,2 @@ // @flow

} from './utils';
// General regex used to replace imports with the resolved code, references with resolutions,

@@ -268,2 +267,5 @@ // and count the number of newlines in the file for source maps.

shouldBundleQueue(bundle: NamedBundle): boolean {
let referencingBundles = this.bundleGraph.getReferencingBundles(bundle);
let hasHtmlReference = referencingBundles.some(b => b.type === 'html');
return (

@@ -276,3 +278,3 @@ this.useAsyncBundleRuntime &&

bundle.bundleBehavior !== 'isolated' &&
!this.bundleGraph.hasParentBundleOfType(bundle, 'js')
hasHtmlReference
);

@@ -279,0 +281,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