diff --git a/test/fixtures/qs-package/node_modules/write-file-atomic/.snyk b/test/fixtures/qs-package/node_modules/write-file-atomic/.snyk new file mode 100644 index 0000000000..d2dccfff35 --- /dev/null +++ b/test/fixtures/qs-package/node_modules/write-file-atomic/.snyk @@ -0,0 +1,25 @@ +# 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-28T15:45:23.684Z' + 'npm:http-signature:20150122': + - tap > codecov.io > request > http-signature: + patched: '2023-04-28T15:45:23.684Z' + 'npm:lodash:20180130': + - standard > standard-engine > eslint > inquirer > lodash: + patched: '2023-04-28T15:45:23.684Z' + - standard > standard-format > esformatter-jsx > babel-core > babel-plugin-proto-to-assign > lodash: + patched: '2023-04-28T15:45:23.684Z' + 'npm:mime:20170907': + - tap > codecov.io > request > form-data > mime: + patched: '2023-04-28T15:45:23.684Z' + 'npm:request:20160119': + - tap > codecov.io > request: + patched: '2023-04-28T15:45:23.684Z' + 'npm:tunnel-agent:20170305': + - tap > codecov.io > request > tunnel-agent: + patched: '2023-04-28T15:45:23.684Z' diff --git a/test/fixtures/qs-package/node_modules/write-file-atomic/package.json b/test/fixtures/qs-package/node_modules/write-file-atomic/package.json index 3d9b36f9ab..cbb014505e 100644 --- a/test/fixtures/qs-package/node_modules/write-file-atomic/package.json +++ b/test/fixtures/qs-package/node_modules/write-file-atomic/package.json @@ -54,13 +54,14 @@ "dependencies": { "graceful-fs": "^4.1.2", "imurmurhash": "^0.1.4", - "slide": "^1.1.5" + "slide": "^1.1.5", + "@snyk/protect": "latest" }, "description": "Write files in an atomic fashion w/configurable ownership", "devDependencies": { "require-inject": "^1.1.0", - "standard": "^5.4.1", - "tap": "^2.3.1" + "standard": "^6.0.0", + "tap": "^14.6.8" }, "directories": {}, "dist": { @@ -93,7 +94,10 @@ "url": "git+ssh://git@github.com/iarna/write-file-atomic.git" }, "scripts": { - "test": "standard && tap --coverage test/*.js" + "test": "standard && tap --coverage test/*.js", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, - "version": "1.1.4" + "version": "1.1.4", + "snyk": true }