From 08a2ecd4a0a0182c9bfd0f6617fe4190556bc94a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 13 Jun 2024 02:57:25 +0000 Subject: [PATCH] fix: tools/node_modules/eslint/node_modules/flat-cache/package.json & tools/node_modules/eslint/node_modules/flat-cache/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .../node_modules/eslint/node_modules/flat-cache/.snyk | 10 ++++++++++ .../eslint/node_modules/flat-cache/package.json | 10 +++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 tools/node_modules/eslint/node_modules/flat-cache/.snyk diff --git a/tools/node_modules/eslint/node_modules/flat-cache/.snyk b/tools/node_modules/eslint/node_modules/flat-cache/.snyk new file mode 100644 index 00000000000000..c3241146fa7e1d --- /dev/null +++ b/tools/node_modules/eslint/node_modules/flat-cache/.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: + SNYK-JS-LODASH-567746: + - changelogx > lodash: + patched: '2024-06-13T02:57:23.213Z' + id: SNYK-JS-LODASH-567746 + path: changelogx > lodash diff --git a/tools/node_modules/eslint/node_modules/flat-cache/package.json b/tools/node_modules/eslint/node_modules/flat-cache/package.json index 8bc6f87c51083b..17fc689277a3e5 100644 --- a/tools/node_modules/eslint/node_modules/flat-cache/package.json +++ b/tools/node_modules/eslint/node_modules/flat-cache/package.json @@ -40,7 +40,9 @@ "test:cache": "mocha -R spec test/specs", "test": "npm run verify --silent", "cover": "istanbul cover test/runner.js html text-summary", - "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary" + "watch": "watch-run -i -p 'test/specs/**/*.js' istanbul cover test/runner.js html text-summary", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "keywords": [ "json cache", @@ -79,6 +81,8 @@ }, "dependencies": { "flatted": "^3.1.0", - "rimraf": "^3.0.2" - } + "rimraf": "^3.0.2", + "@snyk/protect": "latest" + }, + "snyk": true }