@parcel/runtime-js
Advanced tools
Comparing version 2.0.0-dev.1424 to 2.0.0-dev.1426
@@ -184,3 +184,2 @@ "use strict"; | ||
for (let dependency of otherDependencies) { | ||
var _dependency$meta; | ||
// Resolve the dependency to a bundle. If inline, export the dependency id, | ||
@@ -228,3 +227,3 @@ // which will be replaced with the contents of that bundle later. | ||
// the url is inlined and statically analyzable. | ||
if (bundle.env.isLibrary && ((_dependency$meta = dependency.meta) === null || _dependency$meta === void 0 ? void 0 : _dependency$meta.isESM) !== true) { | ||
if (bundle.env.isLibrary && mainBundle.bundleBehavior !== 'isolated') { | ||
continue; | ||
@@ -425,4 +424,4 @@ } | ||
for (let dependency of asyncDependencies) { | ||
var _dependency$meta2; | ||
let attributes = (_dependency$meta2 = dependency.meta) === null || _dependency$meta2 === void 0 ? void 0 : _dependency$meta2.importAttributes; | ||
var _dependency$meta; | ||
let attributes = (_dependency$meta = dependency.meta) === null || _dependency$meta === void 0 ? void 0 : _dependency$meta.importAttributes; | ||
if (typeof attributes === 'object' && attributes != null && ( | ||
@@ -429,0 +428,0 @@ // $FlowFixMe |
{ | ||
"name": "@parcel/runtime-js", | ||
"version": "2.0.0-dev.1424+7f6b4dbbc", | ||
"version": "2.0.0-dev.1426+2369415b7", | ||
"license": "MIT", | ||
@@ -20,11 +20,11 @@ "publishConfig": { | ||
"node": ">= 12.0.0", | ||
"parcel": "^2.0.0-dev.1422+7f6b4dbbc" | ||
"parcel": "^2.0.0-dev.1424+2369415b7" | ||
}, | ||
"dependencies": { | ||
"@parcel/diagnostic": "2.0.0-dev.1424+7f6b4dbbc", | ||
"@parcel/plugin": "2.0.0-dev.1424+7f6b4dbbc", | ||
"@parcel/utils": "2.0.0-dev.1424+7f6b4dbbc", | ||
"@parcel/diagnostic": "2.0.0-dev.1426+2369415b7", | ||
"@parcel/plugin": "2.0.0-dev.1426+2369415b7", | ||
"@parcel/utils": "2.0.0-dev.1426+2369415b7", | ||
"nullthrows": "^1.1.1" | ||
}, | ||
"gitHead": "7f6b4dbbc56a203e0fce8794856c03598c4f6708" | ||
"gitHead": "2369415b703a85196b2e76d18cf748bad349932b" | ||
} |
@@ -235,3 +235,3 @@ // @flow strict-local | ||
// the url is inlined and statically analyzable. | ||
if (bundle.env.isLibrary && dependency.meta?.isESM !== true) { | ||
if (bundle.env.isLibrary && mainBundle.bundleBehavior !== 'isolated') { | ||
continue; | ||
@@ -238,0 +238,0 @@ } |
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
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
64793
1825