From 983024e34f5c45ba8d28f9b2167958bc4ddb2b98 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 12:29:31 +1200 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..8e8267e --- /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-02T00:29:29.331Z' From eeeff8c1db8f35a94911d2420b50df3e67060b85 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 2 May 2020 12:29:32 +1200 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 ba52d62..e7841ed 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,9 @@ "build": "npm-run-all --parallel build:*", "build:main": "babel --out-dir dist src", "build:umd": "webpack", - "build:umd.min": "webpack -p --env.prod" + "build:umd.min": "webpack -p --env.prod", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "repository": { "type": "git", @@ -35,7 +37,8 @@ }, "homepage": "https://github.com/Thram/react-thrux#readme", "dependencies": { - "lodash": "^4.17.4" + "lodash": "^4.17.4", + "snyk": "^1.316.2" }, "peerDependencies": { "react-dom": "^15.5.4", @@ -75,5 +78,6 @@ "commitizen": { "path": "./node_modules/cz-conventional-changelog" } - } + }, + "snyk": true }