@plaudit/webpack-extensions 3.9.1 → 3.9.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
@@ -5,6 +5,16 @@ 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.3] - 2026-05-27
9
+ ### Fixed
10
+ - A couple more dependency snarls
11
+ - This comes from version `2.92.3`
12
+
13
+ ## [3.9.2] - 2026-05-26
14
+ ### Fixed
15
+ - The `"supports-bindings": true` flag resulting in emission of invalid PHP code
16
+ - This comes from version `2.92.2`
17
+
8
18
  ## [3.9.1] - 2026-05-21
9
19
  ### Fixed
10
20
  - Compatibility issues with module-mode building
@@ -134,6 +144,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
134
144
  - Legacy PostCSS features that have been integrated into modern CSS
135
145
  - `@extends` support
136
146
 
147
+ ## [2.92.3] - 2026-05-27
148
+ ### Fixed
149
+ - A couple more dependency snarls
150
+
151
+ ## [2.92.2] - 2026-05-26
152
+ ### Fixed
153
+ - The `"supports-bindings": true` flag resulting in emission of invalid PHP code
154
+
137
155
  ## [2.92.1] - 2026-05-21
138
156
  ### Fixed
139
157
  - 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
- (0, open_1.default)(`https://${prefixes[0]?.replace(/:\d{2,4}/, "")}:${bsi.getOption("port") ?? 3000}`);
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(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.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/postcss-import": "^14.0.3",
@@ -39,12 +40,12 @@
39
40
  "webpack-bundle-analyzer": "^5.3.0"
40
41
  },
41
42
  "dependencies": {
42
- "@plaudit/php-writer": "^1.4.1",
43
+ "@plaudit/php-writer": "^1.4.5",
43
44
  "@plaudit/postcss-color-function": "^5.1.0",
44
45
  "@plaudit/postcss-strip-units": "^3.0.0",
45
46
  "@plaudit/postcss-variables": "^2.0.1",
46
- "@wordpress/dependency-extraction-webpack-plugin": "^6.46.0",
47
- "@wordpress/scripts": "^32.2.0",
47
+ "@wordpress/dependency-extraction-webpack-plugin": "^6.47.0",
48
+ "@wordpress/scripts": "^32.3.0",
48
49
  "autoprefixer": "^10.5.0",
49
50
  "browser-sync": "^3.0.4",
50
51
  "copy-webpack-plugin": "10.2.4",
@@ -52,6 +53,7 @@
52
53
  "cssnano": "^7.1.9",
53
54
  "fork-ts-checker-webpack-plugin": "^9.1.0",
54
55
  "http-proxy-middleware": "^3.0.5",
56
+ "jsdom": "^29.1.1",
55
57
  "json2php": "^0.0.12",
56
58
  "postcss": "^8.5.15",
57
59
  "postcss-calc": "^10.1.1",
@@ -63,7 +65,7 @@
63
65
  "postcss-property-lookup": "^3.0.0",
64
66
  "postcss-reporter": "^7.1.0",
65
67
  "postcss-url": "^10.1.4",
66
- "webpack": "^5.107.1",
68
+ "webpack": "^5.107.2",
67
69
  "webpack-remove-empty-scripts": "^1.1.1",
68
70
  "xml-formatter": "^3.7.0"
69
71
  },
@@ -74,6 +76,7 @@
74
76
  "build": "tsc",
75
77
  "clean": "rm -rf dist",
76
78
  "build:clean": "pnpm run clean && pnpm run build",
77
- "watch": "tsc -w"
79
+ "watch": "tsc -w",
80
+ "update": "pnpm add --config '@plaudit/pnpm-plugin-plaudit-config@*' && pnpm up"
78
81
  }
79
82
  }