From 6a295481fd18762206be141cb6de2b89611552bf Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 13 Mar 2022 16:59:51 +0000 Subject: [PATCH] fix: src/NSwag.Sample.NetCoreAngular/package.json & src/NSwag.Sample.NetCoreAngular/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849 --- .../package-lock.json | 41 +++++++++++++------ src/NSwag.Sample.NetCoreAngular/package.json | 2 +- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/src/NSwag.Sample.NetCoreAngular/package-lock.json b/src/NSwag.Sample.NetCoreAngular/package-lock.json index c09e306649..32b07f9919 100644 --- a/src/NSwag.Sample.NetCoreAngular/package-lock.json +++ b/src/NSwag.Sample.NetCoreAngular/package-lock.json @@ -181,10 +181,10 @@ "loader-utils": "^0.2.15" } }, - "ansi-html": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", - "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=" + "ansi-html-community": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", + "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==" }, "ansi-regex": { "version": "2.1.1", @@ -2591,9 +2591,9 @@ "integrity": "sha1-ZouTd26q5V696POtRkswekljYl4=" }, "html-entities": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", - "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=" + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz", + "integrity": "sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ==" }, "html-loader": { "version": "0.4.5", @@ -5246,14 +5246,29 @@ } }, "webpack-hot-middleware": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.18.0.tgz", - "integrity": "sha1-oWu1Nbg6aslKeKxevOTzBZ6CdNM=", + "version": "2.25.1", + "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.25.1.tgz", + "integrity": "sha512-Koh0KyU/RPYwel/khxbsDz9ibDivmUbrRuKSSQvW42KSDdO4w23WI3SkHpSUKHE76LrFnnM/L7JCrpBwu8AXYw==", "requires": { - "ansi-html": "0.0.7", - "html-entities": "^1.2.0", + "ansi-html-community": "0.0.8", + "html-entities": "^2.1.0", "querystring": "^0.2.0", - "strip-ansi": "^3.0.0" + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } } }, "webpack-merge": { diff --git a/src/NSwag.Sample.NetCoreAngular/package.json b/src/NSwag.Sample.NetCoreAngular/package.json index 750544c2cc..4fa47fb0f3 100644 --- a/src/NSwag.Sample.NetCoreAngular/package.json +++ b/src/NSwag.Sample.NetCoreAngular/package.json @@ -44,7 +44,7 @@ "typescript": "2.3.2", "url-loader": "0.5.8", "webpack": "2.5.1", - "webpack-hot-middleware": "2.18.0", + "webpack-hot-middleware": "2.25.1", "webpack-merge": "4.1.0", "zone.js": "0.8.10" },