From ee17f323da9fcf68c95033d215e7a935ac6a7207 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Mon, 8 Jul 2019 05:51:00 +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 | 10 ++++++++++ package.json | 10 +++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..f8632ea109 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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-08T05:50:58.200Z' + - '@semantic-release/condition-travis > travis-deploy-once > request-promise > request-promise-core > lodash': + patched: '2019-07-08T05:50:58.200Z' diff --git a/package.json b/package.json index 1405af3f32..98f359c054 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "require-relative": "^0.8.7", "run-auto": "^2.0.0", "run-series": "^1.1.3", - "semver": "^5.2.0" + "semver": "^5.2.0", + "snyk": "^1.192.3" }, "devDependencies": { "coveralls": "^2.11.4", @@ -85,6 +86,9 @@ "semantic-release": "./bin/semantic-release.js pre && npm publish && ./bin/semantic-release.js post", "test": "npm run test:unit && npm run test:integration", "test:integration": "tap --no-cov test/scenarios/*.js", - "test:unit": "nyc tap --no-cov test/specs/*.js" - } + "test:unit": "nyc tap --no-cov test/specs/*.js", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }