Move from yarn to npm

This commit is contained in:
Fedor Indutny 2024-06-24 13:14:32 -07:00 committed by GitHub
parent 59b27974f0
commit 2478bf1bd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 53620 additions and 26702 deletions

View file

@ -733,6 +733,34 @@
"reasonCategory": "falseMatch",
"updated": "2023-08-29T19:25:52.732Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/array-includes/node_modules/object-inspect/example/inspect.js",
"line": "d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/array-includes/node_modules/object-inspect/test/browser/dom.js",
"line": " d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/array.prototype.flatmap/node_modules/object-inspect/example/inspect.js",
"line": "d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/array.prototype.flatmap/node_modules/object-inspect/test/browser/dom.js",
"line": " d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/axe-core/axe.js",
@ -759,6 +787,13 @@
"reasonCategory": "usageTrusted",
"updated": "2021-04-13T17:31:15.352Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/axe-core/doc/examples/jest_react/test-helpers.js",
"line": "\twrapper.innerHTML = '';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/axe-core/lib/core/utils/dq-element.js",
@ -794,6 +829,27 @@
"reasonCategory": "falseMatch",
"updated": "2018-09-15T00:38:04.183Z"
},
{
"rule": "eval",
"path": "node_modules/config/node_modules/json5/test/parse.js",
"line": "// native JSON.parse() or ES5 strict-mode eval(). See readme.txt for details.",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "eval",
"path": "node_modules/config/node_modules/json5/test/parse.js",
"line": "// For eval(), remember to wrap the input in parentheses before eval()'ing,",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "eval",
"path": "node_modules/config/node_modules/json5/test/parse.js",
"line": " return eval('\"use strict\"; (\\n' + str + '\\n)');",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/domutils/node_modules/dom-serializer/lib/esm/index.js",
@ -808,6 +864,34 @@
"reasonCategory": "falseMatch",
"updated": "2023-01-11T23:51:00.603Z"
},
{
"rule": "eval",
"path": "node_modules/es5-ext/node_modules/type/test/_lib/arrow-function-if-supported.js",
"line": "try { module.exports = eval(\"(() => {})\"); }",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "eval",
"path": "node_modules/es5-ext/node_modules/type/test/_lib/class-if-supported.js",
"line": "try { module.exports = eval(\"(class {})\"); }",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "eval",
"path": "node_modules/esniff/node_modules/d/node_modules/type/test/_lib/arrow-function-if-supported.js",
"line": "try { module.exports = eval(\"(() => {})\"); }",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "eval",
"path": "node_modules/esniff/node_modules/d/node_modules/type/test/_lib/class-if-supported.js",
"line": "try { module.exports = eval(\"(class {})\"); }",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "React-ref",
"path": "node_modules/esquery/dist/esquery.esm.min.js",
@ -843,6 +927,13 @@
"reasonCategory": "exampleCode",
"updated": "2021-10-01T23:53:26.107Z"
},
{
"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",
@ -1224,6 +1315,55 @@
"reasonCategory": "notExercisedByOurApp",
"updated": "2023-06-29T17:01:25.145Z"
},
{
"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",
@ -1248,6 +1388,104 @@
"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 <img />\"",
"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 = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/object-inspect/test/browser/dom.js",
"line": " d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/object.hasown/node_modules/object-inspect/example/inspect.js",
"line": "d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/object.hasown/node_modules/object-inspect/test/browser/dom.js",
"line": " d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/parse-entities/decode-entity.browser.js",
@ -1270,6 +1508,13 @@
"reasonCategory": "falseMatch",
"updated": "2018-09-19T18:06:35.446Z"
},
{
"rule": "eval",
"path": "node_modules/pino/test/fixtures/eval/index.js",
"line": "eval(`",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "eval",
"path": "node_modules/protobufjs/dist/light/protobuf.js",
@ -2176,6 +2421,20 @@
"reasonCategory": "usageTrusted",
"updated": "2022-06-16T23:23:32.306Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/side-channel/node_modules/object-inspect/example/inspect.js",
"line": "d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/side-channel/node_modules/object-inspect/test/browser/dom.js",
"line": " d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "eval",
"path": "node_modules/source-map-support/source-map-support.js",
@ -2204,6 +2463,20 @@
"reasonCategory": "falseMatch",
"updated": "2020-04-30T22:35:27.860Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/string.prototype.matchall/node_modules/object-inspect/example/inspect.js",
"line": "d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/string.prototype.matchall/node_modules/object-inspect/test/browser/dom.js",
"line": " d.innerHTML = '<b>wooo</b><i>iiiii</i>';",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/tocbot/dist/tocbot.js",
@ -2388,6 +2661,62 @@
"reasonCategory": "notExercisedByOurApp",
"updated": "2023-10-03T18:55:06.301Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/uri-js/tests/qunit.js",
"line": "\t\t\ttests.innerHTML = \"\";",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/uri-js/tests/qunit.js",
"line": "\t\t\t\tb.innerHTML = name + \" <b style='color:black;'>(<b class='fail'>\" + bad + \"</b>, <b class='pass'>\" + good + \"</b>, \" + config.assertions.length + \")</b>\";",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/uri-js/tests/qunit.js",
"line": "\t\tuserAgent.innerHTML = navigator.userAgent;",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/uri-js/tests/qunit.js",
"line": "\t\tlabel.innerHTML = \"Hide passed tests\";",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/uri-js/tests/qunit.js",
"line": "\t\t\t\tif ( li[i].className.indexOf(\"fail\") > -1 && li[i].innerHTML.indexOf('missing test - untested code is broken code') > - 1 ) {",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/uri-js/tests/qunit.js",
"line": "\t\tlabel.innerHTML = \"Hide missing tests (untested code is broken code)\";",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/uri-js/tests/qunit.js",
"line": "\t\tconfig.fixture = main.innerHTML;",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/uri-js/tests/qunit.js",
"line": "\t\tresult.innerHTML = html;",
"reasonCategory": "testCode",
"updated": "2024-06-24T19:19:28.335Z"
},
{
"rule": "React-useRef",
"path": "node_modules/use-callback-ref/dist/es2015/assignRef.js",
@ -2809,6 +3138,13 @@
"reasonCategory": "usageTrusted",
"updated": "2021-08-03T21:17:38.615Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallManager.tsx",
"line": " const imageDataCache = React.useRef<CallingImageDataCache>(new Map());",
"reasonCategory": "usageTrusted",
"updated": "2024-05-06T20:18:59.647Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallNeedPermissionScreen.tsx",
@ -2987,6 +3323,46 @@
"reasonCategory": "usageTrusted",
"updated": "2024-01-12T18:56:18.138Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const searchStateItemsRef = useRef<ReadonlyArray<CallHistoryGroup> | null>(",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueRef = useRef<Set<string>>(new Set());",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueArgsRef = useRef<Map<string, PeekNotConnectedGroupCallType>>(",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const inactiveCallLinksPeekedAtRef = useRef<Map<string, number>>(new Map());",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueTimerRef = useRef<NodeJS.Timeout | null>(null);",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
@ -3899,52 +4275,5 @@
"line": " message.innerHTML = window.i18n('icu:optimizingApplication');",
"reasonCategory": "usageTrusted",
"updated": "2021-09-17T21:02:59.414Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallManager.tsx",
"line": " const imageDataCache = React.useRef<CallingImageDataCache>(new Map());",
"reasonCategory": "usageTrusted",
"updated": "2024-05-06T20:18:59.647Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const searchStateItemsRef = useRef<ReadonlyArray<CallHistoryGroup> | null>(",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueRef = useRef<Set<string>>(new Set());",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueArgsRef = useRef<Map<string, PeekNotConnectedGroupCallType>>(",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const inactiveCallLinksPeekedAtRef = useRef<Map<string, number>>(new Map());",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueTimerRef = useRef<NodeJS.Timeout | null>(null);",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
}
]

View file

@ -26,7 +26,6 @@ const EXTENSIONS_TO_CHECK = new Set([
'.prettierignore',
'.sh',
'.snyk',
'.yarnclean',
'.yml',
'.js',
'.scss',
@ -272,7 +271,7 @@ async function main() {
console.log();
}
console.log(chalk.magenta.bold('`yarn lint-license-comments` failed'));
console.log(chalk.magenta.bold('`npm run lint-license-comments` failed'));
console.log();
process.exit(1);