diff --git a/.snyk b/.snyk new file mode 100644 index 00000000..9523fc88 --- /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: + - xmlbuilder > lodash: + patched: '2019-07-04T07:16:32.429Z' diff --git a/package.json b/package.json index dfbec003..af0a0eef 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,9 @@ "pretest": "standard && echint", "coverage": "istanbul cover --dir coverage _mocha -- --recursive --fgrep 'Request Validation' --invert --reporter dot", "codeclimate": "codeclimate-test-reporter < coverage/lcov.info", - "semantic-release": "semantic-release pre && npm publish && semantic-release post" + "semantic-release": "semantic-release pre && npm publish && semantic-release post", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "echint": { "ignore": [ @@ -89,6 +91,8 @@ "redis": "^2.4.2", "require-directory": "^2.1.1", "xmlbuilder": "^4.2.1", - "yamljs": "^0.2.4" - } + "yamljs": "^0.2.4", + "snyk": "^1.189.0" + }, + "snyk": true }