@atlaspack/packager-svg 2.14.5-dev.73 → 2.14.5-dev.95

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/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @atlaspack/packager-svg
2
2
 
3
+ ## 2.14.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/utils@2.15.2
9
+ - @atlaspack/types@2.15.4
10
+ - @atlaspack/plugin@2.14.14
11
+
12
+ ## 2.14.13
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies []:
17
+ - @atlaspack/types@2.15.3
18
+ - @atlaspack/utils@2.15.1
19
+ - @atlaspack/plugin@2.14.13
20
+
21
+ ## 2.14.12
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [[`e39c6cf`](https://github.com/atlassian-labs/atlaspack/commit/e39c6cf05f7e95ce5420dbcea66f401b1cbd397c)]:
26
+ - @atlaspack/utils@2.15.0
27
+ - @atlaspack/types@2.15.2
28
+ - @atlaspack/plugin@2.14.12
29
+
3
30
  ## 2.14.11
4
31
 
5
32
  ### Patch Changes
@@ -52,16 +52,17 @@ var _default = exports.default = new (_plugin().Packager)({
52
52
  })))];
53
53
  const asset = assets[0];
54
54
  const code = await asset.getCode();
55
- let {
56
- html: svg
57
- } = await (0, _posthtml().default)([tree => insertBundleReferences(referencedBundles, tree), tree => replaceInlineAssetContent(bundleGraph, getInlineBundleContents, tree)]).process(code, {
55
+ const options = {
58
56
  directives: [{
59
57
  name: /^\?/,
60
58
  start: '<',
61
59
  end: '>'
62
60
  }],
63
61
  xmlMode: true
64
- });
62
+ };
63
+ let {
64
+ html: svg
65
+ } = await (0, _posthtml().default)([tree => insertBundleReferences(referencedBundles, tree), tree => replaceInlineAssetContent(bundleGraph, getInlineBundleContents, tree)]).process(code, options);
65
66
  const {
66
67
  contents,
67
68
  map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/packager-svg",
3
- "version": "2.14.5-dev.73+84eec3484",
3
+ "version": "2.14.5-dev.95+d8e35a83e",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,11 +15,11 @@
15
15
  "node": ">= 16.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@atlaspack/plugin": "2.14.5-dev.73+84eec3484",
19
- "@atlaspack/types": "2.14.5-dev.73+84eec3484",
20
- "@atlaspack/utils": "2.14.5-dev.73+84eec3484",
18
+ "@atlaspack/plugin": "2.14.5-dev.95+d8e35a83e",
19
+ "@atlaspack/types": "2.14.5-dev.95+d8e35a83e",
20
+ "@atlaspack/utils": "2.14.5-dev.95+d8e35a83e",
21
21
  "posthtml": "^0.16.4"
22
22
  },
23
23
  "type": "commonjs",
24
- "gitHead": "84eec348413c647de4872f902c4bc8ff54c347f3"
24
+ "gitHead": "d8e35a83e480e0811b63a319e88ffe9a2cd509e6"
25
25
  }