@plaudit/webpack-extensions 3.9.1 → 3.9.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
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.9.2] - 2026-05-26
9
+ ### Fixed
10
+ - The `"supports-bindings": true` flag resulting in emission of invalid PHP code
11
+ - This comes from version `2.92.2`
12
+
8
13
  ## [3.9.1] - 2026-05-21
9
14
  ### Fixed
10
15
  - Compatibility issues with module-mode building
@@ -134,6 +139,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
134
139
  - Legacy PostCSS features that have been integrated into modern CSS
135
140
  - `@extends` support
136
141
 
142
+ ## [2.92.2] - 2026-05-26
143
+ ### Fixed
144
+ - The `"supports-bindings": true` flag resulting in emission of invalid PHP code
145
+
137
146
  ## [2.92.1] - 2026-05-21
138
147
  ### Fixed
139
148
  - 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(new expressions_1.Call("empty", [blockType]), " || ", new expressions_1.Call("empty", [new expressions_1.ArrayAccess(compiledBindingSupportingAttributes, blockType)])))
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": "3.9.1",
3
+ "version": "3.9.2",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "files": [
6
6
  "/dist",
@@ -39,7 +39,7 @@
39
39
  "webpack-bundle-analyzer": "^5.3.0"
40
40
  },
41
41
  "dependencies": {
42
- "@plaudit/php-writer": "^1.4.1",
42
+ "@plaudit/php-writer": "^1.4.2",
43
43
  "@plaudit/postcss-color-function": "^5.1.0",
44
44
  "@plaudit/postcss-strip-units": "^3.0.0",
45
45
  "@plaudit/postcss-variables": "^2.0.1",
@@ -63,7 +63,7 @@
63
63
  "postcss-property-lookup": "^3.0.0",
64
64
  "postcss-reporter": "^7.1.0",
65
65
  "postcss-url": "^10.1.4",
66
- "webpack": "^5.107.1",
66
+ "webpack": "^5.107.2",
67
67
  "webpack-remove-empty-scripts": "^1.1.1",
68
68
  "xml-formatter": "^3.7.0"
69
69
  },