diff --git a/tests/cases/user/async/.snyk b/tests/cases/user/async/.snyk new file mode 100644 index 0000000000000..223a74add139b --- /dev/null +++ b/tests/cases/user/async/.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: + - async > lodash: + patched: '2020-05-01T03:40:20.145Z' diff --git a/tests/cases/user/async/package.json b/tests/cases/user/async/package.json index fd5aa9eefb35d..a5eab76972f12 100644 --- a/tests/cases/user/async/package.json +++ b/tests/cases/user/async/package.json @@ -6,9 +6,15 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "async": "^2.6.0" + "async": "^2.6.0", + "snyk": "^1.316.1" }, "devDependencies": { "@types/node": "latest" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }