diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..50719e5 --- /dev/null +++ b/.snyk @@ -0,0 +1,8 @@ +# 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: + - hafas-client > lodash: + patched: '2020-05-01T07:07:48.487Z' diff --git a/package.json b/package.json index cdc5d70..66f78a3 100755 --- a/package.json +++ b/package.json @@ -33,6 +33,12 @@ "dependencies": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", - "hafas-client": "^2.3.4" - } + "hafas-client": "^2.3.4", + "snyk": "^1.316.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }