From 8c120339c5ac03beb343f136c73902d519498698 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:13:40 -0700 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 61f412a..2f5bc85 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "lint": "eslint 'app/**/*.@(js|jsx)'", "build": "webpack", "start": "webpack-dev-server --devtool eval --progress --hot --colors --content-base app", - "deploy": "NODE_ENV=production webpack -p --config webpack.production.config.js" + "deploy": "NODE_ENV=production webpack -p --config webpack.production.config.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "dependencies": { "babel-runtime": "~6.2.0", @@ -19,7 +21,8 @@ "react-dom": "~0.14.3", "react-router": "^2.0.1", "url-loader": "^0.5.7", - "velocity-react": "^1.1.5" + "velocity-react": "^1.1.5", + "snyk": "^1.316.1" }, "devDependencies": { "babel-core": "~6.2.1", @@ -41,5 +44,6 @@ "webpack-dev-server": "~1.14.0" }, "private": true, - "license": "MIT" + "license": "MIT", + "snyk": true } From 884f96a4cd9b629b074838a2e3a3348c8457110e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 01:13:41 -0700 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..4971c97 --- /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: + - velocity-react > lodash: + patched: '2020-05-01T08:13:38.466Z'