From a5cd06dc73c1d1354a611ba2500960222afa0109 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 07:59:15 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 18 ++++++++++++++++++ package.json | 10 +++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..4a00fce --- /dev/null +++ b/.snyk @@ -0,0 +1,18 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - lodash: + patched: '2019-07-04T07:59:13.292Z' + - normalizr > lodash: + patched: '2019-07-04T07:59:13.292Z' + - react-redux > lodash: + patched: '2019-07-04T07:59:13.292Z' + - redux > lodash: + patched: '2019-07-04T07:59:13.292Z' + - velocity-react > lodash: + patched: '2019-07-04T07:59:13.292Z' + - babel-preset-react > babel-plugin-transform-react-jsx > babel-helper-builder-react-jsx > babel-types > lodash: + patched: '2019-07-04T07:59:13.292Z' diff --git a/package.json b/package.json index 8b5c29c..28f9da9 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "start": "node server.js", - "test": "mocha --compilers js:babel-core/register --require ./test/helper.js \"test/**/*@(.js|.jsx)\"" + "test": "mocha --compilers js:babel-core/register --require ./test/helper.js \"test/**/*@(.js|.jsx)\"", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "keywords": [], "author": "", @@ -27,7 +29,8 @@ "react-virtualized": "^7.6.0", "redux": "^3.5.2", "redux-thunk": "^2.1.0", - "velocity-react": "^1.1.5" + "velocity-react": "^1.1.5", + "snyk": "^1.189.0" }, "devDependencies": { "babel-core": "^6.9.1", @@ -61,5 +64,6 @@ ] } } - } + }, + "snyk": true }