From d0d723741eb20b471bd6808d7df00d8765bccf8b Mon Sep 17 00:00:00 2001 From: snyk-test Date: Sat, 6 Jul 2019 00:34:36 +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 | 8 ++++++++ package.json | 11 +++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..e8a57d7 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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-06T00:34:34.520Z' diff --git a/package.json b/package.json index a64ac2d..ba5c469 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,9 @@ ], "preferGlobal": true, "scripts": { - "prepublish": "coffee -o lib -c src/index.coffee", - "test": "echo \"no test specified\" && exit 0" + "prepublish": "npm run snyk-protect; coffee -o lib -c src/index.coffee", + "test": "echo \"no test specified\" && exit 0", + "snyk-protect": "snyk protect" }, "repository": { "type": "git", @@ -43,6 +44,8 @@ "bower": "1.8.8", "lodash": "^4.17.4", "semver": "^5.3.0", - "text-table": "^0.2.0" - } + "text-table": "^0.2.0", + "snyk": "^1.192.3" + }, + "snyk": true }