From a5e38011bb28bf13c5aa2797c8f2bab48024138f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 15:02:33 -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 2433f6d4..011dabff 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,9 @@ "release:www": "git config --global user.email \"teamkogg@gmail.com\" && git config --global user.name \"Kogg\" && gh-pages --dist dist-www --repo https://$GH_TOKEN@github.com/kogg/hovercards.git", "start": "if [ \"$NODE_ENV\" = 'production' ]; then foreman start; else foreman start -f Procfile.dev; fi", "test": "run-s test:*", - "test:unit": "istanbul cover -x *.test.js _mocha -- -R spec \"./{,!(node_modules)/**/}*.test.js\"" + "test:unit": "istanbul cover -x *.test.js _mocha -- -R spec \"./{,!(node_modules)/**/}*.test.js\"", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "config": { "commitizen": { @@ -91,7 +93,8 @@ "twit": "^2.1.1", "underscore": "^1.8.3", "universal-analytics": "^0.4.2", - "urijs": "^1.17.0" + "urijs": "^1.17.0", + "snyk": "^1.316.1" }, "devDependencies": { "autoprefixer": "^6.4.1", @@ -155,5 +158,6 @@ }, "release": { "getLastRelease": "last-release-github" - } + }, + "snyk": true } From c8b0b704aa218bd967d721eb98a957a42a44c29c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 30 Apr 2020 15:02:34 -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 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..3810dd0d --- /dev/null +++ b/.snyk @@ -0,0 +1,22 @@ +# 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: + - open-graph-scraper > lodash: + patched: '2020-04-30T22:02:31.480Z' + - async > lodash: + patched: '2020-04-30T22:02:31.480Z' + - flux-standard-action > lodash: + patched: '2020-04-30T22:02:31.480Z' + - react-redux > lodash: + patched: '2020-04-30T22:02:31.480Z' + - redux > lodash: + patched: '2020-04-30T22:02:31.480Z' + - redux-actions > lodash: + patched: '2020-04-30T22:02:31.480Z' + - googleapis > async > lodash: + patched: '2020-04-30T22:02:31.480Z' + - googleapis > google-auth-library > request > form-data > async > lodash: + patched: '2020-04-30T22:02:31.480Z'