From f47866e9ba9e7a383f8f9887e937232ba9d65e8f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:42:58 -0400 Subject: [PATCH 1/2] fix: .snyk & package.json 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, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..82d5f75 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - mongoose > async > lodash: + patched: '2020-05-01T04:42:56.224Z' From 36accf32ef21f7b23103fef4193d6167ebaa72a2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 00:42:59 -0400 Subject: [PATCH 2/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 46da12f..d3727d0 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,9 @@ "e2e": "ng e2e", "delete-directories": "[ -d node_modules ] && { rimraf node_modules doc dist; } || echo 'node_modules already deleted'", "clean": "npm run delete-directories && command -v yarn >/dev/null && { yarn cache clean; } || { npm cache clean; }", - "clean-install": "npm run clean && command -v yarn >/dev/null && { yarn install; } || { npm install; }" + "clean-install": "npm run clean && command -v yarn >/dev/null && { yarn install; } || { npm install; }", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "private": true, "dependencies": { @@ -41,7 +43,8 @@ "rxjs": "^5.5.6", "serve-favicon": "^2.4.5", "web-animations-js": "^2.3.1", - "zone.js": "^0.8.19" + "zone.js": "^0.8.19", + "snyk": "^1.316.1" }, "devDependencies": { "@angular/cli": "1.6.3", @@ -65,5 +68,6 @@ "ts-node": "~4.1.0", "tslint": "~5.8.0", "typescript": "~2.5.3" - } + }, + "snyk": true }