diff --git a/deps/v8/tools/clusterfuzz/js_fuzzer/.snyk b/deps/v8/tools/clusterfuzz/js_fuzzer/.snyk new file mode 100644 index 00000000000000..13d6caee283585 --- /dev/null +++ b/deps/v8/tools/clusterfuzz/js_fuzzer/.snyk @@ -0,0 +1,25 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:debug:20170905': + - pkg > globby > fast-glob > micromatch > snapdragon > debug: + patched: '2022-08-19T18:00:35.908Z' + - pkg > globby > fast-glob > micromatch > braces > snapdragon > debug: + patched: '2022-08-19T18:00:35.908Z' + - pkg > globby > fast-glob > micromatch > extglob > snapdragon > debug: + patched: '2022-08-19T18:00:35.908Z' + - pkg > globby > fast-glob > micromatch > nanomatch > snapdragon > debug: + patched: '2022-08-19T18:00:35.908Z' + - pkg > globby > fast-glob > micromatch > extglob > expand-brackets > debug: + patched: '2022-08-19T18:00:35.908Z' + - pkg > globby > fast-glob > micromatch > extglob > expand-brackets > snapdragon > debug: + patched: '2022-08-19T18:00:35.908Z' + SNYK-JS-LODASH-567746: + - eslint > lodash: + patched: '2022-08-19T18:00:35.908Z' + - eslint > inquirer > lodash: + patched: '2022-08-19T18:00:35.908Z' + - eslint > table > lodash: + patched: '2022-08-19T18:00:35.908Z' diff --git a/deps/v8/tools/clusterfuzz/js_fuzzer/package.json b/deps/v8/tools/clusterfuzz/js_fuzzer/package.json index 5a7796e6777485..a1e3c42e8b0d6a 100644 --- a/deps/v8/tools/clusterfuzz/js_fuzzer/package.json +++ b/deps/v8/tools/clusterfuzz/js_fuzzer/package.json @@ -4,7 +4,9 @@ "description": "", "main": "run.js", "scripts": { - "test": "APP_NAME=d8 mocha" + "test": "APP_NAME=d8 mocha", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "bin": "run.js", "author": "ochang@google.com", @@ -18,16 +20,18 @@ "commander": "^2.11.0", "globals": "^10.1.0", "tempfile": "^3.0.0", - "tempy": "^0.5.0" + "tempy": "^0.5.0", + "@snyk/protect": "latest" }, "devDependencies": { "eslint": "^6.8.0", - "mocha": "^3.5.3", - "pkg": "^4.3.4", + "mocha": "^6.2.3", + "pkg": "^4.4.1", "prettier": "2.0.5", "sinon": "^4.0.0" }, "pkg": { "assets": "resources/**/*" - } + }, + "snyk": true }