From 84870e00c335f9b0a6852bccbb3b4a77a1816632 Mon Sep 17 00:00:00 2001 From: Scott J Dickerson Date: Thu, 18 Apr 2024 15:19:29 -0400 Subject: [PATCH 1/2] :bug: Upgrade version of webpack-dev-middleware Resolves: https://issues.redhat.com/browse/MTA-2489 Bump the version of `webpack-dev-middleware` on __release-0.2__ to keep developers safe. Signed-off-by: Scott J Dickerson --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index f9e64769bb..9af42e7828 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14479,9 +14479,9 @@ } }, "node_modules/webpack-dev-middleware": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", - "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", + "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==", "dev": true, "dependencies": { "colorette": "^2.0.10", @@ -25811,9 +25811,9 @@ } }, "webpack-dev-middleware": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", - "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", + "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==", "dev": true, "requires": { "colorette": "^2.0.10", From ee85f06071965bd64d3b364b90502af4eb5f44be Mon Sep 17 00:00:00 2001 From: Scott J Dickerson Date: Thu, 18 Apr 2024 18:35:57 -0400 Subject: [PATCH 2/2] Add an overrides section to enforce a safe minimum version Signed-off-by: Scott J Dickerson --- package-lock.json | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9af42e7828..a9919c5ab8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25856,7 +25856,7 @@ "serve-index": "^1.9.1", "sockjs": "^0.3.24", "spdy": "^4.0.2", - "webpack-dev-middleware": "^5.3.1", + "webpack-dev-middleware": "^5.3.4", "ws": "^8.4.2" }, "dependencies": { diff --git a/package.json b/package.json index f8fd2545eb..74f0f94f77 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "rimraf": "^4.4.1" }, "overrides": { - "follow-redirects": "^1.15.6" + "follow-redirects": "^1.15.6", + "webpack-dev-middleware": "^5.3.4" } }