From 49b760bf160ff4826a566df288d83a1dd2898f5e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 3 Aug 2024 07:14:55 +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..e1034eb2cc0966 --- /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-08-03T07:14:53.662Z' + id: SNYK-JS-LODASH-567746 + path: changelogx > lodash + - changelogx > clix > lodash: + patched: '2024-08-03T07:14:53.662Z' + 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 }