From 4247f9bb6cb7a6897a2e781d5c27a59e8782c2ef Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 06:48:27 +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 | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..f83b82d --- /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-04T06:48:25.502Z' diff --git a/package.json b/package.json index 99d8f0b..910b8ce 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "build:merge": "concat -o README.md ./general-readme.md ./method-docs.md ./contributors.md ./readme_license.md", "test": "echo \"Error: no test specified\" && exit 1", "contributors:add": "all-contributors add", - "contributors:generate": "all-contributors generate" + "contributors:generate": "all-contributors generate", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "neilkalman@gmail.com", "license": "MIT", @@ -28,7 +30,8 @@ "merge-dirs": "^0.2.1", "mkdirp": "^0.5.1", "pkginfo": "^0.4.1", - "prettyjson": "^1.2.1" + "prettyjson": "^1.2.1", + "snyk": "^1.189.0" }, "bin": { "cli-lit": "bin/cli-lit.js" @@ -69,5 +72,6 @@ "generator", "typescript", "automation" - ] + ], + "snyk": true }