@atlaspack/transformer-posthtml 2.14.19 → 2.14.20

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,15 @@
1
1
  # @atlaspack/transformer-posthtml
2
2
 
3
+ ## 2.14.20
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)]:
10
+ - @atlaspack/plugin@2.14.20
11
+ - @atlaspack/utils@2.17.2
12
+
3
13
  ## 2.14.19
4
14
 
5
15
  ### Patch Changes
@@ -129,8 +129,10 @@ var _default = exports.default = new (_plugin().Transformer)({
129
129
  return [asset];
130
130
  }
131
131
  let ast = (0, _nullthrows().default)(await asset.getAST());
132
+ // $FlowFixMe
132
133
  let res = await (0, _posthtml().default)(config.plugins).process(ast.program, {
133
134
  ...config,
135
+ // $FlowFixMe
134
136
  plugins: config.plugins
135
137
  });
136
138
  if (res.messages) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-posthtml",
3
- "version": "2.14.19",
3
+ "version": "2.14.20",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,8 +15,8 @@
15
15
  "node": ">= 16.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@atlaspack/plugin": "2.14.19",
19
- "@atlaspack/utils": "2.17.1",
18
+ "@atlaspack/plugin": "2.14.20",
19
+ "@atlaspack/utils": "2.17.2",
20
20
  "nullthrows": "^1.1.1",
21
21
  "posthtml": "^0.16.5",
22
22
  "posthtml-parser": "^0.10.1",
@@ -99,8 +99,10 @@ export default (new Transformer({
99
99
  }
100
100
 
101
101
  let ast = nullthrows(await asset.getAST());
102
+ // $FlowFixMe
102
103
  let res = await posthtml(config.plugins).process(ast.program, {
103
104
  ...config,
105
+ // $FlowFixMe
104
106
  plugins: config.plugins,
105
107
  });
106
108
 
@@ -128,4 +130,4 @@ export default (new Transformer({
128
130
  }),
129
131
  };
130
132
  },
131
- }): Transformer);
133
+ }): Transformer<mixed>);