@plaudit/webpack-extensions 2.92.1 → 2.92.3
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
|
@@ -60,6 +60,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
60
60
|
- Legacy PostCSS features that have been integrated into modern CSS
|
|
61
61
|
- `@extends` support
|
|
62
62
|
|
|
63
|
+
## [2.92.3] - 2026-05-27
|
|
64
|
+
### Fixed
|
|
65
|
+
- A couple more dependency snarls
|
|
66
|
+
|
|
67
|
+
## [2.92.2] - 2026-05-26
|
|
68
|
+
### Fixed
|
|
69
|
+
- The `"supports-bindings": true` flag resulting in emission of invalid PHP code
|
|
70
|
+
|
|
63
71
|
## [2.92.1] - 2026-05-21
|
|
64
72
|
### Fixed
|
|
65
73
|
- Compatibility issues with module-mode building
|
|
@@ -10,7 +10,6 @@ const node_path_1 = __importDefault(require("node:path"));
|
|
|
10
10
|
const shared_1 = require("../shared");
|
|
11
11
|
const browser_sync_1 = __importDefault(require("browser-sync"));
|
|
12
12
|
const http_proxy_middleware_1 = require("http-proxy-middleware");
|
|
13
|
-
const open_1 = __importDefault(require("open"));
|
|
14
13
|
class BrowserSyncPlugin {
|
|
15
14
|
static isBrowserSyncRunning = false;
|
|
16
15
|
static browserSyncPluginOptions;
|
|
@@ -47,7 +46,7 @@ class BrowserSyncPlugin {
|
|
|
47
46
|
callbacks: {
|
|
48
47
|
ready(err, bsi) {
|
|
49
48
|
// This ensures that the opened URL is actually a valid one
|
|
50
|
-
(
|
|
49
|
+
import("open").then(open => open.default(`https://${prefixes[0]?.replace(/:\d{2,4}/, "")}:${bsi.getOption("port") ?? 3000}`));
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
}, {
|
|
@@ -175,7 +175,7 @@ class EnhancedBlockJSONPlugin extends AbstractBiPhasicGroupAndEntryPlugin_1.Abst
|
|
|
175
175
|
const blockType = new expressions_1.Var("block_type", "?string");
|
|
176
176
|
writer.filter(`block_bindings_supported_attributes`, writer => {
|
|
177
177
|
writer
|
|
178
|
-
.if(expressions_1.Op.binary(
|
|
178
|
+
.if(expressions_1.Op.binary(expressions_1.Expr.call("empty", [blockType]), " || ", expressions_1.Expr.call("empty", [new expressions_1.ArrayAccess(compiledBindingSupportingAttributes, blockType)])))
|
|
179
179
|
.return(supportedAttributes)
|
|
180
180
|
.endIf()
|
|
181
181
|
.call("array_push", [supportedAttributes, new expressions_1.Op("...", new expressions_1.ArrayAccess(compiledBindingSupportingAttributes, blockType))])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plaudit/webpack-extensions",
|
|
3
|
-
"version": "2.92.
|
|
3
|
+
"version": "2.92.3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"files": [
|
|
6
6
|
"/dist",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@plaudit/gutenberg-api-extensions": "^2.97.1",
|
|
32
32
|
"@types/browser-sync-webpack-plugin": "^2.2.5",
|
|
33
|
+
"@types/jsdom": "^28.0.3",
|
|
33
34
|
"@types/node": "^25.9.1",
|
|
34
35
|
"@types/postcss-functions": "^4.0.4",
|
|
35
36
|
"@types/tapable": "^2.3.0",
|
|
@@ -38,20 +39,22 @@
|
|
|
38
39
|
"webpack-bundle-analyzer": "^4.10.2"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@plaudit/php-writer": "^1.4.
|
|
42
|
+
"@plaudit/php-writer": "^1.4.5",
|
|
42
43
|
"@plaudit/postcss-color-function": "^5.1.0",
|
|
43
44
|
"@plaudit/postcss-legacy-shorthand": "^1.0.0",
|
|
44
45
|
"@plaudit/postcss-silent-extend": "^3.0.0",
|
|
45
46
|
"@plaudit/postcss-strip-units": "^3.0.0",
|
|
46
47
|
"@plaudit/postcss-variables": "^1.1.0",
|
|
47
|
-
"@wordpress/dependency-extraction-webpack-plugin": "^6.
|
|
48
|
-
"@wordpress/scripts": "^32.
|
|
48
|
+
"@wordpress/dependency-extraction-webpack-plugin": "^6.47.0",
|
|
49
|
+
"@wordpress/scripts": "^32.3.0",
|
|
49
50
|
"autoprefixer": "^10.5.0",
|
|
50
51
|
"browser-sync": "^3.0.4",
|
|
51
52
|
"copy-webpack-plugin": "10.2.4",
|
|
52
53
|
"css-minimizer-webpack-plugin": "^6.0.0",
|
|
54
|
+
"cssnano": "^6.1.2",
|
|
53
55
|
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
54
56
|
"http-proxy-middleware": "^3.0.5",
|
|
57
|
+
"jsdom": "^29.1.1",
|
|
55
58
|
"json2php": "^0.0.12",
|
|
56
59
|
"postcss": "^8.5.15",
|
|
57
60
|
"postcss-calc": "^9.0.1",
|
|
@@ -67,7 +70,7 @@
|
|
|
67
70
|
"postcss-reporter": "^7.1.0",
|
|
68
71
|
"postcss-simple-vars": "^7.0.1",
|
|
69
72
|
"postcss-url": "^10.1.4",
|
|
70
|
-
"webpack": "^5.107.
|
|
73
|
+
"webpack": "^5.107.2",
|
|
71
74
|
"webpack-remove-empty-scripts": "^1.1.1",
|
|
72
75
|
"xml-formatter": "^3.7.0"
|
|
73
76
|
},
|
|
@@ -78,6 +81,7 @@
|
|
|
78
81
|
"build": "tsc",
|
|
79
82
|
"clean": "rm -rf dist",
|
|
80
83
|
"build:clean": "pnpm run clean && pnpm run build",
|
|
81
|
-
"watch": "tsc -w"
|
|
84
|
+
"watch": "tsc -w",
|
|
85
|
+
"update": "pnpm add --config '@plaudit/pnpm-plugin-plaudit-config@*' && pnpm up"
|
|
82
86
|
}
|
|
83
87
|
}
|