diff --git a/package-lock.json b/package-lock.json index bced86ba5..434577b92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -118,7 +118,7 @@ "simple-mock": "0.8.0", "style-loader": "3.3.1", "terser-webpack-plugin": "^5.3.6", - "webpack-dev-middleware": "6.0.1", + "webpack-dev-middleware": "6.1.2", "webpack-hot-middleware": "2.25.3" }, "engines": { @@ -19770,9 +19770,9 @@ } }, "node_modules/webpack-dev-middleware": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-6.0.1.tgz", - "integrity": "sha512-PZPZ6jFinmqVPJZbisfggDiC+2EeGZ1ZByyMP5sOFJcPPWSexalISz+cvm+j+oYPT7FIJyxT76esjnw9DhE5sw==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-6.1.2.tgz", + "integrity": "sha512-Wu+EHmX326YPYUpQLKmKbTyZZJIB8/n6R09pTmB03kJmnMsVPTo9COzHZFr01txwaCAuZvfBJE4ZCHRcKs5JaQ==", "dev": true, "dependencies": { "colorette": "^2.0.10", @@ -19790,6 +19790,11 @@ }, "peerDependencies": { "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + } } }, "node_modules/webpack-dev-middleware/node_modules/ajv": { diff --git a/package.json b/package.json index a4fd0c0c2..19f6aaa35 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "simple-mock": "0.8.0", "style-loader": "3.3.1", "terser-webpack-plugin": "^5.3.6", - "webpack-dev-middleware": "6.0.1", + "webpack-dev-middleware": "6.1.2", "webpack-hot-middleware": "2.25.3" }, "browserslist": [ diff --git a/yarn.lock b/yarn.lock index d84d854c9..ec4968aa4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10076,10 +10076,10 @@ webpack-cli@5.0.1: rechoir "^0.8.0" webpack-merge "^5.7.3" -webpack-dev-middleware@6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-6.0.1.tgz" - integrity sha512-PZPZ6jFinmqVPJZbisfggDiC+2EeGZ1ZByyMP5sOFJcPPWSexalISz+cvm+j+oYPT7FIJyxT76esjnw9DhE5sw== +webpack-dev-middleware@6.1.2: + version "6.1.2" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-6.1.2.tgz#0463232e59b7d7330fa154121528d484d36eb973" + integrity sha512-Wu+EHmX326YPYUpQLKmKbTyZZJIB8/n6R09pTmB03kJmnMsVPTo9COzHZFr01txwaCAuZvfBJE4ZCHRcKs5JaQ== dependencies: colorette "^2.0.10" memfs "^3.4.12"