From e86df2d37773b474731798f1f36f8dd389e49019 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:45:15 +0530 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..9d8043f --- /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-01T02:15:13.875Z' From 6a4bfa4e65a365effd51fd247bd041fb70193efa Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 07:45:16 +0530 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 60ce1c9..d443199 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,16 @@ "author": "s-yadav ", "license": "MIT", "scripts": { - "build": "babel src -d lib" + "build": "babel src -d lib", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "peerDependencies": { "babel-plugin-module-resolver": "3.2.0" }, "dependencies": { - "lodash": "^4.17.15" + "lodash": "^4.17.15", + "snyk": "^1.316.1" }, "devDependencies": { "@babel/cli": "^7.7.0", @@ -27,5 +30,6 @@ "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.1.1", "eslint-plugin-standard": "^4.0.0" - } + }, + "snyk": true }