From d80cb7b16f16f7404660afd0145855ca07c4fce7 Mon Sep 17 00:00:00 2001 From: snyk-test Date: Fri, 5 Jul 2019 07:16:41 +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 | 14 ++++++++++++++ package.json | 10 +++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ca260db --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# 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: + - grunt > grunt-legacy-log > lodash: + patched: '2019-07-05T07:16:40.114Z' + - grunt > grunt-legacy-util > lodash: + patched: '2019-07-05T07:16:40.114Z' + - grunt-contrib-jshint > jshint > lodash: + patched: '2019-07-05T07:16:40.114Z' + - grunt > grunt-legacy-log > grunt-legacy-log-utils > lodash: + patched: '2019-07-05T07:16:40.114Z' diff --git a/package.json b/package.json index 51fdfc5..31d1a95 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,13 @@ "grunt": "^1.0.0", "grunt-contrib-jshint": "^0.12.0", "grunt-tv4": "^0.4.1", - "tv4": "^1.2.7" + "tv4": "^1.2.7", + "snyk": "^1.192.0" }, "scripts": { - "test": "grunt" - } + "test": "grunt", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }