@atlaspack/packager-html
Advanced tools
Comparing version 2.12.1-dev.3367 to 2.12.1-dev.3398
@@ -139,3 +139,3 @@ "use strict"; | ||
tree.walk(node => { | ||
if (node.attrs && node.attrs['data-atlaspack-key']) { | ||
if (node.attrs && node.attrs['data-parcel-key']) { | ||
inlineNodes.push(node); | ||
@@ -146,3 +146,3 @@ } | ||
for (let node of inlineNodes) { | ||
let newContent = await getAssetContent(bundleGraph, getInlineBundleContents, node.attrs['data-atlaspack-key']); | ||
let newContent = await getAssetContent(bundleGraph, getInlineBundleContents, node.attrs['data-parcel-key']); | ||
if (newContent != null) { | ||
@@ -172,3 +172,3 @@ let { | ||
// remove attr from output | ||
delete node.attrs['data-atlaspack-key']; | ||
delete node.attrs['data-parcel-key']; | ||
} | ||
@@ -175,0 +175,0 @@ } |
{ | ||
"name": "@atlaspack/packager-html", | ||
"version": "2.12.1-dev.3367+07fefed65", | ||
"version": "2.12.1-dev.3398+81c73b3cd", | ||
"license": "MIT", | ||
@@ -16,12 +16,12 @@ "publishConfig": { | ||
"node": ">= 16.0.0", | ||
"atlaspack": "^2.12.1-dev.3367+07fefed65" | ||
"parcel": "^2.12.1-dev.3398+81c73b3cd" | ||
}, | ||
"dependencies": { | ||
"@atlaspack/plugin": "2.12.1-dev.3367+07fefed65", | ||
"@atlaspack/types": "2.12.1-dev.3367+07fefed65", | ||
"@atlaspack/utils": "2.12.1-dev.3367+07fefed65", | ||
"@atlaspack/plugin": "2.12.1-dev.3398+81c73b3cd", | ||
"@atlaspack/types": "2.12.1-dev.3398+81c73b3cd", | ||
"@atlaspack/utils": "2.12.1-dev.3398+81c73b3cd", | ||
"nullthrows": "^1.1.1", | ||
"posthtml": "^0.16.5" | ||
}, | ||
"gitHead": "07fefed65a9a4d7bd0bdc9c45b39704ee4ca70dd" | ||
"gitHead": "81c73b3cdf93adf8b0013be9fed5422579bd5910" | ||
} |
@@ -135,3 +135,3 @@ // @flow strict-local | ||
tree.walk(node => { | ||
if (node.attrs && node.attrs['data-atlaspack-key']) { | ||
if (node.attrs && node.attrs['data-parcel-key']) { | ||
inlineNodes.push(node); | ||
@@ -146,3 +146,3 @@ } | ||
getInlineBundleContents, | ||
node.attrs['data-atlaspack-key'], | ||
node.attrs['data-parcel-key'], | ||
); | ||
@@ -179,3 +179,3 @@ | ||
// remove attr from output | ||
delete node.attrs['data-atlaspack-key']; | ||
delete node.attrs['data-parcel-key']; | ||
} | ||
@@ -182,0 +182,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
26769