@atlaspack/packager-html 2.15.0 → 2.15.2

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,27 @@
1
1
  # @atlaspack/packager-html
2
2
 
3
+ ## 2.15.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#702](https://github.com/atlassian-labs/atlaspack/pull/702) [`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa) Thanks [@alshdavid](https://github.com/alshdavid)! - Fixes to Flow types
8
+
9
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa), [`1c7865a`](https://github.com/atlassian-labs/atlaspack/commit/1c7865a64451116d94015e248302435839d347c0), [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a)]:
10
+ - @atlaspack/plugin@2.14.20
11
+ - @atlaspack/feature-flags@2.19.2
12
+ - @atlaspack/utils@2.17.2
13
+ - @atlaspack/types@2.15.10
14
+
15
+ ## 2.15.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
20
+ - @atlaspack/feature-flags@2.19.1
21
+ - @atlaspack/utils@2.17.1
22
+ - @atlaspack/types@2.15.9
23
+ - @atlaspack/plugin@2.14.19
24
+
3
25
  ## 2.15.0
4
26
 
5
27
  ### Minor Changes
@@ -88,7 +88,10 @@ var _default = exports.default = new (_plugin().Packager)({
88
88
  let referencedBundles = [...(0, _utils().setSymmetricDifference)(new Set(referencedBundlesRecursive), new Set(bundleGraph.getReferencedBundles(bundle, {
89
89
  recursive: false
90
90
  })))];
91
+
92
+ // $FlowFixMe
91
93
  let conditionalBundles = config.evaluateRootConditionalBundles ? (0, _utils().setDifference)(getReferencedConditionalScripts(bundleGraph, referencedBundlesRecursive), new Set(referencedBundles)) : new Set();
94
+ // $FlowFixMe
92
95
  let renderConfig = config === null || config === void 0 ? void 0 : config.render;
93
96
  let {
94
97
  html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/packager-html",
3
- "version": "2.15.0",
3
+ "version": "2.15.2",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,10 +15,10 @@
15
15
  "node": ">= 16.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@atlaspack/plugin": "2.14.18",
19
- "@atlaspack/types": "2.15.8",
20
- "@atlaspack/utils": "2.17.0",
21
- "@atlaspack/feature-flags": "2.19.0",
18
+ "@atlaspack/plugin": "2.14.20",
19
+ "@atlaspack/types": "2.15.10",
20
+ "@atlaspack/utils": "2.17.2",
21
+ "@atlaspack/feature-flags": "2.19.2",
22
22
  "nullthrows": "^1.1.1",
23
23
  "posthtml": "^0.16.5"
24
24
  },
@@ -75,6 +75,7 @@ export default (new Packager({
75
75
  ),
76
76
  ];
77
77
 
78
+ // $FlowFixMe
78
79
  let conditionalBundles = config.evaluateRootConditionalBundles
79
80
  ? setDifference(
80
81
  getReferencedConditionalScripts(
@@ -84,6 +85,7 @@ export default (new Packager({
84
85
  new Set(referencedBundles),
85
86
  )
86
87
  : new Set();
88
+ // $FlowFixMe
87
89
  let renderConfig = config?.render;
88
90
 
89
91
  let {html} = await posthtml([
@@ -121,7 +123,7 @@ export default (new Packager({
121
123
  map,
122
124
  });
123
125
  },
124
- }): Packager);
126
+ }): Packager<mixed, mixed>);
125
127
 
126
128
  async function getAssetContent(
127
129
  bundleGraph: BundleGraph<NamedBundle>,