diff --git a/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/.snyk b/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/.snyk new file mode 100644 index 0000000000..ce26af46e2 --- /dev/null +++ b/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.22.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - '@grpc/proto-loader > lodash': + patched: '2022-04-13T21:56:57.088Z' diff --git a/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/package-lock.json b/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/package-lock.json index 5549571aad..57136488c6 100644 --- a/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/package-lock.json +++ b/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/package-lock.json @@ -253,6 +253,11 @@ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.17.1.tgz", "integrity": "sha512-kg/maAZD2Z2AHDFp7cY/ACokjUL0e7MaupTtGXkSW2SV4DJQEHdslFUioP0SMccotjwqTdI0b4XH/qZh6CN+kQ==" }, + "@snyk/protect": { + "version": "1.905.0", + "resolved": "https://registry.npmjs.org/@snyk/protect/-/protect-1.905.0.tgz", + "integrity": "sha512-AVf4SCxWLpXs7r3Up5FVbjNMfAjOhniHCqtu91yE6D8AqyGHzxIWXuDjnJJXEvub3jIiFnmWGV+aaIr+dqBNqw==" + }, "@types/caseless": { "version": "0.12.2", "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.2.tgz", diff --git a/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/package.json b/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/package.json index 118b741029..aee748d81c 100644 --- a/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/package.json +++ b/test/acceptance/workspaces/monorepo-with-nuget/src/paymentservice/package.json @@ -6,7 +6,9 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "lint": "semistandard *.js" + "lint": "semistandard *.js", + "prepare": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "author": "Jonathan Lui", "license": "ISC", @@ -18,9 +20,11 @@ "grpc": "^1.22.2", "pino": "^5.6.2", "simple-card-validator": "^1.1.0", - "uuid": "^3.2.1" + "uuid": "^3.2.1", + "@snyk/protect": "latest" }, "devDependencies": { "semistandard": "^12.0.1" - } + }, + "snyk": true }