diff --git a/test/fixtures/qs-package/node_modules/snyk-resolve-deps/node_modules/semver/.snyk b/test/fixtures/qs-package/node_modules/snyk-resolve-deps/node_modules/semver/.snyk new file mode 100644 index 0000000000..090ea20209 --- /dev/null +++ b/test/fixtures/qs-package/node_modules/snyk-resolve-deps/node_modules/semver/.snyk @@ -0,0 +1,20 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hawk:20160119': + - tap > codecov.io > request > hawk: + patched: '2023-04-26T06:21:31.602Z' + 'npm:http-signature:20150122': + - tap > codecov.io > request > http-signature: + patched: '2023-04-26T06:21:31.602Z' + 'npm:mime:20170907': + - tap > codecov.io > request > form-data > mime: + patched: '2023-04-26T06:21:31.602Z' + 'npm:request:20160119': + - tap > codecov.io > request: + patched: '2023-04-26T06:21:31.602Z' + 'npm:tunnel-agent:20170305': + - tap > codecov.io > request > tunnel-agent: + patched: '2023-04-26T06:21:31.602Z' diff --git a/test/fixtures/qs-package/node_modules/snyk-resolve-deps/node_modules/semver/package.json b/test/fixtures/qs-package/node_modules/snyk-resolve-deps/node_modules/semver/package.json index 864b2d3b76..a161b4d8af 100644 --- a/test/fixtures/qs-package/node_modules/snyk-resolve-deps/node_modules/semver/package.json +++ b/test/fixtures/qs-package/node_modules/snyk-resolve-deps/node_modules/semver/package.json @@ -52,10 +52,12 @@ "bugs": { "url": "https://github.com/npm/node-semver/issues" }, - "dependencies": {}, + "dependencies": { + "@snyk/protect": "latest" + }, "description": "The semantic version parser used by npm.", "devDependencies": { - "tap": "^2.0.0" + "tap": "^14.6.8" }, "directories": {}, "dist": { @@ -89,7 +91,10 @@ "url": "git+https://github.com/npm/node-semver.git" }, "scripts": { - "test": "tap test/*.js" + "test": "tap test/*.js", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, - "version": "5.3.0" + "version": "5.3.0", + "snyk": true }