diff --git a/@commitlint/parse/.snyk b/@commitlint/parse/.snyk new file mode 100644 index 0000000000..1fd7f6578b --- /dev/null +++ b/@commitlint/parse/.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: + - conventional-commits-parser > lodash: + patched: '2020-05-01T02:34:26.813Z' diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index 69450fcb60..241bbd7c81 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -9,7 +9,9 @@ ], "scripts": { "deps": "dep-check", - "pkg": "pkg-check" + "pkg": "pkg-check", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "engines": { "node": ">=8" @@ -39,6 +41,8 @@ }, "dependencies": { "conventional-changelog-angular": "^5.0.0", - "conventional-commits-parser": "^3.0.0" - } + "conventional-commits-parser": "^3.0.0", + "snyk": "^1.316.1" + }, + "snyk": true }