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 }