@parcel/packager-html
Advanced tools
Comparing version 2.0.0-nightly.79 to 2.0.0-nightly.85
@@ -41,6 +41,4 @@ "use strict"; | ||
let bundleGroups = bundleGraph.getBundleGroupsReferencedByBundle(bundle); | ||
let bundles = bundleGroups.reduce((p, { | ||
bundleGroup | ||
}) => { | ||
let bundleGroups = bundleGraph.getExternalDependencies(bundle).map(dependency => bundleGraph.resolveExternalDependency(dependency)).filter(Boolean); | ||
let bundles = bundleGroups.reduce((p, bundleGroup) => { | ||
let bundles = bundleGraph.getBundlesInBundleGroup(bundleGroup).filter(bundle => !bundle.getEntryAssets().some(asset => asset.id === bundleGroup.entryAssetId)); | ||
@@ -58,3 +56,4 @@ return p.concat(bundles); | ||
bundleGraph, | ||
contents: html | ||
contents: html, | ||
relative: false | ||
}); | ||
@@ -61,0 +60,0 @@ } |
{ | ||
"name": "@parcel/packager-html", | ||
"version": "2.0.0-nightly.79+287ac639", | ||
"version": "2.0.0-nightly.85+e33d9161", | ||
"license": "MIT", | ||
@@ -19,9 +19,9 @@ "publishConfig": { | ||
"dependencies": { | ||
"@parcel/plugin": "2.0.0-nightly.79+287ac639", | ||
"@parcel/types": "2.0.0-nightly.79+287ac639", | ||
"@parcel/utils": "2.0.0-nightly.79+287ac639", | ||
"@parcel/plugin": "2.0.0-nightly.85+e33d9161", | ||
"@parcel/types": "2.0.0-nightly.85+e33d9161", | ||
"@parcel/utils": "2.0.0-nightly.85+e33d9161", | ||
"nullthrows": "^1.1.1", | ||
"posthtml": "^0.11.3" | ||
}, | ||
"gitHead": "287ac6397ade28595d56ac73971edb832bda8ff7" | ||
"gitHead": "e33d91613d0ab9f600c93c5f8466f20fe9ca9dce" | ||
} |
@@ -37,4 +37,7 @@ // @flow strict-local | ||
// JS. This will be inserted as a <link> element into the HTML here. | ||
let bundleGroups = bundleGraph.getBundleGroupsReferencedByBundle(bundle); | ||
let bundles = bundleGroups.reduce((p, {bundleGroup}) => { | ||
let bundleGroups = bundleGraph | ||
.getExternalDependencies(bundle) | ||
.map(dependency => bundleGraph.resolveExternalDependency(dependency)) | ||
.filter(Boolean); | ||
let bundles = bundleGroups.reduce((p, bundleGroup) => { | ||
let bundles = bundleGraph | ||
@@ -70,2 +73,3 @@ .getBundlesInBundleGroup(bundleGroup) | ||
contents: html, | ||
relative: false, | ||
}); | ||
@@ -72,0 +76,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
12217
322