diff --git a/tests/cases/user/lodash/.snyk b/tests/cases/user/lodash/.snyk new file mode 100644 index 0000000000000..1d5838e2aa9b3 --- /dev/null +++ b/tests/cases/user/lodash/.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: + - lodash: + patched: '2020-05-01T02:11:53.728Z' diff --git a/tests/cases/user/lodash/package.json b/tests/cases/user/lodash/package.json index 4ce57032b84e9..2f3af03abb40d 100644 --- a/tests/cases/user/lodash/package.json +++ b/tests/cases/user/lodash/package.json @@ -6,9 +6,15 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "lodash": "^4.17.5" + "lodash": "^4.17.5", + "snyk": "^1.316.1" }, "devDependencies": { "@types/node": "latest" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }