diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..3a4d0a062f --- /dev/null +++ b/.snyk @@ -0,0 +1,34 @@ +# 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: + - grunt-contrib-jshint > jshint > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/run > @lerna/command > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/publish > @lerna/version > @lerna/command > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/version > @lerna/conventional-commits > conventional-changelog-core > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/publish > @lerna/prompt > inquirer > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/version > @lerna/conventional-commits > conventional-changelog-core > conventional-changelog-writer > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/version > @lerna/conventional-commits > conventional-changelog-core > conventional-commits-parser > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/version > @lerna/conventional-commits > conventional-recommended-bump > conventional-commits-parser > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/publish > @lerna/version > @lerna/conventional-commits > conventional-changelog-core > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/publish > @lerna/otplease > @lerna/prompt > inquirer > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/publish > @lerna/version > @lerna/conventional-commits > conventional-changelog-core > conventional-changelog-writer > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/publish > @lerna/version > @lerna/conventional-commits > conventional-changelog-core > conventional-commits-parser > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/publish > @lerna/version > @lerna/conventional-commits > conventional-recommended-bump > conventional-commits-parser > lodash: + patched: '2020-05-03T02:45:00.591Z' + - lerna > @lerna/publish > @lerna/npm-publish > @lerna/otplease > @lerna/prompt > inquirer > lodash: + patched: '2020-05-03T02:45:00.591Z' diff --git a/package.json b/package.json index d519a6d498..14d707d2dd 100644 --- a/package.json +++ b/package.json @@ -47,9 +47,15 @@ "underscore": "latest" }, "dependencies": { - "lerna": "^3.16.2" + "lerna": "^3.16.2", + "snyk": "^1.316.2" }, "engines": { "node": ">=10.16.0" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }