diff --git a/test/fixtures/pkg-mean-io/.snyk b/test/fixtures/pkg-mean-io/.snyk new file mode 100644 index 0000000000..6b986571c9 --- /dev/null +++ b/test/fixtures/pkg-mean-io/.snyk @@ -0,0 +1,11 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - meanio > morgan > debug: + patched: '2023-06-06T15:39:26.453Z' + 'npm:ms:20170412': + - meanio > morgan > debug > ms: + patched: '2023-06-06T15:39:26.453Z' diff --git a/test/fixtures/pkg-mean-io/package.json b/test/fixtures/pkg-mean-io/package.json index 5f40c3ca25..0d7c8dff3a 100644 --- a/test/fixtures/pkg-mean-io/package.json +++ b/test/fixtures/pkg-mean-io/package.json @@ -18,7 +18,7 @@ "test": "snyk test && gulp test", "test-e2e": "gulp e2e.test", "postinstall": "node tools/scripts/postinstall.js", - "snyk-protect": "snyk protect", + "snyk-protect": "snyk-protect", "prepublish": "npm run snyk-protect" }, "dependencies": { @@ -42,7 +42,7 @@ "morgan": "latest", "ms": "latest", "nodemailer": "latest", - "npm": "^2.1.0", + "npm": "^6.6.0", "passport-facebook": "latest", "passport-github": "latest", "passport-google-oauth": "latest", @@ -55,7 +55,8 @@ "shelljs": "latest", "swig": "latest", "view-helpers": "latest", - "snyk": "*" + "snyk": "^1.1175.0", + "@snyk/protect": "latest" }, "devDependencies": { "del": "latest",