From 772afc52ebd1d8b5b03ab55d733e0d4679a7ff7f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 23 Oct 2024 03:37:07 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906 --- package-lock.json | 21 +++++---------------- package.json | 2 +- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 80eb2c29755e..172c59cb1b09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "highlightjs-curl": "^1.3.0", "hot-shots": "^10.1.0", "html-entities": "^2.4.0", - "http-proxy-middleware": "3.0.1", + "http-proxy-middleware": "^3.0.3", "imurmurhash": "^0.1.4", "is-svg": "5.1.0", "javascript-stringify": "^2.1.0", @@ -7641,16 +7641,16 @@ } }, "node_modules/http-proxy-middleware": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.1.tgz", - "integrity": "sha512-5TnsBzyqlWRdT525r198AR1kGc5zIIlZNBZdmP7BUILe3yI8gDgNMbxyQpW+tMBPZQln/1T6p6mCVb0oCVKaiw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.3.tgz", + "integrity": "sha512-usY0HG5nyDUwtqpiZdETNbmKtw3QQ1jwYFZ9wi5iHzX2BcILwQKtYDJPo7XHTsu5Z0B2Hj3W9NNnbd+AjFWjqg==", "license": "MIT", "dependencies": { "@types/http-proxy": "^1.17.15", "debug": "^4.3.6", "http-proxy": "^1.18.1", "is-glob": "^4.0.3", - "is-plain-obj": "^3.0.0", + "is-plain-object": "^5.0.0", "micromatch": "^4.0.8" }, "engines": { @@ -7674,16 +7674,6 @@ } } }, - "node_modules/http-proxy-middleware/node_modules/is-plain-obj": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/http-proxy-middleware/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -8163,7 +8153,6 @@ }, "node_modules/is-plain-object": { "version": "5.0.0", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" diff --git a/package.json b/package.json index 2bd0355d2056..7532495cc8a4 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "highlightjs-curl": "^1.3.0", "hot-shots": "^10.1.0", "html-entities": "^2.4.0", - "http-proxy-middleware": "3.0.1", + "http-proxy-middleware": "3.0.3", "imurmurhash": "^0.1.4", "is-svg": "5.1.0", "javascript-stringify": "^2.1.0",