From ea7bbb529ed852fb06974abfb2128e3c76c37fa2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 21 Jul 2024 22:29:16 +0000 Subject: [PATCH] fix: tools/node_modules/eslint/node_modules/file-entry-cache/package.json & tools/node_modules/eslint/node_modules/file-entry-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/file-entry-cache/.snyk | 14 ++++++++++++++ .../node_modules/file-entry-cache/package.json | 10 +++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 tools/node_modules/eslint/node_modules/file-entry-cache/.snyk diff --git a/tools/node_modules/eslint/node_modules/file-entry-cache/.snyk b/tools/node_modules/eslint/node_modules/file-entry-cache/.snyk new file mode 100644 index 00000000000000..5637c33ae8094a --- /dev/null +++ b/tools/node_modules/eslint/node_modules/file-entry-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: '2024-07-21T22:29:14.705Z' + id: SNYK-JS-LODASH-567746 + path: changelogx > lodash + - changelogx > clix > lodash: + patched: '2024-07-21T22:29:14.705Z' + id: SNYK-JS-LODASH-567746 + path: changelogx > clix > lodash diff --git a/tools/node_modules/eslint/node_modules/file-entry-cache/package.json b/tools/node_modules/eslint/node_modules/file-entry-cache/package.json index f03ef48cc6f523..ae6fbe03f4e23c 100644 --- a/tools/node_modules/eslint/node_modules/file-entry-cache/package.json +++ b/tools/node_modules/eslint/node_modules/file-entry-cache/package.json @@ -29,7 +29,9 @@ "test": "npm run eslint --silent && mocha -R spec test/specs", "perf": "node perf.js", "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" }, "prepush": [ "npm run eslint --silent" @@ -75,6 +77,8 @@ "write": "^2.0.0" }, "dependencies": { - "flat-cache": "^3.0.4" - } + "flat-cache": "^3.0.4", + "@snyk/protect": "latest" + }, + "snyk": true }