@plaudit/webpack-extensions 2.92.1 → 2.92.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
|
@@ -60,6 +60,10 @@ 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.2] - 2026-05-26
|
|
64
|
+
### Fixed
|
|
65
|
+
- The `"supports-bindings": true` flag resulting in emission of invalid PHP code
|
|
66
|
+
|
|
63
67
|
## [2.92.1] - 2026-05-21
|
|
64
68
|
### Fixed
|
|
65
69
|
- Compatibility issues with module-mode building
|
|
@@ -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.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"files": [
|
|
6
6
|
"/dist",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"webpack-bundle-analyzer": "^4.10.2"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@plaudit/php-writer": "^1.4.
|
|
41
|
+
"@plaudit/php-writer": "^1.4.2",
|
|
42
42
|
"@plaudit/postcss-color-function": "^5.1.0",
|
|
43
43
|
"@plaudit/postcss-legacy-shorthand": "^1.0.0",
|
|
44
44
|
"@plaudit/postcss-silent-extend": "^3.0.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"postcss-reporter": "^7.1.0",
|
|
68
68
|
"postcss-simple-vars": "^7.0.1",
|
|
69
69
|
"postcss-url": "^10.1.4",
|
|
70
|
-
"webpack": "^5.107.
|
|
70
|
+
"webpack": "^5.107.2",
|
|
71
71
|
"webpack-remove-empty-scripts": "^1.1.1",
|
|
72
72
|
"xml-formatter": "^3.7.0"
|
|
73
73
|
},
|