@parcel/transformer-posthtml 2.11.0 → 2.13.0
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.
|
@@ -54,7 +54,7 @@ function _semver() {
|
|
|
54
54
|
return data;
|
|
55
55
|
}
|
|
56
56
|
var _loadPlugins = _interopRequireDefault(require("./loadPlugins"));
|
|
57
|
-
function _interopRequireDefault(
|
|
57
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
58
58
|
var _default = exports.default = new (_plugin().Transformer)({
|
|
59
59
|
async loadConfig({
|
|
60
60
|
config,
|
|
@@ -148,7 +148,6 @@ var _default = exports.default = new (_plugin().Transformer)({
|
|
|
148
148
|
version: '0.4.1',
|
|
149
149
|
program: JSON.parse(JSON.stringify(res.tree)) // posthtml adds functions to the AST that are not serializable
|
|
150
150
|
});
|
|
151
|
-
|
|
152
151
|
return [asset];
|
|
153
152
|
},
|
|
154
153
|
generate({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parcel/transformer-posthtml",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"main": "lib/PostHTMLTransformer.js",
|
|
17
17
|
"source": "src/PostHTMLTransformer.js",
|
|
18
18
|
"engines": {
|
|
19
|
-
"node": ">=
|
|
20
|
-
"parcel": "^2.
|
|
19
|
+
"node": ">= 16.0.0",
|
|
20
|
+
"parcel": "^2.13.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@parcel/plugin": "2.
|
|
24
|
-
"@parcel/utils": "2.
|
|
23
|
+
"@parcel/plugin": "2.13.0",
|
|
24
|
+
"@parcel/utils": "2.13.0",
|
|
25
25
|
"nullthrows": "^1.1.1",
|
|
26
26
|
"posthtml": "^0.16.5",
|
|
27
|
-
"posthtml-parser": "^0.
|
|
27
|
+
"posthtml-parser": "^0.12.1",
|
|
28
28
|
"posthtml-render": "^3.0.0",
|
|
29
29
|
"semver": "^7.5.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "a53f8f3ba1025c7ea8653e9719e0a61ef9717079"
|
|
32
32
|
}
|