From 367c77a6359a87b26134ba27f9f2bba3a86867b1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 10:56:02 +0200 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..f8c0ab26 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - lodash: + patched: '2020-05-01T08:56:00.090Z' + - async > lodash: + patched: '2020-05-01T08:56:00.090Z' From e59c81e39aad5366097323e190ccacfc2020f23e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 10:56:03 +0200 Subject: [PATCH 2/2] fix: .snyk & package.json 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 c107a264..0ef96416 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,9 @@ "release:patch": "npm version patch && git push --follow-tags", "benchmark": "./test/benchmark.js", "precommit": "lint-staged", - "commitmsg": "validate-commit-msg" + "commitmsg": "validate-commit-msg", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "engines": { "node": ">=4.0.0" @@ -96,7 +98,8 @@ "meow": "^3.7.0", "source-map": "^0.5.3", "through2": "^2.0.0", - "through2-get": "^0.0.2" + "through2-get": "^0.0.2", + "snyk": "^1.316.1" }, "devDependencies": { "ava": "^0.20.0", @@ -122,5 +125,6 @@ "sinon": "^2.0.0", "stream-spigot": "^3.0.5", "validate-commit-msg": "^2.12.2" - } + }, + "snyk": true }