diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..f9e9348 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# 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: + - strong-soap > lodash: + patched: '2020-05-06T07:55:56.051Z' + - strong-soap > strong-globalize > lodash: + patched: '2020-05-06T07:55:56.051Z' diff --git a/package.json b/package.json index 62c58f5..1469ef7 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "lint": "eslint src", "pretest": "npm run lint -s", "test": "mocha", - "docker-test": "mocha" + "docker-test": "mocha", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "repository": { "type": "git", @@ -25,7 +27,8 @@ }, "homepage": "https://github.com/lgaticaq/wsp-soap#readme", "dependencies": { - "strong-soap": "^1.1.0" + "strong-soap": "^1.1.0", + "snyk": "^1.319.0" }, "devDependencies": { "chai": "4.2.0", @@ -57,5 +60,6 @@ "always" ] } - } + }, + "snyk": true }