diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ef08428 --- /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-06T01:03:39.760Z' diff --git a/package.json b/package.json index 25b68e4..7f7a56d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Damn fine HTTP.", "main": "index.js", "scripts": { - "test": "jest" + "test": "jest", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "", "license": "ISC", @@ -29,7 +31,8 @@ "lodash": "^4.17.4", "rxjs": "^5.4.3", "uuid": "^3.1.0", - "xml-parser": "^1.2.1" + "xml-parser": "^1.2.1", + "snyk": "^1.192.3" }, "jest": { "verbose": true, @@ -47,5 +50,6 @@ "statements": 100 } } - } + }, + "snyk": true }