From aed544aa69203f87e1ab3307488b7e26fc6a6f06 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 05:09:41 +0200 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 33b8bc1..6336770 100644 --- a/package.json +++ b/package.json @@ -29,15 +29,17 @@ "node": ">= 0.10.0" }, "scripts": { - "prepublish": "npm run build", + "prepublish": "npm run snyk-protect && npm run build", "test": "babel-node ./node_modules/gulp/bin/gulp.js test", "build": "babel-node ./node_modules/gulp/bin/gulp.js build", - "eslint": "node ./node_modules/eslint/bin/eslint.js --ext .js,.jsx ." + "eslint": "node ./node_modules/eslint/bin/eslint.js --ext .js,.jsx .", + "snyk-protect": "snyk protect" }, "main": "./dist/index.js", "dependencies": { "lodash": "^4.13.1", - "events": "^1.1.0" + "events": "^1.1.0", + "snyk": "^1.317.0" }, "devDependencies": { "angular": "^1.5.6", @@ -64,5 +66,6 @@ }, "peerDependencies": { "angular": "^1.2.0" - } + }, + "snyk": true } From 7647487c201aaecd8a44dc7ec62895ee713ff4ea Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 May 2020 05:09:42 +0200 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, 8 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..b11ff09 --- /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: + - lodash: + patched: '2020-05-04T03:09:38.663Z'