diff --git a/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/set-blocking/.snyk b/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/set-blocking/.snyk new file mode 100644 index 0000000000000..dc71f7e959edf --- /dev/null +++ b/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/set-blocking/.snyk @@ -0,0 +1,10 @@ +# 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:minimatch:20160620': + - mocha > glob > minimatch: + patched: '2024-10-24T14:50:01.409Z' + id: 'npm:minimatch:20160620' + path: mocha > glob > minimatch diff --git a/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/set-blocking/package.json b/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/set-blocking/package.json index c082db72c6259..0d552c9630a76 100644 --- a/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/set-blocking/package.json +++ b/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/set-blocking/package.json @@ -7,7 +7,9 @@ "pretest": "standard", "test": "nyc mocha ./test/*.js", "coverage": "nyc report --reporter=text-lcov | coveralls", - "version": "standard-version" + "version": "standard-version", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "repository": { "type": "git", @@ -29,14 +31,18 @@ "homepage": "https://github.com/yargs/set-blocking#readme", "devDependencies": { "chai": "^3.5.0", - "coveralls": "^2.11.9", - "mocha": "^2.4.5", - "nyc": "^6.4.4", - "standard": "^7.0.1", - "standard-version": "^2.2.1" + "coveralls": "^3.0.10", + "mocha": "^10.1.0", + "nyc": "^13.0.0", + "standard": "^16.0.0", + "standard-version": "^9.5.0" }, "files": [ "index.js", "LICENSE.txt" - ] + ], + "snyk": true, + "dependencies": { + "@snyk/protect": "latest" + } } \ No newline at end of file