diff --git a/scripts/release-manager/.snyk b/scripts/release-manager/.snyk new file mode 100644 index 0000000000000..4b9c0d795b1df --- /dev/null +++ b/scripts/release-manager/.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: + - vorpal > lodash: + patched: '2019-07-04T04:23:40.633Z' diff --git a/scripts/release-manager/package.json b/scripts/release-manager/package.json index 7d99872b5146e..fb4054486a6d1 100644 --- a/scripts/release-manager/package.json +++ b/scripts/release-manager/package.json @@ -13,12 +13,16 @@ "pify": "^2.3.0", "semver": "^5.3.0", "untildify": "^3.0.2", - "vorpal": "^1.10.10" + "vorpal": "^1.10.10", + "snyk": "^1.189.0" }, "devDependencies": {}, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "author": "Paul O'Shannessy ", - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "snyk": true }