From 5415c3820b2004767a1d4c64b899bf7554589a5a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 18:33:51 -0500 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 644cc2d..5bd8c8a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "scope": "\\S+.*" }, "dependencies": { - "lodash": "^4.17.4" + "lodash": "^4.17.4", + "snyk": "^1.316.1" }, "devDependencies": { "@babel/core": "^7.1.6", @@ -63,7 +64,6 @@ "markdown-toc": "^1.2.0", "prettier": "^1.15.2", "semantic-release": "^15.12.2", - "snyk": "^1.110.2", "sonar-scanner": "^3.1.0", "standard-version": "^4.4.0", "swagger-parser": "^6.0.2", @@ -129,6 +129,9 @@ "security:snyk:monitor": "snyk monitor --org=commonality", "security:snyk:scan": "snyk test", "standard-version": "standard-version", - "test": "jest --config=jest.config.json --forceExit" - } + "test": "jest --config=jest.config.json --forceExit", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } From 25019d70ba7884edcf210702df8f9b108692d48b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 18:33:52 -0500 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.snyk b/.snyk index 88ba614..67a08de 100644 --- a/.snyk +++ b/.snyk @@ -1,4 +1,8 @@ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. -version: v1.13.1 +version: v1.14.1 ignore: {} -patch: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - lodash: + patched: '2020-04-30T23:33:27.947Z'