From efb2e3ce423f035e2c581ece990529697a4fb8b4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 3 Jul 2018 01:48:06 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:lodash:20180130 --- .snyk | 8 ++++++++ package.json | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..8d3039e --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:lodash:20180130': + - shipit-utils > lodash: + patched: '2018-07-03T01:48:04.811Z' diff --git a/package.json b/package.json index d4c6bff..95537f3 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "scripts": { "test": "npm run lint && node_modules/jest/bin/jest.js --forceExit --silent", "lint": "node_modules/eslint/bin/eslint.js *.js tasks/**/**.js __TESTS__/**/**.js", - "send-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p ." + "send-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "jest": { "verbose": false, @@ -58,6 +60,8 @@ "moment": "^2.18.1", "node-slackr": "^0.1.4", "shipit-utils": "^1.4.0", - "underscore.string": "^3.3.4" - } + "underscore.string": "^3.3.4", + "snyk": "^1.88.0" + }, + "snyk": true }