@plaudit/webpack-extensions 3.9.3 → 3.9.5
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,15 @@ 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.5] - 2026-06-11
|
|
9
|
+
### Added
|
|
10
|
+
- Text to the `Error` instances thrown in `pseudo-semaphore.ts`
|
|
11
|
+
|
|
12
|
+
## [3.9.4] - 2026-06-10
|
|
13
|
+
### Fixed
|
|
14
|
+
- Libraries externalizing in a way that does not account for the variable potentially being undeclared
|
|
15
|
+
- This comes from version `2.92.4`
|
|
16
|
+
|
|
8
17
|
## [3.9.3] - 2026-05-27
|
|
9
18
|
### Fixed
|
|
10
19
|
- A couple more dependency snarls
|
|
@@ -144,6 +153,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
144
153
|
- Legacy PostCSS features that have been integrated into modern CSS
|
|
145
154
|
- `@extends` support
|
|
146
155
|
|
|
156
|
+
## [2.92.4] - 2026-06-10
|
|
157
|
+
### Fixed
|
|
158
|
+
- Libraries externalizing in a way that does not account for the variable potentially being undeclared
|
|
159
|
+
|
|
147
160
|
## [2.92.3] - 2026-05-27
|
|
148
161
|
### Fixed
|
|
149
162
|
- A couple more dependency snarls
|
|
@@ -367,7 +367,7 @@ function commonMakeWebpackConfig(config, commonConfig, webpackConfig, externaliz
|
|
|
367
367
|
if (Array.isArray(externalize) || typeof externalize === 'string') {
|
|
368
368
|
outputLibrary = {
|
|
369
369
|
name: externalize,
|
|
370
|
-
type: "
|
|
370
|
+
type: "window"
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
@@ -11,7 +11,7 @@ class PseudoSemaphore {
|
|
|
11
11
|
}
|
|
12
12
|
register(id) {
|
|
13
13
|
if (this.flags.has(id)) {
|
|
14
|
-
throw new Error();
|
|
14
|
+
throw new Error(`A semaphore with an id of "${id}" already exists`);
|
|
15
15
|
}
|
|
16
16
|
this.initializeFlag(id);
|
|
17
17
|
this.resolve(id, undefined);
|
|
@@ -45,10 +45,10 @@ class PseudoSemaphore {
|
|
|
45
45
|
}
|
|
46
46
|
getFlag(id) {
|
|
47
47
|
const flag = this.flags.get(id);
|
|
48
|
-
if (flag) {
|
|
49
|
-
|
|
48
|
+
if (flag === undefined) {
|
|
49
|
+
throw new Error(`A semaphore with an id of "${id}" does not exist`);
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
return flag;
|
|
52
52
|
}
|
|
53
53
|
initializeFlag(id) {
|
|
54
54
|
const controller = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plaudit/webpack-extensions",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.5",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"files": [
|
|
6
6
|
"/dist",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@plaudit/gutenberg-api-extensions": "^2.97.1",
|
|
32
32
|
"@types/browser-sync-webpack-plugin": "^2.2.5",
|
|
33
33
|
"@types/jsdom": "^28.0.3",
|
|
34
|
-
"@types/node": "^25.9.
|
|
34
|
+
"@types/node": "^25.9.3",
|
|
35
35
|
"@types/postcss-functions": "^4.0.4",
|
|
36
36
|
"@types/postcss-import": "^14.0.3",
|
|
37
37
|
"@types/tapable": "^2.3.0",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"@plaudit/postcss-color-function": "^5.1.0",
|
|
45
45
|
"@plaudit/postcss-strip-units": "^3.0.0",
|
|
46
46
|
"@plaudit/postcss-variables": "^2.0.1",
|
|
47
|
-
"@wordpress/dependency-extraction-webpack-plugin": "^6.
|
|
48
|
-
"@wordpress/scripts": "^32.
|
|
47
|
+
"@wordpress/dependency-extraction-webpack-plugin": "^6.48.0",
|
|
48
|
+
"@wordpress/scripts": "^32.4.0",
|
|
49
49
|
"autoprefixer": "^10.5.0",
|
|
50
50
|
"browser-sync": "^3.0.4",
|
|
51
51
|
"copy-webpack-plugin": "10.2.4",
|
|
52
52
|
"css-minimizer-webpack-plugin": "^8.0.0",
|
|
53
53
|
"cssnano": "^7.1.9",
|
|
54
54
|
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
55
|
-
"http-proxy-middleware": "^3.0.
|
|
55
|
+
"http-proxy-middleware": "^3.0.6",
|
|
56
56
|
"jsdom": "^29.1.1",
|
|
57
57
|
"json2php": "^0.0.12",
|
|
58
58
|
"postcss": "^8.5.15",
|