diff --git a/.npmrc b/.npmrc index 521a9f7c0..7d0747934 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ +node-linker=hoisted legacy-peer-deps=true diff --git a/ts/util/lint/exceptions.json b/ts/util/lint/exceptions.json index cf5c9bba9..f8726eccf 100644 --- a/ts/util/lint/exceptions.json +++ b/ts/util/lint/exceptions.json @@ -15,6 +15,84 @@ "updated": "2018-09-18T19:19:27.699Z", "reasonDetail": "Part of runtime library for C++ transpiled code" }, + { + "rule": "eval", + "path": "node_modules/@cspotcode/source-map-support/source-map-support.js", + "line": " // Most eval() calls are in this format", + "reasonCategory": "usageTrusted", + "updated": "2024-09-26T18:39:25.816Z" + }, + { + "rule": "eval", + "path": "node_modules/@cspotcode/source-map-support/source-map-support.js", + "line": " // Parse nested eval() calls using recursion", + "reasonCategory": "usageTrusted", + "updated": "2024-09-26T18:39:25.816Z" + }, + { + "rule": "eval", + "path": "node_modules/@cspotcode/source-map-support/source-map-support.js", + "line": " // passed to eval() ending in \"//# sourceURL=...\" will return the source file", + "reasonCategory": "usageTrusted", + "updated": "2024-09-26T18:39:25.816Z" + }, + { + "rule": "eval", + "path": "node_modules/@cspotcode/source-map-support/source-map-support.js", + "line": " // Code called using eval() needs special handling", + "reasonCategory": "usageTrusted", + "updated": "2024-09-26T18:39:25.816Z" + }, + { + "rule": "eval", + "path": "node_modules/@jsonjoy.com/util/lib/codegen/compile.js", + "line": "const compile = (js) => eval(js);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:42:33.044Z" + }, + { + "rule": "eval", + "path": "node_modules/@protobufjs/inquire/index.js", + "line": " var mod = eval(\"quire\".replace(/^/,\"re\"))(moduleName); // eslint-disable-line no-eval", + "reasonCategory": "usageTrusted", + "updated": "2018-09-18T19:19:27.699Z", + "reasonDetail": "What's being eval'd is a static string" + }, + { + "rule": "React-useRef", + "path": "node_modules/@react-spring/animated/dist/react-spring_animated.legacy-esm.js", + "line": " const instanceRef = useRef(null);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-16T00:21:51.887Z" + }, + { + "rule": "React-useRef", + "path": "node_modules/@react-spring/animated/dist/react-spring_animated.legacy-esm.js", + "line": " const observerRef = useRef();", + "reasonCategory": "usageTrusted", + "updated": "2024-11-16T00:21:51.887Z" + }, + { + "rule": "React-useRef", + "path": "node_modules/@react-spring/core/dist/react-spring_core.legacy-esm.js", + "line": " const layoutId = useRef(0);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-16T00:21:51.887Z" + }, + { + "rule": "React-useRef", + "path": "node_modules/@react-spring/core/dist/react-spring_core.legacy-esm.js", + "line": " const ctrls = useRef([...state.ctrls]);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-16T00:21:51.887Z" + }, + { + "rule": "React-useRef", + "path": "node_modules/@react-spring/shared/dist/react-spring_shared.legacy-esm.js", + "line": " const ref = useRef(null);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-16T00:21:51.887Z" + }, { "rule": "DOM-innerHTML", "path": "node_modules/@signalapp/quill-cjs/core/editor.js", @@ -187,6 +265,235 @@ "updated": "2020-10-13T18:36:57.012Z", "reasonDetail": "necessary for quill" }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@sindresorhus/is/dist/index.js", + "line": " 'innerHTML',", + "reasonCategory": "usageTrusted", + "updated": "2021-10-06T15:40:12.124Z" + }, + { + "rule": "eval", + "path": "node_modules/@sinonjs/commons/lib/function-name.test.js", + "line": " fn = eval(\"(function*() {})\")().constructor;", + "reasonCategory": "testCode", + "updated": "2020-10-09T22:28:48.591Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js", + "line": " if (!element || !('innerHTML' in element)) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js", + "line": " if (!element.innerHTML) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js", + "line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js", + "line": " if (!('outerHTML' in dom)) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js", + "line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js", + "line": " if (!element || !('innerHTML' in element)) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js", + "line": " if (!element.innerHTML) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js", + "line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js", + "line": " if (!('outerHTML' in dom)) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js", + "line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js", + "line": "\t if (!element || !('innerHTML' in element)) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js", + "line": "\t if (!element.innerHTML) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js", + "line": "\t const playgroundUrl = getPlaygroundUrl(element.innerHTML);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js", + "line": "\t if (!('outerHTML' in dom)) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js", + "line": "\t return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.min.js", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.min.js", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/pretty-dom.js", + "line": " if (!('outerHTML' in dom)) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/dom/dist/pretty-dom.js", + "line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? `${debugContent.slice(0, maxLength)}...` : debugContent;", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/screen.js", + "line": " if (!element || !('innerHTML' in element)) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/screen.js", + "line": " if (!element.innerHTML) {", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/dom/dist/screen.js", + "line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js", + "line": " pass: element.innerHTML === '',", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js", + "line": " ` ${this.utils.printReceived(element.innerHTML)}`,", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js", + "line": " ` ${this.utils.printReceived(element.innerHTML)}`,", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js", + "line": " div.innerHTML = htmlText;", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js", + "line": " return div.innerHTML", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js", + "line": " pass: container.outerHTML.includes(getNormalizedHtml(container, htmlText)),", + "reasonCategory": "usageTrusted", + "updated": "2024-11-13T23:31:32.324Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/user-event/dist/cjs/utility/selectOptions.js", + "line": " const matchingOption = allOptions.find((o)=>o.value === val || o.innerHTML === val);", + "reasonCategory": "usageTrusted", + "updated": "2023-10-03T18:55:06.301Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/@testing-library/user-event/dist/esm/utility/selectOptions.js", + "line": " const matchingOption = allOptions.find((o)=>o.value === val || o.innerHTML === val);", + "reasonCategory": "usageTrusted", + "updated": "2023-10-03T18:55:06.301Z" + }, + { + "rule": "eval", + "path": "node_modules/@tootallnate/quickjs-emscripten/dist/context.js", + "line": " * Like [`eval(code)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Description).", + "reasonCategory": "falseMatch", + "updated": "2023-08-29T19:25:52.732Z" + }, { "rule": "DOM-innerHTML", "path": "node_modules/axe-core/axe.js", @@ -241,6 +548,41 @@ "reasonCategory": "usageTrusted", "updated": "2024-11-14T01:39:46.132Z" }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/dom-serializer/lib/esm/index.js", + "line": " * Can be thought of as the equivalent of the `outerHTML` of the passed node(s).", + "reasonCategory": "falseMatch", + "updated": "2023-01-11T23:51:00.603Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/dom-serializer/lib/index.js", + "line": " * Can be thought of as the equivalent of the `outerHTML` of the passed node(s).", + "reasonCategory": "falseMatch", + "updated": "2023-01-11T23:51:00.603Z" + }, + { + "rule": "React-ref", + "path": "node_modules/esquery/dist/esquery.esm.min.js", + "reasonCategory": "falseMatch", + "updated": "2020-08-26T00:10:28.628Z", + "reasonDetail": "isn't react" + }, + { + "rule": "React-ref", + "path": "node_modules/esquery/dist/esquery.min.js", + "reasonCategory": "falseMatch", + "updated": "2020-08-26T00:10:28.628Z", + "reasonDetail": "isn't react" + }, + { + "rule": "eval", + "path": "node_modules/expect-playwright/lib/matchers/toHaveSelectorCount/index.js", + "line": " const actualCount = await elementHandle.$$eval(selector, (el) => el.length);", + "reasonCategory": "usageTrusted", + "updated": "2023-10-03T18:55:06.301Z" + }, { "rule": "React-useRef", "path": "node_modules/framer-motion/dist/cjs/index.js", @@ -485,6 +827,13 @@ "reasonCategory": "usageTrusted", "updated": "2025-02-19T20:14:46.879Z" }, + { + "rule": "eval", + "path": "node_modules/globalthis/test/tests.js", + "line": "\t\teval(key + ' = semaphore;');", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, { "rule": "DOM-innerHTML", "path": "node_modules/google-libphonenumber/dist/libphonenumber.js", @@ -624,6 +973,261 @@ "reasonCategory": "usageTrusted", "updated": "2024-11-16T00:33:41.092Z" }, + { + "rule": "eval", + "path": "node_modules/jest-runner/node_modules/source-map-support/source-map-support.js", + "line": " // Most eval() calls are in this format", + "reasonCategory": "usageTrusted", + "updated": "2023-10-03T18:55:06.301Z" + }, + { + "rule": "eval", + "path": "node_modules/jest-runner/node_modules/source-map-support/source-map-support.js", + "line": " // Parse nested eval() calls using recursion", + "reasonCategory": "usageTrusted", + "updated": "2023-10-03T18:55:06.301Z" + }, + { + "rule": "eval", + "path": "node_modules/jest-runner/node_modules/source-map-support/source-map-support.js", + "line": " // passed to eval() ending in \"//# sourceURL=...\" will return the source file", + "reasonCategory": "usageTrusted", + "updated": "2023-10-03T18:55:06.301Z" + }, + { + "rule": "eval", + "path": "node_modules/jest-runner/node_modules/source-map-support/source-map-support.js", + "line": " // Code called using eval() needs special handling", + "reasonCategory": "usageTrusted", + "updated": "2023-10-03T18:55:06.301Z" + }, + { + "rule": "React-ref", + "path": "node_modules/joi/dist/joi-browser.min.js", + "reasonCategory": "usageTrusted", + "updated": "2023-10-03T18:55:06.301Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/jsdoc/templates/default/static/scripts/prettify/prettify.js", + "reasonCategory": "testCode", + "updated": "2023-07-12T01:02:31.061Z" + }, + { + "rule": "eval", + "path": "node_modules/loader-runner/lib/loadLoader.js", + "line": "\t\t\tvar modulePromise = eval(\"import(\" + JSON.stringify(loaderUrl.toString()) + \")\");", + "reasonCategory": "usageTrusted", + "updated": "2021-04-05T20:48:36.065Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/lz-string/tests/lib/jasmine-1.3.1/jasmine-html.js", + "line": " this.runningAlert.innerHTML = \"Running \" + this.completeSpecCount + \" of \" + specPluralizedFor(this.totalSpecCount);", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/lz-string/tests/lib/jasmine-1.3.1/jasmine-html.js", + "line": " this.skippedAlert.innerHTML = \"Skipping \" + this.skippedCount + \" of \" + specPluralizedFor(this.totalSpecCount) + \" - run all\";", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/lz-string/tests/lib/jasmine-1.3.1/jasmine-html.js", + "line": " this.passedAlert.innerHTML = \"Passing \" + specPluralizedFor(this.passedCount);", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/lz-string/tests/lib/jasmine-1.3.1/jasmine-html.js", + "line": " this.failedAlert.innerHTML = \"Failing \" + specPluralizedFor(this.failedCount);", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/lz-string/tests/lib/jasmine-1.3.1/jasmine-html.js", + "line": " this.summaryMenuItem.innerHTML = \"\" + specPluralizedFor(this.runningSpecCount);", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/lz-string/tests/lib/jasmine-1.3.1/jasmine-html.js", + "line": " this.detailsMenuItem.innerHTML = \"\" + this.failedCount + \" failing\";", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/lz-string/tests/lib/jasmine-1.3.1/jasmine-html.js", + "line": " this.skippedAlert.innerHTML = \"Ran \" + this.runningSpecCount + \" of \" + specPluralizedFor(this.totalSpecCount) + \" - run all\";", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/serialize.js", + "line": " } else if (elem.innerHTML) {", + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Getting the value, not setting it" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/serialize.js", + "line": " key !== \"textContent\" && key !== \"innerText\" && key !== \"namespaceURI\" && key !== \"innerHTML\"", + "reasonCategory": "usageTrusted", + "updated": "2018-09-15T00:38:04.183Z", + "reasonDetail": "Getting the value, not setting it" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/serialize.js", + "line": " strings.push(elem.innerHTML)", + "reasonCategory": "usageTrusted", + "updated": "2020-09-11T17:24:56.124Z", + "reasonDetail": "Read, not write" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/test/test-document.js", + "line": " html = div.innerHTML", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/test/test-document.js", + "line": " var innerHTML = []", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/test/test-document.js", + "line": " innerHTML.push(String(node.outerHTML || node))", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/test/test-document.js", + "line": " html = innerHTML.join(\"\")", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/min-document/test/test-document.js", + "line": " var html = String(div.outerHTML || div)", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/min-document/test/test-document.js", + "line": " html = element.outerHTML", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-outerHTML", + "path": "node_modules/min-document/test/test-document.js", + "line": " innerHTML.push(String(node.outerHTML || node))", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/test/test-dom-element.js", + "line": " test(\"does not serialize innerHTML as an attribute\", function(assert) {", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/test/test-dom-element.js", + "line": " div.innerHTML = \"Test \"", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/min-document/test/test-dom-element.js", + "line": " input.innerHTML = \"user input here\"", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/object-inspect/example/inspect.js", + "line": "d.innerHTML = 'woooiiiii';", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/object-inspect/test/browser/dom.js", + "line": " d.innerHTML = 'woooiiiii';", + "reasonCategory": "testCode", + "updated": "2024-06-24T19:19:28.335Z" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/p-event/index.js", + "line": "\t\t\tmultiArgs: false,", + "reasonCategory": "falseMatch", + "updated": "2024-12-20T19:43:51.589Z" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/p-event/index.js", + "line": "\t\tmultiArgs: false,", + "reasonCategory": "falseMatch", + "updated": "2024-12-20T19:43:51.589Z" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/p-event/index.js", + "line": "\t\t\tconst value = options.multiArgs ? args : args[0];", + "reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted", + "updated": "2024-12-20T19:43:51.589Z", + "reasonDetail": "" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/p-event/index.js", + "line": "\t\tconst value = options.multiArgs ? args : args[0];", + "reasonCategory": "otherUtilityCode", + "updated": "2024-12-20T19:43:51.589Z" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/p-event/index.js", + "line": "\t\terror = options.multiArgs ? args : args[0];", + "reasonCategory": "otherUtilityCode", + "updated": "2024-12-20T19:46:49.191Z" + }, + { + "rule": "thenify-multiArgs", + "path": "node_modules/p-event/index.js", + "line": "\t\tconst value = options.multiArgs ? args : args[0];", + "reasonCategory": "otherUtilityCode", + "updated": "2024-12-20T19:46:49.191Z" + }, + { + "rule": "DOM-innerHTML", + "path": "node_modules/parse-entities/decode-entity.browser.js", + "line": " el.innerHTML = entity", + "reasonCategory": "usageTrusted", + "updated": "2020-08-25T16:59:46.588Z", + "reasonDetail": "Ephemeral element" + }, { "rule": "thenify-multiArgs", "path": "node_modules/pify/index.js", @@ -706,6 +1310,13 @@ "updated": "2022-01-04T20:32:10.596Z", "reasonDetail": "Sample code never required by us." }, + { + "rule": "eval", + "path": "node_modules/raw-body/node_modules/depd/index.js", + "line": " var deprecatedfn = eval('(function (' + args + ') {\\n' +", + "reasonCategory": "usageTrusted", + "updated": "2022-12-13T00:55:48.389Z" + }, { "rule": "DOM-innerHTML", "path": "node_modules/react-blurhash/docs/demo.f335462148ad584661d8.js", @@ -1000,6 +1611,123 @@ "reasonCategory": "usageTrusted", "updated": "2024-11-16T00:31:42.167Z" }, + { + "rule": "eval", + "path": "node_modules/source-map-support/source-map-support.js", + "line": " // Most eval() calls are in this format", + "reasonCategory": "falseMatch", + "updated": "2020-04-30T22:35:27.860Z" + }, + { + "rule": "eval", + "path": "node_modules/source-map-support/source-map-support.js", + "line": " // Parse nested eval() calls using recursion", + "reasonCategory": "falseMatch", + "updated": "2020-04-30T22:35:27.860Z" + }, + { + "rule": "eval", + "path": "node_modules/source-map-support/source-map-support.js", + "line": " // passed to eval() ending in \"//# sourceURL=...\" will return the source file", + "reasonCategory": "falseMatch", + "updated": "2020-04-30T22:35:27.860Z" + }, + { + "rule": "eval", + "path": "node_modules/source-map-support/source-map-support.js", + "line": " // Code called using eval() needs special handling", + "reasonCategory": "falseMatch", + "updated": "2020-04-30T22:35:27.860Z" + }, + { + "rule": "React-useRef", + "path": "node_modules/use-composed-ref/dist/use-composed-ref.cjs.js", + "line": " var prevUserRef = React__default[\"default\"].useRef();", + "reasonCategory": "usageTrusted", + "updated": "2022-06-16T23:23:32.306Z" + }, + { + "rule": "React-useRef", + "path": "node_modules/use-composed-ref/dist/use-composed-ref.esm.js", + "line": " var prevUserRef = React.useRef();", + "reasonCategory": "usageTrusted", + "updated": "2025-03-06T21:17:11.182Z" + }, + { + "rule": "React-useRef", + "path": "node_modules/use-latest/dist/use-latest.cjs.js", + "line": " var ref = React__default[\"default\"].useRef(value);", + "reasonCategory": "usageTrusted", + "updated": "2025-03-06T21:22:04.581Z" + }, + { + "rule": "React-useRef", + "path": "node_modules/use-latest/dist/use-latest.esm.js", + "line": " var ref = React.useRef(value);", + "reasonCategory": "usageTrusted", + "updated": "2022-06-16T23:23:32.306Z" + }, + { + "rule": "eval", + "path": "node_modules/workerpool/dist/worker.js", + "line": "var requireFoolWebpack = eval('typeof require !== \\'undefined\\'' + ' ? require' + ' : function (module) { throw new Error(\\'Module \" + module + \" not found.\\') }');", + "reasonCategory": "usageTrusted", + "updated": "2021-09-16T20:26:31.296Z", + "reasonDetail": "Dev-only dependency." + }, + { + "rule": "eval", + "path": "node_modules/workerpool/dist/workerpool.js", + "reasonCategory": "usageTrusted", + "updated": "2021-09-16T20:26:31.296Z", + "reasonDetail": "Dev-only dependency." + }, + { + "rule": "eval", + "path": "node_modules/workerpool/dist/workerpool.js", + "line": "var requireFoolWebpack = eval('typeof require !== \\'undefined\\' ' + '? require ' + ': function (module) { throw new Error(\\'Module \" + module + \" not found.\\') }');", + "reasonCategory": "usageTrusted", + "updated": "2021-09-16T20:26:31.296Z", + "reasonDetail": "Dev-only dependency." + }, + { + "rule": "eval", + "path": "node_modules/workerpool/dist/workerpool.js", + "line": "var requireFoolWebpack = eval('typeof require !== \\'undefined\\'' + ' ? require' + ' : function (module) { throw new Error(\\'Module \" + module + \" not found.\\') }');", + "reasonCategory": "usageTrusted", + "updated": "2021-09-16T20:26:31.296Z", + "reasonDetail": "Dev-only dependency." + }, + { + "rule": "eval", + "path": "node_modules/workerpool/dist/workerpool.min.js", + "reasonCategory": "usageTrusted", + "updated": "2021-09-16T20:26:31.296Z", + "reasonDetail": "Dev-only dependency." + }, + { + "rule": "eval", + "path": "node_modules/workerpool/src/generated/embeddedWorker.js", + "reasonCategory": "usageTrusted", + "updated": "2021-09-16T20:26:31.296Z", + "reasonDetail": "Dev-only dependency." + }, + { + "rule": "eval", + "path": "node_modules/workerpool/src/requireFoolWebpack.js", + "line": "var requireFoolWebpack = eval(", + "reasonCategory": "usageTrusted", + "updated": "2021-09-16T20:26:31.296Z", + "reasonDetail": "Dev-only dependency." + }, + { + "rule": "eval", + "path": "node_modules/workerpool/src/worker.js", + "line": "var requireFoolWebpack = eval(", + "reasonCategory": "usageTrusted", + "updated": "2021-09-16T20:26:31.296Z", + "reasonDetail": "Dev-only dependency." + }, { "rule": "React-useRef", "path": "ts/calling/useGetCallingFrameBuffer.ts",