From d256a8fbc23b16559d43875f3662de33ccc11bd6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 16 Jun 2024 03:40:55 +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..93439acfcdaa68 --- /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-16T03:40:53.360Z' + 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 }