From 3a32ad508e19a7320d0812a9a795256bf91247ec Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 3 Apr 2023 16:04:49 +0300
Subject: [PATCH 001/301] chore(deps-dev): bump @types/node-forge from 1.3.1 to
1.3.2 (#4802)
Bumps [@types/node-forge](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node-forge) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node-forge)
---
updated-dependencies:
- dependency-name: "@types/node-forge"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index f8f6fa0f83..3a3fabfaa9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3682,9 +3682,9 @@
"integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q=="
},
"node_modules/@types/node-forge": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.1.tgz",
- "integrity": "sha512-hvQ7Wav8I0j9amPXJtGqI/Yx70zeF62UKlAYq8JPm0nHzjKKzZvo9iR3YI2MiOghZRlOI+tQ2f6D+G6vVf4V2Q==",
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.2.tgz",
+ "integrity": "sha512-TzX3ahoi9xbmaoT58smrBu7oa6dQXb/+PTNCslZyD/55tlJ/osofIMClzZsoo6buDFrg7e4DvVGkZqVgv6OLxw==",
"dev": true,
"dependencies": {
"@types/node": "*"
@@ -18770,9 +18770,9 @@
"integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q=="
},
"@types/node-forge": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.1.tgz",
- "integrity": "sha512-hvQ7Wav8I0j9amPXJtGqI/Yx70zeF62UKlAYq8JPm0nHzjKKzZvo9iR3YI2MiOghZRlOI+tQ2f6D+G6vVf4V2Q==",
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.2.tgz",
+ "integrity": "sha512-TzX3ahoi9xbmaoT58smrBu7oa6dQXb/+PTNCslZyD/55tlJ/osofIMClzZsoo6buDFrg7e4DvVGkZqVgv6OLxw==",
"dev": true,
"requires": {
"@types/node": "*"
From 0fda0777ccea6786af210dfda7368342e48faf07 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 3 Apr 2023 16:05:18 +0300
Subject: [PATCH 002/301] chore(deps-dev): bump @babel/plugin-transform-runtime
(#4801)
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.21.0 to 7.21.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.4/packages/babel-plugin-transform-runtime)
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 3a3fabfaa9..452ebab9e9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -418,12 +418,12 @@
}
},
"node_modules/@babel/helper-module-imports": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz",
- "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz",
+ "integrity": "sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.18.6"
+ "@babel/types": "^7.21.4"
},
"engines": {
"node": ">=6.9.0"
@@ -1550,12 +1550,12 @@
}
},
"node_modules/@babel/plugin-transform-runtime": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.0.tgz",
- "integrity": "sha512-ReY6pxwSzEU0b3r2/T/VhqMKg/AkceBT19X0UptA3/tYi5Pe2eXgEUH+NNMC5nok6c6XQz5tyVTUpuezRfSMSg==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.4.tgz",
+ "integrity": "sha512-1J4dhrw1h1PqnNNpzwxQ2UBymJUF8KuPjAAnlLwZcGhHAIqUigFW7cdK6GHoB64ubY4qXQNYknoUeks4Wz7CUA==",
"dev": true,
"dependencies": {
- "@babel/helper-module-imports": "^7.18.6",
+ "@babel/helper-module-imports": "^7.21.4",
"@babel/helper-plugin-utils": "^7.20.2",
"babel-plugin-polyfill-corejs2": "^0.3.3",
"babel-plugin-polyfill-corejs3": "^0.6.0",
@@ -1835,9 +1835,9 @@
}
},
"node_modules/@babel/types": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz",
- "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.4.tgz",
+ "integrity": "sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==",
"dev": true,
"dependencies": {
"@babel/helper-string-parser": "^7.19.4",
@@ -16330,12 +16330,12 @@
}
},
"@babel/helper-module-imports": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz",
- "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz",
+ "integrity": "sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==",
"dev": true,
"requires": {
- "@babel/types": "^7.18.6"
+ "@babel/types": "^7.21.4"
}
},
"@babel/helper-module-transforms": {
@@ -17081,12 +17081,12 @@
}
},
"@babel/plugin-transform-runtime": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.0.tgz",
- "integrity": "sha512-ReY6pxwSzEU0b3r2/T/VhqMKg/AkceBT19X0UptA3/tYi5Pe2eXgEUH+NNMC5nok6c6XQz5tyVTUpuezRfSMSg==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.4.tgz",
+ "integrity": "sha512-1J4dhrw1h1PqnNNpzwxQ2UBymJUF8KuPjAAnlLwZcGhHAIqUigFW7cdK6GHoB64ubY4qXQNYknoUeks4Wz7CUA==",
"dev": true,
"requires": {
- "@babel/helper-module-imports": "^7.18.6",
+ "@babel/helper-module-imports": "^7.21.4",
"@babel/helper-plugin-utils": "^7.20.2",
"babel-plugin-polyfill-corejs2": "^0.3.3",
"babel-plugin-polyfill-corejs3": "^0.6.0",
@@ -17300,9 +17300,9 @@
}
},
"@babel/types": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.3.tgz",
- "integrity": "sha512-sBGdETxC+/M4o/zKC0sl6sjWv62WFR/uzxrJ6uYyMLZOUlPnwzw0tKgVHOXxaAd5l2g8pEDM5RZ495GPQI77kg==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.4.tgz",
+ "integrity": "sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==",
"dev": true,
"requires": {
"@babel/helper-string-parser": "^7.19.4",
From 6e8ea8a4fd880d9874519a20a72c0188e2ac44b1 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 3 Apr 2023 16:05:42 +0300
Subject: [PATCH 003/301] chore(deps-dev): bump @babel/preset-env from 7.20.2
to 7.21.4 (#4800)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.20.2 to 7.21.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.4/packages/babel-preset-env)
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 168 +++++++++++++++++++++++-----------------------
1 file changed, 84 insertions(+), 84 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 452ebab9e9..ecf7c6b19d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -175,9 +175,9 @@
}
},
"node_modules/@babel/compat-data": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.0.tgz",
- "integrity": "sha512-gMuZsmsgxk/ENC3O/fRw5QY8A9/uxQbbCEypnLIiYYc/qVJtEV7ouxC3EllIIwNzMqAQee5tanFabWsUOutS7g==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.4.tgz",
+ "integrity": "sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -286,13 +286,13 @@
}
},
"node_modules/@babel/helper-compilation-targets": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz",
- "integrity": "sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz",
+ "integrity": "sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg==",
"dev": true,
"dependencies": {
- "@babel/compat-data": "^7.20.5",
- "@babel/helper-validator-option": "^7.18.6",
+ "@babel/compat-data": "^7.21.4",
+ "@babel/helper-validator-option": "^7.21.0",
"browserslist": "^4.21.3",
"lru-cache": "^5.1.1",
"semver": "^6.3.0"
@@ -1236,9 +1236,9 @@
}
},
"node_modules/@babel/plugin-transform-destructuring": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.20.7.tgz",
- "integrity": "sha512-Xwg403sRrZb81IVB79ZPqNQME23yhugYVqgTxAhT99h485F4f+GMELFhhOsscDUB7HCswepKeCKLn/GZvUKoBA==",
+ "version": "7.21.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.21.3.tgz",
+ "integrity": "sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.20.2"
@@ -1489,9 +1489,9 @@
}
},
"node_modules/@babel/plugin-transform-parameters": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.7.tgz",
- "integrity": "sha512-WiWBIkeHKVOSYPO0pWkxGPfKeWrCJyD3NJ53+Lrp/QMSZbsVPovrVl2aWZ19D/LTVnaDv5Ap7GJ/B2CTOZdrfA==",
+ "version": "7.21.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.21.3.tgz",
+ "integrity": "sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==",
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.20.2"
@@ -1677,31 +1677,31 @@
}
},
"node_modules/@babel/preset-env": {
- "version": "7.20.2",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.20.2.tgz",
- "integrity": "sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.21.4.tgz",
+ "integrity": "sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw==",
"dev": true,
"dependencies": {
- "@babel/compat-data": "^7.20.1",
- "@babel/helper-compilation-targets": "^7.20.0",
+ "@babel/compat-data": "^7.21.4",
+ "@babel/helper-compilation-targets": "^7.21.4",
"@babel/helper-plugin-utils": "^7.20.2",
- "@babel/helper-validator-option": "^7.18.6",
+ "@babel/helper-validator-option": "^7.21.0",
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6",
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-async-generator-functions": "^7.20.1",
+ "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.20.7",
+ "@babel/plugin-proposal-async-generator-functions": "^7.20.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
- "@babel/plugin-proposal-class-static-block": "^7.18.6",
+ "@babel/plugin-proposal-class-static-block": "^7.21.0",
"@babel/plugin-proposal-dynamic-import": "^7.18.6",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-proposal-json-strings": "^7.18.6",
- "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.20.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
- "@babel/plugin-proposal-object-rest-spread": "^7.20.2",
+ "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-catch-binding": "^7.18.6",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9",
+ "@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-proposal-private-methods": "^7.18.6",
- "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.0",
"@babel/plugin-proposal-unicode-property-regex": "^7.18.6",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-class-properties": "^7.12.13",
@@ -1718,40 +1718,40 @@
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-private-property-in-object": "^7.14.5",
"@babel/plugin-syntax-top-level-await": "^7.14.5",
- "@babel/plugin-transform-arrow-functions": "^7.18.6",
- "@babel/plugin-transform-async-to-generator": "^7.18.6",
+ "@babel/plugin-transform-arrow-functions": "^7.20.7",
+ "@babel/plugin-transform-async-to-generator": "^7.20.7",
"@babel/plugin-transform-block-scoped-functions": "^7.18.6",
- "@babel/plugin-transform-block-scoping": "^7.20.2",
- "@babel/plugin-transform-classes": "^7.20.2",
- "@babel/plugin-transform-computed-properties": "^7.18.9",
- "@babel/plugin-transform-destructuring": "^7.20.2",
+ "@babel/plugin-transform-block-scoping": "^7.21.0",
+ "@babel/plugin-transform-classes": "^7.21.0",
+ "@babel/plugin-transform-computed-properties": "^7.20.7",
+ "@babel/plugin-transform-destructuring": "^7.21.3",
"@babel/plugin-transform-dotall-regex": "^7.18.6",
"@babel/plugin-transform-duplicate-keys": "^7.18.9",
"@babel/plugin-transform-exponentiation-operator": "^7.18.6",
- "@babel/plugin-transform-for-of": "^7.18.8",
+ "@babel/plugin-transform-for-of": "^7.21.0",
"@babel/plugin-transform-function-name": "^7.18.9",
"@babel/plugin-transform-literals": "^7.18.9",
"@babel/plugin-transform-member-expression-literals": "^7.18.6",
- "@babel/plugin-transform-modules-amd": "^7.19.6",
- "@babel/plugin-transform-modules-commonjs": "^7.19.6",
- "@babel/plugin-transform-modules-systemjs": "^7.19.6",
+ "@babel/plugin-transform-modules-amd": "^7.20.11",
+ "@babel/plugin-transform-modules-commonjs": "^7.21.2",
+ "@babel/plugin-transform-modules-systemjs": "^7.20.11",
"@babel/plugin-transform-modules-umd": "^7.18.6",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.1",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.20.5",
"@babel/plugin-transform-new-target": "^7.18.6",
"@babel/plugin-transform-object-super": "^7.18.6",
- "@babel/plugin-transform-parameters": "^7.20.1",
+ "@babel/plugin-transform-parameters": "^7.21.3",
"@babel/plugin-transform-property-literals": "^7.18.6",
- "@babel/plugin-transform-regenerator": "^7.18.6",
+ "@babel/plugin-transform-regenerator": "^7.20.5",
"@babel/plugin-transform-reserved-words": "^7.18.6",
"@babel/plugin-transform-shorthand-properties": "^7.18.6",
- "@babel/plugin-transform-spread": "^7.19.0",
+ "@babel/plugin-transform-spread": "^7.20.7",
"@babel/plugin-transform-sticky-regex": "^7.18.6",
"@babel/plugin-transform-template-literals": "^7.18.9",
"@babel/plugin-transform-typeof-symbol": "^7.18.9",
"@babel/plugin-transform-unicode-escapes": "^7.18.10",
"@babel/plugin-transform-unicode-regex": "^7.18.6",
"@babel/preset-modules": "^0.1.5",
- "@babel/types": "^7.20.2",
+ "@babel/types": "^7.21.4",
"babel-plugin-polyfill-corejs2": "^0.3.3",
"babel-plugin-polyfill-corejs3": "^0.6.0",
"babel-plugin-polyfill-regenerator": "^0.4.1",
@@ -16150,9 +16150,9 @@
}
},
"@babel/compat-data": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.0.tgz",
- "integrity": "sha512-gMuZsmsgxk/ENC3O/fRw5QY8A9/uxQbbCEypnLIiYYc/qVJtEV7ouxC3EllIIwNzMqAQee5tanFabWsUOutS7g==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.4.tgz",
+ "integrity": "sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g==",
"dev": true
},
"@babel/core": {
@@ -16234,13 +16234,13 @@
}
},
"@babel/helper-compilation-targets": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz",
- "integrity": "sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz",
+ "integrity": "sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg==",
"dev": true,
"requires": {
- "@babel/compat-data": "^7.20.5",
- "@babel/helper-validator-option": "^7.18.6",
+ "@babel/compat-data": "^7.21.4",
+ "@babel/helper-validator-option": "^7.21.0",
"browserslist": "^4.21.3",
"lru-cache": "^5.1.1",
"semver": "^6.3.0"
@@ -16887,9 +16887,9 @@
}
},
"@babel/plugin-transform-destructuring": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.20.7.tgz",
- "integrity": "sha512-Xwg403sRrZb81IVB79ZPqNQME23yhugYVqgTxAhT99h485F4f+GMELFhhOsscDUB7HCswepKeCKLn/GZvUKoBA==",
+ "version": "7.21.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.21.3.tgz",
+ "integrity": "sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.20.2"
@@ -17044,9 +17044,9 @@
}
},
"@babel/plugin-transform-parameters": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.7.tgz",
- "integrity": "sha512-WiWBIkeHKVOSYPO0pWkxGPfKeWrCJyD3NJ53+Lrp/QMSZbsVPovrVl2aWZ19D/LTVnaDv5Ap7GJ/B2CTOZdrfA==",
+ "version": "7.21.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.21.3.tgz",
+ "integrity": "sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==",
"dev": true,
"requires": {
"@babel/helper-plugin-utils": "^7.20.2"
@@ -17160,31 +17160,31 @@
}
},
"@babel/preset-env": {
- "version": "7.20.2",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.20.2.tgz",
- "integrity": "sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.21.4.tgz",
+ "integrity": "sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw==",
"dev": true,
"requires": {
- "@babel/compat-data": "^7.20.1",
- "@babel/helper-compilation-targets": "^7.20.0",
+ "@babel/compat-data": "^7.21.4",
+ "@babel/helper-compilation-targets": "^7.21.4",
"@babel/helper-plugin-utils": "^7.20.2",
- "@babel/helper-validator-option": "^7.18.6",
+ "@babel/helper-validator-option": "^7.21.0",
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6",
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9",
- "@babel/plugin-proposal-async-generator-functions": "^7.20.1",
+ "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.20.7",
+ "@babel/plugin-proposal-async-generator-functions": "^7.20.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
- "@babel/plugin-proposal-class-static-block": "^7.18.6",
+ "@babel/plugin-proposal-class-static-block": "^7.21.0",
"@babel/plugin-proposal-dynamic-import": "^7.18.6",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-proposal-json-strings": "^7.18.6",
- "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.20.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
- "@babel/plugin-proposal-object-rest-spread": "^7.20.2",
+ "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-catch-binding": "^7.18.6",
- "@babel/plugin-proposal-optional-chaining": "^7.18.9",
+ "@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-proposal-private-methods": "^7.18.6",
- "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.0",
"@babel/plugin-proposal-unicode-property-regex": "^7.18.6",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-class-properties": "^7.12.13",
@@ -17201,40 +17201,40 @@
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-private-property-in-object": "^7.14.5",
"@babel/plugin-syntax-top-level-await": "^7.14.5",
- "@babel/plugin-transform-arrow-functions": "^7.18.6",
- "@babel/plugin-transform-async-to-generator": "^7.18.6",
+ "@babel/plugin-transform-arrow-functions": "^7.20.7",
+ "@babel/plugin-transform-async-to-generator": "^7.20.7",
"@babel/plugin-transform-block-scoped-functions": "^7.18.6",
- "@babel/plugin-transform-block-scoping": "^7.20.2",
- "@babel/plugin-transform-classes": "^7.20.2",
- "@babel/plugin-transform-computed-properties": "^7.18.9",
- "@babel/plugin-transform-destructuring": "^7.20.2",
+ "@babel/plugin-transform-block-scoping": "^7.21.0",
+ "@babel/plugin-transform-classes": "^7.21.0",
+ "@babel/plugin-transform-computed-properties": "^7.20.7",
+ "@babel/plugin-transform-destructuring": "^7.21.3",
"@babel/plugin-transform-dotall-regex": "^7.18.6",
"@babel/plugin-transform-duplicate-keys": "^7.18.9",
"@babel/plugin-transform-exponentiation-operator": "^7.18.6",
- "@babel/plugin-transform-for-of": "^7.18.8",
+ "@babel/plugin-transform-for-of": "^7.21.0",
"@babel/plugin-transform-function-name": "^7.18.9",
"@babel/plugin-transform-literals": "^7.18.9",
"@babel/plugin-transform-member-expression-literals": "^7.18.6",
- "@babel/plugin-transform-modules-amd": "^7.19.6",
- "@babel/plugin-transform-modules-commonjs": "^7.19.6",
- "@babel/plugin-transform-modules-systemjs": "^7.19.6",
+ "@babel/plugin-transform-modules-amd": "^7.20.11",
+ "@babel/plugin-transform-modules-commonjs": "^7.21.2",
+ "@babel/plugin-transform-modules-systemjs": "^7.20.11",
"@babel/plugin-transform-modules-umd": "^7.18.6",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.1",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.20.5",
"@babel/plugin-transform-new-target": "^7.18.6",
"@babel/plugin-transform-object-super": "^7.18.6",
- "@babel/plugin-transform-parameters": "^7.20.1",
+ "@babel/plugin-transform-parameters": "^7.21.3",
"@babel/plugin-transform-property-literals": "^7.18.6",
- "@babel/plugin-transform-regenerator": "^7.18.6",
+ "@babel/plugin-transform-regenerator": "^7.20.5",
"@babel/plugin-transform-reserved-words": "^7.18.6",
"@babel/plugin-transform-shorthand-properties": "^7.18.6",
- "@babel/plugin-transform-spread": "^7.19.0",
+ "@babel/plugin-transform-spread": "^7.20.7",
"@babel/plugin-transform-sticky-regex": "^7.18.6",
"@babel/plugin-transform-template-literals": "^7.18.9",
"@babel/plugin-transform-typeof-symbol": "^7.18.9",
"@babel/plugin-transform-unicode-escapes": "^7.18.10",
"@babel/plugin-transform-unicode-regex": "^7.18.6",
"@babel/preset-modules": "^0.1.5",
- "@babel/types": "^7.20.2",
+ "@babel/types": "^7.21.4",
"babel-plugin-polyfill-corejs2": "^0.3.3",
"babel-plugin-polyfill-corejs3": "^0.6.0",
"babel-plugin-polyfill-regenerator": "^0.4.1",
From 01410a464f7f74fbc5dcc61ccaf0d3c02a25e298 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 3 Apr 2023 16:06:41 +0300
Subject: [PATCH 004/301] chore(deps-dev): bump @babel/core from 7.21.3 to
7.21.4 (#4799)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.3 to 7.21.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.4/packages/babel-core)
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 104 +++++++++++++++++++++++-----------------------
1 file changed, 52 insertions(+), 52 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index ecf7c6b19d..069a0f3e0e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -163,9 +163,9 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
- "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.21.4.tgz",
+ "integrity": "sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==",
"dev": true,
"dependencies": {
"@babel/highlight": "^7.18.6"
@@ -184,21 +184,21 @@
}
},
"node_modules/@babel/core": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.3.tgz",
- "integrity": "sha512-qIJONzoa/qiHghnm0l1n4i/6IIziDpzqc36FBs4pzMhDUraHqponwJLiAKm1hGLP3OSB/TVNz6rMwVGpwxxySw==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.4.tgz",
+ "integrity": "sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA==",
"dev": true,
"dependencies": {
"@ampproject/remapping": "^2.2.0",
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.21.3",
- "@babel/helper-compilation-targets": "^7.20.7",
+ "@babel/code-frame": "^7.21.4",
+ "@babel/generator": "^7.21.4",
+ "@babel/helper-compilation-targets": "^7.21.4",
"@babel/helper-module-transforms": "^7.21.2",
"@babel/helpers": "^7.21.0",
- "@babel/parser": "^7.21.3",
+ "@babel/parser": "^7.21.4",
"@babel/template": "^7.20.7",
- "@babel/traverse": "^7.21.3",
- "@babel/types": "^7.21.3",
+ "@babel/traverse": "^7.21.4",
+ "@babel/types": "^7.21.4",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
@@ -232,12 +232,12 @@
}
},
"node_modules/@babel/generator": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.3.tgz",
- "integrity": "sha512-QS3iR1GYC/YGUnW7IdggFeN5c1poPUurnGttOV/bZgPGV+izC/D8HnD6DLwod0fsatNyVn1G3EVWMYIF0nHbeA==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.4.tgz",
+ "integrity": "sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.21.3",
+ "@babel/types": "^7.21.4",
"@jridgewell/gen-mapping": "^0.3.2",
"@jridgewell/trace-mapping": "^0.3.17",
"jsesc": "^2.5.1"
@@ -611,9 +611,9 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.3.tgz",
- "integrity": "sha512-lobG0d7aOfQRXh8AyklEAgZGvA4FShxo6xQbUrrT/cNBPUdIDojlokwJsQyCC/eKia7ifqM0yP+2DRZ4WKw2RQ==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz",
+ "integrity": "sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==",
"dev": true,
"bin": {
"parser": "bin/babel-parser.js"
@@ -1814,19 +1814,19 @@
}
},
"node_modules/@babel/traverse": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.3.tgz",
- "integrity": "sha512-XLyopNeaTancVitYZe2MlUEvgKb6YVVPXzofHgqHijCImG33b/uTurMS488ht/Hbsb2XK3U2BnSTxKVNGV3nGQ==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.4.tgz",
+ "integrity": "sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q==",
"dev": true,
"dependencies": {
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.21.3",
+ "@babel/code-frame": "^7.21.4",
+ "@babel/generator": "^7.21.4",
"@babel/helper-environment-visitor": "^7.18.9",
"@babel/helper-function-name": "^7.21.0",
"@babel/helper-hoist-variables": "^7.18.6",
"@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.21.3",
- "@babel/types": "^7.21.3",
+ "@babel/parser": "^7.21.4",
+ "@babel/types": "^7.21.4",
"debug": "^4.1.0",
"globals": "^11.1.0"
},
@@ -16141,9 +16141,9 @@
}
},
"@babel/code-frame": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
- "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.21.4.tgz",
+ "integrity": "sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==",
"dev": true,
"requires": {
"@babel/highlight": "^7.18.6"
@@ -16156,21 +16156,21 @@
"dev": true
},
"@babel/core": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.3.tgz",
- "integrity": "sha512-qIJONzoa/qiHghnm0l1n4i/6IIziDpzqc36FBs4pzMhDUraHqponwJLiAKm1hGLP3OSB/TVNz6rMwVGpwxxySw==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.4.tgz",
+ "integrity": "sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA==",
"dev": true,
"requires": {
"@ampproject/remapping": "^2.2.0",
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.21.3",
- "@babel/helper-compilation-targets": "^7.20.7",
+ "@babel/code-frame": "^7.21.4",
+ "@babel/generator": "^7.21.4",
+ "@babel/helper-compilation-targets": "^7.21.4",
"@babel/helper-module-transforms": "^7.21.2",
"@babel/helpers": "^7.21.0",
- "@babel/parser": "^7.21.3",
+ "@babel/parser": "^7.21.4",
"@babel/template": "^7.20.7",
- "@babel/traverse": "^7.21.3",
- "@babel/types": "^7.21.3",
+ "@babel/traverse": "^7.21.4",
+ "@babel/types": "^7.21.4",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
@@ -16190,12 +16190,12 @@
}
},
"@babel/generator": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.3.tgz",
- "integrity": "sha512-QS3iR1GYC/YGUnW7IdggFeN5c1poPUurnGttOV/bZgPGV+izC/D8HnD6DLwod0fsatNyVn1G3EVWMYIF0nHbeA==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.4.tgz",
+ "integrity": "sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA==",
"dev": true,
"requires": {
- "@babel/types": "^7.21.3",
+ "@babel/types": "^7.21.4",
"@jridgewell/gen-mapping": "^0.3.2",
"@jridgewell/trace-mapping": "^0.3.17",
"jsesc": "^2.5.1"
@@ -16475,9 +16475,9 @@
}
},
"@babel/parser": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.3.tgz",
- "integrity": "sha512-lobG0d7aOfQRXh8AyklEAgZGvA4FShxo6xQbUrrT/cNBPUdIDojlokwJsQyCC/eKia7ifqM0yP+2DRZ4WKw2RQ==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz",
+ "integrity": "sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==",
"dev": true
},
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
@@ -17282,19 +17282,19 @@
}
},
"@babel/traverse": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.3.tgz",
- "integrity": "sha512-XLyopNeaTancVitYZe2MlUEvgKb6YVVPXzofHgqHijCImG33b/uTurMS488ht/Hbsb2XK3U2BnSTxKVNGV3nGQ==",
+ "version": "7.21.4",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.4.tgz",
+ "integrity": "sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q==",
"dev": true,
"requires": {
- "@babel/code-frame": "^7.18.6",
- "@babel/generator": "^7.21.3",
+ "@babel/code-frame": "^7.21.4",
+ "@babel/generator": "^7.21.4",
"@babel/helper-environment-visitor": "^7.18.9",
"@babel/helper-function-name": "^7.21.0",
"@babel/helper-hoist-variables": "^7.18.6",
"@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.21.3",
- "@babel/types": "^7.21.3",
+ "@babel/parser": "^7.21.4",
+ "@babel/types": "^7.21.4",
"debug": "^4.1.0",
"globals": "^11.1.0"
}
From 78b90f83af653627118d4ff79f9c9e14d0dcbc81 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 4 Apr 2023 13:08:39 +0300
Subject: [PATCH 005/301] chore(deps-dev): bump core-js from 3.29.1 to 3.30.0
(#4803)
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.29.1 to 3.30.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.30.0/packages/core-js)
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 069a0f3e0e..49bd7a8b50 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5746,9 +5746,9 @@
}
},
"node_modules/core-js": {
- "version": "3.29.1",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.29.1.tgz",
- "integrity": "sha512-+jwgnhg6cQxKYIIjGtAHq2nwUOolo9eoFZ4sHfUH09BLXBgxnH4gA0zEd+t+BO2cNB8idaBtZFcFTRjQJRJmAw==",
+ "version": "3.30.0",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.0.tgz",
+ "integrity": "sha512-hQotSSARoNh1mYPi9O2YaWeiq/cEB95kOrFb4NCrO4RIFt1qqNpKsaE+vy/L3oiqvND5cThqXzUU3r9F7Efztg==",
"dev": true,
"hasInstallScript": true,
"funding": {
@@ -20385,9 +20385,9 @@
}
},
"core-js": {
- "version": "3.29.1",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.29.1.tgz",
- "integrity": "sha512-+jwgnhg6cQxKYIIjGtAHq2nwUOolo9eoFZ4sHfUH09BLXBgxnH4gA0zEd+t+BO2cNB8idaBtZFcFTRjQJRJmAw==",
+ "version": "3.30.0",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.0.tgz",
+ "integrity": "sha512-hQotSSARoNh1mYPi9O2YaWeiq/cEB95kOrFb4NCrO4RIFt1qqNpKsaE+vy/L3oiqvND5cThqXzUU3r9F7Efztg==",
"dev": true
},
"core-js-compat": {
From 6c0fd2888e16b1c95bb39f4fb23e62b3b6cc66a6 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 6 Apr 2023 14:10:10 +0300
Subject: [PATCH 006/301] chore(deps-dev): bump webpack from 5.77.0 to 5.78.0
(#4805)
Bumps [webpack](https://github.com/webpack/webpack) from 5.77.0 to 5.78.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.77.0...v5.78.0)
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 49bd7a8b50..27d32251a3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15542,9 +15542,9 @@
}
},
"node_modules/webpack": {
- "version": "5.77.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.77.0.tgz",
- "integrity": "sha512-sbGNjBr5Ya5ss91yzjeJTLKyfiwo5C628AFjEa6WSXcZa4E+F57om3Cc8xLb1Jh0b243AWuSYRf3dn7HVeFQ9Q==",
+ "version": "5.78.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.78.0.tgz",
+ "integrity": "sha512-gT5DP72KInmE/3azEaQrISjTvLYlSM0j1Ezhht/KLVkrqtv10JoP/RXhwmX/frrutOPuSq3o5Vq0ehR/4Vmd1g==",
"dependencies": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^0.0.51",
@@ -27645,9 +27645,9 @@
"dev": true
},
"webpack": {
- "version": "5.77.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.77.0.tgz",
- "integrity": "sha512-sbGNjBr5Ya5ss91yzjeJTLKyfiwo5C628AFjEa6WSXcZa4E+F57om3Cc8xLb1Jh0b243AWuSYRf3dn7HVeFQ9Q==",
+ "version": "5.78.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.78.0.tgz",
+ "integrity": "sha512-gT5DP72KInmE/3azEaQrISjTvLYlSM0j1Ezhht/KLVkrqtv10JoP/RXhwmX/frrutOPuSq3o5Vq0ehR/4Vmd1g==",
"requires": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^0.0.51",
From c883cbc6b475103fe500d4f302e9ff4e27d9daa0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 7 Apr 2023 15:16:17 +0300
Subject: [PATCH 007/301] chore(deps-dev): bump memfs from 3.4.13 to 3.5.0
(#4807)
Bumps [memfs](https://github.com/streamich/memfs) from 3.4.13 to 3.5.0.
- [Release notes](https://github.com/streamich/memfs/releases)
- [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/memfs/compare/v3.4.13...v3.5.0)
---
updated-dependencies:
- dependency-name: memfs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 27d32251a3..fe41db9c8c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11709,9 +11709,9 @@
}
},
"node_modules/memfs": {
- "version": "3.4.13",
- "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.13.tgz",
- "integrity": "sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg==",
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.0.tgz",
+ "integrity": "sha512-yK6o8xVJlQerz57kvPROwTMgx5WtGwC2ZxDtOUsnGl49rHjYkfQoPNZPCKH73VdLE1BwBu/+Fx/NL8NYMUw2aA==",
"dependencies": {
"fs-monkey": "^1.0.3"
},
@@ -24787,9 +24787,9 @@
"integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ=="
},
"memfs": {
- "version": "3.4.13",
- "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.13.tgz",
- "integrity": "sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg==",
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.0.tgz",
+ "integrity": "sha512-yK6o8xVJlQerz57kvPROwTMgx5WtGwC2ZxDtOUsnGl49rHjYkfQoPNZPCKH73VdLE1BwBu/+Fx/NL8NYMUw2aA==",
"requires": {
"fs-monkey": "^1.0.3"
}
From abbcb448b72b2d11e07b656c8018c146d1688a91 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 10 Apr 2023 17:45:07 +0300
Subject: [PATCH 008/301] chore(deps-dev): bump eslint from 8.37.0 to 8.38.0
(#4811)
Bumps [eslint](https://github.com/eslint/eslint) from 8.37.0 to 8.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.37.0...v8.38.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index fe41db9c8c..79e6abc8a1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2467,9 +2467,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.37.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.37.0.tgz",
- "integrity": "sha512-x5vzdtOOGgFVDCUs81QRB2+liax8rFg3+7hqM+QhBG0/G3F1ZsoYl97UrqgHgQ9KKT7G6c4V+aTUCgu/n22v1A==",
+ "version": "8.38.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz",
+ "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -6747,15 +6747,15 @@
}
},
"node_modules/eslint": {
- "version": "8.37.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.37.0.tgz",
- "integrity": "sha512-NU3Ps9nI05GUoVMxcZx1J8CNR6xOvUT4jAUMH5+z8lpp3aEdPVCImKw6PWG4PY+Vfkpr+jvMpxs/qoE7wq0sPw==",
+ "version": "8.38.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz",
+ "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.2",
- "@eslint/js": "8.37.0",
+ "@eslint/js": "8.38.0",
"@humanwhocodes/config-array": "^0.11.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -17778,9 +17778,9 @@
}
},
"@eslint/js": {
- "version": "8.37.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.37.0.tgz",
- "integrity": "sha512-x5vzdtOOGgFVDCUs81QRB2+liax8rFg3+7hqM+QhBG0/G3F1ZsoYl97UrqgHgQ9KKT7G6c4V+aTUCgu/n22v1A==",
+ "version": "8.38.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz",
+ "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==",
"dev": true
},
"@humanwhocodes/config-array": {
@@ -21137,15 +21137,15 @@
}
},
"eslint": {
- "version": "8.37.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.37.0.tgz",
- "integrity": "sha512-NU3Ps9nI05GUoVMxcZx1J8CNR6xOvUT4jAUMH5+z8lpp3aEdPVCImKw6PWG4PY+Vfkpr+jvMpxs/qoE7wq0sPw==",
+ "version": "8.38.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz",
+ "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.2",
- "@eslint/js": "8.37.0",
+ "@eslint/js": "8.38.0",
"@humanwhocodes/config-array": "^0.11.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
From 63f8ff0986a07a9803cb19117f54cc7a5ff01786 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 13 Apr 2023 16:41:35 +0300
Subject: [PATCH 009/301] chore(deps-dev): bump webpack from 5.78.0 to 5.79.0
(#4815)
Bumps [webpack](https://github.com/webpack/webpack) from 5.78.0 to 5.79.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.78.0...v5.79.0)
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 48 +++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 79e6abc8a1..c3856c1c6c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3555,9 +3555,9 @@
}
},
"node_modules/@types/estree": {
- "version": "0.0.51",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz",
- "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ=="
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz",
+ "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ=="
},
"node_modules/@types/express": {
"version": "4.17.17",
@@ -6598,9 +6598,9 @@
"dev": true
},
"node_modules/es-module-lexer": {
- "version": "0.9.3",
- "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz",
- "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ=="
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.2.1.tgz",
+ "integrity": "sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg=="
},
"node_modules/es-set-tostringtag": {
"version": "2.0.1",
@@ -15542,12 +15542,12 @@
}
},
"node_modules/webpack": {
- "version": "5.78.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.78.0.tgz",
- "integrity": "sha512-gT5DP72KInmE/3azEaQrISjTvLYlSM0j1Ezhht/KLVkrqtv10JoP/RXhwmX/frrutOPuSq3o5Vq0ehR/4Vmd1g==",
+ "version": "5.79.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.79.0.tgz",
+ "integrity": "sha512-3mN4rR2Xq+INd6NnYuL9RC9GAmc1ROPKJoHhrZ4pAjdMFEkJJWrsPw8o2JjCIyQyTu7rTXYn4VG6OpyB3CobZg==",
"dependencies": {
"@types/eslint-scope": "^3.7.3",
- "@types/estree": "^0.0.51",
+ "@types/estree": "^1.0.0",
"@webassemblyjs/ast": "1.11.1",
"@webassemblyjs/wasm-edit": "1.11.1",
"@webassemblyjs/wasm-parser": "1.11.1",
@@ -15556,7 +15556,7 @@
"browserslist": "^4.14.5",
"chrome-trace-event": "^1.0.2",
"enhanced-resolve": "^5.10.0",
- "es-module-lexer": "^0.9.0",
+ "es-module-lexer": "^1.2.1",
"eslint-scope": "5.1.1",
"events": "^3.2.0",
"glob-to-regexp": "^0.4.1",
@@ -15567,7 +15567,7 @@
"neo-async": "^2.6.2",
"schema-utils": "^3.1.0",
"tapable": "^2.1.1",
- "terser-webpack-plugin": "^5.1.3",
+ "terser-webpack-plugin": "^5.3.7",
"watchpack": "^2.4.0",
"webpack-sources": "^3.2.3"
},
@@ -18643,9 +18643,9 @@
}
},
"@types/estree": {
- "version": "0.0.51",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz",
- "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ=="
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz",
+ "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ=="
},
"@types/express": {
"version": "4.17.17",
@@ -21025,9 +21025,9 @@
"dev": true
},
"es-module-lexer": {
- "version": "0.9.3",
- "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz",
- "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ=="
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.2.1.tgz",
+ "integrity": "sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg=="
},
"es-set-tostringtag": {
"version": "2.0.1",
@@ -27645,12 +27645,12 @@
"dev": true
},
"webpack": {
- "version": "5.78.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.78.0.tgz",
- "integrity": "sha512-gT5DP72KInmE/3azEaQrISjTvLYlSM0j1Ezhht/KLVkrqtv10JoP/RXhwmX/frrutOPuSq3o5Vq0ehR/4Vmd1g==",
+ "version": "5.79.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.79.0.tgz",
+ "integrity": "sha512-3mN4rR2Xq+INd6NnYuL9RC9GAmc1ROPKJoHhrZ4pAjdMFEkJJWrsPw8o2JjCIyQyTu7rTXYn4VG6OpyB3CobZg==",
"requires": {
"@types/eslint-scope": "^3.7.3",
- "@types/estree": "^0.0.51",
+ "@types/estree": "^1.0.0",
"@webassemblyjs/ast": "1.11.1",
"@webassemblyjs/wasm-edit": "1.11.1",
"@webassemblyjs/wasm-parser": "1.11.1",
@@ -27659,7 +27659,7 @@
"browserslist": "^4.14.5",
"chrome-trace-event": "^1.0.2",
"enhanced-resolve": "^5.10.0",
- "es-module-lexer": "^0.9.0",
+ "es-module-lexer": "^1.2.1",
"eslint-scope": "5.1.1",
"events": "^3.2.0",
"glob-to-regexp": "^0.4.1",
@@ -27670,7 +27670,7 @@
"neo-async": "^2.6.2",
"schema-utils": "^3.1.0",
"tapable": "^2.1.1",
- "terser-webpack-plugin": "^5.1.3",
+ "terser-webpack-plugin": "^5.3.7",
"watchpack": "^2.4.0",
"webpack-sources": "^3.2.3"
},
From fc2c36b76683cbec5f307257100b95409a426df4 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 14 Apr 2023 16:41:22 +0300
Subject: [PATCH 010/301] chore(deps-dev): bump core-js from 3.30.0 to 3.30.1
(#4817)
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.30.0 to 3.30.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.30.1/packages/core-js)
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c3856c1c6c..936a1ad2d3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5746,9 +5746,9 @@
}
},
"node_modules/core-js": {
- "version": "3.30.0",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.0.tgz",
- "integrity": "sha512-hQotSSARoNh1mYPi9O2YaWeiq/cEB95kOrFb4NCrO4RIFt1qqNpKsaE+vy/L3oiqvND5cThqXzUU3r9F7Efztg==",
+ "version": "3.30.1",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.1.tgz",
+ "integrity": "sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ==",
"dev": true,
"hasInstallScript": true,
"funding": {
@@ -20385,9 +20385,9 @@
}
},
"core-js": {
- "version": "3.30.0",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.0.tgz",
- "integrity": "sha512-hQotSSARoNh1mYPi9O2YaWeiq/cEB95kOrFb4NCrO4RIFt1qqNpKsaE+vy/L3oiqvND5cThqXzUU3r9F7Efztg==",
+ "version": "3.30.1",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.1.tgz",
+ "integrity": "sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ==",
"dev": true
},
"core-js-compat": {
From fcf01d1b8eb67aa1c93486e1b34ceefc33d9ee73 Mon Sep 17 00:00:00 2001
From: Alexander Akait <4567934+alexander-akait@users.noreply.github.com>
Date: Sat, 15 Apr 2023 20:06:45 +0300
Subject: [PATCH 011/301] fix(perf): reduced initial start time (#4818)
---
lib/Server.js | 45 +-
types/lib/Server.d.ts | 931 ++++++++++++++++++++++++------------------
2 files changed, 573 insertions(+), 403 deletions(-)
diff --git a/lib/Server.js b/lib/Server.js
index f5c2d08d5a..ec3453b6f2 100644
--- a/lib/Server.js
+++ b/lib/Server.js
@@ -6,8 +6,6 @@ const url = require("url");
const util = require("util");
const fs = require("graceful-fs");
const ipaddr = require("ipaddr.js");
-const defaultGateway = require("default-gateway");
-const express = require("express");
const { validate } = require("schema-utils");
const schema = require("./options.json");
@@ -210,6 +208,34 @@ if (!process.env.WEBPACK_SERVE) {
process.env.WEBPACK_SERVE = true;
}
+/**
+ * @template T
+ * @param fn {(function(): any) | undefined}
+ * @returns {function(): T}
+ */
+const memoize = (fn) => {
+ let cache = false;
+ /** @type {T} */
+ let result;
+
+ return () => {
+ if (cache) {
+ return result;
+ }
+
+ result = /** @type {function(): any} */ (fn)();
+ cache = true;
+ // Allow to clean up memory for fn
+ // and all dependent resources
+ // eslint-disable-next-line no-undefined
+ fn = undefined;
+
+ return result;
+ };
+};
+
+const getExpress = memoize(() => require("express"));
+
class Server {
/**
* @param {Configuration | Compiler | MultiCompiler} options
@@ -342,7 +368,7 @@ class Server {
*/
static async internalIP(family) {
try {
- const { gateway } = await defaultGateway[family]();
+ const { gateway } = await require("default-gateway")[family]();
return Server.findIp(gateway);
} catch {
// ignore
@@ -355,7 +381,7 @@ class Server {
*/
static internalIPSync(family) {
try {
- const { gateway } = defaultGateway[family].sync();
+ const { gateway } = require("default-gateway")[family].sync();
return Server.findIp(gateway);
} catch {
// ignore
@@ -1144,7 +1170,7 @@ class Server {
// Ignore error
}
- // It is file
+ // It is a file
return stats ? fs.readFileSync(item) : item;
}
};
@@ -1898,8 +1924,7 @@ class Server {
*/
setupApp() {
/** @type {import("express").Application | undefined}*/
- // eslint-disable-next-line new-cap
- this.app = new /** @type {any} */ (express)();
+ this.app = new /** @type {any} */ (getExpress())();
}
/**
@@ -2318,7 +2343,7 @@ class Server {
middlewares.push({
name: "express-static",
path: publicPath,
- middleware: express.static(
+ middleware: getExpress().static(
staticOption.directory,
staticOption.staticOptions
),
@@ -2373,7 +2398,7 @@ class Server {
middlewares.push({
name: "express-static",
path: publicPath,
- middleware: express.static(
+ middleware: getExpress().static(
staticOption.directory,
staticOption.staticOptions
),
@@ -3257,7 +3282,7 @@ class Server {
*/
(error) => {
if (error.code === "ECONNREFUSED") {
- // No other server listening on this socket so it can be safely removed
+ // No other server listening on this socket, so it can be safely removed
fs.unlinkSync(/** @type {string} */ (this.options.ipc));
resolve();
diff --git a/types/lib/Server.d.ts b/types/lib/Server.d.ts
index 2df50f1844..e5ed287917 100644
--- a/types/lib/Server.d.ts
+++ b/types/lib/Server.d.ts
@@ -20,13 +20,172 @@ declare class Server {
}
)[];
description: string;
- /** @typedef {import("os").NetworkInterfaceInfo} NetworkInterfaceInfo */
- /** @typedef {import("express").Request} Request */
- /** @typedef {import("express").Response} Response */
- /** @typedef {import("express").NextFunction} NextFunction */
- /** @typedef {import("express").RequestHandler} ExpressRequestHandler */
- /** @typedef {import("express").ErrorRequestHandler} ExpressErrorRequestHandler */
- /** @typedef {import("chokidar").WatchOptions} WatchOptions */
+ multiple: boolean;
+ simpleType: string;
+ };
+ "allowed-hosts-reset": {
+ configs: {
+ type: string;
+ multiple: boolean;
+ /** @typedef {import("express").NextFunction} NextFunction */
+ /** @typedef {import("express").RequestHandler} ExpressRequestHandler */
+ /** @typedef {import("express").ErrorRequestHandler} ExpressErrorRequestHandler */
+ /** @typedef {import("chokidar").WatchOptions} WatchOptions */
+ /** @typedef {import("chokidar").FSWatcher} FSWatcher */
+ /** @typedef {import("connect-history-api-fallback").Options} ConnectHistoryApiFallbackOptions */
+ /** @typedef {import("bonjour-service").Bonjour} Bonjour */
+ /** @typedef {import("bonjour-service").Service} BonjourOptions */
+ /** @typedef {import("http-proxy-middleware").RequestHandler} RequestHandler */
+ /** @typedef {import("http-proxy-middleware").Options} HttpProxyMiddlewareOptions */
+ /** @typedef {import("http-proxy-middleware").Filter} HttpProxyMiddlewareOptionsFilter */
+ /** @typedef {import("serve-index").Options} ServeIndexOptions */
+ /** @typedef {import("serve-static").ServeStaticOptions} ServeStaticOptions */
+ /** @typedef {import("ipaddr.js").IPv4} IPv4 */
+ /** @typedef {import("ipaddr.js").IPv6} IPv6 */
+ /** @typedef {import("net").Socket} Socket */
+ /** @typedef {import("http").IncomingMessage} IncomingMessage */
+ /** @typedef {import("open").Options} OpenOptions */
+ /** @typedef {import("https").ServerOptions & { spdy?: { plain?: boolean | undefined, ssl?: boolean | undefined, 'x-forwarded-for'?: string | undefined, protocol?: string | undefined, protocols?: string[] | undefined }}} ServerOptions */
+ /**
+ * @template Request, Response
+ * @typedef {import("webpack-dev-middleware").Options} DevMiddlewareOptions
+ */
+ /**
+ * @template Request, Response
+ * @typedef {import("webpack-dev-middleware").Context} DevMiddlewareContext
+ */
+ /**
+ * @typedef {"local-ip" | "local-ipv4" | "local-ipv6" | string} Host
+ */
+ /**
+ * @typedef {number | string | "auto"} Port
+ */
+ /**
+ * @typedef {Object} WatchFiles
+ * @property {string | string[]} paths
+ * @property {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [options]
+ */
+ /**
+ * @typedef {Object} Static
+ * @property {string} [directory]
+ * @property {string | string[]} [publicPath]
+ * @property {boolean | ServeIndexOptions} [serveIndex]
+ * @property {ServeStaticOptions} [staticOptions]
+ * @property {boolean | WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [watch]
+ */
+ /**
+ * @typedef {Object} NormalizedStatic
+ * @property {string} directory
+ * @property {string[]} publicPath
+ * @property {false | ServeIndexOptions} serveIndex
+ * @property {ServeStaticOptions} staticOptions
+ * @property {false | WatchOptions} watch
+ */
+ /**
+ * @typedef {Object} ServerConfiguration
+ * @property {"http" | "https" | "spdy" | string} [type]
+ * @property {ServerOptions} [options]
+ */
+ /**
+ * @typedef {Object} WebSocketServerConfiguration
+ * @property {"sockjs" | "ws" | string | Function} [type]
+ * @property {Record} [options]
+ */
+ /**
+ * @typedef {(import("ws").WebSocket | import("sockjs").Connection & { send: import("ws").WebSocket["send"], terminate: import("ws").WebSocket["terminate"], ping: import("ws").WebSocket["ping"] }) & { isAlive?: boolean }} ClientConnection
+ */
+ /**
+ * @typedef {import("ws").WebSocketServer | import("sockjs").Server & { close: import("ws").WebSocketServer["close"] }} WebSocketServer
+ */
+ /**
+ * @typedef {{ implementation: WebSocketServer, clients: ClientConnection[] }} WebSocketServerImplementation
+ */
+ /**
+ * @callback ByPass
+ * @param {Request} req
+ * @param {Response} res
+ * @param {ProxyConfigArrayItem} proxyConfig
+ */
+ /**
+ * @typedef {{ path?: HttpProxyMiddlewareOptionsFilter | undefined, context?: HttpProxyMiddlewareOptionsFilter | undefined } & { bypass?: ByPass } & HttpProxyMiddlewareOptions } ProxyConfigArrayItem
+ */
+ /**
+ * @typedef {(ProxyConfigArrayItem | ((req?: Request | undefined, res?: Response | undefined, next?: NextFunction | undefined) => ProxyConfigArrayItem))[]} ProxyConfigArray
+ */
+ /**
+ * @typedef {{ [url: string]: string | ProxyConfigArrayItem }} ProxyConfigMap
+ */
+ /**
+ * @typedef {Object} OpenApp
+ * @property {string} [name]
+ * @property {string[]} [arguments]
+ */
+ /**
+ * @typedef {Object} Open
+ * @property {string | string[] | OpenApp} [app]
+ * @property {string | string[]} [target]
+ */
+ /**
+ * @typedef {Object} NormalizedOpen
+ * @property {string} target
+ * @property {import("open").Options} options
+ */
+ /**
+ * @typedef {Object} WebSocketURL
+ * @property {string} [hostname]
+ * @property {string} [password]
+ * @property {string} [pathname]
+ * @property {number | string} [port]
+ * @property {string} [protocol]
+ * @property {string} [username]
+ */
+ /**
+ * @typedef {Object} ClientConfiguration
+ * @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
+ * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean} [progress]
+ * @property {boolean | number} [reconnect]
+ * @property {"ws" | "sockjs" | string} [webSocketTransport]
+ * @property {string | WebSocketURL} [webSocketURL]
+ */
+ /**
+ * @typedef {Array<{ key: string; value: string }> | Record} Headers
+ */
+ /**
+ * @typedef {{ name?: string, path?: string, middleware: ExpressRequestHandler | ExpressErrorRequestHandler } | ExpressRequestHandler | ExpressErrorRequestHandler} Middleware
+ */
+ /**
+ * @typedef {Object} Configuration
+ * @property {boolean | string} [ipc]
+ * @property {Host} [host]
+ * @property {Port} [port]
+ * @property {boolean | "only"} [hot]
+ * @property {boolean} [liveReload]
+ * @property {DevMiddlewareOptions} [devMiddleware]
+ * @property {boolean} [compress]
+ * @property {boolean} [magicHtml]
+ * @property {"auto" | "all" | string | string[]} [allowedHosts]
+ * @property {boolean | ConnectHistoryApiFallbackOptions} [historyApiFallback]
+ * @property {boolean | Record | BonjourOptions} [bonjour]
+ * @property {string | string[] | WatchFiles | Array} [watchFiles]
+ * @property {boolean | string | Static | Array} [static]
+ * @property {boolean | ServerOptions} [https]
+ * @property {boolean} [http2]
+ * @property {"http" | "https" | "spdy" | string | ServerConfiguration} [server]
+ * @property {boolean | "sockjs" | "ws" | string | WebSocketServerConfiguration} [webSocketServer]
+ * @property {ProxyConfigMap | ProxyConfigArrayItem | ProxyConfigArray} [proxy]
+ * @property {boolean | string | Open | Array} [open]
+ * @property {boolean} [setupExitSignals]
+ * @property {boolean | ClientConfiguration} [client]
+ * @property {Headers | ((req: Request, res: Response, context: DevMiddlewareContext) => Headers)} [headers]
+ * @property {(devServer: Server) => void} [onAfterSetupMiddleware]
+ * @property {(devServer: Server) => void} [onBeforeSetupMiddleware]
+ * @property {(devServer: Server) => void} [onListening]
+ * @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
+ */
+ description: string;
+ path: string;
+ }[];
/** @typedef {import("chokidar").FSWatcher} FSWatcher */
/** @typedef {import("connect-history-api-fallback").Options} ConnectHistoryApiFallbackOptions */
/** @typedef {import("bonjour-service").Bonjour} Bonjour */
@@ -179,12 +338,39 @@ declare class Server {
* @property {(devServer: Server) => void} [onListening]
* @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
*/
+ description: string;
+ simpleType: string;
multiple: boolean;
+ };
+ bonjour: {
+ configs: {
+ type: string;
+ multiple: boolean;
+ description: string;
+ negatedDescription: string;
+ path: string;
+ }[];
+ description: string;
simpleType: string;
+ multiple: boolean;
};
- "allowed-hosts-reset": {
+ client: {
+ configs: {
+ description: string;
+ negatedDescription: string;
+ multiple: boolean;
+ path: string;
+ type: string;
+ values: boolean[];
+ }[];
+ description: string;
+ multiple: boolean;
+ simpleType: string;
+ };
+ "client-logging": {
configs: {
type: string;
+ values: string[];
multiple: boolean;
description: string;
path: string;
@@ -193,7 +379,7 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
- bonjour: {
+ "client-overlay": {
configs: {
type: string;
multiple: boolean;
@@ -205,65 +391,21 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
- client: {
+ "client-overlay-errors": {
configs: {
+ type: string;
+ multiple: boolean;
description: string;
+ /**
+ * @typedef {Object} ServerConfiguration
+ * @property {"http" | "https" | "spdy" | string} [type]
+ * @property {ServerOptions} [options]
+ */
negatedDescription: string;
- multiple: boolean;
path: string;
- type: string;
- values: boolean[];
}[];
description: string;
- multiple: boolean;
simpleType: string;
- };
- "client-logging": {
- /**
- * @template Request, Response
- * @typedef {import("webpack-dev-middleware").Options} DevMiddlewareOptions
- */
- /**
- * @template Request, Response
- * @typedef {import("webpack-dev-middleware").Context} DevMiddlewareContext
- */
- /**
- * @typedef {"local-ip" | "local-ipv4" | "local-ipv6" | string} Host
- */
- /**
- * @typedef {number | string | "auto"} Port
- */
- /**
- * @typedef {Object} WatchFiles
- * @property {string | string[]} paths
- * @property {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [options]
- */
- /**
- * @typedef {Object} Static
- * @property {string} [directory]
- * @property {string | string[]} [publicPath]
- * @property {boolean | ServeIndexOptions} [serveIndex]
- * @property {ServeStaticOptions} [staticOptions]
- * @property {boolean | WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [watch]
- */
- /**
- * @typedef {Object} NormalizedStatic
- * @property {string} directory
- * @property {string[]} publicPath
- * @property {false | ServeIndexOptions} serveIndex
- * @property {ServeStaticOptions} staticOptions
- * @property {false | WatchOptions} watch
- */
- /**
- * @typedef {Object} ServerConfiguration
- * @property {"http" | "https" | "spdy" | string} [type]
- * @property {ServerOptions} [options]
- */
- /**
- * @typedef {Object} WebSocketServerConfiguration
- * @property {"sockjs" | "ws" | string | Function} [type]
- * @property {Record} [options]
- */
/**
* @typedef {(import("ws").WebSocket | import("sockjs").Connection & { send: import("ws").WebSocket["send"], terminate: import("ws").WebSocket["terminate"], ping: import("ws").WebSocket["ping"] }) & { isAlive?: boolean }} ClientConnection
*/
@@ -356,45 +498,15 @@ declare class Server {
* @property {(devServer: Server) => void} [onListening]
* @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
*/
- configs: {
- type: string;
- values: string[];
- multiple: boolean;
- description: string;
- path: string;
- }[];
- description: string;
- simpleType: string;
- multiple: boolean;
- };
- "client-overlay": {
- configs: {
- type: string;
- multiple: boolean;
- description: string;
- negatedDescription: string;
- path: string;
- }[];
- description: string;
- simpleType: string;
- multiple: boolean;
- };
- "client-overlay-errors": {
- configs: {
- type: string;
- multiple: boolean;
- description: string;
- negatedDescription: string;
- path: string;
- }[];
- description: string;
- simpleType: string;
multiple: boolean;
};
"client-overlay-trusted-types-policy-name": {
configs: {
description: string;
multiple: boolean;
+ /**
+ * @typedef {import("ws").WebSocketServer | import("sockjs").Server & { close: import("ws").WebSocketServer["close"] }} WebSocketServer
+ */
path: string;
type: string;
}[];
@@ -419,69 +531,6 @@ declare class Server {
type: string;
multiple: boolean;
description: string;
- /**
- * @typedef {Object} Open
- * @property {string | string[] | OpenApp} [app]
- * @property {string | string[]} [target]
- */
- /**
- * @typedef {Object} NormalizedOpen
- * @property {string} target
- * @property {import("open").Options} options
- */
- /**
- * @typedef {Object} WebSocketURL
- * @property {string} [hostname]
- * @property {string} [password]
- * @property {string} [pathname]
- * @property {number | string} [port]
- * @property {string} [protocol]
- * @property {string} [username]
- */
- /**
- * @typedef {Object} ClientConfiguration
- * @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
- * @property {boolean} [progress]
- * @property {boolean | number} [reconnect]
- * @property {"ws" | "sockjs" | string} [webSocketTransport]
- * @property {string | WebSocketURL} [webSocketURL]
- */
- /**
- * @typedef {Array<{ key: string; value: string }> | Record} Headers
- */
- /**
- * @typedef {{ name?: string, path?: string, middleware: ExpressRequestHandler | ExpressErrorRequestHandler } | ExpressRequestHandler | ExpressErrorRequestHandler} Middleware
- */
- /**
- * @typedef {Object} Configuration
- * @property {boolean | string} [ipc]
- * @property {Host} [host]
- * @property {Port} [port]
- * @property {boolean | "only"} [hot]
- * @property {boolean} [liveReload]
- * @property {DevMiddlewareOptions} [devMiddleware]
- * @property {boolean} [compress]
- * @property {boolean} [magicHtml]
- * @property {"auto" | "all" | string | string[]} [allowedHosts]
- * @property {boolean | ConnectHistoryApiFallbackOptions} [historyApiFallback]
- * @property {boolean | Record | BonjourOptions} [bonjour]
- * @property {string | string[] | WatchFiles | Array} [watchFiles]
- * @property {boolean | string | Static | Array} [static]
- * @property {boolean | ServerOptions} [https]
- * @property {boolean} [http2]
- * @property {"http" | "https" | "spdy" | string | ServerConfiguration} [server]
- * @property {boolean | "sockjs" | "ws" | string | WebSocketServerConfiguration} [webSocketServer]
- * @property {ProxyConfigMap | ProxyConfigArrayItem | ProxyConfigArray} [proxy]
- * @property {boolean | string | Open | Array} [open]
- * @property {boolean} [setupExitSignals]
- * @property {boolean | ClientConfiguration} [client]
- * @property {Headers | ((req: Request, res: Response, context: DevMiddlewareContext) => Headers)} [headers]
- * @property {(devServer: Server) => void} [onAfterSetupMiddleware]
- * @property {(devServer: Server) => void} [onBeforeSetupMiddleware]
- * @property {(devServer: Server) => void} [onListening]
- * @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
- */
negatedDescription: string;
path: string;
}[];
@@ -501,6 +550,9 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
+ /**
+ * @typedef {Array<{ key: string; value: string }> | Record} Headers
+ */
"client-reconnect": {
configs: (
| {
@@ -596,12 +648,20 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
+ /**
+ * @private
+ * @type {RequestHandler[]}
+ */
"client-web-socket-url-protocol": {
configs: (
| {
description: string;
multiple: boolean;
path: string;
+ /**
+ * @private
+ * @type {string | undefined}
+ */
type: string;
values: string[];
}
@@ -749,13 +809,15 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
+ /**
+ * @type {string[]}
+ */
"https-cacert-reset": {
configs: {
description: string;
- /** @type {string} */
multiple: boolean;
path: string;
- type: string;
+ /** @type {WebSocketURL} */ type: string;
}[];
description: string;
multiple: boolean;
@@ -867,12 +929,6 @@ declare class Server {
description: string;
negatedDescription: string;
path: string;
- /**
- * prependEntry Method for webpack 4
- * @param {any} originalEntry
- * @param {any} newAdditionalEntries
- * @returns {any}
- */
}[];
description: string;
simpleType: string;
@@ -891,6 +947,12 @@ declare class Server {
values: boolean[];
multiple: boolean;
description: string;
+ /**
+ * prependEntry Method for webpack 4
+ * @param {any} originalEntry
+ * @param {any} newAdditionalEntries
+ * @returns {any}
+ */
path: string;
}
)[];
@@ -906,7 +968,6 @@ declare class Server {
negatedDescription: string;
path: string;
}[];
- /** @type {any} */
description: string;
simpleType: string;
multiple: boolean;
@@ -928,7 +989,7 @@ declare class Server {
| {
type: string;
multiple: boolean;
- /** @type {MultiCompiler} */ description: string;
+ description: string;
path: string;
}
| {
@@ -964,10 +1025,6 @@ declare class Server {
description: string;
simpleType: string;
multiple: boolean;
- /**
- * @param {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} watchOptions
- * @returns {WatchOptions}
- */
};
"open-app-name-reset": {
configs: {
@@ -1196,9 +1253,9 @@ declare class Server {
type: string;
values: string[];
}[];
- description: string;
+ /** @type {ServerConfiguration} */ description: string;
multiple: boolean;
- simpleType: string /** @type {ServerOptions} */;
+ simpleType: string;
};
static: {
configs: (
@@ -1211,7 +1268,7 @@ declare class Server {
| {
type: string;
multiple: boolean;
- /** @type {ServerOptions} */ description: string;
+ description: string;
negatedDescription: string;
path: string;
}
@@ -1223,7 +1280,7 @@ declare class Server {
"static-directory": {
configs: {
type: string;
- /** @type {any} */ multiple: boolean;
+ multiple: boolean;
description: string;
path: string;
}[];
@@ -1236,10 +1293,10 @@ declare class Server {
type: string;
multiple: boolean;
description: string;
- path: string;
+ path: string /** @type {any} */;
}[];
description: string;
- /** @type {any} */ simpleType: string;
+ simpleType: string;
multiple: boolean;
};
"static-public-path-reset": {
@@ -1357,7 +1414,7 @@ declare class Server {
description: string;
simpleType: string;
multiple: boolean;
- } /** @type {ServerOptions} */;
+ };
};
readonly processArguments: (
args: Record,
@@ -1402,7 +1459,7 @@ declare class Server {
enum?: undefined;
}
)[];
- description: string /** @typedef {import("webpack").Configuration} WebpackConfiguration */;
+ description: string;
link: string;
};
AllowedHostsItem: {
@@ -1415,7 +1472,7 @@ declare class Server {
type: string;
cli: {
negatedDescription: string;
- } /** @typedef {import("express").Request} Request */;
+ };
description?: undefined;
link?: undefined;
}
@@ -1423,11 +1480,11 @@ declare class Server {
type: string;
description: string;
link: string;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
description: string;
- link: string;
+ link: string /** @typedef {import("connect-history-api-fallback").Options} ConnectHistoryApiFallbackOptions */;
};
Client: {
description: string;
@@ -1449,150 +1506,6 @@ declare class Server {
logging: {
$ref: string;
};
- /** @typedef {import("serve-static").ServeStaticOptions} ServeStaticOptions */
- /** @typedef {import("ipaddr.js").IPv4} IPv4 */
- /** @typedef {import("ipaddr.js").IPv6} IPv6 */
- /** @typedef {import("net").Socket} Socket */
- /** @typedef {import("http").IncomingMessage} IncomingMessage */
- /** @typedef {import("open").Options} OpenOptions */
- /** @typedef {import("https").ServerOptions & { spdy?: { plain?: boolean | undefined, ssl?: boolean | undefined, 'x-forwarded-for'?: string | undefined, protocol?: string | undefined, protocols?: string[] | undefined }}} ServerOptions */
- /**
- * @template Request, Response
- * @typedef {import("webpack-dev-middleware").Options} DevMiddlewareOptions
- */
- /**
- * @template Request, Response
- * @typedef {import("webpack-dev-middleware").Context} DevMiddlewareContext
- */
- /**
- * @typedef {"local-ip" | "local-ipv4" | "local-ipv6" | string} Host
- */
- /**
- * @typedef {number | string | "auto"} Port
- */
- /**
- * @typedef {Object} WatchFiles
- * @property {string | string[]} paths
- * @property {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [options]
- */
- /**
- * @typedef {Object} Static
- * @property {string} [directory]
- * @property {string | string[]} [publicPath]
- * @property {boolean | ServeIndexOptions} [serveIndex]
- * @property {ServeStaticOptions} [staticOptions]
- * @property {boolean | WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [watch]
- */
- /**
- * @typedef {Object} NormalizedStatic
- * @property {string} directory
- * @property {string[]} publicPath
- * @property {false | ServeIndexOptions} serveIndex
- * @property {ServeStaticOptions} staticOptions
- * @property {false | WatchOptions} watch
- */
- /**
- * @typedef {Object} ServerConfiguration
- * @property {"http" | "https" | "spdy" | string} [type]
- * @property {ServerOptions} [options]
- */
- /**
- * @typedef {Object} WebSocketServerConfiguration
- * @property {"sockjs" | "ws" | string | Function} [type]
- * @property {Record} [options]
- */
- /**
- * @typedef {(import("ws").WebSocket | import("sockjs").Connection & { send: import("ws").WebSocket["send"], terminate: import("ws").WebSocket["terminate"], ping: import("ws").WebSocket["ping"] }) & { isAlive?: boolean }} ClientConnection
- */
- /**
- * @typedef {import("ws").WebSocketServer | import("sockjs").Server & { close: import("ws").WebSocketServer["close"] }} WebSocketServer
- */
- /**
- * @typedef {{ implementation: WebSocketServer, clients: ClientConnection[] }} WebSocketServerImplementation
- */
- /**
- * @callback ByPass
- * @param {Request} req
- * @param {Response} res
- * @param {ProxyConfigArrayItem} proxyConfig
- */
- /**
- * @typedef {{ path?: HttpProxyMiddlewareOptionsFilter | undefined, context?: HttpProxyMiddlewareOptionsFilter | undefined } & { bypass?: ByPass } & HttpProxyMiddlewareOptions } ProxyConfigArrayItem
- */
- /**
- * @typedef {(ProxyConfigArrayItem | ((req?: Request | undefined, res?: Response | undefined, next?: NextFunction | undefined) => ProxyConfigArrayItem))[]} ProxyConfigArray
- */
- /**
- * @typedef {{ [url: string]: string | ProxyConfigArrayItem }} ProxyConfigMap
- */
- /**
- * @typedef {Object} OpenApp
- * @property {string} [name]
- * @property {string[]} [arguments]
- */
- /**
- * @typedef {Object} Open
- * @property {string | string[] | OpenApp} [app]
- * @property {string | string[]} [target]
- */
- /**
- * @typedef {Object} NormalizedOpen
- * @property {string} target
- * @property {import("open").Options} options
- */
- /**
- * @typedef {Object} WebSocketURL
- * @property {string} [hostname]
- * @property {string} [password]
- * @property {string} [pathname]
- * @property {number | string} [port]
- * @property {string} [protocol]
- * @property {string} [username]
- */
- /**
- * @typedef {Object} ClientConfiguration
- * @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
- * @property {boolean} [progress]
- * @property {boolean | number} [reconnect]
- * @property {"ws" | "sockjs" | string} [webSocketTransport]
- * @property {string | WebSocketURL} [webSocketURL]
- */
- /**
- * @typedef {Array<{ key: string; value: string }> | Record} Headers
- */
- /**
- * @typedef {{ name?: string, path?: string, middleware: ExpressRequestHandler | ExpressErrorRequestHandler } | ExpressRequestHandler | ExpressErrorRequestHandler} Middleware
- */
- /**
- * @typedef {Object} Configuration
- * @property {boolean | string} [ipc]
- * @property {Host} [host]
- * @property {Port} [port]
- * @property {boolean | "only"} [hot]
- * @property {boolean} [liveReload]
- * @property {DevMiddlewareOptions} [devMiddleware]
- * @property {boolean} [compress]
- * @property {boolean} [magicHtml]
- * @property {"auto" | "all" | string | string[]} [allowedHosts]
- * @property {boolean | ConnectHistoryApiFallbackOptions} [historyApiFallback]
- * @property {boolean | Record | BonjourOptions} [bonjour]
- * @property {string | string[] | WatchFiles | Array} [watchFiles]
- * @property {boolean | string | Static | Array} [static]
- * @property {boolean | ServerOptions} [https]
- * @property {boolean} [http2]
- * @property {"http" | "https" | "spdy" | string | ServerConfiguration} [server]
- * @property {boolean | "sockjs" | "ws" | string | WebSocketServerConfiguration} [webSocketServer]
- * @property {ProxyConfigMap | ProxyConfigArrayItem | ProxyConfigArray} [proxy]
- * @property {boolean | string | Open | Array} [open]
- * @property {boolean} [setupExitSignals]
- * @property {boolean | ClientConfiguration} [client]
- * @property {Headers | ((req: Request, res: Response, context: DevMiddlewareContext) => Headers)} [headers]
- * @property {(devServer: Server) => void} [onAfterSetupMiddleware]
- * @property {(devServer: Server) => void} [onBeforeSetupMiddleware]
- * @property {(devServer: Server) => void} [onListening]
- * @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
- */
overlay: {
$ref: string;
};
@@ -1603,6 +1516,144 @@ declare class Server {
$ref: string;
};
webSocketTransport: {
+ /** @typedef {import("https").ServerOptions & { spdy?: { plain?: boolean | undefined, ssl?: boolean | undefined, 'x-forwarded-for'?: string | undefined, protocol?: string | undefined, protocols?: string[] | undefined }}} ServerOptions */
+ /**
+ * @template Request, Response
+ * @typedef {import("webpack-dev-middleware").Options} DevMiddlewareOptions
+ */
+ /**
+ * @template Request, Response
+ * @typedef {import("webpack-dev-middleware").Context} DevMiddlewareContext
+ */
+ /**
+ * @typedef {"local-ip" | "local-ipv4" | "local-ipv6" | string} Host
+ */
+ /**
+ * @typedef {number | string | "auto"} Port
+ */
+ /**
+ * @typedef {Object} WatchFiles
+ * @property {string | string[]} paths
+ * @property {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [options]
+ */
+ /**
+ * @typedef {Object} Static
+ * @property {string} [directory]
+ * @property {string | string[]} [publicPath]
+ * @property {boolean | ServeIndexOptions} [serveIndex]
+ * @property {ServeStaticOptions} [staticOptions]
+ * @property {boolean | WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [watch]
+ */
+ /**
+ * @typedef {Object} NormalizedStatic
+ * @property {string} directory
+ * @property {string[]} publicPath
+ * @property {false | ServeIndexOptions} serveIndex
+ * @property {ServeStaticOptions} staticOptions
+ * @property {false | WatchOptions} watch
+ */
+ /**
+ * @typedef {Object} ServerConfiguration
+ * @property {"http" | "https" | "spdy" | string} [type]
+ * @property {ServerOptions} [options]
+ */
+ /**
+ * @typedef {Object} WebSocketServerConfiguration
+ * @property {"sockjs" | "ws" | string | Function} [type]
+ * @property {Record} [options]
+ */
+ /**
+ * @typedef {(import("ws").WebSocket | import("sockjs").Connection & { send: import("ws").WebSocket["send"], terminate: import("ws").WebSocket["terminate"], ping: import("ws").WebSocket["ping"] }) & { isAlive?: boolean }} ClientConnection
+ */
+ /**
+ * @typedef {import("ws").WebSocketServer | import("sockjs").Server & { close: import("ws").WebSocketServer["close"] }} WebSocketServer
+ */
+ /**
+ * @typedef {{ implementation: WebSocketServer, clients: ClientConnection[] }} WebSocketServerImplementation
+ */
+ /**
+ * @callback ByPass
+ * @param {Request} req
+ * @param {Response} res
+ * @param {ProxyConfigArrayItem} proxyConfig
+ */
+ /**
+ * @typedef {{ path?: HttpProxyMiddlewareOptionsFilter | undefined, context?: HttpProxyMiddlewareOptionsFilter | undefined } & { bypass?: ByPass } & HttpProxyMiddlewareOptions } ProxyConfigArrayItem
+ */
+ /**
+ * @typedef {(ProxyConfigArrayItem | ((req?: Request | undefined, res?: Response | undefined, next?: NextFunction | undefined) => ProxyConfigArrayItem))[]} ProxyConfigArray
+ */
+ /**
+ * @typedef {{ [url: string]: string | ProxyConfigArrayItem }} ProxyConfigMap
+ */
+ /**
+ * @typedef {Object} OpenApp
+ * @property {string} [name]
+ * @property {string[]} [arguments]
+ */
+ /**
+ * @typedef {Object} Open
+ * @property {string | string[] | OpenApp} [app]
+ * @property {string | string[]} [target]
+ */
+ /**
+ * @typedef {Object} NormalizedOpen
+ * @property {string} target
+ * @property {import("open").Options} options
+ */
+ /**
+ * @typedef {Object} WebSocketURL
+ * @property {string} [hostname]
+ * @property {string} [password]
+ * @property {string} [pathname]
+ * @property {number | string} [port]
+ * @property {string} [protocol]
+ * @property {string} [username]
+ */
+ /**
+ * @typedef {Object} ClientConfiguration
+ * @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
+ * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean} [progress]
+ * @property {boolean | number} [reconnect]
+ * @property {"ws" | "sockjs" | string} [webSocketTransport]
+ * @property {string | WebSocketURL} [webSocketURL]
+ */
+ /**
+ * @typedef {Array<{ key: string; value: string }> | Record} Headers
+ */
+ /**
+ * @typedef {{ name?: string, path?: string, middleware: ExpressRequestHandler | ExpressErrorRequestHandler } | ExpressRequestHandler | ExpressErrorRequestHandler} Middleware
+ */
+ /**
+ * @typedef {Object} Configuration
+ * @property {boolean | string} [ipc]
+ * @property {Host} [host]
+ * @property {Port} [port]
+ * @property {boolean | "only"} [hot]
+ * @property {boolean} [liveReload]
+ * @property {DevMiddlewareOptions} [devMiddleware]
+ * @property {boolean} [compress]
+ * @property {boolean} [magicHtml]
+ * @property {"auto" | "all" | string | string[]} [allowedHosts]
+ * @property {boolean | ConnectHistoryApiFallbackOptions} [historyApiFallback]
+ * @property {boolean | Record | BonjourOptions} [bonjour]
+ * @property {string | string[] | WatchFiles | Array} [watchFiles]
+ * @property {boolean | string | Static | Array} [static]
+ * @property {boolean | ServerOptions} [https]
+ * @property {boolean} [http2]
+ * @property {"http" | "https" | "spdy" | string | ServerConfiguration} [server]
+ * @property {boolean | "sockjs" | "ws" | string | WebSocketServerConfiguration} [webSocketServer]
+ * @property {ProxyConfigMap | ProxyConfigArrayItem | ProxyConfigArray} [proxy]
+ * @property {boolean | string | Open | Array} [open]
+ * @property {boolean} [setupExitSignals]
+ * @property {boolean | ClientConfiguration} [client]
+ * @property {Headers | ((req: Request, res: Response, context: DevMiddlewareContext) => Headers)} [headers]
+ * @property {(devServer: Server) => void} [onAfterSetupMiddleware]
+ * @property {(devServer: Server) => void} [onBeforeSetupMiddleware]
+ * @property {(devServer: Server) => void} [onListening]
+ * @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
+ */
$ref: string;
};
webSocketURL: {
@@ -1610,11 +1661,148 @@ declare class Server {
};
};
enum?: undefined;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
};
ClientLogging: {
+ /**
+ * @template Request, Response
+ * @typedef {import("webpack-dev-middleware").Options} DevMiddlewareOptions
+ */
+ /**
+ * @template Request, Response
+ * @typedef {import("webpack-dev-middleware").Context} DevMiddlewareContext
+ */
+ /**
+ * @typedef {"local-ip" | "local-ipv4" | "local-ipv6" | string} Host
+ */
+ /**
+ * @typedef {number | string | "auto"} Port
+ */
+ /**
+ * @typedef {Object} WatchFiles
+ * @property {string | string[]} paths
+ * @property {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [options]
+ */
+ /**
+ * @typedef {Object} Static
+ * @property {string} [directory]
+ * @property {string | string[]} [publicPath]
+ * @property {boolean | ServeIndexOptions} [serveIndex]
+ * @property {ServeStaticOptions} [staticOptions]
+ * @property {boolean | WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} [watch]
+ */
+ /**
+ * @typedef {Object} NormalizedStatic
+ * @property {string} directory
+ * @property {string[]} publicPath
+ * @property {false | ServeIndexOptions} serveIndex
+ * @property {ServeStaticOptions} staticOptions
+ * @property {false | WatchOptions} watch
+ */
+ /**
+ * @typedef {Object} ServerConfiguration
+ * @property {"http" | "https" | "spdy" | string} [type]
+ * @property {ServerOptions} [options]
+ */
+ /**
+ * @typedef {Object} WebSocketServerConfiguration
+ * @property {"sockjs" | "ws" | string | Function} [type]
+ * @property {Record} [options]
+ */
+ /**
+ * @typedef {(import("ws").WebSocket | import("sockjs").Connection & { send: import("ws").WebSocket["send"], terminate: import("ws").WebSocket["terminate"], ping: import("ws").WebSocket["ping"] }) & { isAlive?: boolean }} ClientConnection
+ */
+ /**
+ * @typedef {import("ws").WebSocketServer | import("sockjs").Server & { close: import("ws").WebSocketServer["close"] }} WebSocketServer
+ */
+ /**
+ * @typedef {{ implementation: WebSocketServer, clients: ClientConnection[] }} WebSocketServerImplementation
+ */
+ /**
+ * @callback ByPass
+ * @param {Request} req
+ * @param {Response} res
+ * @param {ProxyConfigArrayItem} proxyConfig
+ */
+ /**
+ * @typedef {{ path?: HttpProxyMiddlewareOptionsFilter | undefined, context?: HttpProxyMiddlewareOptionsFilter | undefined } & { bypass?: ByPass } & HttpProxyMiddlewareOptions } ProxyConfigArrayItem
+ */
+ /**
+ * @typedef {(ProxyConfigArrayItem | ((req?: Request | undefined, res?: Response | undefined, next?: NextFunction | undefined) => ProxyConfigArrayItem))[]} ProxyConfigArray
+ */
+ /**
+ * @typedef {{ [url: string]: string | ProxyConfigArrayItem }} ProxyConfigMap
+ */
+ /**
+ * @typedef {Object} OpenApp
+ * @property {string} [name]
+ * @property {string[]} [arguments]
+ */
+ /**
+ * @typedef {Object} Open
+ * @property {string | string[] | OpenApp} [app]
+ * @property {string | string[]} [target]
+ */
+ /**
+ * @typedef {Object} NormalizedOpen
+ * @property {string} target
+ * @property {import("open").Options} options
+ */
+ /**
+ * @typedef {Object} WebSocketURL
+ * @property {string} [hostname]
+ * @property {string} [password]
+ * @property {string} [pathname]
+ * @property {number | string} [port]
+ * @property {string} [protocol]
+ * @property {string} [username]
+ */
+ /**
+ * @typedef {Object} ClientConfiguration
+ * @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
+ * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean} [progress]
+ * @property {boolean | number} [reconnect]
+ * @property {"ws" | "sockjs" | string} [webSocketTransport]
+ * @property {string | WebSocketURL} [webSocketURL]
+ */
+ /**
+ * @typedef {Array<{ key: string; value: string }> | Record} Headers
+ */
+ /**
+ * @typedef {{ name?: string, path?: string, middleware: ExpressRequestHandler | ExpressErrorRequestHandler } | ExpressRequestHandler | ExpressErrorRequestHandler} Middleware
+ */
+ /**
+ * @typedef {Object} Configuration
+ * @property {boolean | string} [ipc]
+ * @property {Host} [host]
+ * @property {Port} [port]
+ * @property {boolean | "only"} [hot]
+ * @property {boolean} [liveReload]
+ * @property {DevMiddlewareOptions} [devMiddleware]
+ * @property {boolean} [compress]
+ * @property {boolean} [magicHtml]
+ * @property {"auto" | "all" | string | string[]} [allowedHosts]
+ * @property {boolean | ConnectHistoryApiFallbackOptions} [historyApiFallback]
+ * @property {boolean | Record | BonjourOptions} [bonjour]
+ * @property {string | string[] | WatchFiles | Array} [watchFiles]
+ * @property {boolean | string | Static | Array} [static]
+ * @property {boolean | ServerOptions} [https]
+ * @property {boolean} [http2]
+ * @property {"http" | "https" | "spdy" | string | ServerConfiguration} [server]
+ * @property {boolean | "sockjs" | "ws" | string | WebSocketServerConfiguration} [webSocketServer]
+ * @property {ProxyConfigMap | ProxyConfigArrayItem | ProxyConfigArray} [proxy]
+ * @property {boolean | string | Open | Array} [open]
+ * @property {boolean} [setupExitSignals]
+ * @property {boolean | ClientConfiguration} [client]
+ * @property {Headers | ((req: Request, res: Response, context: DevMiddlewareContext) => Headers)} [headers]
+ * @property {(devServer: Server) => void} [onAfterSetupMiddleware]
+ * @property {(devServer: Server) => void} [onBeforeSetupMiddleware]
+ * @property {(devServer: Server) => void} [onListening]
+ * @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
+ */
enum: string[];
description: string;
link: string;
@@ -1663,7 +1851,7 @@ declare class Server {
};
description?: undefined;
link?: undefined;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
};
@@ -1681,11 +1869,6 @@ declare class Server {
anyOf: (
| {
type: string;
- /**
- * @typedef {Object} OpenApp
- * @property {string} [name]
- * @property {string[]} [arguments]
- */
/**
* @typedef {Object} Open
* @property {string | string[] | OpenApp} [app]
@@ -1757,7 +1940,7 @@ declare class Server {
| {
type: string;
minimum: number;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
};
@@ -1787,35 +1970,6 @@ declare class Server {
}
| {
type: string;
- /**
- * @typedef {Object} Configuration
- * @property {boolean | string} [ipc]
- * @property {Host} [host]
- * @property {Port} [port]
- * @property {boolean | "only"} [hot]
- * @property {boolean} [liveReload]
- * @property {DevMiddlewareOptions} [devMiddleware]
- * @property {boolean} [compress]
- * @property {boolean} [magicHtml]
- * @property {"auto" | "all" | string | string[]} [allowedHosts]
- * @property {boolean | ConnectHistoryApiFallbackOptions} [historyApiFallback]
- * @property {boolean | Record | BonjourOptions} [bonjour]
- * @property {string | string[] | WatchFiles | Array} [watchFiles]
- * @property {boolean | string | Static | Array} [static]
- * @property {boolean | ServerOptions} [https]
- * @property {boolean} [http2]
- * @property {"http" | "https" | "spdy" | string | ServerConfiguration} [server]
- * @property {boolean | "sockjs" | "ws" | string | WebSocketServerConfiguration} [webSocketServer]
- * @property {ProxyConfigMap | ProxyConfigArrayItem | ProxyConfigArray} [proxy]
- * @property {boolean | string | Open | Array} [open]
- * @property {boolean} [setupExitSignals]
- * @property {boolean | ClientConfiguration} [client]
- * @property {Headers | ((req: Request, res: Response, context: DevMiddlewareContext) => Headers)} [headers]
- * @property {(devServer: Server) => void} [onAfterSetupMiddleware]
- * @property {(devServer: Server) => void} [onBeforeSetupMiddleware]
- * @property {(devServer: Server) => void} [onListening]
- * @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
- */
additionalProperties: boolean;
properties: {
hostname: {
@@ -2116,7 +2270,7 @@ declare class Server {
description: string;
};
};
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
description: string;
@@ -2172,16 +2326,14 @@ declare class Server {
cli: {
negatedDescription: string;
};
- /** @type {WebSocketURL} */ description?: undefined;
+ description?: undefined;
link?: undefined;
}
| {
type: string;
- /** @type {ClientConfiguration} */
description: string;
link: string;
- /** @type {{ type: WebSocketServerConfiguration["type"], options: NonNullable }} */
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
description: string;
@@ -2215,7 +2367,7 @@ declare class Server {
| {
enum: string[];
type?: undefined;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
description: string;
@@ -2266,7 +2418,7 @@ declare class Server {
OnListening: {
instanceof: string;
description: string;
- /** @type {string} */ link: string;
+ link: string;
};
Open: {
anyOf: (
@@ -2281,7 +2433,7 @@ declare class Server {
}
| {
$ref: string;
- type?: undefined;
+ /** @type {string} */ type?: undefined;
items?: undefined;
}
)[];
@@ -2347,7 +2499,7 @@ declare class Server {
};
minLength?: undefined;
description?: undefined;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
| {
type: string;
@@ -2418,7 +2570,7 @@ declare class Server {
}
)[];
description: string;
- link: string;
+ /** @type {Object} */ link: string;
};
Server: {
anyOf: {
@@ -2596,10 +2748,6 @@ declare class Server {
)[];
description: string;
};
- /**
- * @param {string | Static | undefined} [optionsForStatic]
- * @returns {NormalizedStatic}
- */
key: {
anyOf: (
| {
@@ -2621,7 +2769,7 @@ declare class Server {
additionalProperties: boolean;
instanceof?: undefined;
}
- )[] /** @type {NormalizedStatic} */;
+ )[];
};
instanceof?: undefined;
}
@@ -2700,7 +2848,7 @@ declare class Server {
$ref: string;
}[];
};
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
$ref?: undefined;
}
| {
@@ -2715,7 +2863,7 @@ declare class Server {
$ref: string;
type?: undefined;
items?: undefined;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
description: string;
@@ -2766,7 +2914,7 @@ declare class Server {
| {
type: string;
additionalProperties: boolean;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
description: string;
@@ -2786,7 +2934,7 @@ declare class Server {
type: string;
description: string;
link: string;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
description: string;
@@ -2877,7 +3025,7 @@ declare class Server {
| {
$ref: string;
enum?: undefined;
- cli?: undefined /** @typedef {import("express").Request} Request */;
+ cli?: undefined;
}
)[];
cli: {
@@ -2911,6 +3059,7 @@ declare class Server {
};
};
additionalProperties: boolean;
+ /** @type {ServerOptions} */
properties: {
allowedHosts: {
$ref: string;
@@ -2920,10 +3069,6 @@ declare class Server {
};
client: {
$ref: string;
- /**
- * @param {string | Buffer | undefined} item
- * @returns {string | Buffer | undefined}
- */
};
compress: {
$ref: string;
@@ -2965,7 +3110,7 @@ declare class Server {
$ref: string;
};
onListening: {
- $ref: string /** @type {ServerOptions} */;
+ $ref: string;
};
open: {
$ref: string;
@@ -2976,6 +3121,7 @@ declare class Server {
proxy: {
$ref: string;
};
+ /** @type {any} */
server: {
$ref: string;
};
@@ -3148,14 +3294,14 @@ declare class Server {
private setupDevMiddleware;
middleware:
| import("webpack-dev-middleware").API<
- express.Request<
+ import("express").Request<
import("express-serve-static-core").ParamsDictionary,
any,
any,
qs.ParsedQs,
Record
>,
- express.Response>
+ import("express").Response>
>
| null
| undefined;
@@ -3371,14 +3517,14 @@ type Configuration = {
liveReload?: boolean | undefined;
devMiddleware?:
| DevMiddlewareOptions<
- express.Request<
+ import("express").Request<
import("express-serve-static-core").ParamsDictionary,
any,
any,
qs.ParsedQs,
Record
>,
- express.Response>
+ import("express").Response>
>
| undefined;
compress?: boolean | undefined;
@@ -3425,7 +3571,6 @@ type Configuration = {
};
type FSWatcher = import("chokidar").FSWatcher;
type Socket = import("net").Socket;
-import express = require("express");
type WebSocketServerImplementation = {
implementation: WebSocketServer;
clients: ClientConnection[];
From 80a96fd4a989972dc308d0356c68f71c5a2abfc6 Mon Sep 17 00:00:00 2001
From: "alexander.akait"
Date: Sat, 15 Apr 2023 20:08:22 +0300
Subject: [PATCH 012/301] chore(release): 4.13.3
---
CHANGELOG.md | 7 +++++++
package-lock.json | 4 ++--
package.json | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1ce42ae94e..8c150e4105 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+### [4.13.3](https://github.com/webpack/webpack-dev-server/compare/v4.13.2...v4.13.3) (2023-04-15)
+
+
+### Bug Fixes
+
+* **perf:** reduced initial start time ([#4818](https://github.com/webpack/webpack-dev-server/issues/4818)) ([fcf01d1](https://github.com/webpack/webpack-dev-server/commit/fcf01d1b8eb67aa1c93486e1b34ceefc33d9ee73))
+
### [4.13.2](https://github.com/webpack/webpack-dev-server/compare/v4.13.1...v4.13.2) (2023-03-31)
diff --git a/package-lock.json b/package-lock.json
index 936a1ad2d3..99bb1132ac 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "webpack-dev-server",
- "version": "4.13.2",
+ "version": "4.13.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "webpack-dev-server",
- "version": "4.13.2",
+ "version": "4.13.3",
"license": "MIT",
"dependencies": {
"@types/bonjour": "^3.5.9",
diff --git a/package.json b/package.json
index afbd1de486..67c68a2a59 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "webpack-dev-server",
- "version": "4.13.2",
+ "version": "4.13.3",
"description": "Serves a webpack app. Updates the browser on changes.",
"bin": "bin/webpack-dev-server.js",
"main": "lib/Server.js",
From f479dad5365c31177fd3be9992d5492c97ebc146 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 17 Apr 2023 14:45:51 +0300
Subject: [PATCH 013/301] chore(deps): bump colorette from 2.0.19 to 2.0.20
(#4820)
Bumps [colorette](https://github.com/jorgebucaran/colorette) from 2.0.19 to 2.0.20.
- [Release notes](https://github.com/jorgebucaran/colorette/releases)
- [Commits](https://github.com/jorgebucaran/colorette/compare/2.0.19...2.0.20)
---
updated-dependencies:
- dependency-name: colorette
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 99bb1132ac..0eaa941935 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5213,9 +5213,9 @@
"dev": true
},
"node_modules/colorette": {
- "version": "2.0.19",
- "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz",
- "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ=="
+ "version": "2.0.20",
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
+ "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w=="
},
"node_modules/combined-stream": {
"version": "1.0.8",
@@ -19971,9 +19971,9 @@
"dev": true
},
"colorette": {
- "version": "2.0.19",
- "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz",
- "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ=="
+ "version": "2.0.20",
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
+ "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w=="
},
"combined-stream": {
"version": "1.0.8",
From 6f84d7bfe8a8f73dbff3072fd1bbf074b84c7f48 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 17 Apr 2023 14:46:07 +0300
Subject: [PATCH 014/301] chore(deps): bump schema-utils from 4.0.0 to 4.0.1
(#4819)
Bumps [schema-utils](https://github.com/webpack/schema-utils) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/webpack/schema-utils/releases)
- [Changelog](https://github.com/webpack/schema-utils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/schema-utils/compare/v4.0.0...v4.0.1)
---
updated-dependencies:
- dependency-name: schema-utils
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 0eaa941935..8e24e5200a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13681,14 +13681,14 @@
}
},
"node_modules/schema-utils": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz",
- "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.1.tgz",
+ "integrity": "sha512-lELhBAAly9NowEsX0yZBlw9ahZG+sK/1RJ21EpzdYHKEs13Vku3LJ+MIPhh4sMs0oCCeufZQEQbMekiA4vuVIQ==",
"dependencies": {
"@types/json-schema": "^7.0.9",
- "ajv": "^8.8.0",
+ "ajv": "^8.9.0",
"ajv-formats": "^2.1.1",
- "ajv-keywords": "^5.0.0"
+ "ajv-keywords": "^5.1.0"
},
"engines": {
"node": ">= 12.13.0"
@@ -26241,14 +26241,14 @@
}
},
"schema-utils": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz",
- "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.1.tgz",
+ "integrity": "sha512-lELhBAAly9NowEsX0yZBlw9ahZG+sK/1RJ21EpzdYHKEs13Vku3LJ+MIPhh4sMs0oCCeufZQEQbMekiA4vuVIQ==",
"requires": {
"@types/json-schema": "^7.0.9",
- "ajv": "^8.8.0",
+ "ajv": "^8.9.0",
"ajv-formats": "^2.1.1",
- "ajv-keywords": "^5.0.0"
+ "ajv-keywords": "^5.1.0"
},
"dependencies": {
"ajv": {
From d0a2e48919443620618f88727e675526bec7d6bf Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 21 Apr 2023 15:34:30 +0300
Subject: [PATCH 015/301] chore(deps-dev): bump memfs from 3.5.0 to 3.5.1
(#4824)
Bumps [memfs](https://github.com/streamich/memfs) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/streamich/memfs/releases)
- [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/memfs/compare/v3.5.0...v3.5.1)
---
updated-dependencies:
- dependency-name: memfs
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 8e24e5200a..f375b07742 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -11709,9 +11709,9 @@
}
},
"node_modules/memfs": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.0.tgz",
- "integrity": "sha512-yK6o8xVJlQerz57kvPROwTMgx5WtGwC2ZxDtOUsnGl49rHjYkfQoPNZPCKH73VdLE1BwBu/+Fx/NL8NYMUw2aA==",
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.1.tgz",
+ "integrity": "sha512-UWbFJKvj5k+nETdteFndTpYxdeTMox/ULeqX5k/dpaQJCCFmj5EeKv3dBcyO2xmkRAx2vppRu5dVG7SOtsGOzA==",
"dependencies": {
"fs-monkey": "^1.0.3"
},
@@ -24787,9 +24787,9 @@
"integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ=="
},
"memfs": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.0.tgz",
- "integrity": "sha512-yK6o8xVJlQerz57kvPROwTMgx5WtGwC2ZxDtOUsnGl49rHjYkfQoPNZPCKH73VdLE1BwBu/+Fx/NL8NYMUw2aA==",
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.1.tgz",
+ "integrity": "sha512-UWbFJKvj5k+nETdteFndTpYxdeTMox/ULeqX5k/dpaQJCCFmj5EeKv3dBcyO2xmkRAx2vppRu5dVG7SOtsGOzA==",
"requires": {
"fs-monkey": "^1.0.3"
}
From ee68eabb40fecdb3f8381ce14c3801ae422c0c33 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 21 Apr 2023 15:34:50 +0300
Subject: [PATCH 016/301] chore(deps-dev): bump @types/node from 18.15.11 to
18.15.13 (#4825)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.11 to 18.15.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index f375b07742..b8a0549f5e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3677,9 +3677,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "18.15.11",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz",
- "integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q=="
+ "version": "18.15.13",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz",
+ "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q=="
},
"node_modules/@types/node-forge": {
"version": "1.3.2",
@@ -18765,9 +18765,9 @@
"dev": true
},
"@types/node": {
- "version": "18.15.11",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz",
- "integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q=="
+ "version": "18.15.13",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz",
+ "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q=="
},
"@types/node-forge": {
"version": "1.3.2",
From 1e9340444cf68f3e8a1e97cbbcded30d770c710d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 22 Apr 2023 08:43:33 +0530
Subject: [PATCH 017/301] chore(deps-dev): bump webpack from 5.79.0 to 5.80.0
(#4823)
Bumps [webpack](https://github.com/webpack/webpack) from 5.79.0 to 5.80.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.79.0...v5.80.0)
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
---
package-lock.json | 364 +++++++++++++++++++++++-----------------------
1 file changed, 182 insertions(+), 182 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index b8a0549f5e..aab7d0ae83 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3877,133 +3877,133 @@
}
},
"node_modules/@webassemblyjs/ast": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz",
- "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.5.tgz",
+ "integrity": "sha512-LHY/GSAZZRpsNQH+/oHqhRQ5FT7eoULcBqgfyTB5nQHogFnK3/7QoN7dLnwSE/JkUAF0SrRuclT7ODqMFtWxxQ==",
"dependencies": {
- "@webassemblyjs/helper-numbers": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1"
+ "@webassemblyjs/helper-numbers": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5"
}
},
"node_modules/@webassemblyjs/floating-point-hex-parser": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz",
- "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.5.tgz",
+ "integrity": "sha512-1j1zTIC5EZOtCplMBG/IEwLtUojtwFVwdyVMbL/hwWqbzlQoJsWCOavrdnLkemwNoC/EOwtUFch3fuo+cbcXYQ=="
},
"node_modules/@webassemblyjs/helper-api-error": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz",
- "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.5.tgz",
+ "integrity": "sha512-L65bDPmfpY0+yFrsgz8b6LhXmbbs38OnwDCf6NpnMUYqa+ENfE5Dq9E42ny0qz/PdR0LJyq/T5YijPnU8AXEpA=="
},
"node_modules/@webassemblyjs/helper-buffer": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz",
- "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.5.tgz",
+ "integrity": "sha512-fDKo1gstwFFSfacIeH5KfwzjykIE6ldh1iH9Y/8YkAZrhmu4TctqYjSh7t0K2VyDSXOZJ1MLhht/k9IvYGcIxg=="
},
"node_modules/@webassemblyjs/helper-numbers": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz",
- "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.5.tgz",
+ "integrity": "sha512-DhykHXM0ZABqfIGYNv93A5KKDw/+ywBFnuWybZZWcuzWHfbp21wUfRkbtz7dMGwGgT4iXjWuhRMA2Mzod6W4WA==",
"dependencies": {
- "@webassemblyjs/floating-point-hex-parser": "1.11.1",
- "@webassemblyjs/helper-api-error": "1.11.1",
+ "@webassemblyjs/floating-point-hex-parser": "1.11.5",
+ "@webassemblyjs/helper-api-error": "1.11.5",
"@xtuc/long": "4.2.2"
}
},
"node_modules/@webassemblyjs/helper-wasm-bytecode": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz",
- "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.5.tgz",
+ "integrity": "sha512-oC4Qa0bNcqnjAowFn7MPCETQgDYytpsfvz4ujZz63Zu/a/v71HeCAAmZsgZ3YVKec3zSPYytG3/PrRCqbtcAvA=="
},
"node_modules/@webassemblyjs/helper-wasm-section": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz",
- "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.5.tgz",
+ "integrity": "sha512-uEoThA1LN2NA+K3B9wDo3yKlBfVtC6rh0i4/6hvbz071E8gTNZD/pT0MsBf7MeD6KbApMSkaAK0XeKyOZC7CIA==",
"dependencies": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-buffer": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1",
- "@webassemblyjs/wasm-gen": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-buffer": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5",
+ "@webassemblyjs/wasm-gen": "1.11.5"
}
},
"node_modules/@webassemblyjs/ieee754": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz",
- "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.5.tgz",
+ "integrity": "sha512-37aGq6qVL8A8oPbPrSGMBcp38YZFXcHfiROflJn9jxSdSMMM5dS5P/9e2/TpaJuhE+wFrbukN2WI6Hw9MH5acg==",
"dependencies": {
"@xtuc/ieee754": "^1.2.0"
}
},
"node_modules/@webassemblyjs/leb128": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz",
- "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.5.tgz",
+ "integrity": "sha512-ajqrRSXaTJoPW+xmkfYN6l8VIeNnR4vBOTQO9HzR7IygoCcKWkICbKFbVTNMjMgMREqXEr0+2M6zukzM47ZUfQ==",
"dependencies": {
"@xtuc/long": "4.2.2"
}
},
"node_modules/@webassemblyjs/utf8": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz",
- "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.5.tgz",
+ "integrity": "sha512-WiOhulHKTZU5UPlRl53gHR8OxdGsSOxqfpqWeA2FmcwBMaoEdz6b2x2si3IwC9/fSPLfe8pBMRTHVMk5nlwnFQ=="
},
"node_modules/@webassemblyjs/wasm-edit": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz",
- "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.5.tgz",
+ "integrity": "sha512-C0p9D2fAu3Twwqvygvf42iGCQ4av8MFBLiTb+08SZ4cEdwzWx9QeAHDo1E2k+9s/0w1DM40oflJOpkZ8jW4HCQ==",
"dependencies": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-buffer": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1",
- "@webassemblyjs/helper-wasm-section": "1.11.1",
- "@webassemblyjs/wasm-gen": "1.11.1",
- "@webassemblyjs/wasm-opt": "1.11.1",
- "@webassemblyjs/wasm-parser": "1.11.1",
- "@webassemblyjs/wast-printer": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-buffer": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5",
+ "@webassemblyjs/helper-wasm-section": "1.11.5",
+ "@webassemblyjs/wasm-gen": "1.11.5",
+ "@webassemblyjs/wasm-opt": "1.11.5",
+ "@webassemblyjs/wasm-parser": "1.11.5",
+ "@webassemblyjs/wast-printer": "1.11.5"
}
},
"node_modules/@webassemblyjs/wasm-gen": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz",
- "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.5.tgz",
+ "integrity": "sha512-14vteRlRjxLK9eSyYFvw1K8Vv+iPdZU0Aebk3j6oB8TQiQYuO6hj9s4d7qf6f2HJr2khzvNldAFG13CgdkAIfA==",
"dependencies": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1",
- "@webassemblyjs/ieee754": "1.11.1",
- "@webassemblyjs/leb128": "1.11.1",
- "@webassemblyjs/utf8": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5",
+ "@webassemblyjs/ieee754": "1.11.5",
+ "@webassemblyjs/leb128": "1.11.5",
+ "@webassemblyjs/utf8": "1.11.5"
}
},
"node_modules/@webassemblyjs/wasm-opt": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz",
- "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.5.tgz",
+ "integrity": "sha512-tcKwlIXstBQgbKy1MlbDMlXaxpucn42eb17H29rawYLxm5+MsEmgPzeCP8B1Cl69hCice8LeKgZpRUAPtqYPgw==",
"dependencies": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-buffer": "1.11.1",
- "@webassemblyjs/wasm-gen": "1.11.1",
- "@webassemblyjs/wasm-parser": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-buffer": "1.11.5",
+ "@webassemblyjs/wasm-gen": "1.11.5",
+ "@webassemblyjs/wasm-parser": "1.11.5"
}
},
"node_modules/@webassemblyjs/wasm-parser": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz",
- "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.5.tgz",
+ "integrity": "sha512-SVXUIwsLQlc8srSD7jejsfTU83g7pIGr2YYNb9oHdtldSxaOhvA5xwvIiWIfcX8PlSakgqMXsLpLfbbJ4cBYew==",
"dependencies": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-api-error": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1",
- "@webassemblyjs/ieee754": "1.11.1",
- "@webassemblyjs/leb128": "1.11.1",
- "@webassemblyjs/utf8": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-api-error": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5",
+ "@webassemblyjs/ieee754": "1.11.5",
+ "@webassemblyjs/leb128": "1.11.5",
+ "@webassemblyjs/utf8": "1.11.5"
}
},
"node_modules/@webassemblyjs/wast-printer": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz",
- "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.5.tgz",
+ "integrity": "sha512-f7Pq3wvg3GSPUPzR0F6bmI89Hdb+u9WXrSKc4v+N0aV0q6r42WoF92Jp2jEorBEBRoRNXgjp53nBniDXcqZYPA==",
"dependencies": {
- "@webassemblyjs/ast": "1.11.1",
+ "@webassemblyjs/ast": "1.11.5",
"@xtuc/long": "4.2.2"
}
},
@@ -6481,9 +6481,9 @@
}
},
"node_modules/enhanced-resolve": {
- "version": "5.12.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz",
- "integrity": "sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==",
+ "version": "5.13.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz",
+ "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==",
"dependencies": {
"graceful-fs": "^4.2.4",
"tapable": "^2.2.0"
@@ -15542,20 +15542,20 @@
}
},
"node_modules/webpack": {
- "version": "5.79.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.79.0.tgz",
- "integrity": "sha512-3mN4rR2Xq+INd6NnYuL9RC9GAmc1ROPKJoHhrZ4pAjdMFEkJJWrsPw8o2JjCIyQyTu7rTXYn4VG6OpyB3CobZg==",
+ "version": "5.80.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.80.0.tgz",
+ "integrity": "sha512-OIMiq37XK1rWO8mH9ssfFKZsXg4n6klTEDL7S8/HqbAOBBaiy8ABvXvz0dDCXeEF9gqwxSvVk611zFPjS8hJxA==",
"dependencies": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/wasm-edit": "1.11.1",
- "@webassemblyjs/wasm-parser": "1.11.1",
+ "@webassemblyjs/ast": "^1.11.5",
+ "@webassemblyjs/wasm-edit": "^1.11.5",
+ "@webassemblyjs/wasm-parser": "^1.11.5",
"acorn": "^8.7.1",
"acorn-import-assertions": "^1.7.6",
"browserslist": "^4.14.5",
"chrome-trace-event": "^1.0.2",
- "enhanced-resolve": "^5.10.0",
+ "enhanced-resolve": "^5.13.0",
"es-module-lexer": "^1.2.1",
"eslint-scope": "5.1.1",
"events": "^3.2.0",
@@ -15565,7 +15565,7 @@
"loader-runner": "^4.2.0",
"mime-types": "^2.1.27",
"neo-async": "^2.6.2",
- "schema-utils": "^3.1.0",
+ "schema-utils": "^3.1.2",
"tapable": "^2.1.1",
"terser-webpack-plugin": "^5.3.7",
"watchpack": "^2.4.0",
@@ -15687,9 +15687,9 @@
}
},
"node_modules/webpack/node_modules/schema-utils": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz",
- "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.2.tgz",
+ "integrity": "sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==",
"dependencies": {
"@types/json-schema": "^7.0.8",
"ajv": "^6.12.5",
@@ -18964,133 +18964,133 @@
}
},
"@webassemblyjs/ast": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz",
- "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.5.tgz",
+ "integrity": "sha512-LHY/GSAZZRpsNQH+/oHqhRQ5FT7eoULcBqgfyTB5nQHogFnK3/7QoN7dLnwSE/JkUAF0SrRuclT7ODqMFtWxxQ==",
"requires": {
- "@webassemblyjs/helper-numbers": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1"
+ "@webassemblyjs/helper-numbers": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5"
}
},
"@webassemblyjs/floating-point-hex-parser": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz",
- "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.5.tgz",
+ "integrity": "sha512-1j1zTIC5EZOtCplMBG/IEwLtUojtwFVwdyVMbL/hwWqbzlQoJsWCOavrdnLkemwNoC/EOwtUFch3fuo+cbcXYQ=="
},
"@webassemblyjs/helper-api-error": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz",
- "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.5.tgz",
+ "integrity": "sha512-L65bDPmfpY0+yFrsgz8b6LhXmbbs38OnwDCf6NpnMUYqa+ENfE5Dq9E42ny0qz/PdR0LJyq/T5YijPnU8AXEpA=="
},
"@webassemblyjs/helper-buffer": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz",
- "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.5.tgz",
+ "integrity": "sha512-fDKo1gstwFFSfacIeH5KfwzjykIE6ldh1iH9Y/8YkAZrhmu4TctqYjSh7t0K2VyDSXOZJ1MLhht/k9IvYGcIxg=="
},
"@webassemblyjs/helper-numbers": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz",
- "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.5.tgz",
+ "integrity": "sha512-DhykHXM0ZABqfIGYNv93A5KKDw/+ywBFnuWybZZWcuzWHfbp21wUfRkbtz7dMGwGgT4iXjWuhRMA2Mzod6W4WA==",
"requires": {
- "@webassemblyjs/floating-point-hex-parser": "1.11.1",
- "@webassemblyjs/helper-api-error": "1.11.1",
+ "@webassemblyjs/floating-point-hex-parser": "1.11.5",
+ "@webassemblyjs/helper-api-error": "1.11.5",
"@xtuc/long": "4.2.2"
}
},
"@webassemblyjs/helper-wasm-bytecode": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz",
- "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.5.tgz",
+ "integrity": "sha512-oC4Qa0bNcqnjAowFn7MPCETQgDYytpsfvz4ujZz63Zu/a/v71HeCAAmZsgZ3YVKec3zSPYytG3/PrRCqbtcAvA=="
},
"@webassemblyjs/helper-wasm-section": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz",
- "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.5.tgz",
+ "integrity": "sha512-uEoThA1LN2NA+K3B9wDo3yKlBfVtC6rh0i4/6hvbz071E8gTNZD/pT0MsBf7MeD6KbApMSkaAK0XeKyOZC7CIA==",
"requires": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-buffer": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1",
- "@webassemblyjs/wasm-gen": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-buffer": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5",
+ "@webassemblyjs/wasm-gen": "1.11.5"
}
},
"@webassemblyjs/ieee754": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz",
- "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.5.tgz",
+ "integrity": "sha512-37aGq6qVL8A8oPbPrSGMBcp38YZFXcHfiROflJn9jxSdSMMM5dS5P/9e2/TpaJuhE+wFrbukN2WI6Hw9MH5acg==",
"requires": {
"@xtuc/ieee754": "^1.2.0"
}
},
"@webassemblyjs/leb128": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz",
- "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.5.tgz",
+ "integrity": "sha512-ajqrRSXaTJoPW+xmkfYN6l8VIeNnR4vBOTQO9HzR7IygoCcKWkICbKFbVTNMjMgMREqXEr0+2M6zukzM47ZUfQ==",
"requires": {
"@xtuc/long": "4.2.2"
}
},
"@webassemblyjs/utf8": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz",
- "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ=="
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.5.tgz",
+ "integrity": "sha512-WiOhulHKTZU5UPlRl53gHR8OxdGsSOxqfpqWeA2FmcwBMaoEdz6b2x2si3IwC9/fSPLfe8pBMRTHVMk5nlwnFQ=="
},
"@webassemblyjs/wasm-edit": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz",
- "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.5.tgz",
+ "integrity": "sha512-C0p9D2fAu3Twwqvygvf42iGCQ4av8MFBLiTb+08SZ4cEdwzWx9QeAHDo1E2k+9s/0w1DM40oflJOpkZ8jW4HCQ==",
"requires": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-buffer": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1",
- "@webassemblyjs/helper-wasm-section": "1.11.1",
- "@webassemblyjs/wasm-gen": "1.11.1",
- "@webassemblyjs/wasm-opt": "1.11.1",
- "@webassemblyjs/wasm-parser": "1.11.1",
- "@webassemblyjs/wast-printer": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-buffer": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5",
+ "@webassemblyjs/helper-wasm-section": "1.11.5",
+ "@webassemblyjs/wasm-gen": "1.11.5",
+ "@webassemblyjs/wasm-opt": "1.11.5",
+ "@webassemblyjs/wasm-parser": "1.11.5",
+ "@webassemblyjs/wast-printer": "1.11.5"
}
},
"@webassemblyjs/wasm-gen": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz",
- "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.5.tgz",
+ "integrity": "sha512-14vteRlRjxLK9eSyYFvw1K8Vv+iPdZU0Aebk3j6oB8TQiQYuO6hj9s4d7qf6f2HJr2khzvNldAFG13CgdkAIfA==",
"requires": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1",
- "@webassemblyjs/ieee754": "1.11.1",
- "@webassemblyjs/leb128": "1.11.1",
- "@webassemblyjs/utf8": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5",
+ "@webassemblyjs/ieee754": "1.11.5",
+ "@webassemblyjs/leb128": "1.11.5",
+ "@webassemblyjs/utf8": "1.11.5"
}
},
"@webassemblyjs/wasm-opt": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz",
- "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.5.tgz",
+ "integrity": "sha512-tcKwlIXstBQgbKy1MlbDMlXaxpucn42eb17H29rawYLxm5+MsEmgPzeCP8B1Cl69hCice8LeKgZpRUAPtqYPgw==",
"requires": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-buffer": "1.11.1",
- "@webassemblyjs/wasm-gen": "1.11.1",
- "@webassemblyjs/wasm-parser": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-buffer": "1.11.5",
+ "@webassemblyjs/wasm-gen": "1.11.5",
+ "@webassemblyjs/wasm-parser": "1.11.5"
}
},
"@webassemblyjs/wasm-parser": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz",
- "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.5.tgz",
+ "integrity": "sha512-SVXUIwsLQlc8srSD7jejsfTU83g7pIGr2YYNb9oHdtldSxaOhvA5xwvIiWIfcX8PlSakgqMXsLpLfbbJ4cBYew==",
"requires": {
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/helper-api-error": "1.11.1",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.1",
- "@webassemblyjs/ieee754": "1.11.1",
- "@webassemblyjs/leb128": "1.11.1",
- "@webassemblyjs/utf8": "1.11.1"
+ "@webassemblyjs/ast": "1.11.5",
+ "@webassemblyjs/helper-api-error": "1.11.5",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5",
+ "@webassemblyjs/ieee754": "1.11.5",
+ "@webassemblyjs/leb128": "1.11.5",
+ "@webassemblyjs/utf8": "1.11.5"
}
},
"@webassemblyjs/wast-printer": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz",
- "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==",
+ "version": "1.11.5",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.5.tgz",
+ "integrity": "sha512-f7Pq3wvg3GSPUPzR0F6bmI89Hdb+u9WXrSKc4v+N0aV0q6r42WoF92Jp2jEorBEBRoRNXgjp53nBniDXcqZYPA==",
"requires": {
- "@webassemblyjs/ast": "1.11.1",
+ "@webassemblyjs/ast": "1.11.5",
"@xtuc/long": "4.2.2"
}
},
@@ -20930,9 +20930,9 @@
}
},
"enhanced-resolve": {
- "version": "5.12.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz",
- "integrity": "sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==",
+ "version": "5.13.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz",
+ "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==",
"requires": {
"graceful-fs": "^4.2.4",
"tapable": "^2.2.0"
@@ -27645,20 +27645,20 @@
"dev": true
},
"webpack": {
- "version": "5.79.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.79.0.tgz",
- "integrity": "sha512-3mN4rR2Xq+INd6NnYuL9RC9GAmc1ROPKJoHhrZ4pAjdMFEkJJWrsPw8o2JjCIyQyTu7rTXYn4VG6OpyB3CobZg==",
+ "version": "5.80.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.80.0.tgz",
+ "integrity": "sha512-OIMiq37XK1rWO8mH9ssfFKZsXg4n6klTEDL7S8/HqbAOBBaiy8ABvXvz0dDCXeEF9gqwxSvVk611zFPjS8hJxA==",
"requires": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
- "@webassemblyjs/ast": "1.11.1",
- "@webassemblyjs/wasm-edit": "1.11.1",
- "@webassemblyjs/wasm-parser": "1.11.1",
+ "@webassemblyjs/ast": "^1.11.5",
+ "@webassemblyjs/wasm-edit": "^1.11.5",
+ "@webassemblyjs/wasm-parser": "^1.11.5",
"acorn": "^8.7.1",
"acorn-import-assertions": "^1.7.6",
"browserslist": "^4.14.5",
"chrome-trace-event": "^1.0.2",
- "enhanced-resolve": "^5.10.0",
+ "enhanced-resolve": "^5.13.0",
"es-module-lexer": "^1.2.1",
"eslint-scope": "5.1.1",
"events": "^3.2.0",
@@ -27668,7 +27668,7 @@
"loader-runner": "^4.2.0",
"mime-types": "^2.1.27",
"neo-async": "^2.6.2",
- "schema-utils": "^3.1.0",
+ "schema-utils": "^3.1.2",
"tapable": "^2.1.1",
"terser-webpack-plugin": "^5.3.7",
"watchpack": "^2.4.0",
@@ -27676,9 +27676,9 @@
},
"dependencies": {
"schema-utils": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz",
- "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.2.tgz",
+ "integrity": "sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==",
"requires": {
"@types/json-schema": "^7.0.8",
"ajv": "^6.12.5",
From 7294675dcf0f4403d544a5d15f23ee7516f626c8 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 24 Apr 2023 15:04:55 +0300
Subject: [PATCH 018/301] chore(deps-dev): bump prettier from 2.8.7 to 2.8.8
(#4830)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.7...2.8.8)
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index aab7d0ae83..212a612699 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12824,9 +12824,9 @@
}
},
"node_modules/prettier": {
- "version": "2.8.7",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz",
- "integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==",
+ "version": "2.8.8",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
+ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
@@ -25597,9 +25597,9 @@
"dev": true
},
"prettier": {
- "version": "2.8.7",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz",
- "integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==",
+ "version": "2.8.8",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz",
+ "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==",
"dev": true
},
"pretty-error": {
From 6682bc287c9182b679af40cbe47ac5908fb57280 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 24 Apr 2023 15:05:10 +0300
Subject: [PATCH 019/301] chore(deps-dev): bump @types/node from 18.15.13 to
18.16.0 (#4829)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.13 to 18.16.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 212a612699..d529125d8f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3677,9 +3677,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "18.15.13",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz",
- "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q=="
+ "version": "18.16.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.0.tgz",
+ "integrity": "sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ=="
},
"node_modules/@types/node-forge": {
"version": "1.3.2",
@@ -18765,9 +18765,9 @@
"dev": true
},
"@types/node": {
- "version": "18.15.13",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz",
- "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q=="
+ "version": "18.16.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.0.tgz",
+ "integrity": "sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ=="
},
"@types/node-forge": {
"version": "1.3.2",
From ef7f6c5a2da53ce9456dd50e782d5131987ba34a Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 26 Apr 2023 14:04:30 +0300
Subject: [PATCH 020/301] chore(deps-dev): bump @types/node from 18.16.0 to
18.16.1 (#4832)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.0 to 18.16.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index d529125d8f..0d68ed4ce6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3677,9 +3677,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "18.16.0",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.0.tgz",
- "integrity": "sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ=="
+ "version": "18.16.1",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.1.tgz",
+ "integrity": "sha512-DZxSZWXxFfOlx7k7Rv4LAyiMroaxa3Ly/7OOzZO8cBNho0YzAi4qlbrx8W27JGqG57IgR/6J7r+nOJWw6kcvZA=="
},
"node_modules/@types/node-forge": {
"version": "1.3.2",
@@ -18765,9 +18765,9 @@
"dev": true
},
"@types/node": {
- "version": "18.16.0",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.0.tgz",
- "integrity": "sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ=="
+ "version": "18.16.1",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.1.tgz",
+ "integrity": "sha512-DZxSZWXxFfOlx7k7Rv4LAyiMroaxa3Ly/7OOzZO8cBNho0YzAi4qlbrx8W27JGqG57IgR/6J7r+nOJWw6kcvZA=="
},
"@types/node-forge": {
"version": "1.3.2",
From c908cc2e864d6ffa9610ec6024cab004aa205674 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 27 Apr 2023 06:51:36 +0530
Subject: [PATCH 021/301] chore(deps-dev): bump eslint from 8.38.0 to 8.39.0
(#4831)
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.39.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.38.0...v8.39.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 47 +++++++++++++++++++++++++----------------------
1 file changed, 25 insertions(+), 22 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 0d68ed4ce6..7c19706f26 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2467,9 +2467,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.38.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz",
- "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==",
+ "version": "8.39.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.39.0.tgz",
+ "integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -6747,15 +6747,15 @@
}
},
"node_modules/eslint": {
- "version": "8.38.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz",
- "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==",
+ "version": "8.39.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.39.0.tgz",
+ "integrity": "sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.2",
- "@eslint/js": "8.38.0",
+ "@eslint/js": "8.39.0",
"@humanwhocodes/config-array": "^0.11.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -6765,7 +6765,7 @@
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.1.1",
+ "eslint-scope": "^7.2.0",
"eslint-visitor-keys": "^3.4.0",
"espree": "^9.5.1",
"esquery": "^1.4.2",
@@ -7012,9 +7012,9 @@
}
},
"node_modules/eslint/node_modules/eslint-scope": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz",
- "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz",
+ "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==",
"dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
@@ -7022,6 +7022,9 @@
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
}
},
"node_modules/eslint/node_modules/eslint-visitor-keys": {
@@ -17778,9 +17781,9 @@
}
},
"@eslint/js": {
- "version": "8.38.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz",
- "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==",
+ "version": "8.39.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.39.0.tgz",
+ "integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==",
"dev": true
},
"@humanwhocodes/config-array": {
@@ -21137,15 +21140,15 @@
}
},
"eslint": {
- "version": "8.38.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz",
- "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==",
+ "version": "8.39.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.39.0.tgz",
+ "integrity": "sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.2",
- "@eslint/js": "8.38.0",
+ "@eslint/js": "8.39.0",
"@humanwhocodes/config-array": "^0.11.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -21155,7 +21158,7 @@
"debug": "^4.3.2",
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.1.1",
+ "eslint-scope": "^7.2.0",
"eslint-visitor-keys": "^3.4.0",
"espree": "^9.5.1",
"esquery": "^1.4.2",
@@ -21231,9 +21234,9 @@
"dev": true
},
"eslint-scope": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz",
- "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz",
+ "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==",
"dev": true,
"requires": {
"esrecurse": "^4.3.0",
From 273627b827355d1e6c4c298a5aedbed4d031a530 Mon Sep 17 00:00:00 2001
From: Nitin Kumar
Date: Fri, 28 Apr 2023 08:25:23 +0530
Subject: [PATCH 022/301] chore: update webpack to v5.81.0 (#4834)
---
package-lock.json | 14 +++++++-------
package.json | 2 +-
.../multi-compiler.test.js.snap.webpack5 | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 7c19706f26..164a01ce64 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -97,7 +97,7 @@
"typescript": "^4.9.3",
"url-loader": "^4.1.1",
"wait-for-expect": "^3.0.2",
- "webpack": "^5.76.1",
+ "webpack": "^5.81.0",
"webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0"
},
@@ -15545,9 +15545,9 @@
}
},
"node_modules/webpack": {
- "version": "5.80.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.80.0.tgz",
- "integrity": "sha512-OIMiq37XK1rWO8mH9ssfFKZsXg4n6klTEDL7S8/HqbAOBBaiy8ABvXvz0dDCXeEF9gqwxSvVk611zFPjS8hJxA==",
+ "version": "5.81.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.81.0.tgz",
+ "integrity": "sha512-AAjaJ9S4hYCVODKLQTgG5p5e11hiMawBwV2v8MYLE0C/6UAGLuAF4n1qa9GOwdxnicaP+5k6M5HrLmD4+gIB8Q==",
"dependencies": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
@@ -27648,9 +27648,9 @@
"dev": true
},
"webpack": {
- "version": "5.80.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.80.0.tgz",
- "integrity": "sha512-OIMiq37XK1rWO8mH9ssfFKZsXg4n6klTEDL7S8/HqbAOBBaiy8ABvXvz0dDCXeEF9gqwxSvVk611zFPjS8hJxA==",
+ "version": "5.81.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.81.0.tgz",
+ "integrity": "sha512-AAjaJ9S4hYCVODKLQTgG5p5e11hiMawBwV2v8MYLE0C/6UAGLuAF4n1qa9GOwdxnicaP+5k6M5HrLmD4+gIB8Q==",
"requires": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
diff --git a/package.json b/package.json
index 67c68a2a59..e55b66d9d6 100644
--- a/package.json
+++ b/package.json
@@ -129,7 +129,7 @@
"typescript": "^4.9.3",
"url-loader": "^4.1.1",
"wait-for-expect": "^3.0.2",
- "webpack": "^5.76.1",
+ "webpack": "^5.81.0",
"webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0"
},
diff --git a/test/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5 b/test/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5
index 5da317a992..60dee08ca5 100644
--- a/test/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5
+++ b/test/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5
@@ -51,7 +51,7 @@ Array [
"[HMR] Cannot apply update. Need to do a full reload!",
"[HMR] Error: Aborted because ./browser.js is not accepted
Update propagation: ./browser.js
- at applyHandler (http://127.0.0.1:8103/browser.js:1077:31)
+ at applyHandler (http://127.0.0.1:8103/browser.js:1080:31)
at http://127.0.0.1:8103/browser.js:776:21
at Array.map ()
at internalApply (http://127.0.0.1:8103/browser.js:775:54)
From 53bb4d709a4a87e1181730868438baa15acd8400 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 28 Apr 2023 15:11:09 +0300
Subject: [PATCH 023/301] chore(deps-dev): bump @types/node from 18.16.1 to
18.16.2 (#4835)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.1 to 18.16.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 164a01ce64..459ce2a381 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3677,9 +3677,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "18.16.1",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.1.tgz",
- "integrity": "sha512-DZxSZWXxFfOlx7k7Rv4LAyiMroaxa3Ly/7OOzZO8cBNho0YzAi4qlbrx8W27JGqG57IgR/6J7r+nOJWw6kcvZA=="
+ "version": "18.16.2",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.2.tgz",
+ "integrity": "sha512-GQW/JL/5Fz/0I8RpeBG9lKp0+aNcXEaVL71c0D2Q0QHDTFvlYKT7an0onCUXj85anv7b4/WesqdfchLc0jtsCg=="
},
"node_modules/@types/node-forge": {
"version": "1.3.2",
@@ -18768,9 +18768,9 @@
"dev": true
},
"@types/node": {
- "version": "18.16.1",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.1.tgz",
- "integrity": "sha512-DZxSZWXxFfOlx7k7Rv4LAyiMroaxa3Ly/7OOzZO8cBNho0YzAi4qlbrx8W27JGqG57IgR/6J7r+nOJWw6kcvZA=="
+ "version": "18.16.2",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.2.tgz",
+ "integrity": "sha512-GQW/JL/5Fz/0I8RpeBG9lKp0+aNcXEaVL71c0D2Q0QHDTFvlYKT7an0onCUXj85anv7b4/WesqdfchLc0jtsCg=="
},
"@types/node-forge": {
"version": "1.3.2",
From bb4a5d9e8f87a89c81d4024085ff6c9ebb6c551b Mon Sep 17 00:00:00 2001
From: Nitin Kumar
Date: Sat, 29 Apr 2023 15:07:18 +0530
Subject: [PATCH 024/301] feat: allow CLI to be ESM (#4837)
---
bin/webpack-dev-server.js | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/bin/webpack-dev-server.js b/bin/webpack-dev-server.js
index 5cf7a3bd5a..fc4dd8f3aa 100755
--- a/bin/webpack-dev-server.js
+++ b/bin/webpack-dev-server.js
@@ -85,8 +85,18 @@ const runCli = (cli) => {
const pkgPath = require.resolve(`${cli.package}/package.json`);
// eslint-disable-next-line import/no-dynamic-require
const pkg = require(pkgPath);
- // eslint-disable-next-line import/no-dynamic-require
- require(path.resolve(path.dirname(pkgPath), pkg.bin[cli.binName]));
+
+ if (pkg.type === "module" || /\.mjs/i.test(pkg.bin[cli.binName])) {
+ import(path.resolve(path.dirname(pkgPath), pkg.bin[cli.binName])).catch(
+ (error) => {
+ console.error(error);
+ process.exitCode = 1;
+ }
+ );
+ } else {
+ // eslint-disable-next-line import/no-dynamic-require
+ require(path.resolve(path.dirname(pkgPath), pkg.bin[cli.binName]));
+ }
};
/**
From 3477ef39245fa7ff74722cf8990ae934b289916e Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 1 May 2023 13:15:38 +0300
Subject: [PATCH 025/301] chore(deps-dev): bump @types/node from 18.16.2 to
18.16.3 (#4838)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.2 to 18.16.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 459ce2a381..c14afc4d62 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3677,9 +3677,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "18.16.2",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.2.tgz",
- "integrity": "sha512-GQW/JL/5Fz/0I8RpeBG9lKp0+aNcXEaVL71c0D2Q0QHDTFvlYKT7an0onCUXj85anv7b4/WesqdfchLc0jtsCg=="
+ "version": "18.16.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.3.tgz",
+ "integrity": "sha512-OPs5WnnT1xkCBiuQrZA4+YAV4HEJejmHneyraIaxsbev5yCEr6KMwINNFP9wQeFIw8FWcoTqF3vQsa5CDaI+8Q=="
},
"node_modules/@types/node-forge": {
"version": "1.3.2",
@@ -18768,9 +18768,9 @@
"dev": true
},
"@types/node": {
- "version": "18.16.2",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.2.tgz",
- "integrity": "sha512-GQW/JL/5Fz/0I8RpeBG9lKp0+aNcXEaVL71c0D2Q0QHDTFvlYKT7an0onCUXj85anv7b4/WesqdfchLc0jtsCg=="
+ "version": "18.16.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.3.tgz",
+ "integrity": "sha512-OPs5WnnT1xkCBiuQrZA4+YAV4HEJejmHneyraIaxsbev5yCEr6KMwINNFP9wQeFIw8FWcoTqF3vQsa5CDaI+8Q=="
},
"@types/node-forge": {
"version": "1.3.2",
From 99ce4052ca4eca785787f755577b4773f7dede6f Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 2 May 2023 08:28:02 +0530
Subject: [PATCH 026/301] chore(deps-dev): bump @babel/cli from 7.21.0 to
7.21.5 (#4839)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.21.0 to 7.21.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.5/packages/babel-cli)
---
updated-dependencies:
- dependency-name: "@babel/cli"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c14afc4d62..dddccd2afa 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -134,9 +134,9 @@
}
},
"node_modules/@babel/cli": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.21.0.tgz",
- "integrity": "sha512-xi7CxyS8XjSyiwUGCfwf+brtJxjW1/ZTcBUkP10xawIEXLX5HzLn+3aXkgxozcP2UhRhtKTmQurw9Uaes7jZrA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.21.5.tgz",
+ "integrity": "sha512-TOKytQ9uQW9c4np8F+P7ZfPINy5Kv+pizDIUwSVH8X5zHgYHV4AA8HE5LA450xXeu4jEfmUckTYvv1I4S26M/g==",
"dev": true,
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.17",
@@ -16127,9 +16127,9 @@
}
},
"@babel/cli": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.21.0.tgz",
- "integrity": "sha512-xi7CxyS8XjSyiwUGCfwf+brtJxjW1/ZTcBUkP10xawIEXLX5HzLn+3aXkgxozcP2UhRhtKTmQurw9Uaes7jZrA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.21.5.tgz",
+ "integrity": "sha512-TOKytQ9uQW9c4np8F+P7ZfPINy5Kv+pizDIUwSVH8X5zHgYHV4AA8HE5LA450xXeu4jEfmUckTYvv1I4S26M/g==",
"dev": true,
"requires": {
"@jridgewell/trace-mapping": "^0.3.17",
From 35b57c09ef7a72c1a5edc9e2d6f44e60110d2e7d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 2 May 2023 11:59:19 +0300
Subject: [PATCH 027/301] chore(deps): bump @types/connect-history-api-fallback
(#4836)
Bumps [@types/connect-history-api-fallback](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/connect-history-api-fallback) from 1.3.5 to 1.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Changelog](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/connect-history-api-fallback/connect-history-api-fallback-tests.ts)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/connect-history-api-fallback)
---
updated-dependencies:
- dependency-name: "@types/connect-history-api-fallback"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index dddccd2afa..7f42fbac7e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3522,9 +3522,9 @@
}
},
"node_modules/@types/connect-history-api-fallback": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz",
- "integrity": "sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==",
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz",
+ "integrity": "sha512-4x5FkPpLipqwthjPsF7ZRbOv3uoLUFkTA9G9v583qi4pACvq0uTELrB8OLUzPWUI4IJIyvM85vzkV1nyiI2Lig==",
"dependencies": {
"@types/express-serve-static-core": "*",
"@types/node": "*"
@@ -18613,9 +18613,9 @@
}
},
"@types/connect-history-api-fallback": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz",
- "integrity": "sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw==",
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz",
+ "integrity": "sha512-4x5FkPpLipqwthjPsF7ZRbOv3uoLUFkTA9G9v583qi4pACvq0uTELrB8OLUzPWUI4IJIyvM85vzkV1nyiI2Lig==",
"requires": {
"@types/express-serve-static-core": "*",
"@types/node": "*"
From 71d4e4b9f381437bbbb4d276112c849eb02c4ea0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 2 May 2023 12:00:02 +0300
Subject: [PATCH 028/301] chore(deps-dev): bump @babel/preset-env from 7.21.4
to 7.21.5 (#4842)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.21.4 to 7.21.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.5/packages/babel-preset-env)
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 342 +++++++++++++++++++++++-----------------------
1 file changed, 172 insertions(+), 170 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 7f42fbac7e..14d4b9f9c2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -175,9 +175,9 @@
}
},
"node_modules/@babel/compat-data": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.4.tgz",
- "integrity": "sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g==",
+ "version": "7.21.7",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.7.tgz",
+ "integrity": "sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -232,12 +232,12 @@
}
},
"node_modules/@babel/generator": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.4.tgz",
- "integrity": "sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.5.tgz",
+ "integrity": "sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.21.4",
+ "@babel/types": "^7.21.5",
"@jridgewell/gen-mapping": "^0.3.2",
"@jridgewell/trace-mapping": "^0.3.17",
"jsesc": "^2.5.1"
@@ -286,12 +286,12 @@
}
},
"node_modules/@babel/helper-compilation-targets": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz",
- "integrity": "sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.5.tgz",
+ "integrity": "sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w==",
"dev": true,
"dependencies": {
- "@babel/compat-data": "^7.21.4",
+ "@babel/compat-data": "^7.21.5",
"@babel/helper-validator-option": "^7.21.0",
"browserslist": "^4.21.3",
"lru-cache": "^5.1.1",
@@ -360,9 +360,9 @@
}
},
"node_modules/@babel/helper-environment-visitor": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz",
- "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz",
+ "integrity": "sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -430,19 +430,19 @@
}
},
"node_modules/@babel/helper-module-transforms": {
- "version": "7.21.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz",
- "integrity": "sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz",
+ "integrity": "sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw==",
"dev": true,
"dependencies": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-simple-access": "^7.20.2",
+ "@babel/helper-environment-visitor": "^7.21.5",
+ "@babel/helper-module-imports": "^7.21.4",
+ "@babel/helper-simple-access": "^7.21.5",
"@babel/helper-split-export-declaration": "^7.18.6",
"@babel/helper-validator-identifier": "^7.19.1",
"@babel/template": "^7.20.7",
- "@babel/traverse": "^7.21.2",
- "@babel/types": "^7.21.2"
+ "@babel/traverse": "^7.21.5",
+ "@babel/types": "^7.21.5"
},
"engines": {
"node": ">=6.9.0"
@@ -461,9 +461,9 @@
}
},
"node_modules/@babel/helper-plugin-utils": {
- "version": "7.20.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz",
- "integrity": "sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.21.5.tgz",
+ "integrity": "sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -505,12 +505,12 @@
}
},
"node_modules/@babel/helper-simple-access": {
- "version": "7.20.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz",
- "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.21.5.tgz",
+ "integrity": "sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg==",
"dev": true,
"dependencies": {
- "@babel/types": "^7.20.2"
+ "@babel/types": "^7.21.5"
},
"engines": {
"node": ">=6.9.0"
@@ -541,9 +541,9 @@
}
},
"node_modules/@babel/helper-string-parser": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz",
- "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz",
+ "integrity": "sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -611,9 +611,9 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz",
- "integrity": "sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.5.tgz",
+ "integrity": "sha512-J+IxH2IsxV4HbnTrSWgMAQj0UEo61hDA4Ny8h8PCX0MLXiibqHbqIOVneqdocemSBc22VpBKxt4J6FQzy9HarQ==",
"dev": true,
"bin": {
"parser": "bin/babel-parser.js"
@@ -1135,12 +1135,12 @@
}
},
"node_modules/@babel/plugin-transform-arrow-functions": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz",
- "integrity": "sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.21.5.tgz",
+ "integrity": "sha512-wb1mhwGOCaXHDTcsRYMKF9e5bbMgqwxtqa2Y1ifH96dXJPwbuLX9qHy3clhrxVqgMz7nyNXs8VkxdH8UBcjKqA==",
"dev": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.20.2"
+ "@babel/helper-plugin-utils": "^7.21.5"
},
"engines": {
"node": ">=6.9.0"
@@ -1220,12 +1220,12 @@
}
},
"node_modules/@babel/plugin-transform-computed-properties": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz",
- "integrity": "sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.21.5.tgz",
+ "integrity": "sha512-TR653Ki3pAwxBxUe8srfF3e4Pe3FTA46uaNHYyQwIoM4oWKSoOZiDNyHJ0oIoDIUPSRQbQG7jzgVBX3FPVne1Q==",
"dev": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.20.2",
+ "@babel/helper-plugin-utils": "^7.21.5",
"@babel/template": "^7.20.7"
},
"engines": {
@@ -1298,12 +1298,12 @@
}
},
"node_modules/@babel/plugin-transform-for-of": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.0.tgz",
- "integrity": "sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.5.tgz",
+ "integrity": "sha512-nYWpjKW/7j/I/mZkGVgHJXh4bA1sfdFnJoOXwJuj4m3Q2EraO/8ZyrkCau9P5tbHQk01RMSt6KYLCsW7730SXQ==",
"dev": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.20.2"
+ "@babel/helper-plugin-utils": "^7.21.5"
},
"engines": {
"node": ">=6.9.0"
@@ -1376,14 +1376,14 @@
}
},
"node_modules/@babel/plugin-transform-modules-commonjs": {
- "version": "7.21.2",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.2.tgz",
- "integrity": "sha512-Cln+Yy04Gxua7iPdj6nOV96smLGjpElir5YwzF0LBPKoPlLDNJePNlrGGaybAJkd0zKRnOVXOgizSqPYMNYkzA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.5.tgz",
+ "integrity": "sha512-OVryBEgKUbtqMoB7eG2rs6UFexJi6Zj6FDXx+esBLPTCxCNxAY9o+8Di7IsUGJ+AVhp5ncK0fxWUBd0/1gPhrQ==",
"dev": true,
"dependencies": {
- "@babel/helper-module-transforms": "^7.21.2",
- "@babel/helper-plugin-utils": "^7.20.2",
- "@babel/helper-simple-access": "^7.20.2"
+ "@babel/helper-module-transforms": "^7.21.5",
+ "@babel/helper-plugin-utils": "^7.21.5",
+ "@babel/helper-simple-access": "^7.21.5"
},
"engines": {
"node": ">=6.9.0"
@@ -1519,12 +1519,12 @@
}
},
"node_modules/@babel/plugin-transform-regenerator": {
- "version": "7.20.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.20.5.tgz",
- "integrity": "sha512-kW/oO7HPBtntbsahzQ0qSE3tFvkFwnbozz3NWFhLGqH75vLEg+sCGngLlhVkePlCs3Jv0dBBHDzCHxNiFAQKCQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.21.5.tgz",
+ "integrity": "sha512-ZoYBKDb6LyMi5yCsByQ5jmXsHAQDDYeexT1Szvlmui+lADvfSecr5Dxd/PkrTC3pAD182Fcju1VQkB4oCp9M+w==",
"dev": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.20.2",
+ "@babel/helper-plugin-utils": "^7.21.5",
"regenerator-transform": "^0.15.1"
},
"engines": {
@@ -1646,12 +1646,12 @@
}
},
"node_modules/@babel/plugin-transform-unicode-escapes": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz",
- "integrity": "sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.21.5.tgz",
+ "integrity": "sha512-LYm/gTOwZqsYohlvFUe/8Tujz75LqqVC2w+2qPHLR+WyWHGCZPN1KBpJCJn+4Bk4gOkQy/IXKIge6az5MqwlOg==",
"dev": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "@babel/helper-plugin-utils": "^7.21.5"
},
"engines": {
"node": ">=6.9.0"
@@ -1677,14 +1677,14 @@
}
},
"node_modules/@babel/preset-env": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.21.4.tgz",
- "integrity": "sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.21.5.tgz",
+ "integrity": "sha512-wH00QnTTldTbf/IefEVyChtRdw5RJvODT/Vb4Vcxq1AZvtXj6T0YeX0cAcXhI6/BdGuiP3GcNIL4OQbI2DVNxg==",
"dev": true,
"dependencies": {
- "@babel/compat-data": "^7.21.4",
- "@babel/helper-compilation-targets": "^7.21.4",
- "@babel/helper-plugin-utils": "^7.20.2",
+ "@babel/compat-data": "^7.21.5",
+ "@babel/helper-compilation-targets": "^7.21.5",
+ "@babel/helper-plugin-utils": "^7.21.5",
"@babel/helper-validator-option": "^7.21.0",
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6",
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.20.7",
@@ -1709,6 +1709,7 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3",
"@babel/plugin-syntax-import-assertions": "^7.20.0",
+ "@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-syntax-json-strings": "^7.8.3",
"@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
@@ -1718,22 +1719,22 @@
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-private-property-in-object": "^7.14.5",
"@babel/plugin-syntax-top-level-await": "^7.14.5",
- "@babel/plugin-transform-arrow-functions": "^7.20.7",
+ "@babel/plugin-transform-arrow-functions": "^7.21.5",
"@babel/plugin-transform-async-to-generator": "^7.20.7",
"@babel/plugin-transform-block-scoped-functions": "^7.18.6",
"@babel/plugin-transform-block-scoping": "^7.21.0",
"@babel/plugin-transform-classes": "^7.21.0",
- "@babel/plugin-transform-computed-properties": "^7.20.7",
+ "@babel/plugin-transform-computed-properties": "^7.21.5",
"@babel/plugin-transform-destructuring": "^7.21.3",
"@babel/plugin-transform-dotall-regex": "^7.18.6",
"@babel/plugin-transform-duplicate-keys": "^7.18.9",
"@babel/plugin-transform-exponentiation-operator": "^7.18.6",
- "@babel/plugin-transform-for-of": "^7.21.0",
+ "@babel/plugin-transform-for-of": "^7.21.5",
"@babel/plugin-transform-function-name": "^7.18.9",
"@babel/plugin-transform-literals": "^7.18.9",
"@babel/plugin-transform-member-expression-literals": "^7.18.6",
"@babel/plugin-transform-modules-amd": "^7.20.11",
- "@babel/plugin-transform-modules-commonjs": "^7.21.2",
+ "@babel/plugin-transform-modules-commonjs": "^7.21.5",
"@babel/plugin-transform-modules-systemjs": "^7.20.11",
"@babel/plugin-transform-modules-umd": "^7.18.6",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.20.5",
@@ -1741,17 +1742,17 @@
"@babel/plugin-transform-object-super": "^7.18.6",
"@babel/plugin-transform-parameters": "^7.21.3",
"@babel/plugin-transform-property-literals": "^7.18.6",
- "@babel/plugin-transform-regenerator": "^7.20.5",
+ "@babel/plugin-transform-regenerator": "^7.21.5",
"@babel/plugin-transform-reserved-words": "^7.18.6",
"@babel/plugin-transform-shorthand-properties": "^7.18.6",
"@babel/plugin-transform-spread": "^7.20.7",
"@babel/plugin-transform-sticky-regex": "^7.18.6",
"@babel/plugin-transform-template-literals": "^7.18.9",
"@babel/plugin-transform-typeof-symbol": "^7.18.9",
- "@babel/plugin-transform-unicode-escapes": "^7.18.10",
+ "@babel/plugin-transform-unicode-escapes": "^7.21.5",
"@babel/plugin-transform-unicode-regex": "^7.18.6",
"@babel/preset-modules": "^0.1.5",
- "@babel/types": "^7.21.4",
+ "@babel/types": "^7.21.5",
"babel-plugin-polyfill-corejs2": "^0.3.3",
"babel-plugin-polyfill-corejs3": "^0.6.0",
"babel-plugin-polyfill-regenerator": "^0.4.1",
@@ -1814,19 +1815,19 @@
}
},
"node_modules/@babel/traverse": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.4.tgz",
- "integrity": "sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.5.tgz",
+ "integrity": "sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw==",
"dev": true,
"dependencies": {
"@babel/code-frame": "^7.21.4",
- "@babel/generator": "^7.21.4",
- "@babel/helper-environment-visitor": "^7.18.9",
+ "@babel/generator": "^7.21.5",
+ "@babel/helper-environment-visitor": "^7.21.5",
"@babel/helper-function-name": "^7.21.0",
"@babel/helper-hoist-variables": "^7.18.6",
"@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.21.4",
- "@babel/types": "^7.21.4",
+ "@babel/parser": "^7.21.5",
+ "@babel/types": "^7.21.5",
"debug": "^4.1.0",
"globals": "^11.1.0"
},
@@ -1835,12 +1836,12 @@
}
},
"node_modules/@babel/types": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.4.tgz",
- "integrity": "sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.5.tgz",
+ "integrity": "sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q==",
"dev": true,
"dependencies": {
- "@babel/helper-string-parser": "^7.19.4",
+ "@babel/helper-string-parser": "^7.21.5",
"@babel/helper-validator-identifier": "^7.19.1",
"to-fast-properties": "^2.0.0"
},
@@ -16153,9 +16154,9 @@
}
},
"@babel/compat-data": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.4.tgz",
- "integrity": "sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g==",
+ "version": "7.21.7",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.7.tgz",
+ "integrity": "sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA==",
"dev": true
},
"@babel/core": {
@@ -16193,12 +16194,12 @@
}
},
"@babel/generator": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.4.tgz",
- "integrity": "sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.5.tgz",
+ "integrity": "sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w==",
"dev": true,
"requires": {
- "@babel/types": "^7.21.4",
+ "@babel/types": "^7.21.5",
"@jridgewell/gen-mapping": "^0.3.2",
"@jridgewell/trace-mapping": "^0.3.17",
"jsesc": "^2.5.1"
@@ -16237,12 +16238,12 @@
}
},
"@babel/helper-compilation-targets": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz",
- "integrity": "sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.5.tgz",
+ "integrity": "sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w==",
"dev": true,
"requires": {
- "@babel/compat-data": "^7.21.4",
+ "@babel/compat-data": "^7.21.5",
"@babel/helper-validator-option": "^7.21.0",
"browserslist": "^4.21.3",
"lru-cache": "^5.1.1",
@@ -16290,9 +16291,9 @@
}
},
"@babel/helper-environment-visitor": {
- "version": "7.18.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz",
- "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz",
+ "integrity": "sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ==",
"dev": true
},
"@babel/helper-explode-assignable-expression": {
@@ -16342,19 +16343,19 @@
}
},
"@babel/helper-module-transforms": {
- "version": "7.21.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz",
- "integrity": "sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz",
+ "integrity": "sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw==",
"dev": true,
"requires": {
- "@babel/helper-environment-visitor": "^7.18.9",
- "@babel/helper-module-imports": "^7.18.6",
- "@babel/helper-simple-access": "^7.20.2",
+ "@babel/helper-environment-visitor": "^7.21.5",
+ "@babel/helper-module-imports": "^7.21.4",
+ "@babel/helper-simple-access": "^7.21.5",
"@babel/helper-split-export-declaration": "^7.18.6",
"@babel/helper-validator-identifier": "^7.19.1",
"@babel/template": "^7.20.7",
- "@babel/traverse": "^7.21.2",
- "@babel/types": "^7.21.2"
+ "@babel/traverse": "^7.21.5",
+ "@babel/types": "^7.21.5"
}
},
"@babel/helper-optimise-call-expression": {
@@ -16367,9 +16368,9 @@
}
},
"@babel/helper-plugin-utils": {
- "version": "7.20.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz",
- "integrity": "sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.21.5.tgz",
+ "integrity": "sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg==",
"dev": true
},
"@babel/helper-remap-async-to-generator": {
@@ -16399,12 +16400,12 @@
}
},
"@babel/helper-simple-access": {
- "version": "7.20.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz",
- "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.21.5.tgz",
+ "integrity": "sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg==",
"dev": true,
"requires": {
- "@babel/types": "^7.20.2"
+ "@babel/types": "^7.21.5"
}
},
"@babel/helper-skip-transparent-expression-wrappers": {
@@ -16426,9 +16427,9 @@
}
},
"@babel/helper-string-parser": {
- "version": "7.19.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz",
- "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz",
+ "integrity": "sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w==",
"dev": true
},
"@babel/helper-validator-identifier": {
@@ -16478,9 +16479,9 @@
}
},
"@babel/parser": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz",
- "integrity": "sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.5.tgz",
+ "integrity": "sha512-J+IxH2IsxV4HbnTrSWgMAQj0UEo61hDA4Ny8h8PCX0MLXiibqHbqIOVneqdocemSBc22VpBKxt4J6FQzy9HarQ==",
"dev": true
},
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
@@ -16825,12 +16826,12 @@
}
},
"@babel/plugin-transform-arrow-functions": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz",
- "integrity": "sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.21.5.tgz",
+ "integrity": "sha512-wb1mhwGOCaXHDTcsRYMKF9e5bbMgqwxtqa2Y1ifH96dXJPwbuLX9qHy3clhrxVqgMz7nyNXs8VkxdH8UBcjKqA==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.20.2"
+ "@babel/helper-plugin-utils": "^7.21.5"
}
},
"@babel/plugin-transform-async-to-generator": {
@@ -16880,12 +16881,12 @@
}
},
"@babel/plugin-transform-computed-properties": {
- "version": "7.20.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz",
- "integrity": "sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.21.5.tgz",
+ "integrity": "sha512-TR653Ki3pAwxBxUe8srfF3e4Pe3FTA46uaNHYyQwIoM4oWKSoOZiDNyHJ0oIoDIUPSRQbQG7jzgVBX3FPVne1Q==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.20.2",
+ "@babel/helper-plugin-utils": "^7.21.5",
"@babel/template": "^7.20.7"
}
},
@@ -16928,12 +16929,12 @@
}
},
"@babel/plugin-transform-for-of": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.0.tgz",
- "integrity": "sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.5.tgz",
+ "integrity": "sha512-nYWpjKW/7j/I/mZkGVgHJXh4bA1sfdFnJoOXwJuj4m3Q2EraO/8ZyrkCau9P5tbHQk01RMSt6KYLCsW7730SXQ==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.20.2"
+ "@babel/helper-plugin-utils": "^7.21.5"
}
},
"@babel/plugin-transform-function-name": {
@@ -16976,14 +16977,14 @@
}
},
"@babel/plugin-transform-modules-commonjs": {
- "version": "7.21.2",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.2.tgz",
- "integrity": "sha512-Cln+Yy04Gxua7iPdj6nOV96smLGjpElir5YwzF0LBPKoPlLDNJePNlrGGaybAJkd0zKRnOVXOgizSqPYMNYkzA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.5.tgz",
+ "integrity": "sha512-OVryBEgKUbtqMoB7eG2rs6UFexJi6Zj6FDXx+esBLPTCxCNxAY9o+8Di7IsUGJ+AVhp5ncK0fxWUBd0/1gPhrQ==",
"dev": true,
"requires": {
- "@babel/helper-module-transforms": "^7.21.2",
- "@babel/helper-plugin-utils": "^7.20.2",
- "@babel/helper-simple-access": "^7.20.2"
+ "@babel/helper-module-transforms": "^7.21.5",
+ "@babel/helper-plugin-utils": "^7.21.5",
+ "@babel/helper-simple-access": "^7.21.5"
}
},
"@babel/plugin-transform-modules-systemjs": {
@@ -17065,12 +17066,12 @@
}
},
"@babel/plugin-transform-regenerator": {
- "version": "7.20.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.20.5.tgz",
- "integrity": "sha512-kW/oO7HPBtntbsahzQ0qSE3tFvkFwnbozz3NWFhLGqH75vLEg+sCGngLlhVkePlCs3Jv0dBBHDzCHxNiFAQKCQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.21.5.tgz",
+ "integrity": "sha512-ZoYBKDb6LyMi5yCsByQ5jmXsHAQDDYeexT1Szvlmui+lADvfSecr5Dxd/PkrTC3pAD182Fcju1VQkB4oCp9M+w==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.20.2",
+ "@babel/helper-plugin-utils": "^7.21.5",
"regenerator-transform": "^0.15.1"
}
},
@@ -17144,12 +17145,12 @@
}
},
"@babel/plugin-transform-unicode-escapes": {
- "version": "7.18.10",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.10.tgz",
- "integrity": "sha512-kKAdAI+YzPgGY/ftStBFXTI1LZFju38rYThnfMykS+IXy8BVx+res7s2fxf1l8I35DV2T97ezo6+SGrXz6B3iQ==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.21.5.tgz",
+ "integrity": "sha512-LYm/gTOwZqsYohlvFUe/8Tujz75LqqVC2w+2qPHLR+WyWHGCZPN1KBpJCJn+4Bk4gOkQy/IXKIge6az5MqwlOg==",
"dev": true,
"requires": {
- "@babel/helper-plugin-utils": "^7.18.9"
+ "@babel/helper-plugin-utils": "^7.21.5"
}
},
"@babel/plugin-transform-unicode-regex": {
@@ -17163,14 +17164,14 @@
}
},
"@babel/preset-env": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.21.4.tgz",
- "integrity": "sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.21.5.tgz",
+ "integrity": "sha512-wH00QnTTldTbf/IefEVyChtRdw5RJvODT/Vb4Vcxq1AZvtXj6T0YeX0cAcXhI6/BdGuiP3GcNIL4OQbI2DVNxg==",
"dev": true,
"requires": {
- "@babel/compat-data": "^7.21.4",
- "@babel/helper-compilation-targets": "^7.21.4",
- "@babel/helper-plugin-utils": "^7.20.2",
+ "@babel/compat-data": "^7.21.5",
+ "@babel/helper-compilation-targets": "^7.21.5",
+ "@babel/helper-plugin-utils": "^7.21.5",
"@babel/helper-validator-option": "^7.21.0",
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6",
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.20.7",
@@ -17195,6 +17196,7 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3",
"@babel/plugin-syntax-import-assertions": "^7.20.0",
+ "@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-syntax-json-strings": "^7.8.3",
"@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
@@ -17204,22 +17206,22 @@
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-private-property-in-object": "^7.14.5",
"@babel/plugin-syntax-top-level-await": "^7.14.5",
- "@babel/plugin-transform-arrow-functions": "^7.20.7",
+ "@babel/plugin-transform-arrow-functions": "^7.21.5",
"@babel/plugin-transform-async-to-generator": "^7.20.7",
"@babel/plugin-transform-block-scoped-functions": "^7.18.6",
"@babel/plugin-transform-block-scoping": "^7.21.0",
"@babel/plugin-transform-classes": "^7.21.0",
- "@babel/plugin-transform-computed-properties": "^7.20.7",
+ "@babel/plugin-transform-computed-properties": "^7.21.5",
"@babel/plugin-transform-destructuring": "^7.21.3",
"@babel/plugin-transform-dotall-regex": "^7.18.6",
"@babel/plugin-transform-duplicate-keys": "^7.18.9",
"@babel/plugin-transform-exponentiation-operator": "^7.18.6",
- "@babel/plugin-transform-for-of": "^7.21.0",
+ "@babel/plugin-transform-for-of": "^7.21.5",
"@babel/plugin-transform-function-name": "^7.18.9",
"@babel/plugin-transform-literals": "^7.18.9",
"@babel/plugin-transform-member-expression-literals": "^7.18.6",
"@babel/plugin-transform-modules-amd": "^7.20.11",
- "@babel/plugin-transform-modules-commonjs": "^7.21.2",
+ "@babel/plugin-transform-modules-commonjs": "^7.21.5",
"@babel/plugin-transform-modules-systemjs": "^7.20.11",
"@babel/plugin-transform-modules-umd": "^7.18.6",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.20.5",
@@ -17227,17 +17229,17 @@
"@babel/plugin-transform-object-super": "^7.18.6",
"@babel/plugin-transform-parameters": "^7.21.3",
"@babel/plugin-transform-property-literals": "^7.18.6",
- "@babel/plugin-transform-regenerator": "^7.20.5",
+ "@babel/plugin-transform-regenerator": "^7.21.5",
"@babel/plugin-transform-reserved-words": "^7.18.6",
"@babel/plugin-transform-shorthand-properties": "^7.18.6",
"@babel/plugin-transform-spread": "^7.20.7",
"@babel/plugin-transform-sticky-regex": "^7.18.6",
"@babel/plugin-transform-template-literals": "^7.18.9",
"@babel/plugin-transform-typeof-symbol": "^7.18.9",
- "@babel/plugin-transform-unicode-escapes": "^7.18.10",
+ "@babel/plugin-transform-unicode-escapes": "^7.21.5",
"@babel/plugin-transform-unicode-regex": "^7.18.6",
"@babel/preset-modules": "^0.1.5",
- "@babel/types": "^7.21.4",
+ "@babel/types": "^7.21.5",
"babel-plugin-polyfill-corejs2": "^0.3.3",
"babel-plugin-polyfill-corejs3": "^0.6.0",
"babel-plugin-polyfill-regenerator": "^0.4.1",
@@ -17285,30 +17287,30 @@
}
},
"@babel/traverse": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.4.tgz",
- "integrity": "sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.5.tgz",
+ "integrity": "sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.21.4",
- "@babel/generator": "^7.21.4",
- "@babel/helper-environment-visitor": "^7.18.9",
+ "@babel/generator": "^7.21.5",
+ "@babel/helper-environment-visitor": "^7.21.5",
"@babel/helper-function-name": "^7.21.0",
"@babel/helper-hoist-variables": "^7.18.6",
"@babel/helper-split-export-declaration": "^7.18.6",
- "@babel/parser": "^7.21.4",
- "@babel/types": "^7.21.4",
+ "@babel/parser": "^7.21.5",
+ "@babel/types": "^7.21.5",
"debug": "^4.1.0",
"globals": "^11.1.0"
}
},
"@babel/types": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.4.tgz",
- "integrity": "sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.5.tgz",
+ "integrity": "sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q==",
"dev": true,
"requires": {
- "@babel/helper-string-parser": "^7.19.4",
+ "@babel/helper-string-parser": "^7.21.5",
"@babel/helper-validator-identifier": "^7.19.1",
"to-fast-properties": "^2.0.0"
}
From 90bd7ca41f68b59be2f3ee05f32989924d339c0d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 2 May 2023 12:00:19 +0300
Subject: [PATCH 029/301] chore(deps-dev): bump @babel/core from 7.21.4 to
7.21.5 (#4840)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.4 to 7.21.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.5/packages/babel-core)
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 60 +++++++++++++++++++++++------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 14d4b9f9c2..8b91bd5ba9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -184,21 +184,21 @@
}
},
"node_modules/@babel/core": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.4.tgz",
- "integrity": "sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.5.tgz",
+ "integrity": "sha512-9M398B/QH5DlfCOTKDZT1ozXr0x8uBEeFd+dJraGUZGiaNpGCDVGCc14hZexsMblw3XxltJ+6kSvogp9J+5a9g==",
"dev": true,
"dependencies": {
"@ampproject/remapping": "^2.2.0",
"@babel/code-frame": "^7.21.4",
- "@babel/generator": "^7.21.4",
- "@babel/helper-compilation-targets": "^7.21.4",
- "@babel/helper-module-transforms": "^7.21.2",
- "@babel/helpers": "^7.21.0",
- "@babel/parser": "^7.21.4",
+ "@babel/generator": "^7.21.5",
+ "@babel/helper-compilation-targets": "^7.21.5",
+ "@babel/helper-module-transforms": "^7.21.5",
+ "@babel/helpers": "^7.21.5",
+ "@babel/parser": "^7.21.5",
"@babel/template": "^7.20.7",
- "@babel/traverse": "^7.21.4",
- "@babel/types": "^7.21.4",
+ "@babel/traverse": "^7.21.5",
+ "@babel/types": "^7.21.5",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
@@ -583,14 +583,14 @@
}
},
"node_modules/@babel/helpers": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz",
- "integrity": "sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.5.tgz",
+ "integrity": "sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA==",
"dev": true,
"dependencies": {
"@babel/template": "^7.20.7",
- "@babel/traverse": "^7.21.0",
- "@babel/types": "^7.21.0"
+ "@babel/traverse": "^7.21.5",
+ "@babel/types": "^7.21.5"
},
"engines": {
"node": ">=6.9.0"
@@ -16160,21 +16160,21 @@
"dev": true
},
"@babel/core": {
- "version": "7.21.4",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.4.tgz",
- "integrity": "sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.5.tgz",
+ "integrity": "sha512-9M398B/QH5DlfCOTKDZT1ozXr0x8uBEeFd+dJraGUZGiaNpGCDVGCc14hZexsMblw3XxltJ+6kSvogp9J+5a9g==",
"dev": true,
"requires": {
"@ampproject/remapping": "^2.2.0",
"@babel/code-frame": "^7.21.4",
- "@babel/generator": "^7.21.4",
- "@babel/helper-compilation-targets": "^7.21.4",
- "@babel/helper-module-transforms": "^7.21.2",
- "@babel/helpers": "^7.21.0",
- "@babel/parser": "^7.21.4",
+ "@babel/generator": "^7.21.5",
+ "@babel/helper-compilation-targets": "^7.21.5",
+ "@babel/helper-module-transforms": "^7.21.5",
+ "@babel/helpers": "^7.21.5",
+ "@babel/parser": "^7.21.5",
"@babel/template": "^7.20.7",
- "@babel/traverse": "^7.21.4",
- "@babel/types": "^7.21.4",
+ "@babel/traverse": "^7.21.5",
+ "@babel/types": "^7.21.5",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
@@ -16457,14 +16457,14 @@
}
},
"@babel/helpers": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz",
- "integrity": "sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.5.tgz",
+ "integrity": "sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA==",
"dev": true,
"requires": {
"@babel/template": "^7.20.7",
- "@babel/traverse": "^7.21.0",
- "@babel/types": "^7.21.0"
+ "@babel/traverse": "^7.21.5",
+ "@babel/types": "^7.21.5"
}
},
"@babel/highlight": {
From 37cad89bbf1d4b6b24da502e0a4651b162da2c67 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 3 May 2023 14:18:31 +0300
Subject: [PATCH 030/301] chore(deps-dev): bump @babel/core from 7.21.5 to
7.21.8 (#4844)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.5 to 7.21.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.8/packages/babel-core)
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 8b91bd5ba9..12f4e527d4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -184,9 +184,9 @@
}
},
"node_modules/@babel/core": {
- "version": "7.21.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.5.tgz",
- "integrity": "sha512-9M398B/QH5DlfCOTKDZT1ozXr0x8uBEeFd+dJraGUZGiaNpGCDVGCc14hZexsMblw3XxltJ+6kSvogp9J+5a9g==",
+ "version": "7.21.8",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.8.tgz",
+ "integrity": "sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ==",
"dev": true,
"dependencies": {
"@ampproject/remapping": "^2.2.0",
@@ -195,7 +195,7 @@
"@babel/helper-compilation-targets": "^7.21.5",
"@babel/helper-module-transforms": "^7.21.5",
"@babel/helpers": "^7.21.5",
- "@babel/parser": "^7.21.5",
+ "@babel/parser": "^7.21.8",
"@babel/template": "^7.20.7",
"@babel/traverse": "^7.21.5",
"@babel/types": "^7.21.5",
@@ -611,9 +611,9 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.21.5",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.5.tgz",
- "integrity": "sha512-J+IxH2IsxV4HbnTrSWgMAQj0UEo61hDA4Ny8h8PCX0MLXiibqHbqIOVneqdocemSBc22VpBKxt4J6FQzy9HarQ==",
+ "version": "7.21.8",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.8.tgz",
+ "integrity": "sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==",
"dev": true,
"bin": {
"parser": "bin/babel-parser.js"
@@ -16160,9 +16160,9 @@
"dev": true
},
"@babel/core": {
- "version": "7.21.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.5.tgz",
- "integrity": "sha512-9M398B/QH5DlfCOTKDZT1ozXr0x8uBEeFd+dJraGUZGiaNpGCDVGCc14hZexsMblw3XxltJ+6kSvogp9J+5a9g==",
+ "version": "7.21.8",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.8.tgz",
+ "integrity": "sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ==",
"dev": true,
"requires": {
"@ampproject/remapping": "^2.2.0",
@@ -16171,7 +16171,7 @@
"@babel/helper-compilation-targets": "^7.21.5",
"@babel/helper-module-transforms": "^7.21.5",
"@babel/helpers": "^7.21.5",
- "@babel/parser": "^7.21.5",
+ "@babel/parser": "^7.21.8",
"@babel/template": "^7.20.7",
"@babel/traverse": "^7.21.5",
"@babel/types": "^7.21.5",
@@ -16479,9 +16479,9 @@
}
},
"@babel/parser": {
- "version": "7.21.5",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.5.tgz",
- "integrity": "sha512-J+IxH2IsxV4HbnTrSWgMAQj0UEo61hDA4Ny8h8PCX0MLXiibqHbqIOVneqdocemSBc22VpBKxt4J6FQzy9HarQ==",
+ "version": "7.21.8",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.8.tgz",
+ "integrity": "sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==",
"dev": true
},
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
From 1aef67cdc7b544f2c4fa355ed30bae393fa0e8ca Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 3 May 2023 14:18:50 +0300
Subject: [PATCH 031/301] chore(deps-dev): bump @babel/eslint-parser from
7.21.3 to 7.21.8 (#4843)
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.21.3 to 7.21.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.8/eslint/babel-eslint-parser)
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 12f4e527d4..d638394fe7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -214,9 +214,9 @@
}
},
"node_modules/@babel/eslint-parser": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.21.3.tgz",
- "integrity": "sha512-kfhmPimwo6k4P8zxNs8+T7yR44q1LdpsZdE1NkCsVlfiuTPRfnGgjaF8Qgug9q9Pou17u6wneYF0lDCZJATMFg==",
+ "version": "7.21.8",
+ "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.21.8.tgz",
+ "integrity": "sha512-HLhI+2q+BP3sf78mFUZNCGc10KEmoUqtUT1OCdMZsN+qr4qFeLUod62/zAnF3jNQstwyasDkZnVXwfK2Bml7MQ==",
"dev": true,
"dependencies": {
"@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1",
@@ -16183,9 +16183,9 @@
}
},
"@babel/eslint-parser": {
- "version": "7.21.3",
- "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.21.3.tgz",
- "integrity": "sha512-kfhmPimwo6k4P8zxNs8+T7yR44q1LdpsZdE1NkCsVlfiuTPRfnGgjaF8Qgug9q9Pou17u6wneYF0lDCZJATMFg==",
+ "version": "7.21.8",
+ "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.21.8.tgz",
+ "integrity": "sha512-HLhI+2q+BP3sf78mFUZNCGc10KEmoUqtUT1OCdMZsN+qr4qFeLUod62/zAnF3jNQstwyasDkZnVXwfK2Bml7MQ==",
"dev": true,
"requires": {
"@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1",
From 217e156cc63b1887cfeea771844d84be7a8caa76 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 3 May 2023 17:56:56 +0300
Subject: [PATCH 032/301] chore(deps-dev): bump @babel/runtime from 7.21.0 to
7.21.5 (#4841)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.21.0 to 7.21.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.21.5/packages/babel-runtime)
---
updated-dependencies:
- dependency-name: "@babel/runtime"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index d638394fe7..0bb19e8e8a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1789,9 +1789,9 @@
"dev": true
},
"node_modules/@babel/runtime": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz",
- "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.5.tgz",
+ "integrity": "sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==",
"dev": true,
"dependencies": {
"regenerator-runtime": "^0.13.11"
@@ -17267,9 +17267,9 @@
"dev": true
},
"@babel/runtime": {
- "version": "7.21.0",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz",
- "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==",
+ "version": "7.21.5",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.5.tgz",
+ "integrity": "sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==",
"dev": true,
"requires": {
"regenerator-runtime": "^0.13.11"
From ee748a762d84fd0ed6ea2ef618a998d1cddb7181 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 4 May 2023 14:27:30 +0300
Subject: [PATCH 033/301] chore(deps-dev): bump webpack from 5.81.0 to 5.82.0
(#4845)
Bumps [webpack](https://github.com/webpack/webpack) from 5.81.0 to 5.82.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.81.0...v5.82.0)
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 0bb19e8e8a..ad91b46629 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15546,9 +15546,9 @@
}
},
"node_modules/webpack": {
- "version": "5.81.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.81.0.tgz",
- "integrity": "sha512-AAjaJ9S4hYCVODKLQTgG5p5e11hiMawBwV2v8MYLE0C/6UAGLuAF4n1qa9GOwdxnicaP+5k6M5HrLmD4+gIB8Q==",
+ "version": "5.82.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz",
+ "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==",
"dependencies": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
@@ -27650,9 +27650,9 @@
"dev": true
},
"webpack": {
- "version": "5.81.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.81.0.tgz",
- "integrity": "sha512-AAjaJ9S4hYCVODKLQTgG5p5e11hiMawBwV2v8MYLE0C/6UAGLuAF4n1qa9GOwdxnicaP+5k6M5HrLmD4+gIB8Q==",
+ "version": "5.82.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz",
+ "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==",
"requires": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
From aab01b3c4e4fb9ca9ae1c1bbc860a52a06026de6 Mon Sep 17 00:00:00 2001
From: Malcolm Kee
Date: Sun, 7 May 2023 09:22:39 +1000
Subject: [PATCH 034/301] feat: allow filter overlay errors/warnings with
function (#4813)
---
client-src/index.js | 79 ++++-
client-src/overlay.js | 44 ++-
client-src/overlay/state-machine.js | 5 +
examples/client/overlay/app.js | 10 +-
examples/client/overlay/error-button.js | 22 +-
examples/client/overlay/webpack.config.js | 21 +-
lib/Server.js | 51 ++-
lib/options.json | 54 ++-
.../validate-options.test.js.snap.webpack4 | 28 +-
.../validate-options.test.js.snap.webpack5 | 28 +-
.../overlay.test.js.snap.webpack4 | 296 ++++++++++++++++
.../overlay.test.js.snap.webpack5 | 296 ++++++++++++++++
test/e2e/overlay.test.js | 248 +++++++++++++
types/lib/Server.d.ts | 329 +++++++++++-------
14 files changed, 1322 insertions(+), 189 deletions(-)
diff --git a/client-src/index.js b/client-src/index.js
index 4689552d9e..7cd441bf4b 100644
--- a/client-src/index.js
+++ b/client-src/index.js
@@ -10,12 +10,20 @@ import sendMessage from "./utils/sendMessage.js";
import reloadApp from "./utils/reloadApp.js";
import createSocketURL from "./utils/createSocketURL.js";
+/**
+ * @typedef {Object} OverlayOptions
+ * @property {boolean | (error: Error) => boolean} [warnings]
+ * @property {boolean | (error: Error) => boolean} [errors]
+ * @property {boolean | (error: Error) => boolean} [runtimeErrors]
+ * @property {string} [trustedTypesPolicyName]
+ */
+
/**
* @typedef {Object} Options
* @property {boolean} hot
* @property {boolean} liveReload
* @property {boolean} progress
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean, trustedTypesPolicyName?: string }} overlay
+ * @property {boolean | OverlayOptions} overlay
* @property {string} [logging]
* @property {number} [reconnect]
*/
@@ -27,6 +35,30 @@ import createSocketURL from "./utils/createSocketURL.js";
* @property {string} [previousHash]
*/
+/**
+ * @param {boolean | { warnings?: boolean | string; errors?: boolean | string; runtimeErrors?: boolean | string; }} overlayOptions
+ */
+const decodeOverlayOptions = (overlayOptions) => {
+ if (typeof overlayOptions === "object") {
+ ["warnings", "errors", "runtimeErrors"].forEach((property) => {
+ if (typeof overlayOptions[property] === "string") {
+ const overlayFilterFunctionString = decodeURIComponent(
+ overlayOptions[property]
+ );
+
+ // eslint-disable-next-line no-new-func
+ const overlayFilterFunction = new Function(
+ "message",
+ `var callback = ${overlayFilterFunctionString}
+ return callback(message)`
+ );
+
+ overlayOptions[property] = overlayFilterFunction;
+ }
+ });
+ }
+};
+
/**
* @type {Status}
*/
@@ -83,6 +115,8 @@ if (parsedResourceQuery.overlay) {
runtimeErrors: true,
...options.overlay,
};
+
+ decodeOverlayOptions(options.overlay);
}
enabledFeatures.Overlay = true;
}
@@ -173,6 +207,7 @@ const onSocketMessage = {
}
options.overlay = value;
+ decodeOverlayOptions(options.overlay);
},
/**
* @param {number} value
@@ -266,17 +301,24 @@ const onSocketMessage = {
log.warn(printableWarnings[i]);
}
- const needShowOverlayForWarnings =
+ const overlayWarningsSetting =
typeof options.overlay === "boolean"
? options.overlay
: options.overlay && options.overlay.warnings;
- if (needShowOverlayForWarnings) {
- overlay.send({
- type: "BUILD_ERROR",
- level: "warning",
- messages: warnings,
- });
+ if (overlayWarningsSetting) {
+ const warningsToDisplay =
+ typeof overlayWarningsSetting === "function"
+ ? warnings.filter(overlayWarningsSetting)
+ : warnings;
+
+ if (warningsToDisplay.length) {
+ overlay.send({
+ type: "BUILD_ERROR",
+ level: "warning",
+ messages: warnings,
+ });
+ }
}
if (params && params.preventReloading) {
@@ -303,17 +345,24 @@ const onSocketMessage = {
log.error(printableErrors[i]);
}
- const needShowOverlayForErrors =
+ const overlayErrorsSettings =
typeof options.overlay === "boolean"
? options.overlay
: options.overlay && options.overlay.errors;
- if (needShowOverlayForErrors) {
- overlay.send({
- type: "BUILD_ERROR",
- level: "error",
- messages: errors,
- });
+ if (overlayErrorsSettings) {
+ const errorsToDisplay =
+ typeof overlayErrorsSettings === "function"
+ ? errors.filter(overlayErrorsSettings)
+ : errors;
+
+ if (errorsToDisplay.length) {
+ overlay.send({
+ type: "BUILD_ERROR",
+ level: "error",
+ messages: errors,
+ });
+ }
}
},
/**
diff --git a/client-src/overlay.js b/client-src/overlay.js
index 2887c28ad3..210b4996d1 100644
--- a/client-src/overlay.js
+++ b/client-src/overlay.js
@@ -78,7 +78,7 @@ function formatProblem(type, item) {
/**
* @typedef {Object} CreateOverlayOptions
* @property {string | null} trustedTypesPolicyName
- * @property {boolean} [catchRuntimeError]
+ * @property {boolean | (error: Error) => void} [catchRuntimeError]
*/
/**
@@ -90,6 +90,8 @@ const createOverlay = (options) => {
let iframeContainerElement;
/** @type {HTMLDivElement | null | undefined} */
let containerElement;
+ /** @type {HTMLDivElement | null | undefined} */
+ let headerElement;
/** @type {Array<(element: HTMLDivElement) => void>} */
let onLoadQueue = [];
/** @type {TrustedTypePolicy | undefined} */
@@ -124,6 +126,7 @@ const createOverlay = (options) => {
iframeContainerElement.id = "webpack-dev-server-client-overlay";
iframeContainerElement.src = "about:blank";
applyStyle(iframeContainerElement, iframeStyle);
+
iframeContainerElement.onload = () => {
const contentElement =
/** @type {Document} */
@@ -141,7 +144,7 @@ const createOverlay = (options) => {
contentElement.id = "webpack-dev-server-client-overlay-div";
applyStyle(contentElement, containerStyle);
- const headerElement = document.createElement("div");
+ headerElement = document.createElement("div");
headerElement.innerText = "Compiled with problems:";
applyStyle(headerElement, headerStyle);
@@ -219,9 +222,15 @@ const createOverlay = (options) => {
* @param {string} type
* @param {Array} messages
* @param {string | null} trustedTypesPolicyName
+ * @param {'build' | 'runtime'} messageSource
*/
- function show(type, messages, trustedTypesPolicyName) {
+ function show(type, messages, trustedTypesPolicyName, messageSource) {
ensureOverlayExists(() => {
+ headerElement.innerText =
+ messageSource === "runtime"
+ ? "Uncaught runtime errors:"
+ : "Compiled with problems:";
+
messages.forEach((message) => {
const entryElement = document.createElement("div");
const msgStyle =
@@ -267,8 +276,8 @@ const createOverlay = (options) => {
}
const overlayService = createOverlayMachine({
- showOverlay: ({ level = "error", messages }) =>
- show(level, messages, options.trustedTypesPolicyName),
+ showOverlay: ({ level = "error", messages, messageSource }) =>
+ show(level, messages, options.trustedTypesPolicyName, messageSource),
hideOverlay: hide,
});
@@ -284,15 +293,22 @@ const createOverlay = (options) => {
const errorObject =
error instanceof Error ? error : new Error(error || message);
- overlayService.send({
- type: "RUNTIME_ERROR",
- messages: [
- {
- message: errorObject.message,
- stack: parseErrorToStacks(errorObject),
- },
- ],
- });
+ const shouldDisplay =
+ typeof options.catchRuntimeError === "function"
+ ? options.catchRuntimeError(errorObject)
+ : true;
+
+ if (shouldDisplay) {
+ overlayService.send({
+ type: "RUNTIME_ERROR",
+ messages: [
+ {
+ message: errorObject.message,
+ stack: parseErrorToStacks(errorObject),
+ },
+ ],
+ });
+ }
});
}
diff --git a/client-src/overlay/state-machine.js b/client-src/overlay/state-machine.js
index d9ed764198..4c0444383c 100644
--- a/client-src/overlay/state-machine.js
+++ b/client-src/overlay/state-machine.js
@@ -4,6 +4,7 @@ import createMachine from "./fsm.js";
* @typedef {Object} ShowOverlayData
* @property {'warning' | 'error'} level
* @property {Array} messages
+ * @property {'build' | 'runtime'} messageSource
*/
/**
@@ -23,6 +24,7 @@ const createOverlayMachine = (options) => {
context: {
level: "error",
messages: [],
+ messageSource: "build",
},
states: {
hidden: {
@@ -73,18 +75,21 @@ const createOverlayMachine = (options) => {
return {
messages: [],
level: "error",
+ messageSource: "build",
};
},
appendMessages: (context, event) => {
return {
messages: context.messages.concat(event.messages),
level: event.level || context.level,
+ messageSource: event.type === "RUNTIME_ERROR" ? "runtime" : "build",
};
},
setMessages: (context, event) => {
return {
messages: event.messages,
level: event.level || context.level,
+ messageSource: event.type === "RUNTIME_ERROR" ? "runtime" : "build",
};
},
hideOverlay,
diff --git a/examples/client/overlay/app.js b/examples/client/overlay/app.js
index a4344aa340..5885cfaf68 100644
--- a/examples/client/overlay/app.js
+++ b/examples/client/overlay/app.js
@@ -5,7 +5,15 @@ const createErrorBtn = require("./error-button");
const target = document.querySelector("#target");
-target.insertAdjacentElement("afterend", createErrorBtn());
+target.insertAdjacentElement(
+ "afterend",
+ createErrorBtn("Click to throw error", "Error message thrown from JS")
+);
+
+target.insertAdjacentElement(
+ "afterend",
+ createErrorBtn("Click to throw ignored error", "something something")
+);
// eslint-disable-next-line import/no-unresolved, import/extensions
const invalid = require("./invalid.js");
diff --git a/examples/client/overlay/error-button.js b/examples/client/overlay/error-button.js
index 11fe606af0..2f0b87351e 100644
--- a/examples/client/overlay/error-button.js
+++ b/examples/client/overlay/error-button.js
@@ -1,18 +1,24 @@
"use strict";
-function unsafeOperation() {
- throw new Error("Error message thrown from JS");
-}
+/**
+ *
+ * @param {string} label
+ * @param {string} errorMessage
+ * @returns HTMLButtonElement
+ */
+module.exports = function createErrorButton(label, errorMessage) {
+ function unsafeOperation() {
+ throw new Error(errorMessage);
+ }
-function handleButtonClick() {
- unsafeOperation();
-}
+ function handleButtonClick() {
+ unsafeOperation();
+ }
-module.exports = function createErrorButton() {
const errorBtn = document.createElement("button");
errorBtn.addEventListener("click", handleButtonClick);
- errorBtn.innerHTML = "Click to throw error";
+ errorBtn.innerHTML = label;
return errorBtn;
};
diff --git a/examples/client/overlay/webpack.config.js b/examples/client/overlay/webpack.config.js
index 41d8ad543b..a2413a2434 100644
--- a/examples/client/overlay/webpack.config.js
+++ b/examples/client/overlay/webpack.config.js
@@ -10,7 +10,26 @@ module.exports = setup({
entry: "./app.js",
devServer: {
client: {
- overlay: true,
+ overlay: {
+ warnings: false,
+ runtimeErrors: (msg) => {
+ if (msg) {
+ let msgString;
+
+ if (msg instanceof Error) {
+ msgString = msg.message;
+ } else if (typeof msg === "string") {
+ msgString = msg;
+ }
+
+ if (msgString) {
+ return !/something/i.test(msgString);
+ }
+ }
+
+ return true;
+ },
+ },
},
},
// uncomment to test for IE
diff --git a/lib/Server.js b/lib/Server.js
index ec3453b6f2..0c093b2415 100644
--- a/lib/Server.js
+++ b/lib/Server.js
@@ -154,10 +154,14 @@ const schema = require("./options.json");
* @property {string} [username]
*/
+/**
+ * @typedef {boolean | ((error: Error) => void)} OverlayMessageOptions
+ */
+
/**
* @typedef {Object} ClientConfiguration
* @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean | { warnings?: OverlayMessageOptions, errors?: OverlayMessageOptions, runtimeErrors?: OverlayMessageOptions }} [overlay]
* @property {boolean} [progress]
* @property {boolean | number} [reconnect]
* @property {"ws" | "sockjs" | string} [webSocketTransport]
@@ -236,6 +240,16 @@ const memoize = (fn) => {
const getExpress = memoize(() => require("express"));
+/**
+ *
+ * @param {OverlayMessageOptions} [setting]
+ * @returns
+ */
+const encodeOverlaySettings = (setting) =>
+ typeof setting === "function"
+ ? encodeURIComponent(setting.toString())
+ : setting;
+
class Server {
/**
* @param {Configuration | Compiler | MultiCompiler} options
@@ -654,12 +668,19 @@ class Server {
}
if (typeof client.overlay !== "undefined") {
- searchParams.set(
- "overlay",
+ const overlayString =
typeof client.overlay === "boolean"
? String(client.overlay)
- : JSON.stringify(client.overlay)
- );
+ : JSON.stringify({
+ ...client.overlay,
+ errors: encodeOverlaySettings(client.overlay.errors),
+ warnings: encodeOverlaySettings(client.overlay.warnings),
+ runtimeErrors: encodeOverlaySettings(
+ client.overlay.runtimeErrors
+ ),
+ });
+
+ searchParams.set("overlay", overlayString);
}
if (typeof client.reconnect !== "undefined") {
@@ -2627,11 +2648,27 @@ class Server {
/** @type {ClientConfiguration} */
(this.options.client).overlay
) {
+ const overlayConfig = /** @type {ClientConfiguration} */ (
+ this.options.client
+ ).overlay;
+
this.sendMessage(
[client],
"overlay",
- /** @type {ClientConfiguration} */
- (this.options.client).overlay
+ typeof overlayConfig === "object"
+ ? {
+ ...overlayConfig,
+ errors:
+ overlayConfig.errors &&
+ encodeOverlaySettings(overlayConfig.errors),
+ warnings:
+ overlayConfig.warnings &&
+ encodeOverlaySettings(overlayConfig.warnings),
+ runtimeErrors:
+ overlayConfig.runtimeErrors &&
+ encodeOverlaySettings(overlayConfig.runtimeErrors),
+ }
+ : overlayConfig
);
}
diff --git a/lib/options.json b/lib/options.json
index 87ac7e1fb3..654a68a580 100644
--- a/lib/options.json
+++ b/lib/options.json
@@ -98,25 +98,49 @@
"additionalProperties": false,
"properties": {
"errors": {
- "description": "Enables a full-screen overlay in the browser when there are compiler errors.",
- "type": "boolean",
- "cli": {
- "negatedDescription": "Disables the full-screen overlay in the browser when there are compiler errors."
- }
+ "anyOf": [
+ {
+ "description": "Enables a full-screen overlay in the browser when there are compiler errors.",
+ "type": "boolean",
+ "cli": {
+ "negatedDescription": "Disables the full-screen overlay in the browser when there are compiler errors."
+ }
+ },
+ {
+ "instanceof": "Function",
+ "description": "Filter compiler errors. Return true to include and return false to exclude."
+ }
+ ]
},
"warnings": {
- "description": "Enables a full-screen overlay in the browser when there are compiler warnings.",
- "type": "boolean",
- "cli": {
- "negatedDescription": "Disables the full-screen overlay in the browser when there are compiler warnings."
- }
+ "anyOf": [
+ {
+ "description": "Enables a full-screen overlay in the browser when there are compiler warnings.",
+ "type": "boolean",
+ "cli": {
+ "negatedDescription": "Disables the full-screen overlay in the browser when there are compiler warnings."
+ }
+ },
+ {
+ "instanceof": "Function",
+ "description": "Filter compiler warnings. Return true to include and return false to exclude."
+ }
+ ]
},
"runtimeErrors": {
- "description": "Enables a full-screen overlay in the browser when there are uncaught runtime errors.",
- "type": "boolean",
- "cli": {
- "negatedDescription": "Disables the full-screen overlay in the browser when there are uncaught runtime errors."
- }
+ "anyOf": [
+ {
+ "description": "Enables a full-screen overlay in the browser when there are uncaught runtime errors.",
+ "type": "boolean",
+ "cli": {
+ "negatedDescription": "Disables the full-screen overlay in the browser when there are uncaught runtime errors."
+ }
+ },
+ {
+ "instanceof": "Function",
+ "description": "Filter uncaught runtime errors. Return true to include and return false to exclude."
+ }
+ ]
},
"trustedTypesPolicyName": {
"description": "The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'.",
diff --git a/test/__snapshots__/validate-options.test.js.snap.webpack4 b/test/__snapshots__/validate-options.test.js.snap.webpack4
index 2a5ed5e47d..887634ff91 100644
--- a/test/__snapshots__/validate-options.test.js.snap.webpack4
+++ b/test/__snapshots__/validate-options.test.js.snap.webpack4
@@ -107,14 +107,34 @@ exports[`options validate should throw an error on the "client" option with '{"o
exports[`options validate should throw an error on the "client" option with '{"overlay":{"errors":""}}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.client.overlay.errors should be a boolean.
- -> Enables a full-screen overlay in the browser when there are compiler errors."
+ - options.client should be one of these:
+ false | object { logging?, overlay?, progress?, reconnect?, webSocketTransport?, webSocketURL? }
+ -> Allows to specify options for client script in the browser or disable client script.
+ -> Read more at https://webpack.js.org/configuration/dev-server/#devserverclient
+ Details:
+ * options.client.overlay.errors should be one of these:
+ boolean | function
+ Details:
+ * options.client.overlay.errors should be a boolean.
+ -> Enables a full-screen overlay in the browser when there are compiler errors.
+ * options.client.overlay.errors should be an instance of function.
+ -> Filter compiler errors. Return true to include and return false to exclude."
`;
exports[`options validate should throw an error on the "client" option with '{"overlay":{"warnings":""}}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.client.overlay.warnings should be a boolean.
- -> Enables a full-screen overlay in the browser when there are compiler warnings."
+ - options.client should be one of these:
+ false | object { logging?, overlay?, progress?, reconnect?, webSocketTransport?, webSocketURL? }
+ -> Allows to specify options for client script in the browser or disable client script.
+ -> Read more at https://webpack.js.org/configuration/dev-server/#devserverclient
+ Details:
+ * options.client.overlay.warnings should be one of these:
+ boolean | function
+ Details:
+ * options.client.overlay.warnings should be a boolean.
+ -> Enables a full-screen overlay in the browser when there are compiler warnings.
+ * options.client.overlay.warnings should be an instance of function.
+ -> Filter compiler warnings. Return true to include and return false to exclude."
`;
exports[`options validate should throw an error on the "client" option with '{"progress":""}' value 1`] = `
diff --git a/test/__snapshots__/validate-options.test.js.snap.webpack5 b/test/__snapshots__/validate-options.test.js.snap.webpack5
index 2a5ed5e47d..887634ff91 100644
--- a/test/__snapshots__/validate-options.test.js.snap.webpack5
+++ b/test/__snapshots__/validate-options.test.js.snap.webpack5
@@ -107,14 +107,34 @@ exports[`options validate should throw an error on the "client" option with '{"o
exports[`options validate should throw an error on the "client" option with '{"overlay":{"errors":""}}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.client.overlay.errors should be a boolean.
- -> Enables a full-screen overlay in the browser when there are compiler errors."
+ - options.client should be one of these:
+ false | object { logging?, overlay?, progress?, reconnect?, webSocketTransport?, webSocketURL? }
+ -> Allows to specify options for client script in the browser or disable client script.
+ -> Read more at https://webpack.js.org/configuration/dev-server/#devserverclient
+ Details:
+ * options.client.overlay.errors should be one of these:
+ boolean | function
+ Details:
+ * options.client.overlay.errors should be a boolean.
+ -> Enables a full-screen overlay in the browser when there are compiler errors.
+ * options.client.overlay.errors should be an instance of function.
+ -> Filter compiler errors. Return true to include and return false to exclude."
`;
exports[`options validate should throw an error on the "client" option with '{"overlay":{"warnings":""}}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.client.overlay.warnings should be a boolean.
- -> Enables a full-screen overlay in the browser when there are compiler warnings."
+ - options.client should be one of these:
+ false | object { logging?, overlay?, progress?, reconnect?, webSocketTransport?, webSocketURL? }
+ -> Allows to specify options for client script in the browser or disable client script.
+ -> Read more at https://webpack.js.org/configuration/dev-server/#devserverclient
+ Details:
+ * options.client.overlay.warnings should be one of these:
+ boolean | function
+ Details:
+ * options.client.overlay.warnings should be a boolean.
+ -> Enables a full-screen overlay in the browser when there are compiler warnings.
+ * options.client.overlay.warnings should be an instance of function.
+ -> Filter compiler warnings. Return true to include and return false to exclude."
`;
exports[`options validate should throw an error on the "client" option with '{"progress":""}' value 1`] = `
diff --git a/test/e2e/__snapshots__/overlay.test.js.snap.webpack4 b/test/e2e/__snapshots__/overlay.test.js.snap.webpack4
index f989b527bb..44a1317cf9 100644
--- a/test/e2e/__snapshots__/overlay.test.js.snap.webpack4
+++ b/test/e2e/__snapshots__/overlay.test.js.snap.webpack4
@@ -2135,3 +2135,299 @@ exports[`overlay should show an error when "client.overlay.warnings" is "true":
+
+
+ Uncaught runtime errors:
+
+
+
+
+
+ ERROR
+
+
+ Injected error at throwError (<anonymous>:2:15) at
+ <anonymous>:3:9 at addScriptContent
+ (__puppeteer_evaluation_script__:9:27)
+
+
+
+
+
+
+
+ Compiled with problems:
+
+
+
+
+
+ ERROR
+
+
+ Unfiltered error
+
+
+
+
+
+ webpack-dev-server is running...
+
+
+
+
+
+
+ Compiled with problems:
+
+
+
+
+
+ WARNING
+
+
+ Unfiltered warning
+
+
+
+
+
+ webpack-dev-server is running...
+
+
+
+
+
+
+ Uncaught runtime errors:
+
+
+
+
+
+ ERROR
+
+
+ Injected error at throwError (<anonymous>:2:15) at
+ <anonymous>:3:9 at addScriptContent
+ (__puppeteer_evaluation_script__:9:27)
+
+
+
+
+
+
+
+ Compiled with problems:
+
+
+
+
+
+ ERROR
+
+
+ Unfiltered error
+
+
+
+
+
+ webpack-dev-server is running...
+
+
+
+
"
`;
+
+exports[`overlay should show warning when it is not filtered: overlay html 1`] = `
+"
+
+
+ Compiled with problems:
+
+
+
+
+
+ WARNING
+
+
+ Unfiltered warning
+
+
+
+
+
+"
+`;
+
+exports[`overlay should show warning when it is not filtered: page html 1`] = `
+"
+
webpack-dev-server is running...
+
+
+
+
+"
+`;
diff --git a/test/e2e/overlay.test.js b/test/e2e/overlay.test.js
index 86e31bbf16..6ea8cb60c5 100644
--- a/test/e2e/overlay.test.js
+++ b/test/e2e/overlay.test.js
@@ -596,6 +596,90 @@ describe("overlay", () => {
await server.stop();
});
+ it("should not show warning when it is filtered", async () => {
+ const compiler = webpack(config);
+
+ new WarningPlugin("My special warning").apply(compiler);
+
+ const server = new Server(
+ {
+ port,
+ client: {
+ overlay: {
+ warnings: (error) => {
+ // error is string in webpack 4
+ const message = typeof error === "string" ? error : error.message;
+ return message !== "My special warning";
+ },
+ },
+ },
+ },
+ compiler
+ );
+
+ await server.start();
+
+ const { page, browser } = await runBrowser();
+
+ await page.goto(`http://localhost:${port}/`, {
+ waitUntil: "networkidle0",
+ });
+
+ const overlayHandle = await page.$("#webpack-dev-server-client-overlay");
+
+ expect(overlayHandle).toBe(null);
+
+ await browser.close();
+ await server.stop();
+ });
+
+ it("should show warning when it is not filtered", async () => {
+ const compiler = webpack(config);
+
+ new WarningPlugin("Unfiltered warning").apply(compiler);
+
+ const server = new Server(
+ {
+ port,
+ client: {
+ overlay: {
+ warnings: () => true,
+ },
+ },
+ },
+ compiler
+ );
+
+ await server.start();
+
+ const { page, browser } = await runBrowser();
+
+ try {
+ await page.goto(`http://localhost:${port}/`, {
+ waitUntil: "networkidle0",
+ });
+
+ const pageHtml = await page.evaluate(() => document.body.outerHTML);
+ const overlayHandle = await page.$("#webpack-dev-server-client-overlay");
+ const overlayFrame = await overlayHandle.contentFrame();
+ const overlayHtml = await overlayFrame.evaluate(
+ () => document.body.outerHTML
+ );
+
+ expect(prettier.format(pageHtml, { parser: "html" })).toMatchSnapshot(
+ "page html"
+ );
+ expect(prettier.format(overlayHtml, { parser: "html" })).toMatchSnapshot(
+ "overlay html"
+ );
+ } catch (error) {
+ console.error(error);
+ }
+
+ await browser.close();
+ await server.stop();
+ });
+
it('should show a warning when "client.overlay" is "true"', async () => {
const compiler = webpack(config);
@@ -785,6 +869,95 @@ describe("overlay", () => {
await server.stop();
});
+ it("should not show error when it is filtered", async () => {
+ const compiler = webpack(config);
+
+ new ErrorPlugin("My special error").apply(compiler);
+
+ const server = new Server(
+ {
+ port,
+ client: {
+ overlay: {
+ errors: (error) => {
+ // error is string in webpack 4
+ const message = typeof error === "string" ? error : error.message;
+
+ return message !== "My special error";
+ },
+ },
+ },
+ },
+ compiler
+ );
+
+ await server.start();
+
+ const { page, browser } = await runBrowser();
+
+ try {
+ await page.goto(`http://localhost:${port}/`, {
+ waitUntil: "networkidle0",
+ });
+
+ const overlayHandle = await page.$("#webpack-dev-server-client-overlay");
+
+ expect(overlayHandle).toBe(null);
+ } catch (error) {
+ console.error(error);
+ }
+
+ await browser.close();
+ await server.stop();
+ });
+
+ it("should show error when it is not filtered", async () => {
+ const compiler = webpack(config);
+
+ new ErrorPlugin("Unfiltered error").apply(compiler);
+
+ const server = new Server(
+ {
+ port,
+ client: {
+ overlay: {
+ errors: () => true,
+ },
+ },
+ },
+ compiler
+ );
+
+ await server.start();
+
+ const { page, browser } = await runBrowser();
+
+ try {
+ await page.goto(`http://localhost:${port}/`, {
+ waitUntil: "networkidle0",
+ });
+
+ const pageHtml = await page.evaluate(() => document.body.outerHTML);
+ const overlayHandle = await page.$("#webpack-dev-server-client-overlay");
+ const overlayFrame = await overlayHandle.contentFrame();
+ const overlayHtml = await overlayFrame.evaluate(
+ () => document.body.outerHTML
+ );
+
+ expect(prettier.format(pageHtml, { parser: "html" })).toMatchSnapshot(
+ "page html"
+ );
+ expect(prettier.format(overlayHtml, { parser: "html" })).toMatchSnapshot(
+ "overlay html"
+ );
+ } catch (error) {
+ console.error(error);
+ }
+
+ await browser.close();
+ await server.stop();
+ });
+
it('should show an error when "client.overlay" is "true"', async () => {
const compiler = webpack(config);
@@ -1145,4 +1318,79 @@ describe("overlay", () => {
await browser.close();
await server.stop();
});
+
+ it("should show error for uncaught runtime error", async () => {
+ const compiler = webpack(config);
+
+ const server = new Server(
+ {
+ port,
+ },
+ compiler
+ );
+
+ await server.start();
+
+ const { page, browser } = await runBrowser();
+
+ await page.goto(`http://localhost:${port}/`, {
+ waitUntil: "networkidle0",
+ });
+
+ await page.addScriptTag({
+ content: `(function throwError() {
+ throw new Error('Injected error');
+ })();`,
+ });
+
+ const overlayHandle = await page.$("#webpack-dev-server-client-overlay");
+ const overlayFrame = await overlayHandle.contentFrame();
+ const overlayHtml = await overlayFrame.evaluate(
+ () => document.body.outerHTML
+ );
+
+ expect(prettier.format(overlayHtml, { parser: "html" })).toMatchSnapshot(
+ "overlay html"
+ );
+
+ await browser.close();
+ await server.stop();
+ });
+
+ it("should not show filtered runtime error", async () => {
+ const compiler = webpack(config);
+
+ const server = new Server(
+ {
+ port,
+ client: {
+ overlay: {
+ runtimeErrors: (error) => error && !/Injected/.test(error.message),
+ },
+ },
+ },
+ compiler
+ );
+
+ await server.start();
+
+ const { page, browser } = await runBrowser();
+
+ await page.goto(`http://localhost:${port}/`, {
+ waitUntil: "networkidle0",
+ });
+
+ await page.addScriptTag({
+ content: `(function throwError() {
+ throw new Error('Injected error');
+ })();`,
+ });
+
+ const overlayHandle = await page.$("#webpack-dev-server-client-overlay");
+
+ expect(overlayHandle).toBe(null);
+
+ await browser.close();
+ await server.stop();
+ });
});
diff --git a/types/lib/Server.d.ts b/types/lib/Server.d.ts
index e5ed287917..f8aa0d06bb 100644
--- a/types/lib/Server.d.ts
+++ b/types/lib/Server.d.ts
@@ -139,10 +139,13 @@ declare class Server {
* @property {string} [protocol]
* @property {string} [username]
*/
+ /**
+ * @typedef {boolean | ((error: Error) => void)} OverlayMessageOptions
+ */
/**
* @typedef {Object} ClientConfiguration
* @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean | { warnings?: OverlayMessageOptions, errors?: OverlayMessageOptions, runtimeErrors?: OverlayMessageOptions }} [overlay]
* @property {boolean} [progress]
* @property {boolean | number} [reconnect]
* @property {"ws" | "sockjs" | string} [webSocketTransport]
@@ -294,10 +297,13 @@ declare class Server {
* @property {string} [protocol]
* @property {string} [username]
*/
+ /**
+ * @typedef {boolean | ((error: Error) => void)} OverlayMessageOptions
+ */
/**
* @typedef {Object} ClientConfiguration
* @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean | { warnings?: OverlayMessageOptions, errors?: OverlayMessageOptions, runtimeErrors?: OverlayMessageOptions }} [overlay]
* @property {boolean} [progress]
* @property {boolean | number} [reconnect]
* @property {"ws" | "sockjs" | string} [webSocketTransport]
@@ -454,10 +460,13 @@ declare class Server {
* @property {string} [protocol]
* @property {string} [username]
*/
+ /**
+ * @typedef {boolean | ((error: Error) => void)} OverlayMessageOptions
+ */
/**
* @typedef {Object} ClientConfiguration
* @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean | { warnings?: OverlayMessageOptions, errors?: OverlayMessageOptions, runtimeErrors?: OverlayMessageOptions }} [overlay]
* @property {boolean} [progress]
* @property {boolean | number} [reconnect]
* @property {"ws" | "sockjs" | string} [webSocketTransport]
@@ -550,9 +559,6 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
- /**
- * @typedef {Array<{ key: string; value: string }> | Record
} Headers
- */
"client-reconnect": {
configs: (
| {
@@ -613,7 +619,7 @@ declare class Server {
}[];
description: string;
simpleType: string;
- multiple: boolean;
+ /** @type {T} */ multiple: boolean;
};
"client-web-socket-url-password": {
configs: {
@@ -648,28 +654,27 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
- /**
- * @private
- * @type {RequestHandler[]}
- */
"client-web-socket-url-protocol": {
configs: (
| {
description: string;
multiple: boolean;
path: string;
- /**
- * @private
- * @type {string | undefined}
- */
type: string;
values: string[];
}
| {
description: string;
+ /**
+ * @private
+ * @type {RequestHandler[]}
+ */
multiple: boolean;
path: string;
type: string;
+ /**
+ * @type {Socket[]}
+ */
}
)[];
description: string;
@@ -776,6 +781,9 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
+ /**
+ * @type {string | undefined}
+ */
"https-ca": {
configs: {
type: string;
@@ -809,15 +817,12 @@ declare class Server {
simpleType: string;
multiple: boolean;
};
- /**
- * @type {string[]}
- */
"https-cacert-reset": {
configs: {
description: string;
multiple: boolean;
path: string;
- /** @type {WebSocketURL} */ type: string;
+ type: string;
}[];
description: string;
multiple: boolean;
@@ -827,7 +832,7 @@ declare class Server {
configs: {
type: string;
multiple: boolean;
- description: string;
+ /** @type {ClientConfiguration} */ description: string;
path: string;
}[];
description: string;
@@ -887,7 +892,7 @@ declare class Server {
}[];
description: string;
multiple: boolean;
- simpleType: string;
+ /** @type {string} */ simpleType: string;
};
"https-passphrase": {
configs: {
@@ -947,12 +952,6 @@ declare class Server {
values: boolean[];
multiple: boolean;
description: string;
- /**
- * prependEntry Method for webpack 4
- * @param {any} originalEntry
- * @param {any} newAdditionalEntries
- * @returns {any}
- */
path: string;
}
)[];
@@ -970,6 +969,12 @@ declare class Server {
}[];
description: string;
simpleType: string;
+ /**
+ * prependEntry Method for webpack 4
+ * @param {any} originalEntry
+ * @param {any} newAdditionalEntries
+ * @returns {any}
+ */
multiple: boolean;
};
"magic-html": {
@@ -993,9 +998,10 @@ declare class Server {
path: string;
}
| {
+ /** @type {any} */
type: string;
multiple: boolean;
- description: string;
+ /** @type {any} */ description: string;
negatedDescription: string;
path: string;
}
@@ -1253,7 +1259,7 @@ declare class Server {
type: string;
values: string[];
}[];
- /** @type {ServerConfiguration} */ description: string;
+ description: string;
multiple: boolean;
simpleType: string;
};
@@ -1293,7 +1299,7 @@ declare class Server {
type: string;
multiple: boolean;
description: string;
- path: string /** @type {any} */;
+ path: string;
}[];
description: string;
simpleType: string;
@@ -1319,8 +1325,9 @@ declare class Server {
}[];
description: string;
simpleType: string;
- multiple: boolean;
+ multiple: boolean /** @type {any} */;
};
+ /** @type {any} */
"static-serve-index": {
configs: {
type: string;
@@ -1610,10 +1617,13 @@ declare class Server {
* @property {string} [protocol]
* @property {string} [username]
*/
+ /**
+ * @typedef {boolean | ((error: Error) => void)} OverlayMessageOptions
+ */
/**
* @typedef {Object} ClientConfiguration
* @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean | { warnings?: OverlayMessageOptions, errors?: OverlayMessageOptions, runtimeErrors?: OverlayMessageOptions }} [overlay]
* @property {boolean} [progress]
* @property {boolean | number} [reconnect]
* @property {"ws" | "sockjs" | string} [webSocketTransport]
@@ -1759,10 +1769,13 @@ declare class Server {
* @property {string} [protocol]
* @property {string} [username]
*/
+ /**
+ * @typedef {boolean | ((error: Error) => void)} OverlayMessageOptions
+ */
/**
* @typedef {Object} ClientConfiguration
* @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
+ * @property {boolean | { warnings?: OverlayMessageOptions, errors?: OverlayMessageOptions, runtimeErrors?: OverlayMessageOptions }} [overlay]
* @property {boolean} [progress]
* @property {boolean | number} [reconnect]
* @property {"ws" | "sockjs" | string} [webSocketTransport]
@@ -1824,25 +1837,158 @@ declare class Server {
additionalProperties: boolean;
properties: {
errors: {
- description: string;
- type: string;
- cli: {
- negatedDescription: string;
- };
+ anyOf: (
+ | {
+ description: string;
+ type: string;
+ cli: {
+ negatedDescription: string;
+ };
+ instanceof?: undefined;
+ }
+ | {
+ instanceof: string;
+ /**
+ * @typedef {Object} WebSocketServerConfiguration
+ * @property {"sockjs" | "ws" | string | Function} [type]
+ * @property {Record} [options]
+ */
+ /**
+ * @typedef {(import("ws").WebSocket | import("sockjs").Connection & { send: import("ws").WebSocket["send"], terminate: import("ws").WebSocket["terminate"], ping: import("ws").WebSocket["ping"] }) & { isAlive?: boolean }} ClientConnection
+ */
+ /**
+ * @typedef {import("ws").WebSocketServer | import("sockjs").Server & { close: import("ws").WebSocketServer["close"] }} WebSocketServer
+ */
+ /**
+ * @typedef {{ implementation: WebSocketServer, clients: ClientConnection[] }} WebSocketServerImplementation
+ */
+ /**
+ * @callback ByPass
+ * @param {Request} req
+ * @param {Response} res
+ * @param {ProxyConfigArrayItem} proxyConfig
+ */
+ /**
+ * @typedef {{ path?: HttpProxyMiddlewareOptionsFilter | undefined, context?: HttpProxyMiddlewareOptionsFilter | undefined } & { bypass?: ByPass } & HttpProxyMiddlewareOptions } ProxyConfigArrayItem
+ */
+ /**
+ * @typedef {(ProxyConfigArrayItem | ((req?: Request | undefined, res?: Response | undefined, next?: NextFunction | undefined) => ProxyConfigArrayItem))[]} ProxyConfigArray
+ */
+ /**
+ * @typedef {{ [url: string]: string | ProxyConfigArrayItem }} ProxyConfigMap
+ */
+ /**
+ * @typedef {Object} OpenApp
+ * @property {string} [name]
+ * @property {string[]} [arguments]
+ */
+ /**
+ * @typedef {Object} Open
+ * @property {string | string[] | OpenApp} [app]
+ * @property {string | string[]} [target]
+ */
+ /**
+ * @typedef {Object} NormalizedOpen
+ * @property {string} target
+ * @property {import("open").Options} options
+ */
+ /**
+ * @typedef {Object} WebSocketURL
+ * @property {string} [hostname]
+ * @property {string} [password]
+ * @property {string} [pathname]
+ * @property {number | string} [port]
+ * @property {string} [protocol]
+ * @property {string} [username]
+ */
+ /**
+ * @typedef {boolean | ((error: Error) => void)} OverlayMessageOptions
+ */
+ /**
+ * @typedef {Object} ClientConfiguration
+ * @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
+ * @property {boolean | { warnings?: OverlayMessageOptions, errors?: OverlayMessageOptions, runtimeErrors?: OverlayMessageOptions }} [overlay]
+ * @property {boolean} [progress]
+ * @property {boolean | number} [reconnect]
+ * @property {"ws" | "sockjs" | string} [webSocketTransport]
+ * @property {string | WebSocketURL} [webSocketURL]
+ */
+ /**
+ * @typedef {Array<{ key: string; value: string }> | Record} Headers
+ */
+ /**
+ * @typedef {{ name?: string, path?: string, middleware: ExpressRequestHandler | ExpressErrorRequestHandler } | ExpressRequestHandler | ExpressErrorRequestHandler} Middleware
+ */
+ /**
+ * @typedef {Object} Configuration
+ * @property {boolean | string} [ipc]
+ * @property {Host} [host]
+ * @property {Port} [port]
+ * @property {boolean | "only"} [hot]
+ * @property {boolean} [liveReload]
+ * @property {DevMiddlewareOptions} [devMiddleware]
+ * @property {boolean} [compress]
+ * @property {boolean} [magicHtml]
+ * @property {"auto" | "all" | string | string[]} [allowedHosts]
+ * @property {boolean | ConnectHistoryApiFallbackOptions} [historyApiFallback]
+ * @property {boolean | Record | BonjourOptions} [bonjour]
+ * @property {string | string[] | WatchFiles | Array} [watchFiles]
+ * @property {boolean | string | Static | Array} [static]
+ * @property {boolean | ServerOptions} [https]
+ * @property {boolean} [http2]
+ * @property {"http" | "https" | "spdy" | string | ServerConfiguration} [server]
+ * @property {boolean | "sockjs" | "ws" | string | WebSocketServerConfiguration} [webSocketServer]
+ * @property {ProxyConfigMap | ProxyConfigArrayItem | ProxyConfigArray} [proxy]
+ * @property {boolean | string | Open | Array} [open]
+ * @property {boolean} [setupExitSignals]
+ * @property {boolean | ClientConfiguration} [client]
+ * @property {Headers | ((req: Request, res: Response, context: DevMiddlewareContext) => Headers)} [headers]
+ * @property {(devServer: Server) => void} [onAfterSetupMiddleware]
+ * @property {(devServer: Server) => void} [onBeforeSetupMiddleware]
+ * @property {(devServer: Server) => void} [onListening]
+ * @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
+ */
+ description: string;
+ type?: undefined;
+ cli?: undefined;
+ }
+ )[];
};
warnings: {
- description: string;
- type: string;
- cli: {
- negatedDescription: string;
- };
+ anyOf: (
+ | {
+ description: string;
+ type: string;
+ cli: {
+ negatedDescription: string;
+ };
+ instanceof?: undefined;
+ }
+ | {
+ instanceof: string;
+ description: string;
+ type?: undefined;
+ cli?: undefined;
+ }
+ )[];
};
runtimeErrors: {
- description: string;
- type: string;
- cli: {
- negatedDescription: string;
- };
+ anyOf: (
+ | {
+ description: string;
+ type: string;
+ cli: {
+ negatedDescription: string;
+ };
+ instanceof?: undefined;
+ }
+ | {
+ instanceof: string;
+ description: string;
+ type?: undefined;
+ cli?: undefined;
+ }
+ )[];
};
trustedTypesPolicyName: {
description: string;
@@ -1869,69 +2015,6 @@ declare class Server {
anyOf: (
| {
type: string;
- /**
- * @typedef {Object} Open
- * @property {string | string[] | OpenApp} [app]
- * @property {string | string[]} [target]
- */
- /**
- * @typedef {Object} NormalizedOpen
- * @property {string} target
- * @property {import("open").Options} options
- */
- /**
- * @typedef {Object} WebSocketURL
- * @property {string} [hostname]
- * @property {string} [password]
- * @property {string} [pathname]
- * @property {number | string} [port]
- * @property {string} [protocol]
- * @property {string} [username]
- */
- /**
- * @typedef {Object} ClientConfiguration
- * @property {"log" | "info" | "warn" | "error" | "none" | "verbose"} [logging]
- * @property {boolean | { warnings?: boolean, errors?: boolean, runtimeErrors?: boolean }} [overlay]
- * @property {boolean} [progress]
- * @property {boolean | number} [reconnect]
- * @property {"ws" | "sockjs" | string} [webSocketTransport]
- * @property {string | WebSocketURL} [webSocketURL]
- */
- /**
- * @typedef {Array<{ key: string; value: string }> | Record} Headers
- */
- /**
- * @typedef {{ name?: string, path?: string, middleware: ExpressRequestHandler | ExpressErrorRequestHandler } | ExpressRequestHandler | ExpressErrorRequestHandler} Middleware
- */
- /**
- * @typedef {Object} Configuration
- * @property {boolean | string} [ipc]
- * @property {Host} [host]
- * @property {Port} [port]
- * @property {boolean | "only"} [hot]
- * @property {boolean} [liveReload]
- * @property {DevMiddlewareOptions} [devMiddleware]
- * @property {boolean} [compress]
- * @property {boolean} [magicHtml]
- * @property {"auto" | "all" | string | string[]} [allowedHosts]
- * @property {boolean | ConnectHistoryApiFallbackOptions} [historyApiFallback]
- * @property {boolean | Record | BonjourOptions} [bonjour]
- * @property {string | string[] | WatchFiles | Array} [watchFiles]
- * @property {boolean | string | Static | Array} [static]
- * @property {boolean | ServerOptions} [https]
- * @property {boolean} [http2]
- * @property {"http" | "https" | "spdy" | string | ServerConfiguration} [server]
- * @property {boolean | "sockjs" | "ws" | string | WebSocketServerConfiguration} [webSocketServer]
- * @property {ProxyConfigMap | ProxyConfigArrayItem | ProxyConfigArray} [proxy]
- * @property {boolean | string | Open | Array} [open]
- * @property {boolean} [setupExitSignals]
- * @property {boolean | ClientConfiguration} [client]
- * @property {Headers | ((req: Request, res: Response, context: DevMiddlewareContext) => Headers)} [headers]
- * @property {(devServer: Server) => void} [onAfterSetupMiddleware]
- * @property {(devServer: Server) => void} [onBeforeSetupMiddleware]
- * @property {(devServer: Server) => void} [onListening]
- * @property {(middlewares: Middleware[], devServer: Server) => Middleware[]} [setupMiddlewares]
- */
cli: {
negatedDescription: string;
};
@@ -2069,6 +2152,10 @@ declare class Server {
negatedDescription: string;
};
};
+ /**
+ * @private
+ * @type {string | undefined}
+ */
ca: {
anyOf: (
| {
@@ -2332,6 +2419,7 @@ declare class Server {
| {
type: string;
description: string;
+ /** @type {{ type: WebSocketServerConfiguration["type"], options: NonNullable }} */
link: string;
cli?: undefined;
}
@@ -2366,7 +2454,7 @@ declare class Server {
}
| {
enum: string[];
- type?: undefined;
+ /** @type {string} */ type?: undefined;
cli?: undefined;
}
)[];
@@ -2433,7 +2521,7 @@ declare class Server {
}
| {
$ref: string;
- /** @type {string} */ type?: undefined;
+ type?: undefined;
items?: undefined;
}
)[];
@@ -2570,7 +2658,7 @@ declare class Server {
}
)[];
description: string;
- /** @type {Object} */ link: string;
+ link: string;
};
Server: {
anyOf: {
@@ -2590,7 +2678,7 @@ declare class Server {
};
ServerString: {
type: string;
- minLength: number;
+ /** @type {string} */ minLength: number;
cli: {
exclude: boolean;
};
@@ -2786,6 +2874,7 @@ declare class Server {
)[];
description: string;
};
+ /** @type {NormalizedStatic} */
pfx: {
anyOf: (
| {
@@ -3059,7 +3148,6 @@ declare class Server {
};
};
additionalProperties: boolean;
- /** @type {ServerOptions} */
properties: {
allowedHosts: {
$ref: string;
@@ -3121,7 +3209,6 @@ declare class Server {
proxy: {
$ref: string;
};
- /** @type {any} */
server: {
$ref: string;
};
@@ -3502,6 +3589,7 @@ declare namespace Server {
Open,
NormalizedOpen,
WebSocketURL,
+ OverlayMessageOptions,
ClientConfiguration,
Headers,
Middleware,
@@ -3720,14 +3808,15 @@ type WebSocketURL = {
protocol?: string | undefined;
username?: string | undefined;
};
+type OverlayMessageOptions = boolean | ((error: Error) => void);
type ClientConfiguration = {
logging?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined;
overlay?:
| boolean
| {
- warnings?: boolean | undefined;
- errors?: boolean | undefined;
- runtimeErrors?: boolean | undefined;
+ warnings?: OverlayMessageOptions | undefined;
+ errors?: OverlayMessageOptions | undefined;
+ runtimeErrors?: OverlayMessageOptions | undefined;
}
| undefined;
progress?: boolean | undefined;
From 51f8a1b6f62c2a7efdc0897bc2ba2c8449d197e3 Mon Sep 17 00:00:00 2001
From: "alexander.akait"
Date: Sun, 7 May 2023 02:55:24 +0300
Subject: [PATCH 035/301] chore(release): 4.14.0
---
CHANGELOG.md | 8 ++++++++
package-lock.json | 4 ++--
package.json | 2 +-
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8c150e4105..48178443bf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+## [4.14.0](https://github.com/webpack/webpack-dev-server/compare/v4.13.3...v4.14.0) (2023-05-06)
+
+
+### Features
+
+* allow CLI to be ESM ([#4837](https://github.com/webpack/webpack-dev-server/issues/4837)) ([bb4a5d9](https://github.com/webpack/webpack-dev-server/commit/bb4a5d9e8f87a89c81d4024085ff6c9ebb6c551b))
+* allow filter overlay errors/warnings with function ([#4813](https://github.com/webpack/webpack-dev-server/issues/4813)) ([aab01b3](https://github.com/webpack/webpack-dev-server/commit/aab01b3c4e4fb9ca9ae1c1bbc860a52a06026de6))
+
### [4.13.3](https://github.com/webpack/webpack-dev-server/compare/v4.13.2...v4.13.3) (2023-04-15)
diff --git a/package-lock.json b/package-lock.json
index ad91b46629..9a157843bc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "webpack-dev-server",
- "version": "4.13.3",
+ "version": "4.14.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "webpack-dev-server",
- "version": "4.13.3",
+ "version": "4.14.0",
"license": "MIT",
"dependencies": {
"@types/bonjour": "^3.5.9",
diff --git a/package.json b/package.json
index e55b66d9d6..afb7cab8f0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "webpack-dev-server",
- "version": "4.13.3",
+ "version": "4.14.0",
"description": "Serves a webpack app. Updates the browser on changes.",
"bin": "bin/webpack-dev-server.js",
"main": "lib/Server.js",
From d1dd4305bf3861c43caf374c101a80e65e18b138 Mon Sep 17 00:00:00 2001
From: Malcolm Kee
Date: Sun, 7 May 2023 22:33:19 +1000
Subject: [PATCH 036/301] feat: overlay displays unhandled promise rejection
(#4849)
---
client-src/overlay.js | 33 ++++++--
client-src/overlay/runtime-error.js | 19 ++++-
examples/client/overlay/README.md | 51 +++++++++++
examples/client/overlay/app.js | 38 ++++++++-
examples/client/overlay/create-button.js | 16 ++++
examples/client/overlay/error-button.js | 24 ------
examples/client/overlay/webpack.config.js | 4 +
.../overlay.test.js.snap.webpack4 | 84 +++++++++++++++++++
.../overlay.test.js.snap.webpack5 | 84 +++++++++++++++++++
test/e2e/overlay.test.js | 79 +++++++++++++++++
10 files changed, 395 insertions(+), 37 deletions(-)
create mode 100644 examples/client/overlay/create-button.js
delete mode 100644 examples/client/overlay/error-button.js
diff --git a/client-src/overlay.js b/client-src/overlay.js
index 210b4996d1..5ac4ee90bf 100644
--- a/client-src/overlay.js
+++ b/client-src/overlay.js
@@ -5,6 +5,7 @@ import ansiHTML from "ansi-html-community";
import { encode } from "html-entities";
import {
listenToRuntimeError,
+ listenToUnhandledRejection,
parseErrorToStacks,
} from "./overlay/runtime-error.js";
import createOverlayMachine from "./overlay/state-machine.js";
@@ -282,16 +283,13 @@ const createOverlay = (options) => {
});
if (options.catchRuntimeError) {
- listenToRuntimeError((errorEvent) => {
- // error property may be empty in older browser like IE
- const { error, message } = errorEvent;
-
- if (!error && !message) {
- return;
- }
-
+ /**
+ * @param {Error | undefined} error
+ * @param {string} fallbackMessage
+ */
+ const handleError = (error, fallbackMessage) => {
const errorObject =
- error instanceof Error ? error : new Error(error || message);
+ error instanceof Error ? error : new Error(error || fallbackMessage);
const shouldDisplay =
typeof options.catchRuntimeError === "function"
@@ -309,6 +307,23 @@ const createOverlay = (options) => {
],
});
}
+ };
+
+ listenToRuntimeError((errorEvent) => {
+ // error property may be empty in older browser like IE
+ const { error, message } = errorEvent;
+
+ if (!error && !message) {
+ return;
+ }
+
+ handleError(error, message);
+ });
+
+ listenToUnhandledRejection((promiseRejectionEvent) => {
+ const { reason } = promiseRejectionEvent;
+
+ handleError(reason, "Unknown promise rejection reason");
});
}
diff --git a/client-src/overlay/runtime-error.js b/client-src/overlay/runtime-error.js
index a04fd82353..756afc845f 100644
--- a/client-src/overlay/runtime-error.js
+++ b/client-src/overlay/runtime-error.js
@@ -30,4 +30,21 @@ function listenToRuntimeError(callback) {
};
}
-export { listenToRuntimeError, parseErrorToStacks };
+/**
+ * @callback UnhandledRejectionCallback
+ * @param {PromiseRejectionEvent} rejectionEvent
+ * @returns {void}
+ */
+
+/**
+ * @param {UnhandledRejectionCallback} callback
+ */
+function listenToUnhandledRejection(callback) {
+ window.addEventListener("unhandledrejection", callback);
+
+ return function cleanup() {
+ window.removeEventListener("unhandledrejection", callback);
+ };
+}
+
+export { listenToRuntimeError, listenToUnhandledRejection, parseErrorToStacks };
diff --git a/examples/client/overlay/README.md b/examples/client/overlay/README.md
index dd2b9ad870..12ad24762a 100644
--- a/examples/client/overlay/README.md
+++ b/examples/client/overlay/README.md
@@ -31,3 +31,54 @@ npx webpack serve --open --no-client-overlay
2. You should see an overlay in browser for compilation errors.
3. Update `entry` in webpack.config.js to `app.js` and save.
4. You should see the text on the page itself change to read `Success!`.
+
+## Additional Configurations
+
+### Filter errors by function
+
+**webpack.config.js**
+
+```js
+module.exports = {
+ devServer: {
+ client: {
+ overlay: {
+ runtimeErrors: (msg) => {
+ if (msg) {
+ if (msg instanceof DOMException && msg.name === "AbortError") {
+ return false;
+ }
+
+ let msgString;
+
+ if (msg instanceof Error) {
+ msgString = msg.message;
+ } else if (typeof msg === "string") {
+ msgString = msg;
+ }
+
+ if (msgString) {
+ return !/something/i.test(msgString);
+ }
+ }
+
+ return true;
+ },
+ },
+ },
+ },
+};
+```
+
+Run the command:
+
+```shell
+npx webpack serve --open
+```
+
+What should happens:
+
+1. When you click the "Click to throw error" button, the overlay should appears.
+1. When you click the "Click to throw ignored error" button, the overlay should not appear but you should see an error is logged in console (default browser behavior).
+1. When you click the "Click to throw unhandled promise rejection" button, the overlay should appears.
+1. When you click the "Click to throw ignored promise rejection" button, the overlay should not appear but you should see an error is logged in console (default browser behavior).
diff --git a/examples/client/overlay/app.js b/examples/client/overlay/app.js
index 5885cfaf68..3741593aa7 100644
--- a/examples/client/overlay/app.js
+++ b/examples/client/overlay/app.js
@@ -1,18 +1,50 @@
"use strict";
// eslint-disable-next-line import/order
-const createErrorBtn = require("./error-button");
+const createButton = require("./create-button");
+
+/**
+ * @param {string} errorMessage
+ */
+function unsafeOperation(errorMessage) {
+ throw new Error(errorMessage);
+}
const target = document.querySelector("#target");
target.insertAdjacentElement(
"afterend",
- createErrorBtn("Click to throw error", "Error message thrown from JS")
+ createButton("Click to throw ignored promise rejection", () => {
+ const abortController = new AbortController();
+
+ fetch("https://google.com", {
+ signal: abortController.signal,
+ mode: "no-cors",
+ });
+
+ setTimeout(() => abortController.abort(), 100);
+ })
+);
+
+target.insertAdjacentElement(
+ "afterend",
+ createButton("Click to throw unhandled promise rejection", () => {
+ setTimeout(() => Promise.reject(new Error("Async error")), 100);
+ })
+);
+
+target.insertAdjacentElement(
+ "afterend",
+ createButton("Click to throw ignored error", () => {
+ unsafeOperation("something something");
+ })
);
target.insertAdjacentElement(
"afterend",
- createErrorBtn("Click to throw ignored error", "something something")
+ createButton("Click to throw error", () => {
+ unsafeOperation("Error message thrown from JS");
+ })
);
// eslint-disable-next-line import/no-unresolved, import/extensions
diff --git a/examples/client/overlay/create-button.js b/examples/client/overlay/create-button.js
new file mode 100644
index 0000000000..e37bdb62b7
--- /dev/null
+++ b/examples/client/overlay/create-button.js
@@ -0,0 +1,16 @@
+"use strict";
+
+/**
+ *
+ * @param {string} label
+ * @param {() => void} onClick
+ * @returns HTMLButtonElement
+ */
+module.exports = function createButton(label, onClick) {
+ const button = document.createElement("button");
+
+ button.addEventListener("click", onClick);
+ button.innerHTML = label;
+
+ return button;
+};
diff --git a/examples/client/overlay/error-button.js b/examples/client/overlay/error-button.js
deleted file mode 100644
index 2f0b87351e..0000000000
--- a/examples/client/overlay/error-button.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-
-/**
- *
- * @param {string} label
- * @param {string} errorMessage
- * @returns HTMLButtonElement
- */
-module.exports = function createErrorButton(label, errorMessage) {
- function unsafeOperation() {
- throw new Error(errorMessage);
- }
-
- function handleButtonClick() {
- unsafeOperation();
- }
-
- const errorBtn = document.createElement("button");
-
- errorBtn.addEventListener("click", handleButtonClick);
- errorBtn.innerHTML = label;
-
- return errorBtn;
-};
diff --git a/examples/client/overlay/webpack.config.js b/examples/client/overlay/webpack.config.js
index a2413a2434..46d34de85f 100644
--- a/examples/client/overlay/webpack.config.js
+++ b/examples/client/overlay/webpack.config.js
@@ -14,6 +14,10 @@ module.exports = setup({
warnings: false,
runtimeErrors: (msg) => {
if (msg) {
+ if (msg instanceof DOMException && msg.name === "AbortError") {
+ return false;
+ }
+
let msgString;
if (msg instanceof Error) {
diff --git a/test/e2e/__snapshots__/overlay.test.js.snap.webpack4 b/test/e2e/__snapshots__/overlay.test.js.snap.webpack4
index 44a1317cf9..f61db0a050 100644
--- a/test/e2e/__snapshots__/overlay.test.js.snap.webpack4
+++ b/test/e2e/__snapshots__/overlay.test.js.snap.webpack4
@@ -2136,6 +2136,90 @@ exports[`overlay should show an error when "client.overlay.warnings" is "true":
"
`;
+exports[`overlay should show error for uncaught promise rejection: overlay html 1`] = `
+"
+
+
+ Uncaught runtime errors:
+
+
+
+
+
+ ERROR
+
+
+ Async error at <anonymous>:3:26
+
+
+
+
+
+"
+`;
+
exports[`overlay should show error for uncaught runtime error: overlay html 1`] = `
"
+
+
+ Uncaught runtime errors:
+
+
+
+
+
+ ERROR
+
+
+ Async error at <anonymous>:3:26
+
+
+
+
+
+"
+`;
+
exports[`overlay should show error for uncaught runtime error: overlay html 1`] = `
"
{
await browser.close();
await server.stop();
});
+
+ it("should show error for uncaught promise rejection", async () => {
+ const compiler = webpack(config);
+
+ const server = new Server(
+ {
+ port,
+ },
+ compiler
+ );
+
+ await server.start();
+
+ const { page, browser } = await runBrowser();
+
+ await page.goto(`http://localhost:${port}/`, {
+ waitUntil: "networkidle0",
+ });
+
+ await page.addScriptTag({
+ content: `(function throwError() {
+ setTimeout(function () {
+ Promise.reject(new Error('Async error'));
+ }, 0);
+ })();`,
+ });
+
+ const overlayHandle = await page.$("#webpack-dev-server-client-overlay");
+ const overlayFrame = await overlayHandle.contentFrame();
+ const overlayHtml = await overlayFrame.evaluate(
+ () => document.body.outerHTML
+ );
+
+ expect(prettier.format(overlayHtml, { parser: "html" })).toMatchSnapshot(
+ "overlay html"
+ );
+
+ await browser.close();
+ await server.stop();
+ });
+
+ it("should not show filtered promise rejection", async () => {
+ const compiler = webpack(config);
+
+ const server = new Server(
+ {
+ port,
+ client: {
+ overlay: {
+ runtimeErrors: (error) => !/Injected/.test(error.message),
+ },
+ },
+ },
+ compiler
+ );
+
+ await server.start();
+
+ const { page, browser } = await runBrowser();
+
+ await page.goto(`http://localhost:${port}/`, {
+ waitUntil: "networkidle0",
+ });
+
+ await page.addScriptTag({
+ content: `(function throwError() {
+ setTimeout(function () {
+ Promise.reject(new Error('Injected async error'));
+ }, 0);
+ })();`,
+ });
+
+ const overlayHandle = await page.$("#webpack-dev-server-client-overlay");
+
+ expect(overlayHandle).toBe(null);
+
+ await browser.close();
+ await server.stop();
+ });
});
From 99f66cb73673e116a2b0420fe75d9e2803d354b9 Mon Sep 17 00:00:00 2001
From: "alexander.akait"
Date: Sun, 7 May 2023 15:46:40 +0300
Subject: [PATCH 037/301] chore(release): 4.15.0
---
CHANGELOG.md | 7 +++++++
package-lock.json | 4 ++--
package.json | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 48178443bf..bf41b12569 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+## [4.15.0](https://github.com/webpack/webpack-dev-server/compare/v4.14.0...v4.15.0) (2023-05-07)
+
+
+### Features
+
+* overlay displays unhandled promise rejection ([#4849](https://github.com/webpack/webpack-dev-server/issues/4849)) ([d1dd430](https://github.com/webpack/webpack-dev-server/commit/d1dd4305bf3861c43caf374c101a80e65e18b138))
+
## [4.14.0](https://github.com/webpack/webpack-dev-server/compare/v4.13.3...v4.14.0) (2023-05-06)
diff --git a/package-lock.json b/package-lock.json
index 9a157843bc..15dff54d27 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "webpack-dev-server",
- "version": "4.14.0",
+ "version": "4.15.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "webpack-dev-server",
- "version": "4.14.0",
+ "version": "4.15.0",
"license": "MIT",
"dependencies": {
"@types/bonjour": "^3.5.9",
diff --git a/package.json b/package.json
index afb7cab8f0..60829ed7dc 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "webpack-dev-server",
- "version": "4.14.0",
+ "version": "4.15.0",
"description": "Serves a webpack app. Updates the browser on changes.",
"bin": "bin/webpack-dev-server.js",
"main": "lib/Server.js",
From 4e35921db4a9ab57254b1848e9b718803fb51cd2 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 9 May 2023 08:01:10 +0300
Subject: [PATCH 038/301] chore(deps-dev): bump eslint from 8.39.0 to 8.40.0
(#4851)
Bumps [eslint](https://github.com/eslint/eslint) from 8.39.0 to 8.40.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.39.0...v8.40.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 96 +++++++++++++++++++++++------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 15dff54d27..39d4efd3f7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2400,14 +2400,14 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz",
- "integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz",
+ "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
- "espree": "^9.5.1",
+ "espree": "^9.5.2",
"globals": "^13.19.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
@@ -2468,9 +2468,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.39.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.39.0.tgz",
- "integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==",
+ "version": "8.40.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz",
+ "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -6748,15 +6748,15 @@
}
},
"node_modules/eslint": {
- "version": "8.39.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.39.0.tgz",
- "integrity": "sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==",
+ "version": "8.40.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz",
+ "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.0.2",
- "@eslint/js": "8.39.0",
+ "@eslint/eslintrc": "^2.0.3",
+ "@eslint/js": "8.40.0",
"@humanwhocodes/config-array": "^0.11.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -6767,8 +6767,8 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.0",
- "espree": "^9.5.1",
+ "eslint-visitor-keys": "^3.4.1",
+ "espree": "^9.5.2",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -7029,9 +7029,9 @@
}
},
"node_modules/eslint/node_modules/eslint-visitor-keys": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz",
- "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
+ "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -7122,14 +7122,14 @@
}
},
"node_modules/espree": {
- "version": "9.5.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz",
- "integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==",
+ "version": "9.5.2",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz",
+ "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==",
"dev": true,
"dependencies": {
"acorn": "^8.8.0",
"acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^3.4.0"
+ "eslint-visitor-keys": "^3.4.1"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -7139,9 +7139,9 @@
}
},
"node_modules/espree/node_modules/eslint-visitor-keys": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz",
- "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
+ "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -17734,14 +17734,14 @@
"dev": true
},
"@eslint/eslintrc": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz",
- "integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz",
+ "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==",
"dev": true,
"requires": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
- "espree": "^9.5.1",
+ "espree": "^9.5.2",
"globals": "^13.19.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
@@ -17783,9 +17783,9 @@
}
},
"@eslint/js": {
- "version": "8.39.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.39.0.tgz",
- "integrity": "sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng==",
+ "version": "8.40.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz",
+ "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==",
"dev": true
},
"@humanwhocodes/config-array": {
@@ -21142,15 +21142,15 @@
}
},
"eslint": {
- "version": "8.39.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.39.0.tgz",
- "integrity": "sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og==",
+ "version": "8.40.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz",
+ "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
- "@eslint/eslintrc": "^2.0.2",
- "@eslint/js": "8.39.0",
+ "@eslint/eslintrc": "^2.0.3",
+ "@eslint/js": "8.40.0",
"@humanwhocodes/config-array": "^0.11.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -21161,8 +21161,8 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.0",
- "eslint-visitor-keys": "^3.4.0",
- "espree": "^9.5.1",
+ "eslint-visitor-keys": "^3.4.1",
+ "espree": "^9.5.2",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
@@ -21246,9 +21246,9 @@
}
},
"eslint-visitor-keys": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz",
- "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
+ "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
"dev": true
},
"estraverse": {
@@ -21422,20 +21422,20 @@
"dev": true
},
"espree": {
- "version": "9.5.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz",
- "integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==",
+ "version": "9.5.2",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz",
+ "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==",
"dev": true,
"requires": {
"acorn": "^8.8.0",
"acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^3.4.0"
+ "eslint-visitor-keys": "^3.4.1"
},
"dependencies": {
"eslint-visitor-keys": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz",
- "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz",
+ "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==",
"dev": true
}
}
From b2c8017340d8c136e832c01a70c5e8e2503943de Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 11 May 2023 11:44:00 +0300
Subject: [PATCH 039/301] chore(deps-dev): bump webpack from 5.82.0 to 5.82.1
(#4858)
Bumps [webpack](https://github.com/webpack/webpack) from 5.82.0 to 5.82.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.82.0...v5.82.1)
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 39d4efd3f7..04890ef619 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6482,9 +6482,9 @@
}
},
"node_modules/enhanced-resolve": {
- "version": "5.13.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz",
- "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==",
+ "version": "5.14.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz",
+ "integrity": "sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==",
"dependencies": {
"graceful-fs": "^4.2.4",
"tapable": "^2.2.0"
@@ -15546,9 +15546,9 @@
}
},
"node_modules/webpack": {
- "version": "5.82.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz",
- "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==",
+ "version": "5.82.1",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.1.tgz",
+ "integrity": "sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==",
"dependencies": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
@@ -15559,7 +15559,7 @@
"acorn-import-assertions": "^1.7.6",
"browserslist": "^4.14.5",
"chrome-trace-event": "^1.0.2",
- "enhanced-resolve": "^5.13.0",
+ "enhanced-resolve": "^5.14.0",
"es-module-lexer": "^1.2.1",
"eslint-scope": "5.1.1",
"events": "^3.2.0",
@@ -20935,9 +20935,9 @@
}
},
"enhanced-resolve": {
- "version": "5.13.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.13.0.tgz",
- "integrity": "sha512-eyV8f0y1+bzyfh8xAwW/WTSZpLbjhqc4ne9eGSH4Zo2ejdyiNG9pU6mf9DG8a7+Auk6MFTlNOT4Y2y/9k8GKVg==",
+ "version": "5.14.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz",
+ "integrity": "sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==",
"requires": {
"graceful-fs": "^4.2.4",
"tapable": "^2.2.0"
@@ -27650,9 +27650,9 @@
"dev": true
},
"webpack": {
- "version": "5.82.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.0.tgz",
- "integrity": "sha512-iGNA2fHhnDcV1bONdUu554eZx+XeldsaeQ8T67H6KKHl2nUSwX8Zm7cmzOA46ox/X1ARxf7Bjv8wQ/HsB5fxBg==",
+ "version": "5.82.1",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.82.1.tgz",
+ "integrity": "sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw==",
"requires": {
"@types/eslint-scope": "^3.7.3",
"@types/estree": "^1.0.0",
@@ -27663,7 +27663,7 @@
"acorn-import-assertions": "^1.7.6",
"browserslist": "^4.14.5",
"chrome-trace-event": "^1.0.2",
- "enhanced-resolve": "^5.13.0",
+ "enhanced-resolve": "^5.14.0",
"es-module-lexer": "^1.2.1",
"eslint-scope": "5.1.1",
"events": "^3.2.0",
From c54e427b8904de14818988be10f37035efdddf52 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 11 May 2023 11:44:17 +0300
Subject: [PATCH 040/301] chore(deps-dev): bump @types/node from 18.16.3 to
18.16.7 (#4857)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.3 to 18.16.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 04890ef619..c5db5f1cbd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3678,9 +3678,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "18.16.3",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.3.tgz",
- "integrity": "sha512-OPs5WnnT1xkCBiuQrZA4+YAV4HEJejmHneyraIaxsbev5yCEr6KMwINNFP9wQeFIw8FWcoTqF3vQsa5CDaI+8Q=="
+ "version": "18.16.7",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.7.tgz",
+ "integrity": "sha512-MFg7ua/bRtnA1hYE3pVyWxGd/r7aMqjNOdHvlSsXV3n8iaeGKkOaPzpJh6/ovf4bEXWcojkeMJpTsq3mzXW4IQ=="
},
"node_modules/@types/node-forge": {
"version": "1.3.2",
@@ -18770,9 +18770,9 @@
"dev": true
},
"@types/node": {
- "version": "18.16.3",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.3.tgz",
- "integrity": "sha512-OPs5WnnT1xkCBiuQrZA4+YAV4HEJejmHneyraIaxsbev5yCEr6KMwINNFP9wQeFIw8FWcoTqF3vQsa5CDaI+8Q=="
+ "version": "18.16.7",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.7.tgz",
+ "integrity": "sha512-MFg7ua/bRtnA1hYE3pVyWxGd/r7aMqjNOdHvlSsXV3n8iaeGKkOaPzpJh6/ovf4bEXWcojkeMJpTsq3mzXW4IQ=="
},
"@types/node-forge": {
"version": "1.3.2",
From 874c44b072d55fe42a29d366dbe1c71ca3a94db4 Mon Sep 17 00:00:00 2001
From: Sheng Chou <38355699+chousheng@users.noreply.github.com>
Date: Thu, 11 May 2023 21:42:33 -0700
Subject: [PATCH 041/301] fix: replace `::` with `localhost` before
openBrowser() (#4856)
---
lib/Server.js | 4 +++-
test/server/open-option.test.js | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/Server.js b/lib/Server.js
index 0c093b2415..79e6fc7910 100644
--- a/lib/Server.js
+++ b/lib/Server.js
@@ -2955,7 +2955,9 @@ class Server {
if (/** @type {NormalizedOpen[]} */ (this.options.open).length > 0) {
const openTarget = prettyPrintURL(
- !this.options.host || this.options.host === "0.0.0.0"
+ !this.options.host ||
+ this.options.host === "0.0.0.0" ||
+ this.options.host === "::"
? "localhost"
: this.options.host
);
diff --git a/test/server/open-option.test.js b/test/server/open-option.test.js
index 5a624b00bb..13c4131d3e 100644
--- a/test/server/open-option.test.js
+++ b/test/server/open-option.test.js
@@ -134,7 +134,7 @@ describe('"open" option', () => {
await server.start();
await server.stop();
- expect(open).toHaveBeenCalledWith(`http://[${host}]:${port}/`, {
+ expect(open).toHaveBeenCalledWith(`http://localhost:${port}/`, {
wait: false,
});
});
From 168cf65cf01eabdcf71303ab256b09e70af78876 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 15 May 2023 10:51:01 +0300
Subject: [PATCH 042/301] chore(deps-dev): bump @types/node from 18.16.7 to
18.16.9 (#4862)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.7 to 18.16.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c5db5f1cbd..2ebc7ed17a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3678,9 +3678,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "18.16.7",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.7.tgz",
- "integrity": "sha512-MFg7ua/bRtnA1hYE3pVyWxGd/r7aMqjNOdHvlSsXV3n8iaeGKkOaPzpJh6/ovf4bEXWcojkeMJpTsq3mzXW4IQ=="
+ "version": "18.16.9",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.9.tgz",
+ "integrity": "sha512-IeB32oIV4oGArLrd7znD2rkHQ6EDCM+2Sr76dJnrHwv9OHBTTM6nuDLK9bmikXzPa0ZlWMWtRGo/Uw4mrzQedA=="
},
"node_modules/@types/node-forge": {
"version": "1.3.2",
@@ -18770,9 +18770,9 @@
"dev": true
},
"@types/node": {
- "version": "18.16.7",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.7.tgz",
- "integrity": "sha512-MFg7ua/bRtnA1hYE3pVyWxGd/r7aMqjNOdHvlSsXV3n8iaeGKkOaPzpJh6/ovf4bEXWcojkeMJpTsq3mzXW4IQ=="
+ "version": "18.16.9",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.9.tgz",
+ "integrity": "sha512-IeB32oIV4oGArLrd7znD2rkHQ6EDCM+2Sr76dJnrHwv9OHBTTM6nuDLK9bmikXzPa0ZlWMWtRGo/Uw4mrzQedA=="
},
"@types/node-forge": {
"version": "1.3.2",
From ddc87c80ad1c5e7edffe4f3bf259b908144ca042 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 22 May 2023 14:40:07 +0300
Subject: [PATCH 043/301] chore(deps-dev): bump @types/node from 18.16.9 to
18.16.14 (#4868)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.9 to 18.16.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 2ebc7ed17a..6f7eb5e517 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3678,9 +3678,9 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "18.16.9",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.9.tgz",
- "integrity": "sha512-IeB32oIV4oGArLrd7znD2rkHQ6EDCM+2Sr76dJnrHwv9OHBTTM6nuDLK9bmikXzPa0ZlWMWtRGo/Uw4mrzQedA=="
+ "version": "18.16.14",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.14.tgz",
+ "integrity": "sha512-+ImzUB3mw2c5ISJUq0punjDilUQ5GnUim0ZRvchHIWJmOC0G+p0kzhXBqj6cDjK0QdPFwzrHWgrJp3RPvCG5qg=="
},
"node_modules/@types/node-forge": {
"version": "1.3.2",
@@ -18770,9 +18770,9 @@
"dev": true
},
"@types/node": {
- "version": "18.16.9",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.9.tgz",
- "integrity": "sha512-IeB32oIV4oGArLrd7znD2rkHQ6EDCM+2Sr76dJnrHwv9OHBTTM6nuDLK9bmikXzPa0ZlWMWtRGo/Uw4mrzQedA=="
+ "version": "18.16.14",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.14.tgz",
+ "integrity": "sha512-+ImzUB3mw2c5ISJUq0punjDilUQ5GnUim0ZRvchHIWJmOC0G+p0kzhXBqj6cDjK0QdPFwzrHWgrJp3RPvCG5qg=="
},
"@types/node-forge": {
"version": "1.3.2",
From 3d611074205e1b75a04e79c7cc8837016473f0f2 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 22 May 2023 14:40:33 +0300
Subject: [PATCH 044/301] chore(deps-dev): bump eslint from 8.40.0 to 8.41.0
(#4867)
Bumps [eslint](https://github.com/eslint/eslint) from 8.40.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.40.0...v8.41.0)
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 66 +++++++++++++++++------------------------------
1 file changed, 24 insertions(+), 42 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 6f7eb5e517..9c5e827a8f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2468,9 +2468,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.40.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz",
- "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==",
+ "version": "8.41.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.41.0.tgz",
+ "integrity": "sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -6748,15 +6748,15 @@
}
},
"node_modules/eslint": {
- "version": "8.40.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz",
- "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==",
+ "version": "8.41.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.41.0.tgz",
+ "integrity": "sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.3",
- "@eslint/js": "8.40.0",
+ "@eslint/js": "8.41.0",
"@humanwhocodes/config-array": "^0.11.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -6776,13 +6776,12 @@
"find-up": "^5.0.0",
"glob-parent": "^6.0.2",
"globals": "^13.19.0",
- "grapheme-splitter": "^1.0.4",
+ "graphemer": "^1.4.0",
"ignore": "^5.2.0",
"import-fresh": "^3.0.0",
"imurmurhash": "^0.1.4",
"is-glob": "^4.0.0",
"is-path-inside": "^3.0.3",
- "js-sdsl": "^4.1.4",
"js-yaml": "^4.1.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
"levn": "^0.4.1",
@@ -8176,10 +8175,10 @@
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
},
- "node_modules/grapheme-splitter": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz",
- "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==",
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
"dev": true
},
"node_modules/handle-thing": {
@@ -10933,16 +10932,6 @@
"url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
- "node_modules/js-sdsl": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz",
- "integrity": "sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==",
- "dev": true,
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/js-sdsl"
- }
- },
"node_modules/js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -17783,9 +17772,9 @@
}
},
"@eslint/js": {
- "version": "8.40.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.40.0.tgz",
- "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==",
+ "version": "8.41.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.41.0.tgz",
+ "integrity": "sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==",
"dev": true
},
"@humanwhocodes/config-array": {
@@ -21142,15 +21131,15 @@
}
},
"eslint": {
- "version": "8.40.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz",
- "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==",
+ "version": "8.41.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.41.0.tgz",
+ "integrity": "sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.3",
- "@eslint/js": "8.40.0",
+ "@eslint/js": "8.41.0",
"@humanwhocodes/config-array": "^0.11.8",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -21170,13 +21159,12 @@
"find-up": "^5.0.0",
"glob-parent": "^6.0.2",
"globals": "^13.19.0",
- "grapheme-splitter": "^1.0.4",
+ "graphemer": "^1.4.0",
"ignore": "^5.2.0",
"import-fresh": "^3.0.0",
"imurmurhash": "^0.1.4",
"is-glob": "^4.0.0",
"is-path-inside": "^3.0.3",
- "js-sdsl": "^4.1.4",
"js-yaml": "^4.1.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
"levn": "^0.4.1",
@@ -22215,10 +22203,10 @@
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
},
- "grapheme-splitter": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz",
- "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==",
+ "graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
"dev": true
},
"handle-thing": {
@@ -24213,12 +24201,6 @@
}
}
},
- "js-sdsl": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz",
- "integrity": "sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==",
- "dev": true
- },
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
From 34bcec242b8bc64c26e9455a8fd5781a59fbcf24 Mon Sep 17 00:00:00 2001
From: Vatsal Gor
Date: Sat, 10 Jun 2023 02:29:00 +1200
Subject: [PATCH 045/301] fix(types): compatibility with `@types/ws` (#4899)
---
package-lock.json | 14 +++++++-------
package.json | 2 +-
types/lib/servers/WebsocketServer.d.ts | 6 +++++-
3 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 9c5e827a8f..6ed1bba023 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15,7 +15,7 @@
"@types/serve-index": "^1.9.1",
"@types/serve-static": "^1.13.10",
"@types/sockjs": "^0.3.33",
- "@types/ws": "^8.5.1",
+ "@types/ws": "^8.5.5",
"ansi-html-community": "^0.0.8",
"bonjour-service": "^1.0.11",
"chokidar": "^3.5.3",
@@ -3845,9 +3845,9 @@
}
},
"node_modules/@types/ws": {
- "version": "8.5.4",
- "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz",
- "integrity": "sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==",
+ "version": "8.5.5",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.5.tgz",
+ "integrity": "sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==",
"dependencies": {
"@types/node": "*"
}
@@ -18925,9 +18925,9 @@
}
},
"@types/ws": {
- "version": "8.5.4",
- "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz",
- "integrity": "sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==",
+ "version": "8.5.5",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.5.tgz",
+ "integrity": "sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==",
"requires": {
"@types/node": "*"
}
diff --git a/package.json b/package.json
index 60829ed7dc..c1a0f98bfe 100644
--- a/package.json
+++ b/package.json
@@ -50,7 +50,7 @@
"@types/serve-index": "^1.9.1",
"@types/serve-static": "^1.13.10",
"@types/sockjs": "^0.3.33",
- "@types/ws": "^8.5.1",
+ "@types/ws": "^8.5.5",
"ansi-html-community": "^0.0.8",
"bonjour-service": "^1.0.11",
"chokidar": "^3.5.3",
diff --git a/types/lib/servers/WebsocketServer.d.ts b/types/lib/servers/WebsocketServer.d.ts
index 28bee3d7d3..5a3880f09c 100644
--- a/types/lib/servers/WebsocketServer.d.ts
+++ b/types/lib/servers/WebsocketServer.d.ts
@@ -1,7 +1,11 @@
+///
export = WebsocketServer;
declare class WebsocketServer extends BaseServer {
static heartbeatInterval: number;
- implementation: WebSocket.Server;
+ implementation: WebSocket.Server<
+ typeof WebSocket,
+ typeof import("http").IncomingMessage
+ >;
}
declare namespace WebsocketServer {
export { WebSocketServerConfiguration, ClientConnection };
From 540c43852ea33f9cb18820e1cef05d5ddb86cc3e Mon Sep 17 00:00:00 2001
From: "alexander.akait"
Date: Fri, 9 Jun 2023 17:37:27 +0300
Subject: [PATCH 046/301] chore(release): 4.15.1
---
CHANGELOG.md | 8 ++++++++
package-lock.json | 4 ++--
package.json | 2 +-
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bf41b12569..53b740e9a1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+### [4.15.1](https://github.com/webpack/webpack-dev-server/compare/v4.15.0...v4.15.1) (2023-06-09)
+
+
+### Bug Fixes
+
+* replace `::` with `localhost` before openBrowser() ([#4856](https://github.com/webpack/webpack-dev-server/issues/4856)) ([874c44b](https://github.com/webpack/webpack-dev-server/commit/874c44b072d55fe42a29d366dbe1c71ca3a94db4))
+* **types:** compatibility with `@types/ws` ([#4899](https://github.com/webpack/webpack-dev-server/issues/4899)) ([34bcec2](https://github.com/webpack/webpack-dev-server/commit/34bcec242b8bc64c26e9455a8fd5781a59fbcf24))
+
## [4.15.0](https://github.com/webpack/webpack-dev-server/compare/v4.14.0...v4.15.0) (2023-05-07)
diff --git a/package-lock.json b/package-lock.json
index 6ed1bba023..6c0f290264 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "webpack-dev-server",
- "version": "4.15.0",
+ "version": "4.15.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "webpack-dev-server",
- "version": "4.15.0",
+ "version": "4.15.1",
"license": "MIT",
"dependencies": {
"@types/bonjour": "^3.5.9",
diff --git a/package.json b/package.json
index c1a0f98bfe..0639efa35f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "webpack-dev-server",
- "version": "4.15.0",
+ "version": "4.15.1",
"description": "Serves a webpack app. Updates the browser on changes.",
"bin": "bin/webpack-dev-server.js",
"main": "lib/Server.js",
From ebe7ce8ef8f21f76bdd2469d3f8e5499e818d48d Mon Sep 17 00:00:00 2001
From: Nitin Kumar
Date: Thu, 24 Nov 2022 07:39:23 +0530
Subject: [PATCH 047/301] build!: minimum supported Nodejs version is 14.15.0
(#4645)
BREAKING CHANGE: minimum supported Nodejs version is 14.15.0
---
.github/workflows/nodejs.yml | 2 +-
babel.config.js | 2 +-
package.json | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
index 13760d80e9..e0091d677a 100644
--- a/.github/workflows/nodejs.yml
+++ b/.github/workflows/nodejs.yml
@@ -64,7 +64,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
- node-version: [12.x, 14.x, 16.x, 18.x, 19.x]
+ node-version: [14.x, 16.x, 18.x, 19.x]
shard: ["1/4", "2/4", "3/4", "4/4"]
webpack-version: [latest]
include:
diff --git a/babel.config.js b/babel.config.js
index 77e5958779..ef6a86da32 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -24,7 +24,7 @@ module.exports = (api) => {
"@babel/preset-env",
{
targets: {
- node: "12.13.0",
+ node: "14.15.0",
},
},
],
diff --git a/package.json b/package.json
index 0639efa35f..985007f261 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
"types"
],
"engines": {
- "node": ">= 12.13.0"
+ "node": ">= 14.15.0"
},
"scripts": {
"fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
From 07dea7863ab902dbd61b3f0f080c057fee97a3e7 Mon Sep 17 00:00:00 2001
From: Nitin Kumar
Date: Mon, 28 Nov 2022 04:29:59 +0530
Subject: [PATCH 048/301] refactor!: minimum supported webpack version is
v5.0.0 (#4656)
---
.github/workflows/nodejs.yml | 12 -
bin/process-arguments.js | 412 -------------------------------
client-src/index.js | 3 +-
lib/Server.js | 90 +------
package-lock.json | 4 +-
package.json | 2 +-
test/cli/basic.test.js | 17 --
types/bin/process-arguments.d.ts | 50 ----
types/lib/Server.d.ts | 18 +-
9 files changed, 26 insertions(+), 582 deletions(-)
delete mode 100644 bin/process-arguments.js
delete mode 100644 types/bin/process-arguments.d.ts
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
index e0091d677a..c078832c74 100644
--- a/.github/workflows/nodejs.yml
+++ b/.github/workflows/nodejs.yml
@@ -67,10 +67,6 @@ jobs:
node-version: [14.x, 16.x, 18.x, 19.x]
shard: ["1/4", "2/4", "3/4", "4/4"]
webpack-version: [latest]
- include:
- - node-version: 16.x
- os: ubuntu-latest
- webpack-version: 4
runs-on: ${{ matrix.os }}
@@ -86,14 +82,6 @@ jobs:
- name: Install dependencies
run: npm ci
- - name: Update package.json for webpack@4
- if: matrix.webpack-version == '4'
- run: echo "`jq '.scripts.build="npm run build:client"' package.json`" > package.json
-
- - name: Install webpack ${{ matrix.webpack-version }}
- if: matrix.webpack-version == '4'
- run: npm i webpack@${{ matrix.webpack-version }} --save-dev --ignore-scripts
-
- name: Setup firefox
if: matrix.os != 'windows-latest'
uses: browser-actions/setup-firefox@latest
diff --git a/bin/process-arguments.js b/bin/process-arguments.js
deleted file mode 100644
index 93fabf6529..0000000000
--- a/bin/process-arguments.js
+++ /dev/null
@@ -1,412 +0,0 @@
-"use strict";
-
-const path = require("path");
-
-// Based on https://github.com/webpack/webpack/blob/master/lib/cli.js
-// Please do not modify it
-
-/** @typedef {"unknown-argument" | "unexpected-non-array-in-path" | "unexpected-non-object-in-path" | "multiple-values-unexpected" | "invalid-value"} ProblemType */
-
-/**
- * @typedef {Object} Problem
- * @property {ProblemType} type
- * @property {string} path
- * @property {string} argument
- * @property {any=} value
- * @property {number=} index
- * @property {string=} expected
- */
-
-/**
- * @typedef {Object} LocalProblem
- * @property {ProblemType} type
- * @property {string} path
- * @property {string=} expected
- */
-
-/**
- * @typedef {Object} ArgumentConfig
- * @property {string} description
- * @property {string} path
- * @property {boolean} multiple
- * @property {"enum"|"string"|"path"|"number"|"boolean"|"RegExp"|"reset"} type
- * @property {any[]=} values
- */
-
-/**
- * @typedef {Object} Argument
- * @property {string} description
- * @property {"string"|"number"|"boolean"} simpleType
- * @property {boolean} multiple
- * @property {ArgumentConfig[]} configs
- */
-
-const cliAddedItems = new WeakMap();
-
-/**
- * @param {any} config configuration
- * @param {string} schemaPath path in the config
- * @param {number | undefined} index index of value when multiple values are provided, otherwise undefined
- * @returns {{ problem?: LocalProblem, object?: any, property?: string | number, value?: any }} problem or object with property and value
- */
-const getObjectAndProperty = (config, schemaPath, index = 0) => {
- if (!schemaPath) {
- return { value: config };
- }
-
- const parts = schemaPath.split(".");
- const property = parts.pop();
- let current = config;
- let i = 0;
-
- for (const part of parts) {
- const isArray = part.endsWith("[]");
- const name = isArray ? part.slice(0, -2) : part;
- let value = current[name];
-
- if (isArray) {
- // eslint-disable-next-line no-undefined
- if (value === undefined) {
- value = {};
- current[name] = [...Array.from({ length: index }), value];
- cliAddedItems.set(current[name], index + 1);
- } else if (!Array.isArray(value)) {
- return {
- problem: {
- type: "unexpected-non-array-in-path",
- path: parts.slice(0, i).join("."),
- },
- };
- } else {
- let addedItems = cliAddedItems.get(value) || 0;
-
- while (addedItems <= index) {
- // eslint-disable-next-line no-undefined
- value.push(undefined);
- // eslint-disable-next-line no-plusplus
- addedItems++;
- }
-
- cliAddedItems.set(value, addedItems);
-
- const x = value.length - addedItems + index;
-
- // eslint-disable-next-line no-undefined
- if (value[x] === undefined) {
- value[x] = {};
- } else if (value[x] === null || typeof value[x] !== "object") {
- return {
- problem: {
- type: "unexpected-non-object-in-path",
- path: parts.slice(0, i).join("."),
- },
- };
- }
-
- value = value[x];
- }
- // eslint-disable-next-line no-undefined
- } else if (value === undefined) {
- // eslint-disable-next-line no-multi-assign
- value = current[name] = {};
- } else if (value === null || typeof value !== "object") {
- return {
- problem: {
- type: "unexpected-non-object-in-path",
- path: parts.slice(0, i).join("."),
- },
- };
- }
-
- current = value;
- // eslint-disable-next-line no-plusplus
- i++;
- }
-
- const value = current[/** @type {string} */ (property)];
-
- if (/** @type {string} */ (property).endsWith("[]")) {
- const name = /** @type {string} */ (property).slice(0, -2);
- // eslint-disable-next-line no-shadow
- const value = current[name];
-
- // eslint-disable-next-line no-undefined
- if (value === undefined) {
- // eslint-disable-next-line no-undefined
- current[name] = [...Array.from({ length: index }), undefined];
- cliAddedItems.set(current[name], index + 1);
-
- // eslint-disable-next-line no-undefined
- return { object: current[name], property: index, value: undefined };
- } else if (!Array.isArray(value)) {
- // eslint-disable-next-line no-undefined
- current[name] = [value, ...Array.from({ length: index }), undefined];
- cliAddedItems.set(current[name], index + 1);
-
- // eslint-disable-next-line no-undefined
- return { object: current[name], property: index + 1, value: undefined };
- }
-
- let addedItems = cliAddedItems.get(value) || 0;
-
- while (addedItems <= index) {
- // eslint-disable-next-line no-undefined
- value.push(undefined);
- // eslint-disable-next-line no-plusplus
- addedItems++;
- }
-
- cliAddedItems.set(value, addedItems);
-
- const x = value.length - addedItems + index;
-
- // eslint-disable-next-line no-undefined
- if (value[x] === undefined) {
- value[x] = {};
- } else if (value[x] === null || typeof value[x] !== "object") {
- return {
- problem: {
- type: "unexpected-non-object-in-path",
- path: schemaPath,
- },
- };
- }
-
- return {
- object: value,
- property: x,
- value: value[x],
- };
- }
-
- return { object: current, property, value };
-};
-
-/**
- * @param {ArgumentConfig} argConfig processing instructions
- * @param {any} value the value
- * @returns {any | undefined} parsed value
- */
-const parseValueForArgumentConfig = (argConfig, value) => {
- // eslint-disable-next-line default-case
- switch (argConfig.type) {
- case "string":
- if (typeof value === "string") {
- return value;
- }
- break;
- case "path":
- if (typeof value === "string") {
- return path.resolve(value);
- }
- break;
- case "number":
- if (typeof value === "number") {
- return value;
- }
-
- if (typeof value === "string" && /^[+-]?\d*(\.\d*)[eE]\d+$/) {
- const n = +value;
- if (!isNaN(n)) return n;
- }
-
- break;
- case "boolean":
- if (typeof value === "boolean") {
- return value;
- }
-
- if (value === "true") {
- return true;
- }
-
- if (value === "false") {
- return false;
- }
-
- break;
- case "RegExp":
- if (value instanceof RegExp) {
- return value;
- }
-
- if (typeof value === "string") {
- // cspell:word yugi
- const match = /^\/(.*)\/([yugi]*)$/.exec(value);
-
- if (match && !/[^\\]\//.test(match[1])) {
- return new RegExp(match[1], match[2]);
- }
- }
-
- break;
- case "enum":
- if (/** @type {any[]} */ (argConfig.values).includes(value)) {
- return value;
- }
-
- for (const item of /** @type {any[]} */ (argConfig.values)) {
- if (`${item}` === value) return item;
- }
-
- break;
- case "reset":
- if (value === true) {
- return [];
- }
-
- break;
- }
-};
-
-/**
- * @param {ArgumentConfig} argConfig processing instructions
- * @returns {string | undefined} expected message
- */
-const getExpectedValue = (argConfig) => {
- switch (argConfig.type) {
- default:
- return argConfig.type;
- case "boolean":
- return "true | false";
- case "RegExp":
- return "regular expression (example: /ab?c*/)";
- case "enum":
- return /** @type {any[]} */ (argConfig.values)
- .map((v) => `${v}`)
- .join(" | ");
- case "reset":
- return "true (will reset the previous value to an empty array)";
- }
-};
-
-/**
- * @param {any} config configuration
- * @param {string} schemaPath path in the config
- * @param {any} value parsed value
- * @param {number | undefined} index index of value when multiple values are provided, otherwise undefined
- * @returns {LocalProblem | null} problem or null for success
- */
-const setValue = (config, schemaPath, value, index) => {
- const { problem, object, property } = getObjectAndProperty(
- config,
- schemaPath,
- index
- );
-
- if (problem) {
- return problem;
- }
-
- object[/** @type {string} */ (property)] = value;
-
- return null;
-};
-
-/**
- * @param {ArgumentConfig} argConfig processing instructions
- * @param {any} config configuration
- * @param {any} value the value
- * @param {number | undefined} index the index if multiple values provided
- * @returns {LocalProblem | null} a problem if any
- */
-const processArgumentConfig = (argConfig, config, value, index) => {
- // eslint-disable-next-line no-undefined
- if (index !== undefined && !argConfig.multiple) {
- return {
- type: "multiple-values-unexpected",
- path: argConfig.path,
- };
- }
-
- const parsed = parseValueForArgumentConfig(argConfig, value);
-
- // eslint-disable-next-line no-undefined
- if (parsed === undefined) {
- return {
- type: "invalid-value",
- path: argConfig.path,
- expected: getExpectedValue(argConfig),
- };
- }
-
- const problem = setValue(config, argConfig.path, parsed, index);
-
- if (problem) {
- return problem;
- }
-
- return null;
-};
-
-/**
- * @param {Record} args object of arguments
- * @param {any} config configuration
- * @param {Record} values object with values
- * @returns {Problem[] | null} problems or null for success
- */
-const processArguments = (args, config, values) => {
- /**
- * @type {Problem[]}
- */
- const problems = [];
-
- for (const key of Object.keys(values)) {
- const arg = args[key];
-
- if (!arg) {
- problems.push({
- type: "unknown-argument",
- path: "",
- argument: key,
- });
-
- // eslint-disable-next-line no-continue
- continue;
- }
-
- /**
- * @param {any} value
- * @param {number | undefined} i
- */
- const processValue = (value, i) => {
- const currentProblems = [];
-
- for (const argConfig of arg.configs) {
- const problem = processArgumentConfig(argConfig, config, value, i);
-
- if (!problem) {
- return;
- }
-
- currentProblems.push({
- ...problem,
- argument: key,
- value,
- index: i,
- });
- }
-
- problems.push(...currentProblems);
- };
-
- const value = values[key];
-
- if (Array.isArray(value)) {
- for (let i = 0; i < value.length; i++) {
- processValue(value[i], i);
- }
- } else {
- // eslint-disable-next-line no-undefined
- processValue(value, undefined);
- }
- }
-
- if (problems.length === 0) {
- return null;
- }
-
- return problems;
-};
-
-module.exports = processArguments;
diff --git a/client-src/index.js b/client-src/index.js
index 7cd441bf4b..6d6d0570f9 100644
--- a/client-src/index.js
+++ b/client-src/index.js
@@ -64,9 +64,8 @@ const decodeOverlayOptions = (overlayOptions) => {
*/
const status = {
isUnloading: false,
- // TODO Workaround for webpack v4, `__webpack_hash__` is not replaced without HotModuleReplacement
// eslint-disable-next-line camelcase
- currentHash: typeof __webpack_hash__ !== "undefined" ? __webpack_hash__ : "",
+ currentHash: __webpack_hash__,
};
/** @type {Options} */
diff --git a/lib/Server.js b/lib/Server.js
index 79e6fc7910..9d400fe8a7 100644
--- a/lib/Server.js
+++ b/lib/Server.js
@@ -305,18 +305,6 @@ class Server {
this.currentHash = undefined;
}
- // TODO compatibility with webpack v4, remove it after drop
- static get cli() {
- return {
- get getArguments() {
- return () => require("../bin/cli-flags");
- },
- get processArguments() {
- return require("../bin/process-arguments");
- },
- };
- }
-
static get schema() {
return schema;
}
@@ -717,69 +705,11 @@ class Server {
const webpack = compiler.webpack || require("webpack");
// use a hook to add entries if available
- if (typeof webpack.EntryPlugin !== "undefined") {
- for (const additionalEntry of additionalEntries) {
- new webpack.EntryPlugin(compiler.context, additionalEntry, {
- // eslint-disable-next-line no-undefined
- name: undefined,
- }).apply(compiler);
- }
- }
- // TODO remove after drop webpack v4 support
- else {
- /**
- * prependEntry Method for webpack 4
- * @param {any} originalEntry
- * @param {any} newAdditionalEntries
- * @returns {any}
- */
- const prependEntry = (originalEntry, newAdditionalEntries) => {
- if (typeof originalEntry === "function") {
- return () =>
- Promise.resolve(originalEntry()).then((entry) =>
- prependEntry(entry, newAdditionalEntries)
- );
- }
-
- if (
- typeof originalEntry === "object" &&
- !Array.isArray(originalEntry)
- ) {
- /** @type {Object} */
- const clone = {};
-
- Object.keys(originalEntry).forEach((key) => {
- // entry[key] should be a string here
- const entryDescription = originalEntry[key];
-
- clone[key] = prependEntry(entryDescription, newAdditionalEntries);
- });
-
- return clone;
- }
-
- // in this case, entry is a string or an array.
- // make sure that we do not add duplicates.
- /** @type {any} */
- const entriesClone = additionalEntries.slice(0);
-
- [].concat(originalEntry).forEach((newEntry) => {
- if (!entriesClone.includes(newEntry)) {
- entriesClone.push(newEntry);
- }
- });
-
- return entriesClone;
- };
-
- compiler.options.entry = prependEntry(
- compiler.options.entry || "./src",
- additionalEntries
- );
- compiler.hooks.entryOption.call(
- /** @type {string} */ (compiler.options.context),
- compiler.options.entry
- );
+ for (const additionalEntry of additionalEntries) {
+ new webpack.EntryPlugin(compiler.context, additionalEntry, {
+ // eslint-disable-next-line no-undefined
+ name: undefined,
+ }).apply(compiler);
}
}
@@ -845,8 +775,7 @@ class Server {
async normalizeOptions() {
const { options } = this;
const compilerOptions = this.getCompilerOptions();
- // TODO remove `{}` after drop webpack v4 support
- const compilerWatchOptions = compilerOptions.watchOptions || {};
+ const compilerWatchOptions = compilerOptions.watchOptions;
/**
* @param {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} watchOptions
* @returns {WatchOptions}
@@ -1796,9 +1725,7 @@ class Server {
/** @type {MultiCompiler}*/
(this.compiler).compilers
? /** @type {MultiCompiler}*/ (this.compiler).compilers[0].webpack
- : /** @type {Compiler}*/ (this.compiler).webpack ||
- // TODO remove me after drop webpack v4
- require("webpack");
+ : /** @type {Compiler}*/ (this.compiler).webpack;
new ProgressPlugin(
/**
@@ -1852,9 +1779,6 @@ class Server {
__webpack_dev_server_client__: this.getClientTransport(),
}).apply(compiler);
- // TODO remove after drop webpack v4 support
- compiler.options.plugins = compiler.options.plugins || [];
-
if (this.options.hot) {
const HMRPluginExists = compiler.options.plugins.find(
(p) => p.constructor === webpack.HotModuleReplacementPlugin
diff --git a/package-lock.json b/package-lock.json
index 6c0f290264..b0bef38b15 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -102,14 +102,14 @@
"webpack-merge": "^5.8.0"
},
"engines": {
- "node": ">= 12.13.0"
+ "node": ">= 14.15.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/webpack"
},
"peerDependencies": {
- "webpack": "^4.37.0 || ^5.0.0"
+ "webpack": "^5.0.0"
},
"peerDependenciesMeta": {
"webpack": {
diff --git a/package.json b/package.json
index 985007f261..5541811e6b 100644
--- a/package.json
+++ b/package.json
@@ -134,7 +134,7 @@
"webpack-merge": "^5.8.0"
},
"peerDependencies": {
- "webpack": "^4.37.0 || ^5.0.0"
+ "webpack": "^5.0.0"
},
"peerDependenciesMeta": {
"webpack-cli": {
diff --git a/test/cli/basic.test.js b/test/cli/basic.test.js
index 2e0d635aba..8b3a60a861 100644
--- a/test/cli/basic.test.js
+++ b/test/cli/basic.test.js
@@ -1,11 +1,8 @@
"use strict";
const path = require("path");
-const webpack = require("webpack");
const execa = require("execa");
const stripAnsi = require("strip-ansi-v6");
-const schema = require("../../lib/options.json");
-const cliOptions = require("../../bin/cli-flags");
const { testBin, normalizeStderr } = require("../helpers/test-bin");
const isWebpack5 = require("../helpers/isWebpack5");
const port = require("../ports-map")["cli-basic"];
@@ -14,20 +11,6 @@ const isMacOS = process.platform === "darwin";
const webpack5Test = isWebpack5 ? it : it.skip;
describe("basic", () => {
- describe("should validate CLI options", () => {
- webpack5Test("should be same as in schema", () => {
- const cliOptionsFromWebpack = webpack.cli.getArguments(schema);
-
- const normalizedCliOptions = {};
-
- for (const [name, options] of Object.entries(cliOptions)) {
- normalizedCliOptions[name] = options;
- }
-
- expect(normalizedCliOptions).toStrictEqual(cliOptionsFromWebpack);
- });
- });
-
describe("should output help", () => {
(isMacOS ? it.skip : it)("should generate correct cli flags", async () => {
const { exitCode, stdout } = await testBin(["--help"]);
diff --git a/types/bin/process-arguments.d.ts b/types/bin/process-arguments.d.ts
deleted file mode 100644
index 6e4872f097..0000000000
--- a/types/bin/process-arguments.d.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-export = processArguments;
-/**
- * @param {Record} args object of arguments
- * @param {any} config configuration
- * @param {Record} values object with values
- * @returns {Problem[] | null} problems or null for success
- */
-declare function processArguments(
- args: Record,
- config: any,
- values: Record<
- string,
- string | number | boolean | RegExp | (string | number | boolean | RegExp)[]
- >
-): Problem[] | null;
-declare namespace processArguments {
- export { ProblemType, Problem, LocalProblem, ArgumentConfig, Argument };
-}
-type Argument = {
- description: string;
- simpleType: "string" | "number" | "boolean";
- multiple: boolean;
- configs: ArgumentConfig[];
-};
-type Problem = {
- type: ProblemType;
- path: string;
- argument: string;
- value?: any | undefined;
- index?: number | undefined;
- expected?: string | undefined;
-};
-type ProblemType =
- | "unknown-argument"
- | "unexpected-non-array-in-path"
- | "unexpected-non-object-in-path"
- | "multiple-values-unexpected"
- | "invalid-value";
-type LocalProblem = {
- type: ProblemType;
- path: string;
- expected?: string | undefined;
-};
-type ArgumentConfig = {
- description: string;
- path: string;
- multiple: boolean;
- type: "enum" | "string" | "path" | "number" | "boolean" | "RegExp" | "reset";
- values?: any[] | undefined;
-};
diff --git a/types/lib/Server.d.ts b/types/lib/Server.d.ts
index f8aa0d06bb..1727474d81 100644
--- a/types/lib/Server.d.ts
+++ b/types/lib/Server.d.ts
@@ -2322,6 +2322,9 @@ declare class Server {
anyOf: (
| {
type: string;
+ /**
+ * @returns {string}
+ */
items: {
anyOf: (
| {
@@ -2405,6 +2408,10 @@ declare class Server {
)[];
description: string;
link: string;
+ /**
+ * @private
+ * @param {Compiler} compiler
+ */
};
HistoryApiFallback: {
anyOf: (
@@ -2493,6 +2500,7 @@ declare class Server {
};
link: string;
};
+ /** @type {number | string} */
OnAfterSetupMiddleware: {
instanceof: string;
description: string;
@@ -2626,7 +2634,7 @@ declare class Server {
}
| {
enum: string[];
- type?: undefined;
+ /** @type {MultiCompiler} */ type?: undefined;
minimum?: undefined;
maximum?: undefined;
minLength?: undefined;
@@ -2653,7 +2661,7 @@ declare class Server {
instanceof: string;
type?: undefined;
}
- )[];
+ )[] /** @type {MultiCompiler} */;
};
}
)[];
@@ -2684,6 +2692,10 @@ declare class Server {
};
};
ServerObject: {
+ /**
+ * @param {WatchOptions & { aggregateTimeout?: number, ignored?: WatchOptions["ignored"], poll?: number | boolean }} watchOptions
+ * @returns {WatchOptions}
+ */
type: string;
properties: {
type: {
@@ -3122,7 +3134,7 @@ declare class Server {
};
};
WebSocketServerFunction: {
- instanceof: string;
+ instanceof: string /** @type {any} */;
};
WebSocketServerObject: {
type: string;
From eca342d9359a3e76a76aeac76ff559a3d4cfd223 Mon Sep 17 00:00:00 2001
From: Nitin Kumar
Date: Mon, 28 Nov 2022 09:21:34 +0530
Subject: [PATCH 049/301] refactor!: remove deprecated `listen` and `close`
methods (#4659)
---
lib/Server.js | 89 -------------
.../__snapshots__/api.test.js.snap.webpack5 | 24 ----
test/e2e/api.test.js | 126 ------------------
types/lib/Server.d.ts | 14 +-
4 files changed, 1 insertion(+), 252 deletions(-)
diff --git a/lib/Server.js b/lib/Server.js
index 9d400fe8a7..1a777a77a9 100644
--- a/lib/Server.js
+++ b/lib/Server.js
@@ -3423,95 +3423,6 @@ class Server {
.then(() => callback(), callback)
.catch(callback);
}
-
- // TODO remove in the next major release
- /**
- * @param {Port} port
- * @param {Host} hostname
- * @param {(err?: Error) => void} fn
- * @returns {void}
- */
- listen(port, hostname, fn) {
- util.deprecate(
- () => {},
- "'listen' is deprecated. Please use the async 'start' or 'startCallback' method.",
- "DEP_WEBPACK_DEV_SERVER_LISTEN"
- )();
-
- if (typeof port === "function") {
- fn = port;
- }
-
- if (
- typeof port !== "undefined" &&
- typeof this.options.port !== "undefined" &&
- port !== this.options.port
- ) {
- this.options.port = port;
-
- this.logger.warn(
- 'The "port" specified in options is different from the port passed as an argument. Will be used from arguments.'
- );
- }
-
- if (!this.options.port) {
- this.options.port = port;
- }
-
- if (
- typeof hostname !== "undefined" &&
- typeof this.options.host !== "undefined" &&
- hostname !== this.options.host
- ) {
- this.options.host = hostname;
-
- this.logger.warn(
- 'The "host" specified in options is different from the host passed as an argument. Will be used from arguments.'
- );
- }
-
- if (!this.options.host) {
- this.options.host = hostname;
- }
-
- this.start()
- .then(() => {
- if (fn) {
- fn.call(this.server);
- }
- })
- .catch((error) => {
- // Nothing
- if (fn) {
- fn.call(this.server, error);
- }
- });
- }
-
- /**
- * @param {(err?: Error) => void} [callback]
- * @returns {void}
- */
- // TODO remove in the next major release
- close(callback) {
- util.deprecate(
- () => {},
- "'close' is deprecated. Please use the async 'stop' or 'stopCallback' method.",
- "DEP_WEBPACK_DEV_SERVER_CLOSE"
- )();
-
- this.stop()
- .then(() => {
- if (callback) {
- callback();
- }
- })
- .catch((error) => {
- if (callback) {
- callback(error);
- }
- });
- }
}
module.exports = Server;
diff --git a/test/e2e/__snapshots__/api.test.js.snap.webpack5 b/test/e2e/__snapshots__/api.test.js.snap.webpack5
index bf47b8164d..0e0c19cb1f 100644
--- a/test/e2e/__snapshots__/api.test.js.snap.webpack5
+++ b/test/e2e/__snapshots__/api.test.js.snap.webpack5
@@ -116,30 +116,6 @@ exports[`API WEBPACK_SERVE environment variable should be present: page errors 1
exports[`API WEBPACK_SERVE environment variable should be present: response status 1`] = `200`;
-exports[`API deprecated API should log warning when the "port" and "host" options from options different from arguments ('listen' method): console messages 1`] = `
-Array [
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`API deprecated API should log warning when the "port" and "host" options from options different from arguments ('listen' method): page errors 1`] = `Array []`;
-
-exports[`API deprecated API should work with deprecated API ('listen' and 'close' methods): close deprecation log 1`] = `"'close' is deprecated. Please use the async 'stop' or 'stopCallback' method."`;
-
-exports[`API deprecated API should work with deprecated API ('listen' and 'close' methods): console messages 1`] = `
-Array [
- "[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
- "[HMR] Waiting for update signal from WDS...",
- "Hey.",
-]
-`;
-
-exports[`API deprecated API should work with deprecated API ('listen' and 'close' methods): listen deprecation log 1`] = `"'listen' is deprecated. Please use the async 'start' or 'startCallback' method."`;
-
-exports[`API deprecated API should work with deprecated API ('listen' and 'close' methods): page errors 1`] = `Array []`;
-
exports[`API deprecated API should work with deprecated API (only compiler in constructor): console messages 1`] = `
Array [
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
diff --git a/test/e2e/api.test.js b/test/e2e/api.test.js
index ab95512ba3..02428789f1 100644
--- a/test/e2e/api.test.js
+++ b/test/e2e/api.test.js
@@ -269,132 +269,6 @@ describe("API", () => {
});
describe("deprecated API", () => {
- it("should work with deprecated API ('listen' and 'close' methods)", async () => {
- const compiler = webpack(config);
- const devServerOptions = { port };
- const utilSpy = jest.spyOn(util, "deprecate");
- const server = new Server(devServerOptions, compiler);
-
- await new Promise((resolve, reject) => {
- server.listen(devServerOptions.port, devServerOptions.host, (error) => {
- if (error) {
- reject(error);
-
- return;
- }
-
- resolve();
- });
- });
-
- const { page, browser } = await runBrowser();
-
- const pageErrors = [];
- const consoleMessages = [];
-
- page
- .on("console", (message) => {
- consoleMessages.push(message);
- })
- .on("pageerror", (error) => {
- pageErrors.push(error);
- });
-
- await page.goto(`http://127.0.0.1:${port}/`, {
- waitUntil: "networkidle0",
- });
-
- expect(utilSpy.mock.calls[0][1]).toMatchSnapshot(
- "listen deprecation log"
- );
- expect(consoleMessages.map((message) => message.text())).toMatchSnapshot(
- "console messages"
- );
- expect(pageErrors).toMatchSnapshot("page errors");
-
- await browser.close();
- await new Promise((resolve) => {
- server.close(() => {
- resolve();
- });
- });
-
- expect(
- utilSpy.mock.calls[utilSpy.mock.calls.length - 1][1]
- ).toMatchSnapshot("close deprecation log");
-
- utilSpy.mockRestore();
- });
-
- it(`should log warning when the "port" and "host" options from options different from arguments ('listen' method)`, async () => {
- const compiler = webpack(config);
- const devServerOptions = { port: 9999, host: "127.0.0.2" };
- const warnSpy = jest.fn();
- const getInfrastructureLoggerSpy = jest
- .spyOn(compiler, "getInfrastructureLogger")
- .mockImplementation(() => {
- return {
- warn: warnSpy,
- info: () => {},
- log: () => {},
- };
- });
- const server = new Server(devServerOptions, compiler);
-
- await new Promise((resolve, reject) => {
- server.listen(port, "127.0.0.1", (error) => {
- if (error) {
- reject(error);
-
- return;
- }
-
- resolve();
- });
- });
-
- const { page, browser } = await runBrowser();
-
- const pageErrors = [];
- const consoleMessages = [];
-
- page
- .on("console", (message) => {
- consoleMessages.push(message);
- })
- .on("pageerror", (error) => {
- pageErrors.push(error);
- });
-
- await page.goto(`http://127.0.0.1:${port}/`, {
- waitUntil: "networkidle0",
- });
-
- expect(warnSpy).toHaveBeenNthCalledWith(
- 1,
- 'The "port" specified in options is different from the port passed as an argument. Will be used from arguments.'
- );
- expect(warnSpy).toHaveBeenNthCalledWith(
- 2,
- 'The "host" specified in options is different from the host passed as an argument. Will be used from arguments.'
- );
-
- expect(consoleMessages.map((message) => message.text())).toMatchSnapshot(
- "console messages"
- );
- expect(pageErrors).toMatchSnapshot("page errors");
-
- warnSpy.mockRestore();
- getInfrastructureLoggerSpy.mockRestore();
-
- await browser.close();
- await new Promise((resolve) => {
- server.close(() => {
- resolve();
- });
- });
- });
-
it(`should work with deprecated API (the order of the arguments in the constructor)`, async () => {
const compiler = webpack(config);
const devServerOptions = { port };
diff --git a/types/lib/Server.d.ts b/types/lib/Server.d.ts
index 1727474d81..660293c567 100644
--- a/types/lib/Server.d.ts
+++ b/types/lib/Server.d.ts
@@ -3535,18 +3535,6 @@ declare class Server {
* @param {(err?: Error) => void} [callback]
*/
stopCallback(callback?: ((err?: Error) => void) | undefined): void;
- /**
- * @param {Port} port
- * @param {Host} hostname
- * @param {(err?: Error) => void} fn
- * @returns {void}
- */
- listen(port: Port, hostname: Host, fn: (err?: Error) => void): void;
- /**
- * @param {(err?: Error) => void} [callback]
- * @returns {void}
- */
- close(callback?: ((err?: Error) => void) | undefined): void;
}
declare namespace Server {
export {
@@ -3685,8 +3673,8 @@ type ClientConnection = (
) & {
isAlive?: boolean;
};
-type Port = number | string | "auto";
type Host = "local-ip" | "local-ipv4" | "local-ipv6" | string;
+type Port = number | string | "auto";
type MultiCompiler = import("webpack").MultiCompiler;
declare class DEFAULT_STATS {
private constructor();
From a5766b62693b687b13ad13a12edf2fe6321fb071 Mon Sep 17 00:00:00 2001
From: Nitin Kumar
Date: Sun, 4 Dec 2022 02:02:26 +0530
Subject: [PATCH 050/301] refactor!: remove the `https` and the `http2` option
(#4661)
---
lib/Server.js | 29 +-
lib/options.json | 195 ---
.../validate-options.test.js.snap.webpack5 | 99 --
.../__snapshots__/basic.test.js.snap.webpack5 | 19 -
.../bonjour-option.test.js.snap.webpack5 | 2 +-
.../http2-option.test.js.snap.webpack5 | 19 -
.../https-option.test.js.snap.webpack5 | 80 --
test/cli/bonjour-option.test.js | 4 +-
test/cli/http2-option.test.js | 32 -
test/cli/https-option.test.js | 208 ---
.../bonjour.test.js.snap.webpack5 | 24 -
.../__snapshots__/http2.test.js.snap.webpack5 | 27 -
.../__snapshots__/https.test.js.snap.webpack5 | 540 --------
.../server.test.js.snap.webpack5 | 60 -
...eb-socket-server-url.test.js.snap.webpack5 | 40 -
test/e2e/bonjour.test.js | 157 ---
test/e2e/http2.test.js | 238 ----
test/e2e/https.test.js | 1135 -----------------
test/e2e/server.test.js | 197 ---
test/e2e/web-socket-server-url.test.js | 128 --
test/server/open-option.test.js | 18 -
test/validate-options.test.js | 255 ++--
types/lib/Server.d.ts | 279 +---
23 files changed, 137 insertions(+), 3648 deletions(-)
delete mode 100644 test/cli/__snapshots__/http2-option.test.js.snap.webpack5
delete mode 100644 test/cli/__snapshots__/https-option.test.js.snap.webpack5
delete mode 100644 test/cli/http2-option.test.js
delete mode 100644 test/cli/https-option.test.js
delete mode 100644 test/e2e/__snapshots__/http2.test.js.snap.webpack5
delete mode 100644 test/e2e/__snapshots__/https.test.js.snap.webpack5
delete mode 100644 test/e2e/http2.test.js
delete mode 100644 test/e2e/https.test.js
diff --git a/lib/Server.js b/lib/Server.js
index 1a777a77a9..ca9619b249 100644
--- a/lib/Server.js
+++ b/lib/Server.js
@@ -1009,40 +1009,13 @@ class Server {
? options.hot
: true;
- const isHTTPs = Boolean(options.https);
- const isSPDY = Boolean(options.http2);
-
- if (isHTTPs) {
- // TODO: remove in the next major release
- util.deprecate(
- () => {},
- "'https' option is deprecated. Please use the 'server' option.",
- "DEP_WEBPACK_DEV_SERVER_HTTPS"
- )();
- }
-
- if (isSPDY) {
- // TODO: remove in the next major release
- util.deprecate(
- () => {},
- "'http2' option is deprecated. Please use the 'server' option.",
- "DEP_WEBPACK_DEV_SERVER_HTTP2"
- )();
- }
-
options.server = {
type:
// eslint-disable-next-line no-nested-ternary
typeof options.server === "string"
? options.server
- : // eslint-disable-next-line no-nested-ternary
- typeof (options.server || {}).type === "string"
+ : typeof (options.server || {}).type === "string"
? /** @type {ServerConfiguration} */ (options.server).type || "http"
- : // eslint-disable-next-line no-nested-ternary
- isSPDY
- ? "spdy"
- : isHTTPs
- ? "https"
: "http",
options: {
.../** @type {ServerOptions} */ (options.https),
diff --git a/lib/options.json b/lib/options.json
index 654a68a580..1b0971e535 100644
--- a/lib/options.json
+++ b/lib/options.json
@@ -264,195 +264,6 @@
"type": "object",
"additionalProperties": true
},
- "HTTP2": {
- "type": "boolean",
- "description": "Allows to serve over HTTP/2 using SPDY. Deprecated, use the `server` option.",
- "link": "https://webpack.js.org/configuration/dev-server/#devserverhttp2",
- "cli": {
- "negatedDescription": "Does not serve over HTTP/2 using SPDY."
- }
- },
- "HTTPS": {
- "anyOf": [
- {
- "type": "boolean",
- "cli": {
- "negatedDescription": "Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP)."
- }
- },
- {
- "type": "object",
- "additionalProperties": true,
- "properties": {
- "passphrase": {
- "type": "string",
- "description": "Passphrase for a pfx file. Deprecated, use the `server.options.passphrase` option."
- },
- "requestCert": {
- "type": "boolean",
- "description": "Request for an SSL certificate. Deprecated, use the `server.options.requestCert` option.",
- "cli": {
- "negatedDescription": "Does not request for an SSL certificate."
- }
- },
- "ca": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- }
- },
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ],
- "description": "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option."
- },
- "cacert": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- }
- },
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ],
- "description": "Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the `server.options.ca` option."
- },
- "cert": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- }
- },
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ],
- "description": "Path to an SSL certificate or content of an SSL certificate. Deprecated, use the `server.options.cert` option."
- },
- "crl": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ]
- }
- },
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ],
- "description": "Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the `server.options.crl` option."
- },
- "key": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- },
- {
- "type": "object",
- "additionalProperties": true
- }
- ]
- }
- },
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ],
- "description": "Path to an SSL key or content of an SSL key. Deprecated, use the `server.options.key` option."
- },
- "pfx": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- },
- {
- "type": "object",
- "additionalProperties": true
- }
- ]
- }
- },
- {
- "type": "string"
- },
- {
- "instanceof": "Buffer"
- }
- ],
- "description": "Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the `server.options.pfx` option."
- }
- }
- }
- ],
- "description": "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the `server` option.",
- "link": "https://webpack.js.org/configuration/dev-server/#devserverhttps"
- },
"HeaderObject": {
"type": "object",
"additionalProperties": false,
@@ -1211,12 +1022,6 @@
"hot": {
"$ref": "#/definitions/Hot"
},
- "http2": {
- "$ref": "#/definitions/HTTP2"
- },
- "https": {
- "$ref": "#/definitions/HTTPS"
- },
"ipc": {
"$ref": "#/definitions/IPC"
},
diff --git a/test/__snapshots__/validate-options.test.js.snap.webpack5 b/test/__snapshots__/validate-options.test.js.snap.webpack5
index 887634ff91..fe60ec65d7 100644
--- a/test/__snapshots__/validate-options.test.js.snap.webpack5
+++ b/test/__snapshots__/validate-options.test.js.snap.webpack5
@@ -365,105 +365,6 @@ exports[`options validate should throw an error on the "hot" option with 'foo' v
* options.hot should be \\"only\\"."
`;
-exports[`options validate should throw an error on the "http2" option with '' value 1`] = `
-"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.http2 should be a boolean.
- -> Allows to serve over HTTP/2 using SPDY. Deprecated, use the \`server\` option.
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttp2"
-`;
-
-exports[`options validate should throw an error on the "https" option with '' value 1`] = `
-"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.https should be one of these:
- boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … }
- -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option.
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
- Details:
- * options.https should be a boolean.
- * options.https should be an object:
- object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … }"
-`;
-
-exports[`options validate should throw an error on the "https" option with '{"cacert":true}' value 1`] = `
-"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.https should be one of these:
- boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … }
- -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option.
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
- Details:
- * options.https.cacert should be one of these:
- [string | Buffer, ...] | string | Buffer
- -> Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option.
- Details:
- * options.https.cacert should be an array:
- [string | Buffer, ...]
- * options.https.cacert should be a string.
- * options.https.cacert should be an instance of Buffer."
-`;
-
-exports[`options validate should throw an error on the "https" option with '{"cert":true}' value 1`] = `
-"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.https should be one of these:
- boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … }
- -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option.
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
- Details:
- * options.https.cert should be one of these:
- [string | Buffer, ...] | string | Buffer
- -> Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option.
- Details:
- * options.https.cert should be an array:
- [string | Buffer, ...]
- * options.https.cert should be a string.
- * options.https.cert should be an instance of Buffer."
-`;
-
-exports[`options validate should throw an error on the "https" option with '{"key":10}' value 1`] = `
-"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.https should be one of these:
- boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … }
- -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option.
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
- Details:
- * options.https.key should be one of these:
- [string | Buffer | object { … }, ...] | string | Buffer
- -> Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option.
- Details:
- * options.https.key should be an array:
- [string | Buffer | object { … }, ...]
- * options.https.key should be a string.
- * options.https.key should be an instance of Buffer."
-`;
-
-exports[`options validate should throw an error on the "https" option with '{"passphrase":false}' value 1`] = `
-"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.https.passphrase should be a string.
- -> Passphrase for a pfx file. Deprecated, use the \`server.options.passphrase\` option."
-`;
-
-exports[`options validate should throw an error on the "https" option with '{"pfx":10}' value 1`] = `
-"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.https should be one of these:
- boolean | object { passphrase?, requestCert?, ca?, cacert?, cert?, crl?, key?, pfx?, … }
- -> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option.
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
- Details:
- * options.https.pfx should be one of these:
- [string | Buffer | object { … }, ...] | string | Buffer
- -> Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option.
- Details:
- * options.https.pfx should be an array:
- [string | Buffer | object { … }, ...]
- * options.https.pfx should be a string.
- * options.https.pfx should be an instance of Buffer."
-`;
-
-exports[`options validate should throw an error on the "https" option with '{"requestCert":"test"}' value 1`] = `
-"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- - options.https.requestCert should be a boolean.
- -> Request for an SSL certificate. Deprecated, use the \`server.options.requestCert\` option."
-`;
-
exports[`options validate should throw an error on the "ipc" option with '{}' value 1`] = `
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.ipc should be one of these:
diff --git a/test/cli/__snapshots__/basic.test.js.snap.webpack5 b/test/cli/__snapshots__/basic.test.js.snap.webpack5
index 2c53b7d7a5..0ccde7b8a7 100644
--- a/test/cli/__snapshots__/basic.test.js.snap.webpack5
+++ b/test/cli/__snapshots__/basic.test.js.snap.webpack5
@@ -89,25 +89,6 @@ Options:
--host Allows to specify a hostname to use.
--hot [value] Enables Hot Module Replacement.
--no-hot Disables Hot Module Replacement.
- --http2 Allows to serve over HTTP/2 using SPDY. Deprecated, use the \`server\` option.
- --no-http2 Does not serve over HTTP/2 using SPDY.
- --https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, use the \`server\` option.
- --no-https Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
- --https-passphrase Passphrase for a pfx file. Deprecated, use the \`server.options.passphrase\` option.
- --https-request-cert Request for an SSL certificate. Deprecated, use the \`server.options.requestCert\` option.
- --no-https-request-cert Does not request for an SSL certificate.
- --https-ca Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option.
- --https-ca-reset Clear all items provided in 'https.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option.
- --https-cacert Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option.
- --https-cacert-reset Clear all items provided in 'https.cacert' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. Deprecated, use the \`server.options.ca\` option.
- --https-cert Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option.
- --https-cert-reset Clear all items provided in 'https.cert' configuration. Path to an SSL certificate or content of an SSL certificate. Deprecated, use the \`server.options.cert\` option.
- --https-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the \`server.options.crl\` option.
- --https-crl-reset Clear all items provided in 'https.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). Deprecated, use the \`server.options.crl\` option.
- --https-key Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option.
- --https-key-reset Clear all items provided in 'https.key' configuration. Path to an SSL key or content of an SSL key. Deprecated, use the \`server.options.key\` option.
- --https-pfx Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option.
- --https-pfx-reset Clear all items provided in 'https.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. Deprecated, use the \`server.options.pfx\` option.
--ipc [value] Listen to a unix socket.
--live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default).
--no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default).
diff --git a/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack5 b/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack5
index 8cfbdfcb50..08349cd806 100644
--- a/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack5
+++ b/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack5
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`"bonjour" CLI option should work using "--bonjour and --https" 1`] = `
+exports[`"bonjour" CLI option should work using "--bonjour and --server-type=https" 1`] = `
" [webpack-dev-server] Generating SSL certificate...
[webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem
[webpack-dev-server] Project is running at:
diff --git a/test/cli/__snapshots__/http2-option.test.js.snap.webpack5 b/test/cli/__snapshots__/http2-option.test.js.snap.webpack5
deleted file mode 100644
index 02e048a58d..0000000000
--- a/test/cli/__snapshots__/http2-option.test.js.snap.webpack5
+++ /dev/null
@@ -1,19 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`"http2" CLI option should work using "--http2" 1`] = `
-" [webpack-dev-server] Generating SSL certificate...
- [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem
- [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"http2" CLI option should work using "--no-http2" 1`] = `
-" [webpack-dev-server] Project is running at:
- Loopback: http://localhost:/, http://:/, http://[]:/
- [webpack-dev-server] On Your Network (IPv4): http://:/
- [webpack-dev-server] On Your Network (IPv6): http://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
diff --git a/test/cli/__snapshots__/https-option.test.js.snap.webpack5 b/test/cli/__snapshots__/https-option.test.js.snap.webpack5
deleted file mode 100644
index e50636d389..0000000000
--- a/test/cli/__snapshots__/https-option.test.js.snap.webpack5
+++ /dev/null
@@ -1,80 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`"https" CLI option should warn using "--https-cacert" and "--https-ca" together 1`] = `
-" [webpack-dev-server] Do not specify 'ca' and 'cacert' options together, the 'ca' option will be used.
- [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"https" CLI option should work using "--https" 1`] = `
-" [webpack-dev-server] Generating SSL certificate...
- [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem
- [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"https" CLI option should work using "--https-key --https-pfx --https-passphrase webpack-dev-server --https-cert --https-ca " 1`] = `
-" [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"https" CLI option should work using "--https-key --https-pfx --https-passphrase webpack-dev-server --https-cert --https-cacert " 1`] = `
-" [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"https" CLI option should work using "--https-key --https-pfx --https-passphrase webpack-dev-server --https-cert " 1`] = `
-" [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"https" CLI option should work using "--https-key-reset --https-key --https-pfx-reset --https-pfx --https-passphrase webpack-dev-server --https-cert-reset --https-cert --https-ca-reset --https-ca " 1`] = `
-" [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"https" CLI option should work using "--https-request-cert" 1`] = `
-" [webpack-dev-server] Generating SSL certificate...
- [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem
- [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"https" CLI option should work using "--no-https" 1`] = `
-" [webpack-dev-server] Project is running at:
- Loopback: http://localhost:/, http://:/, http://[]:/
- [webpack-dev-server] On Your Network (IPv4): http://:/
- [webpack-dev-server] On Your Network (IPv6): http://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
-
-exports[`"https" CLI option should work using "--no-https-request-cert" 1`] = `
-" [webpack-dev-server] Generating SSL certificate...
- [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem
- [webpack-dev-server] Project is running at:
- Loopback: https://localhost:/, https://:/, https://[]:/
- [webpack-dev-server] On Your Network (IPv4): https://:/
- [webpack-dev-server] On Your Network (IPv6): https://[]:/
- [webpack-dev-server] Content not from webpack is served from '/public' directory"
-`;
diff --git a/test/cli/bonjour-option.test.js b/test/cli/bonjour-option.test.js
index 1def172b43..a4453696cf 100644
--- a/test/cli/bonjour-option.test.js
+++ b/test/cli/bonjour-option.test.js
@@ -21,12 +21,12 @@ describe('"bonjour" CLI option', () => {
expect(normalizeStderr(stderr, { ipv6: true })).toMatchSnapshot();
});
- it('should work using "--bonjour and --https"', async () => {
+ it('should work using "--bonjour and --server-type=https"', async () => {
const { exitCode, stderr } = await testBin([
"--port",
port,
"--bonjour",
- "--https",
+ "--server-type=https",
]);
expect(exitCode).toEqual(0);
diff --git a/test/cli/http2-option.test.js b/test/cli/http2-option.test.js
deleted file mode 100644
index 6958e84c9f..0000000000
--- a/test/cli/http2-option.test.js
+++ /dev/null
@@ -1,32 +0,0 @@
-"use strict";
-
-const { promisify } = require("util");
-const rimraf = require("rimraf");
-const Server = require("../../lib/Server");
-const { testBin, normalizeStderr } = require("../helpers/test-bin");
-const port = require("../ports-map")["cli-http2"];
-
-const del = promisify(rimraf);
-const defaultCertificateDir = Server.findCacheDir();
-
-describe('"http2" CLI option', () => {
- beforeEach(async () => {
- await del(defaultCertificateDir);
- });
-
- it('should work using "--http2"', async () => {
- const { exitCode, stderr } = await testBin(["--port", port, "--http2"]);
-
- expect(exitCode).toEqual(0);
- expect(
- normalizeStderr(stderr, { ipv6: true, https: true })
- ).toMatchSnapshot();
- });
-
- it('should work using "--no-http2"', async () => {
- const { exitCode, stderr } = await testBin(["--port", port, "--no-http2"]);
-
- expect(exitCode).toEqual(0);
- expect(normalizeStderr(stderr, { ipv6: true })).toMatchSnapshot();
- });
-});
diff --git a/test/cli/https-option.test.js b/test/cli/https-option.test.js
deleted file mode 100644
index 3bc0c73736..0000000000
--- a/test/cli/https-option.test.js
+++ /dev/null
@@ -1,208 +0,0 @@
-"use strict";
-
-const path = require("path");
-const { promisify } = require("util");
-const rimraf = require("rimraf");
-const Server = require("../../lib/Server");
-const { testBin, normalizeStderr } = require("../helpers/test-bin");
-const port = require("../ports-map")["cli-https"];
-
-const del = promisify(rimraf);
-const httpsCertificateDirectory = path.resolve(
- __dirname,
- "../fixtures/https-certificate"
-);
-
-const defaultCertificateDir = Server.findCacheDir();
-
-describe('"https" CLI option', () => {
- beforeEach(async () => {
- await del(defaultCertificateDir);
- });
-
- it('should work using "--https"', async () => {
- const { exitCode, stderr } = await testBin(["--port", port, "--https"]);
-
- expect(exitCode).toEqual(0);
- expect(
- normalizeStderr(stderr, { ipv6: true, https: true })
- ).toMatchSnapshot();
- });
-
- it('should work using "--https-key --https-pfx --https-passphrase webpack-dev-server --https-cert --https-cacert "', async () => {
- const pfxFile = path.join(httpsCertificateDirectory, "server.pfx");
- const key = path.join(httpsCertificateDirectory, "server.key");
- const cert = path.join(httpsCertificateDirectory, "server.crt");
- const cacert = path.join(httpsCertificateDirectory, "ca.pem");
- const passphrase = "webpack-dev-server";
-
- const { exitCode, stderr } = await testBin([
- "--port",
- port,
- "--https-key",
- key,
- "--https-pfx",
- pfxFile,
- "--https-passphrase",
- passphrase,
- "--https-cert",
- cert,
- "--https-cacert",
- cacert,
- ]);
-
- expect(exitCode).toEqual(0);
- expect(
- normalizeStderr(stderr, { ipv6: true, https: true })
- ).toMatchSnapshot();
- });
-
- it('should work using "--https-key --https-pfx