diff --git a/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/unicode-length/.snyk b/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/unicode-length/.snyk new file mode 100644 index 0000000000000..ec5aab406201d --- /dev/null +++ b/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/unicode-length/.snyk @@ -0,0 +1,14 @@ +# 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-21T16:09:58.181Z' + id: 'npm:minimatch:20160620' + path: mocha > glob > minimatch + - gulp-mocha > mocha > glob > minimatch: + patched: '2024-10-21T16:09:58.181Z' + id: 'npm:minimatch:20160620' + path: gulp-mocha > mocha > glob > minimatch diff --git a/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/unicode-length/package.json b/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/unicode-length/package.json index cb2b54aff0a6a..408d8f18dfd7c 100644 --- a/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/unicode-length/package.json +++ b/workspaces/arborist/test/fixtures/tap-with-yarn-lock/node_modules/unicode-length/package.json @@ -21,24 +21,27 @@ }, "scripts": { "test": "gulp test", - "prepublish": "gulp build" + "prepublish": "npm run snyk-protect && gulp build", + "snyk-protect": "snyk-protect" }, "author": "Juan Cruz Viotti ", "license": "MIT", "devDependencies": { "chai": "~1.10.0", "coffee-script": "~1.8.0", - "gulp": "~3.8.10", - "gulp-coffee": "~2.2.0", + "gulp": "~5.0.0", + "gulp-coffee": "~3.0.3", "gulp-coffeelint": "~0.4.0", - "gulp-mocha": "~2.0.0", + "gulp-mocha": "~9.0.0", "gulp-util": "~3.0.1", - "mocha": "~2.0.1", + "mocha": "~10.1.0", "sinon": "~1.12.2", "sinon-chai": "~2.6.0" }, "dependencies": { "punycode": "^1.3.2", - "strip-ansi": "^3.0.1" - } + "strip-ansi": "^3.0.1", + "@snyk/protect": "latest" + }, + "snyk": true }