From 87348d2111458b64ded73168e05b04c261f17164 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 7 Jul 2023 02:05:48 +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 an upgrade: - https://snyk.io/vuln/SNYK-JS-MINIMATCH-3050818 - https://snyk.io/vuln/SNYK-JS-MOCHA-2863123 - https://snyk.io/vuln/SNYK-JS-NANOID-2332193 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 - https://snyk.io/vuln/npm:extend:20180424 - https://snyk.io/vuln/npm:minimatch:20160620 --- .../node_modules/file-entry-cache/.snyk | 44 +++++++++++++++++++ .../file-entry-cache/package.json | 12 +++-- 2 files changed, 52 insertions(+), 4 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..a6dec0b91211d6 --- /dev/null +++ b/tools/node_modules/eslint/node_modules/file-entry-cache/.snyk @@ -0,0 +1,44 @@ +# 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: + 'npm:extend:20180424': + - precommit > clix > extend: + patched: '2023-07-07T02:05:41.618Z' + id: 'npm:extend:20180424' + path: precommit > clix > extend + - prepush > clix > extend: + patched: '2023-07-07T02:05:41.618Z' + id: 'npm:extend:20180424' + path: prepush > clix > extend + - precommit > clix > clix-logger > extend: + patched: '2023-07-07T02:05:41.618Z' + id: 'npm:extend:20180424' + path: precommit > clix > clix-logger > extend + - prepush > clix > clix-logger > extend: + patched: '2023-07-07T02:05:41.618Z' + id: 'npm:extend:20180424' + path: prepush > clix > clix-logger > extend + SNYK-JS-LODASH-567746: + - changelogx > lodash: + patched: '2023-07-07T02:05:41.618Z' + id: SNYK-JS-LODASH-567746 + path: changelogx > lodash + - changelogx > clix > lodash: + patched: '2023-07-07T02:05:41.618Z' + id: SNYK-JS-LODASH-567746 + path: changelogx > clix > lodash + 'npm:minimatch:20160620': + - glob-expand > glob > minimatch: + patched: '2023-07-07T02:05:41.618Z' + id: 'npm:minimatch:20160620' + path: glob-expand > glob > minimatch + - precommit > clix > glob-expand > glob > minimatch: + patched: '2023-07-07T02:05:41.618Z' + id: 'npm:minimatch:20160620' + path: precommit > clix > glob-expand > glob > minimatch + - prepush > clix > glob-expand > glob > minimatch: + patched: '2023-07-07T02:05:41.618Z' + id: 'npm:minimatch:20160620' + path: prepush > clix > glob-expand > glob > minimatch 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..328df74299aa40 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" @@ -67,7 +69,7 @@ "eslint-plugin-prettier": "^3.1.4", "glob-expand": "^0.2.1", "istanbul": "^0.4.5", - "mocha": "^8.2.1", + "mocha": "^10.1.0", "precommit": "^1.2.2", "prepush": "^3.1.11", "prettier": "^2.1.2", @@ -75,6 +77,8 @@ "write": "^2.0.0" }, "dependencies": { - "flat-cache": "^3.0.4" - } + "flat-cache": "^3.0.4", + "@snyk/protect": "latest" + }, + "snyk": true }