From 06abc88df679030457cf0357c0c74895d75af809 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 4 Dec 2023 22:51:43 +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 --- .../eslint/node_modules/flat-cache/.snyk | 14 ++++++++++++++ .../eslint/node_modules/flat-cache/package.json | 10 +++++++--- 2 files changed, 21 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..b5394208eaf424 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/flat-cache/.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: + SNYK-JS-LODASH-567746: + - changelogx > lodash: + patched: '2023-12-04T22:51:41.537Z' + id: SNYK-JS-LODASH-567746 + path: changelogx > lodash + - changelogx > clix > lodash: + patched: '2023-12-04T22:51:41.537Z' + id: SNYK-JS-LODASH-567746 + path: changelogx > clix > 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 }