@atlaspack/packager-xml 2.12.1-dev.3443 → 2.12.1-dev.3478

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/packager-xml",
3
- "version": "2.12.1-dev.3443+d1170cfc7",
3
+ "version": "2.12.1-dev.3478+5fd2da535",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,13 +13,13 @@
13
13
  "source": "src/XMLPackager.js",
14
14
  "engines": {
15
15
  "node": ">= 16.0.0",
16
- "parcel": "^2.12.1-dev.3443+d1170cfc7"
16
+ "parcel": "^2.12.1-dev.3478+5fd2da535"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/plugin": "2.12.1-dev.3443+d1170cfc7",
20
- "@atlaspack/types": "2.12.1-dev.3443+d1170cfc7",
21
- "@atlaspack/utils": "2.12.1-dev.3443+d1170cfc7",
19
+ "@atlaspack/plugin": "2.12.1-dev.3478+5fd2da535",
20
+ "@atlaspack/types": "2.12.1-dev.3478+5fd2da535",
21
+ "@atlaspack/utils": "2.12.1-dev.3478+5fd2da535",
22
22
  "@xmldom/xmldom": "^0.7.9"
23
23
  },
24
- "gitHead": "d1170cfc79beb290b2a066f472f68f71f7d7cb23"
24
+ "gitHead": "5fd2da535ecbe096d57e03aec15e80bb1d7601f7"
25
25
  }
@@ -13,7 +13,7 @@ import {DOMParser, XMLSerializer} from '@xmldom/xmldom';
13
13
  export default (new Packager({
14
14
  async package({bundle, bundleGraph, getInlineBundleContents}) {
15
15
  const assets = [];
16
- bundle.traverseAssets(asset => {
16
+ bundle.traverseAssets((asset) => {
17
17
  assets.push(asset);
18
18
  });
19
19
 
@@ -71,7 +71,7 @@ export default (new Packager({
71
71
  bundleGraph,
72
72
  contents: code,
73
73
  relative: false,
74
- getReplacement: contents => contents.replace(/"/g, '"'),
74
+ getReplacement: (contents) => contents.replace(/"/g, '"'),
75
75
  });
76
76
 
77
77
  return replaceInlineReferences({
@@ -96,7 +96,7 @@ async function getAssetContent(
96
96
  let inlineBundle: ?Bundle;
97
97
  bundleGraph.traverseBundles((bundle, context, {stop}) => {
98
98
  const entryAssets = bundle.getEntryAssets();
99
- if (entryAssets.some(a => a.uniqueKey === assetId)) {
99
+ if (entryAssets.some((a) => a.uniqueKey === assetId)) {
100
100
  inlineBundle = bundle;
101
101
  stop();
102
102
  }