From d70ee5f6cda136d5a63bddda9e81eea7336cb06e Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 2 Jul 2024 14:24:58 +0200 Subject: [PATCH] Migrate to ESLint 9 and ESLint flat config --- .eslintignore | 5 - .eslintrc | 55 - .github/.eslintrc | 3 - dev-server/.eslintrc | 8 - dev-server/ui-playground/.eslintrc | 8 - embedding-examples/.eslintrc | 6 - eslint.config.js | 101 ++ package.json | 16 +- scripts/.eslintrc | 10 - src/annotator/.eslintrc.cjs | 18 - src/annotator/anchoring/html.ts | 2 +- src/annotator/anchoring/xpath.ts | 2 +- src/annotator/config/settings.ts | 2 +- src/annotator/frame-observer.ts | 2 +- src/annotator/guest.ts | 2 +- src/annotator/integrations/html-metadata.ts | 6 +- src/annotator/integrations/pdf.tsx | 2 +- .../integrations/test/html-metadata-test.js | 4 +- src/annotator/range-util.ts | 2 +- src/annotator/sidebar.tsx | 2 +- src/annotator/util/emitter.ts | 2 +- src/boot/browser-check.ts | 2 +- src/karma.config.cjs | 6 +- src/shared/listener-collection.ts | 2 +- .../Annotation/AnnotationEditor.tsx | 3 +- .../Annotation/AnnotationShareControl.tsx | 2 +- src/sidebar/components/AutocompleteList.tsx | 2 +- .../components/GroupList/GroupListItem.tsx | 2 +- src/sidebar/components/Menu.tsx | 2 +- .../components/MenuKeyboardNavigation.tsx | 2 +- .../ShareDialog/ShareAnnotations.tsx | 2 +- src/sidebar/components/UserMenu.tsx | 2 +- src/sidebar/components/VersionInfo.tsx | 2 +- .../components/test/MarkdownEditor-test.js | 2 +- .../components/test/MarkdownView-test.js | 2 +- src/sidebar/components/test/Menu-test.js | 2 +- src/sidebar/components/test/MenuItem-test.js | 5 - .../test/MenuKeyboardNavigation-test.js | 2 +- src/sidebar/helpers/import.ts | 2 +- src/sidebar/render-markdown.ts | 3 +- src/sidebar/services/groups.ts | 2 +- src/sidebar/services/local-storage.ts | 2 +- src/sidebar/services/test/api-routes-test.js | 2 +- .../services/test/load-annotations-test.js | 2 +- src/sidebar/services/test/session-test.js | 2 +- src/sidebar/util/fetch.ts | 2 +- src/sidebar/util/sentry.ts | 4 +- yarn.lock | 1233 ++++++++++------- 48 files changed, 890 insertions(+), 664 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc delete mode 100644 .github/.eslintrc delete mode 100644 dev-server/.eslintrc delete mode 100644 dev-server/ui-playground/.eslintrc delete mode 100644 embedding-examples/.eslintrc create mode 100644 eslint.config.js delete mode 100644 scripts/.eslintrc delete mode 100644 src/annotator/.eslintrc.cjs diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 25a8e536c33..00000000000 --- a/.eslintignore +++ /dev/null @@ -1,5 +0,0 @@ -build/** -**/vendor/**/*.js -**/coverage/** -docs/_build/* -dev-server/static/**/*.js diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 0ff8c8f2733..00000000000 --- a/.eslintrc +++ /dev/null @@ -1,55 +0,0 @@ -{ - "extends": [ - "hypothesis", - "plugin:jsx-a11y/recommended", - "plugin:@typescript-eslint/recommended" - ], - "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint"], - "rules": { - "prefer-arrow-callback": ["error", { "allowNamedFunctions": true }], - "object-shorthand": ["error", "properties"], - - // Replaced by TypeScript's static checking. - "react/prop-types": "off", - - // Upgrade TS rules from warning to error. - "@typescript-eslint/no-unused-vars": "error", - - // Replace no-use-before-define with TS version, to avoid incorrect warnings. - // See https://typescript-eslint.io/rules/no-use-before-define - "no-use-before-define": "off", - "@typescript-eslint/no-use-before-define": [ - "error", - { - "functions": false, - "typedefs": false, - "ignoreTypeReferences": false - } - ], - - // Disable TS rules that we dislike. - "@typescript-eslint/ban-ts-comment": "off", - "@typescript-eslint/no-empty-function": "off", - "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/no-non-null-assertion": "off", - "@typescript-eslint/no-this-alias": "off", - - // Enforce consistency in cases where TypeScript supports old and new - // syntaxes for the same thing. - // - // - Require ` as ` for casts - // - Require `import type` for type imports. The corresponding rule for - // exports is not enabled yet because that requires setting up type-aware - // linting. - "@typescript-eslint/consistent-type-assertions": "error", - "@typescript-eslint/consistent-type-imports": "error" - }, - "overrides": [ - { - "files": ["*.js"], - "excludedFiles": ["src/**"], - "env": { "node": true }, - } - ] -} diff --git a/.github/.eslintrc b/.github/.eslintrc deleted file mode 100644 index 98a1dc01d74..00000000000 --- a/.github/.eslintrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "parserOptions": {} -} diff --git a/dev-server/.eslintrc b/dev-server/.eslintrc deleted file mode 100644 index 14b655e6131..00000000000 --- a/dev-server/.eslintrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "env": { - "node": true, - }, - "rules": { - "@typescript-eslint/no-var-requires": "off", - } -} diff --git a/dev-server/ui-playground/.eslintrc b/dev-server/ui-playground/.eslintrc deleted file mode 100644 index 19ea390836d..00000000000 --- a/dev-server/ui-playground/.eslintrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "parserOptions": { - "sourceType": "module" - }, - "rules": { - "react/prop-types": "off", - } -} diff --git a/embedding-examples/.eslintrc b/embedding-examples/.eslintrc deleted file mode 100644 index aef0af0ec11..00000000000 --- a/embedding-examples/.eslintrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "parserOptions": { - "ecmaVersion": 2018, - "sourceType": "module", - } -} diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 00000000000..525e2dea1f0 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,101 @@ +import hypothesis from 'eslint-config-hypothesis'; +import jsxA11y from 'eslint-plugin-jsx-a11y'; +import globals from 'globals'; +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + { + ignores: [ + '.tox/**/*', + '.yalc/**/*', + '.yarn/**/*', + 'build/**/*', + '**/vendor/**/*.js', + '**/coverage/**/*', + 'docs/_build/*', + 'dev-server/static/**/*.js', + ], + }, + ...hypothesis, + ...tseslint.configs.recommended, + { + plugins: { + 'jsx-a11y': jsxA11y, + }, + rules: { + 'prefer-arrow-callback': [ + 'error', + { + allowNamedFunctions: true, + }, + ], + + 'object-shorthand': ['error', 'properties'], + 'react/prop-types': 'off', + '@typescript-eslint/no-unused-vars': 'error', + 'no-use-before-define': 'off', + + '@typescript-eslint/no-use-before-define': [ + 'error', + { + functions: false, + typedefs: false, + ignoreTypeReferences: false, + }, + ], + + '@typescript-eslint/ban-ts-comment': 'off', + '@typescript-eslint/no-empty-function': 'off', + '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-non-null-assertion': 'off', + '@typescript-eslint/no-this-alias': 'off', + '@typescript-eslint/consistent-type-assertions': 'error', + '@typescript-eslint/consistent-type-imports': 'error', + }, + }, + + // Annotator module + { + files: ['src/annotator/**/*.{js|tx|tsx}'], + rules: { + 'no-restricted-properties': [ + 2, + { + // Disable `bind` usage in annotator/ code to prevent unexpected behavior + // due to broken bind polyfills. See + // https://github.com/hypothesis/client/issues/245 + property: 'bind', + message: + 'Use function expressions instead of bind() in annotator/ code', + }, + ], + }, + }, + + // Tests + { + files: ['**/*-test.js', '**/test*/*.js'], + languageOptions: { + globals: { + sinon: 'readonly', + assert: 'readonly', + }, + }, + }, + + // Scripts and configuration files + { + files: ['**/*.js'], + ignores: ['src/**'], + rules: { + '@typescript-eslint/no-var-requires': 'off', + 'no-console': 'off', + 'react-hooks/rules-of-hooks': 'off', + }, + languageOptions: { + globals: { + ...globals.node, + }, + }, + }, +); diff --git a/package.json b/package.json index 2acd4ab0d5e..fc43c70bbd4 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,6 @@ "@types/shallowequal": "^1.1.1", "@types/showdown": "^2.0.0", "@types/sinon": "^17.0.3", - "@typescript-eslint/eslint-plugin": "^7.0.1", - "@typescript-eslint/parser": "^7.0.1", "approx-string-match": "^2.0.0", "autoprefixer": "^10.0.1", "axe-core": "^4.0.0", @@ -58,16 +56,17 @@ "enzyme-adapter-preact-pure": "^4.0.1", "escape-html": "^1.0.3", "escape-string-regexp": "^4.0.0", - "eslint": "^8.3.0", - "eslint-config-hypothesis": "^2.6.0", - "eslint-plugin-jsx-a11y": "^6.2.3", - "eslint-plugin-mocha": "^10.0.1", - "eslint-plugin-react": "^7.12.4", - "eslint-plugin-react-hooks": "^4.0.4", + "eslint": "^9.12.0", + "eslint-config-hypothesis": "file:.yalc/eslint-config-hypothesis", + "eslint-plugin-jsx-a11y": "^6.10.0", + "eslint-plugin-mocha": "^10.5.0", + "eslint-plugin-react": "^7.37.1", + "eslint-plugin-react-hooks": "^5.0.0", "express": "^5.0.1", "fancy-log": "^2.0.0", "fetch-mock": "11", "focus-visible": "^5.0.0", + "globals": "^15.11.0", "gulp": "^5.0.0", "gulp-changed": "^5.0.1", "hammerjs": "^2.0.4", @@ -101,6 +100,7 @@ "tailwindcss": "^3.0.2", "tiny-emitter": "^2.0.2", "typescript": "^5.0.2", + "typescript-eslint": "^8.9.0", "wrap-text": "^1.0.7" }, "browserslist": "chrome 92, firefox 90, safari 14.1", diff --git a/scripts/.eslintrc b/scripts/.eslintrc deleted file mode 100644 index 3f2412173b3..00000000000 --- a/scripts/.eslintrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "env": { - "node": true - }, - "rules": { - "@typescript-eslint/no-var-requires": "off", - "no-console": "off", - "react-hooks/rules-of-hooks": "off" - } -} diff --git a/src/annotator/.eslintrc.cjs b/src/annotator/.eslintrc.cjs deleted file mode 100644 index cc18b52b0c0..00000000000 --- a/src/annotator/.eslintrc.cjs +++ /dev/null @@ -1,18 +0,0 @@ -// eslint-disable-next-line -'use strict'; - -module.exports = { - rules: { - 'no-restricted-properties': [ - 2, - { - // Disable `bind` usage in annotator/ code to prevent unexpected behavior - // due to broken bind polyfills. See - // https://github.com/hypothesis/client/issues/245 - property: 'bind', - message: - 'Use function expressions instead of bind() in annotator/ code', - }, - ], - }, -}; diff --git a/src/annotator/anchoring/html.ts b/src/annotator/anchoring/html.ts index 48adb076055..90c3784b340 100644 --- a/src/annotator/anchoring/html.ts +++ b/src/annotator/anchoring/html.ts @@ -126,7 +126,7 @@ export function describe(root: Element, range: Range) { if (anchor) { result.push(anchor.toSelector()); } - } catch (error) { + } catch { // If resolving some anchor fails, we just want to skip it silently } } diff --git a/src/annotator/anchoring/xpath.ts b/src/annotator/anchoring/xpath.ts index c230ac7587a..28886c70e3f 100644 --- a/src/annotator/anchoring/xpath.ts +++ b/src/annotator/anchoring/xpath.ts @@ -149,7 +149,7 @@ export function nodeFromXPath( ): Node | null { try { return evaluateSimpleXPath(xpath, root); - } catch (err) { + } catch { return document.evaluate( '.' + xpath, root, diff --git a/src/annotator/config/settings.ts b/src/annotator/config/settings.ts index 413f6f25571..7b40b0fa331 100644 --- a/src/annotator/config/settings.ts +++ b/src/annotator/config/settings.ts @@ -148,7 +148,7 @@ export function settingsFrom(window_: Window): SettingsGetters { if (queryFragmentMatch) { try { return decodeURIComponent(queryFragmentMatch[2]); - } catch (err) { + } catch { // URI Error should return the page unfiltered. } } diff --git a/src/annotator/frame-observer.ts b/src/annotator/frame-observer.ts index b3f41d98859..316cbcd13ed 100644 --- a/src/annotator/frame-observer.ts +++ b/src/annotator/frame-observer.ts @@ -70,7 +70,7 @@ export class FrameObserver { this._removeFrame(frame); }); this._onFrameAdded(frame); - } catch (e) { + } catch { console.warn( `Unable to inject the Hypothesis client (from '${document.location.href}' into a cross-origin frame '${frame.src}')`, ); diff --git a/src/annotator/guest.ts b/src/annotator/guest.ts index 5dc0f29b715..ff431a682d9 100644 --- a/src/annotator/guest.ts +++ b/src/annotator/guest.ts @@ -667,7 +667,7 @@ export class Guest extends TinyEmitter implements Annotator, Destroyable { // this anchor. const textRange = TextRange.fromRange(range); anchor = { annotation, target, range: textRange }; - } catch (err) { + } catch { anchor = { annotation, target }; } return anchor; diff --git a/src/annotator/integrations/html-metadata.ts b/src/annotator/integrations/html-metadata.ts index 853b72e42b8..c9f82d348af 100644 --- a/src/annotator/integrations/html-metadata.ts +++ b/src/annotator/integrations/html-metadata.ts @@ -182,7 +182,7 @@ export class HTMLMetadata { try { const href = this._absoluteUrl(link.href); links.push({ href, rel: link.rel, type: link.type }); - } catch (e) { + } catch { // Ignore URIs which cannot be parsed. } } @@ -197,7 +197,7 @@ export class HTMLMetadata { href: this._absoluteUrl(url), type: 'application/pdf', }); - } catch (e) { + } catch { // Ignore URIs which cannot be parsed. } } @@ -253,7 +253,7 @@ export class HTMLMetadata { if (['shortcut icon', 'icon'].includes(link.rel)) { try { favicon = this._absoluteUrl(link.href); - } catch (e) { + } catch { // Ignore URIs which cannot be parsed. } } diff --git a/src/annotator/integrations/pdf.tsx b/src/annotator/integrations/pdf.tsx index 9fb65117e6d..b5fe04b13b3 100644 --- a/src/annotator/integrations/pdf.tsx +++ b/src/annotator/integrations/pdf.tsx @@ -330,7 +330,7 @@ export class PDFIntegration extends TinyEmitter implements Integration { // Wait for PDF to load. try { await this.uri(); - } catch (e) { + } catch { return; } diff --git a/src/annotator/integrations/test/html-metadata-test.js b/src/annotator/integrations/test/html-metadata-test.js index 13c5f3b0c97..c4215bafeef 100644 --- a/src/annotator/integrations/test/html-metadata-test.js +++ b/src/annotator/integrations/test/html-metadata-test.js @@ -342,9 +342,9 @@ describe('HTMLMetadata', () => { // location in tests, create a proxy object in front of our blank HTML // document. const fakeDocument = { - createElement: htmlDoc.createElement.bind(htmlDoc), // eslint-disable-line no-restricted-properties + createElement: htmlDoc.createElement.bind(htmlDoc), baseURI: baseURI ?? href, - querySelectorAll: htmlDoc.querySelectorAll.bind(htmlDoc), // eslint-disable-line no-restricted-properties + querySelectorAll: htmlDoc.querySelectorAll.bind(htmlDoc), location: { href, }, diff --git a/src/annotator/range-util.ts b/src/annotator/range-util.ts index acde5fdf5e7..d17d06ca9fa 100644 --- a/src/annotator/range-util.ts +++ b/src/annotator/range-util.ts @@ -79,7 +79,7 @@ export function isNodeInRange(range: Range, node: Node) { // Check end of node is after start of range. range.comparePoint(node, length) >= 0 ); - } catch (e) { + } catch { // `comparePoint` may fail if the `range` and `node` do not share a common // ancestor or `node` is a doctype. return false; diff --git a/src/annotator/sidebar.tsx b/src/annotator/sidebar.tsx index 1bcb84ad28f..6858da913a6 100644 --- a/src/annotator/sidebar.tsx +++ b/src/annotator/sidebar.tsx @@ -467,7 +467,7 @@ export class Sidebar implements Destroyable { // Suppressing ban-types here because the functions are originally defined // as `Function` somewhere else. To be fixed when that is migrated to TS - // eslint-disable-next-line @typescript-eslint/ban-types + // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type const eventHandlers: Array<[SidebarToHostEvent, Function | undefined]> = [ ['loginRequested', this.onLoginRequest], ['logoutRequested', this.onLogoutRequest], diff --git a/src/annotator/util/emitter.ts b/src/annotator/util/emitter.ts index d2035baeedd..e54d62c918d 100644 --- a/src/annotator/util/emitter.ts +++ b/src/annotator/util/emitter.ts @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/ban-types */ +/* eslint-disable @typescript-eslint/no-unsafe-function-type */ /* * Disable @typescript-eslint/ban-types for the whole file, as changing the diff --git a/src/boot/browser-check.ts b/src/boot/browser-check.ts index c54a17235af..627a17da19b 100644 --- a/src/boot/browser-check.ts +++ b/src/boot/browser-check.ts @@ -39,7 +39,7 @@ export function isBrowserSupported(): boolean { try { return checks.every(check => check()); - } catch (err) { + } catch { return false; } } diff --git a/src/karma.config.cjs b/src/karma.config.cjs index c17139048ba..b555931533e 100644 --- a/src/karma.config.cjs +++ b/src/karma.config.cjs @@ -1,6 +1,6 @@ -/* global __dirname */ - -// eslint-disable-next-line @typescript-eslint/no-var-requires +/* global __dirname require module */ +/* eslint-disable @typescript-eslint/no-require-imports */ + const path = require('path'); module.exports = function (config) { diff --git a/src/shared/listener-collection.ts b/src/shared/listener-collection.ts index 5a01301f7be..530d51a20f4 100644 --- a/src/shared/listener-collection.ts +++ b/src/shared/listener-collection.ts @@ -48,7 +48,7 @@ export class ListenerCollection { this._listeners.set(symbol, { eventTarget, eventType, - // eslint-disable-next-line object-shorthand + listener: listener as EventListener, options, }); diff --git a/src/sidebar/components/Annotation/AnnotationEditor.tsx b/src/sidebar/components/Annotation/AnnotationEditor.tsx index 20a7fc8e981..320201e50ab 100644 --- a/src/sidebar/components/Annotation/AnnotationEditor.tsx +++ b/src/sidebar/components/Annotation/AnnotationEditor.tsx @@ -139,7 +139,7 @@ function AnnotationEditor({ try { await annotationsService.save(annotation); toastMessenger.success(successMessage, { visuallyHidden: true }); - } catch (err) { + } catch { toastMessenger.error('Saving annotation failed'); } }; @@ -168,7 +168,6 @@ function AnnotationEditor({ const textStyle = applyTheme(['annotationFontFamily'], settings); return ( - /* eslint-disable-next-line jsx-a11y/no-static-element-interactions */
({ return ( // The parent field should capture keyboard events - // eslint-disable-next-line jsx-a11y/click-events-have-key-events +
  • {children}
  • diff --git a/src/sidebar/components/ShareDialog/ShareAnnotations.tsx b/src/sidebar/components/ShareDialog/ShareAnnotations.tsx index f101ada736a..f09efe759ef 100644 --- a/src/sidebar/components/ShareDialog/ShareAnnotations.tsx +++ b/src/sidebar/components/ShareDialog/ShareAnnotations.tsx @@ -38,7 +38,7 @@ function ShareAnnotations({ toastMessenger }: ShareAnnotationsProps) { await copyPlainText(shareURI); toastMessenger.success('Copied share link to clipboard'); } - } catch (err) { + } catch { toastMessenger.error('Unable to copy link'); } }, [shareURI, toastMessenger]); diff --git a/src/sidebar/components/UserMenu.tsx b/src/sidebar/components/UserMenu.tsx index cd7fee5932e..af51bfc5848 100644 --- a/src/sidebar/components/UserMenu.tsx +++ b/src/sidebar/components/UserMenu.tsx @@ -86,7 +86,7 @@ function UserMenu({ frameSync, onLogout, settings }: UserMenuProps) { ); return ( // Allow keyboard shortcut 'n' to open Notebook - /* eslint-disable-next-line jsx-a11y/no-static-element-interactions */ +
    { 'should pass a11y checks', checkAccessibility([ { - // eslint-disable-next-line react/display-name + content: () => createComponent(), }, { diff --git a/src/sidebar/components/test/MarkdownView-test.js b/src/sidebar/components/test/MarkdownView-test.js index ee7e8d17411..3bc75fd12ff 100644 --- a/src/sidebar/components/test/MarkdownView-test.js +++ b/src/sidebar/components/test/MarkdownView-test.js @@ -72,7 +72,7 @@ describe('MarkdownView', () => { it( 'should pass a11y checks', checkAccessibility({ - // eslint-disable-next-line react/display-name + content: () => , }), ); diff --git a/src/sidebar/components/test/Menu-test.js b/src/sidebar/components/test/Menu-test.js index 0a058b7728f..011c7896d2c 100644 --- a/src/sidebar/components/test/Menu-test.js +++ b/src/sidebar/components/test/Menu-test.js @@ -264,7 +264,7 @@ describe('Menu', () => { 'should pass a11y checks', checkAccessibility([ { - // eslint-disable-next-line react/display-name + content: () => ( } title="Test menu"> diff --git a/src/sidebar/components/test/MenuItem-test.js b/src/sidebar/components/test/MenuItem-test.js index c7d7a93c2bf..e7c8d11443c 100644 --- a/src/sidebar/components/test/MenuItem-test.js +++ b/src/sidebar/components/test/MenuItem-test.js @@ -281,7 +281,6 @@ describe('MenuItem', () => { 'should pass a11y checks', checkAccessibility([ { - // eslint-disable-next-line react/display-name content: () => (
    @@ -290,7 +289,6 @@ describe('MenuItem', () => { }, { name: 'menu radio button', - // eslint-disable-next-line react/display-name content: () => (
    @@ -299,7 +297,6 @@ describe('MenuItem', () => { }, { name: 'with link', - // eslint-disable-next-line react/display-name content: () => (
    @@ -308,7 +305,6 @@ describe('MenuItem', () => { }, { name: 'with icon', - // eslint-disable-next-line react/display-name content: () => (
    @@ -317,7 +313,6 @@ describe('MenuItem', () => { }, { name: 'with submenu', - // eslint-disable-next-line react/display-name content: () => (
    { it( 'should pass a11y checks', checkAccessibility({ - // eslint-disable-next-line react/display-name + content: () => (
    diff --git a/src/sidebar/helpers/import.ts b/src/sidebar/helpers/import.ts index 117b0f39c23..1598b54b7c8 100644 --- a/src/sidebar/helpers/import.ts +++ b/src/sidebar/helpers/import.ts @@ -11,7 +11,7 @@ export async function readExportFile(file: File): Promise { let json; try { json = await readJSONFile(file); - } catch (err) { + } catch { throw new Error('Not a valid JSON file'); } diff --git a/src/sidebar/render-markdown.ts b/src/sidebar/render-markdown.ts index 324618fb988..7bbab07aa3f 100644 --- a/src/sidebar/render-markdown.ts +++ b/src/sidebar/render-markdown.ts @@ -65,7 +65,6 @@ function extractMath(content: string): { let pos = 0; let replacedContent = content; - // eslint-disable-next-line no-constant-condition while (true) { const blockMathStart = replacedContent.indexOf('$$', pos); const inlineMathStart = replacedContent.indexOf('\\(', pos); @@ -134,7 +133,7 @@ function insertMath(html: string, mathBlocks: MathBlock[]) { displayMode: true, }); } - } catch (err) { + } catch { renderedMath = escapeHtml(block.expression); } return html.replace(mathPlaceholder(block.id), renderedMath); diff --git a/src/sidebar/services/groups.ts b/src/sidebar/services/groups.ts index 4fc3ab8274d..abb09f887d2 100644 --- a/src/sidebar/services/groups.ts +++ b/src/sidebar/services/groups.ts @@ -325,7 +325,7 @@ export class GroupsService { directLinkedAnn.group, ); featuredGroups.push(directLinkedAnnGroup); - } catch (e) { + } catch { this._toastMessenger.error( 'Unable to fetch group for linked annotation', ); diff --git a/src/sidebar/services/local-storage.ts b/src/sidebar/services/local-storage.ts index a9655b99ea2..d2a7e09b0ed 100644 --- a/src/sidebar/services/local-storage.ts +++ b/src/sidebar/services/local-storage.ts @@ -44,7 +44,7 @@ export class LocalStorageService { $window.localStorage.setItem(testKey, testKey); $window.localStorage.getItem(testKey); $window.localStorage.removeItem(testKey); - } catch (e) { + } catch { this._storage = new InMemoryStorage(); } } diff --git a/src/sidebar/services/test/api-routes-test.js b/src/sidebar/services/test/api-routes-test.js index e717d62138c..85ced70177b 100644 --- a/src/sidebar/services/test/api-routes-test.js +++ b/src/sidebar/services/test/api-routes-test.js @@ -39,7 +39,7 @@ const linksResponse = { * Fake `retryPromiseOperation` that does not wait between retries. */ async function fakeRetryPromiseOperation(callback) { - // eslint-disable-next-line no-constant-condition + while (true) { try { const result = await callback(); diff --git a/src/sidebar/services/test/load-annotations-test.js b/src/sidebar/services/test/load-annotations-test.js index 15b2ac57c58..a0c361885dc 100644 --- a/src/sidebar/services/test/load-annotations-test.js +++ b/src/sidebar/services/test/load-annotations-test.js @@ -435,7 +435,7 @@ describe('LoadAnnotationsService', () => { const svc = createService(); try { await svc.loadThread('target_annotation'); - } catch (e) { + } catch { assert.calledOnce(fakeStore.annotationFetchStarted); assert.calledOnce(fakeStore.annotationFetchFinished); } diff --git a/src/sidebar/services/test/session-test.js b/src/sidebar/services/test/session-test.js index 0fc57452e9e..b1cecc2679b 100644 --- a/src/sidebar/services/test/session-test.js +++ b/src/sidebar/services/test/session-test.js @@ -294,7 +294,7 @@ describe('SessionService', () => { const session = createService(); try { await session.logout(); - } catch (e) { + } catch { // Ignored. } assert.calledWith(fakeToastMessenger.error, 'Log out failed'); diff --git a/src/sidebar/util/fetch.ts b/src/sidebar/util/fetch.ts index 2f87f5e9684..b8b3ca680d0 100644 --- a/src/sidebar/util/fetch.ts +++ b/src/sidebar/util/fetch.ts @@ -70,7 +70,7 @@ export async function fetchJSON( let data; try { data = await response.json(); - } catch (err) { + } catch { throw new FetchError(url, response, 'Failed to parse response'); } diff --git a/src/sidebar/util/sentry.ts b/src/sidebar/util/sentry.ts index 378132343d8..23a40c3df71 100644 --- a/src/sidebar/util/sentry.ts +++ b/src/sidebar/util/sentry.ts @@ -95,7 +95,7 @@ export function init(config: SentryConfig) { isTrusted: originalErr.isTrusted, }); } - } catch (e) { + } catch { // If something went wrong serializing the data, just ignore it. } @@ -105,7 +105,7 @@ export function init(config: SentryConfig) { try { Sentry.setExtra('host_config', parseConfigFragment(window.location.href)); - } catch (e) { + } catch { // Ignore errors parsing configuration. } diff --git a/yarn.lock b/yarn.lock index ceb0ed2b1fa..925d0c26f5e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2180,15 +2180,6 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.23.2": - version: 7.23.2 - resolution: "@babel/runtime@npm:7.23.2" - dependencies: - regenerator-runtime: ^0.14.0 - checksum: 6c4df4839ec75ca10175f636d6362f91df8a3137f86b38f6cd3a4c90668a0fe8e9281d320958f4fbd43b394988958585a17c3aab2a4ea6bf7316b22916a371fb - languageName: node - linkType: hard - "@babel/runtime@npm:^7.8.4": version: 7.20.7 resolution: "@babel/runtime@npm:7.20.7" @@ -2347,41 +2338,75 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.5.1": - version: 4.5.1 - resolution: "@eslint-community/regexpp@npm:4.5.1" - checksum: 6d901166d64998d591fab4db1c2f872981ccd5f6fe066a1ad0a93d4e11855ecae6bfb76660869a469563e8882d4307228cebd41142adb409d182f2966771e57e +"@eslint-community/regexpp@npm:^4.10.0": + version: 4.11.0 + resolution: "@eslint-community/regexpp@npm:4.11.0" + checksum: 97d2fe46690b69417a551bd19a3dc53b6d9590d2295c43cc4c4e44e64131af541e2f4a44d5c12e87de990403654d3dae9d33600081f3a2f0386b368abc9111ec languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.6.1": - version: 4.6.2 - resolution: "@eslint-community/regexpp@npm:4.6.2" - checksum: a3c341377b46b54fa228f455771b901d1a2717f95d47dcdf40199df30abc000ba020f747f114f08560d119e979d882a94cf46cfc51744544d54b00319c0f2724 +"@eslint-community/regexpp@npm:^4.11.0": + version: 4.11.1 + resolution: "@eslint-community/regexpp@npm:4.11.1" + checksum: 6986685529d30e33c2640973c3d8e7ddd31bef3cc8cb10ad54ddc1dea12680779a2c23a45562aa1462c488137a3570e672d122fac7da22d82294382d915cec70 languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" +"@eslint/config-array@npm:^0.18.0": + version: 0.18.0 + resolution: "@eslint/config-array@npm:0.18.0" + dependencies: + "@eslint/object-schema": ^2.1.4 + debug: ^4.3.1 + minimatch: ^3.1.2 + checksum: 5ff748e1788745bfb3160c3b3151d62a7c054e336e9fe8069e86cfa6106f3abbd59b24f1253122268295f98c66803e9a7b23d7f947a8c00f62d2060cc44bc7fc + languageName: node + linkType: hard + +"@eslint/core@npm:^0.6.0": + version: 0.6.0 + resolution: "@eslint/core@npm:0.6.0" + checksum: bf6a285d8cfb7f76524041991832fcc1573c7fc4bdfa091a14972bdb719d5a735330efb88ec453dd33930f49bcc9bb2737b40c43fb1220933781ebb712667265 + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^3.1.0": + version: 3.1.0 + resolution: "@eslint/eslintrc@npm:3.1.0" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.6.0 - globals: ^13.19.0 + espree: ^10.0.1 + globals: ^14.0.0 ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: 10957c7592b20ca0089262d8c2a8accbad14b4f6507e35416c32ee6b4dbf9cad67dfb77096bbd405405e9ada2b107f3797fe94362e1c55e0b09d6e90dd149127 + checksum: b0a9bbd98c8b9e0f4d975b042ff9b874dde722b20834ea2ff46551c3de740d4f10f56c449b790ef34d7f82147cbddfc22b004a43cc885dbc2664bb134766b5e4 + languageName: node + linkType: hard + +"@eslint/js@npm:9.12.0": + version: 9.12.0 + resolution: "@eslint/js@npm:9.12.0" + checksum: cad2ee0d3080a3e507e18f1846e343d4dac00cb83b0c56355fa165b05fa0780ad746e0b93540666036e50b4cf4a4ee496a730417e500dc217c201902edd7ab5b + languageName: node + linkType: hard + +"@eslint/object-schema@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/object-schema@npm:2.1.4" + checksum: 5a03094115bcdab7991dbbc5d17a9713f394cebb4b44d3eaf990d7487b9b8e1877b817997334ab40be52e299a0384595c6f6ba91b389901e5e1d21efda779271 languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 315dc65b0e9893e2bff139bddace7ea601ad77ed47b4550e73da8c9c2d2766c7a575c3cddf17ef85b8fd6a36ff34f91729d0dcca56e73ca887c10df91a41b0bb +"@eslint/plugin-kit@npm:^0.2.0": + version: 0.2.0 + resolution: "@eslint/plugin-kit@npm:0.2.0" + dependencies: + levn: ^0.4.1 + checksum: 2c358c816575b8338e017cff59bf8b7a186510bc0e6c1b234e889156bfea9e00ce588ce424a0aa5d322e316f1ad08e8fdc7450a7fd966c64cbb911e64eaffbb9 languageName: node linkType: hard @@ -2401,14 +2426,20 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" +"@humanfs/core@npm:^0.19.0": + version: 0.19.0 + resolution: "@humanfs/core@npm:0.19.0" + checksum: d73c153e9a41efce401cdf8eaa831e5b01630b45a46678eded3803347251a24446f1500b0074750fcab0a88d947609b164a0d5bba57f58ec18167bea01c69ac5 + languageName: node + linkType: hard + +"@humanfs/node@npm:^0.16.5": + version: 0.16.5 + resolution: "@humanfs/node@npm:0.16.5" dependencies: - "@humanwhocodes/object-schema": ^2.0.2 - debug: ^4.3.1 - minimatch: ^3.0.5 - checksum: 861ccce9eaea5de19546653bccf75bf09fe878bc39c3aab00aeee2d2a0e654516adad38dd1098aab5e3af0145bbcbf3f309bdf4d964f8dab9dcd5834ae4c02f2 + "@humanfs/core": ^0.19.0 + "@humanwhocodes/retry": ^0.3.0 + checksum: ae4799c6bf436450e1b1836f23fdb4ce0eb862df8e02fd498ee7d8ebe552d85fe36ccac81fcfbe39bf43cb49b302ae438d94699a451d1cfc78f64198d4b45674 languageName: node linkType: hard @@ -2419,10 +2450,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.2 - resolution: "@humanwhocodes/object-schema@npm:2.0.2" - checksum: 2fc11503361b5fb4f14714c700c02a3f4c7c93e9acd6b87a29f62c522d90470f364d6161b03d1cc618b979f2ae02aed1106fd29d302695d8927e2fc8165ba8ee +"@humanwhocodes/retry@npm:^0.3.0, @humanwhocodes/retry@npm:^0.3.1": + version: 0.3.1 + resolution: "@humanwhocodes/retry@npm:0.3.1" + checksum: 7e5517bb51dbea3e02ab6cacef59a8f4b0ca023fc4b0b8cbc40de0ad29f46edd50b897c6e7fba79366a0217e3f48e2da8975056f6c35cfe19d9cc48f1d03c1dd languageName: node linkType: hard @@ -2667,7 +2698,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -4390,7 +4421,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:1.0.6": +"@types/estree@npm:1.0.6, @types/estree@npm:^1.0.6": version: 1.0.6 resolution: "@types/estree@npm:1.0.6" checksum: 8825d6e729e16445d9a1dd2fb1db2edc5ed400799064cd4d028150701031af012ba30d6d03fe9df40f4d7a437d0de6d2b256020152b7b09bde9f2e420afdffd9 @@ -4425,10 +4456,10 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:^7.0.12": - version: 7.0.12 - resolution: "@types/json-schema@npm:7.0.12" - checksum: 00239e97234eeb5ceefb0c1875d98ade6e922bfec39dd365ec6bd360b5c2f825e612ac4f6e5f1d13601b8b30f378f15e6faa805a3a732f4a1bbe61915163d293 +"@types/json-schema@npm:^7.0.15": + version: 7.0.15 + resolution: "@types/json-schema@npm:7.0.15" + checksum: 97ed0cb44d4070aecea772b7b2e2ed971e10c81ec87dd4ecc160322ffa55ff330dace1793489540e3e318d90942064bb697cc0f8989391797792d919737b3b98 languageName: node linkType: hard @@ -4474,13 +4505,6 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.5.0": - version: 7.5.0 - resolution: "@types/semver@npm:7.5.0" - checksum: 0a64b9b9c7424d9a467658b18dd70d1d781c2d6f033096a6e05762d20ebbad23c1b69b0083b0484722aabf35640b78ccc3de26368bcae1129c87e9df028a22e2 - languageName: node - linkType: hard - "@types/shallowequal@npm:^1.1.1": version: 1.1.5 resolution: "@types/shallowequal@npm:1.1.5" @@ -4528,133 +4552,119 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^7.0.1": - version: 7.4.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.4.0" +"@typescript-eslint/eslint-plugin@npm:8.9.0": + version: 8.9.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.9.0" dependencies: - "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 7.4.0 - "@typescript-eslint/type-utils": 7.4.0 - "@typescript-eslint/utils": 7.4.0 - "@typescript-eslint/visitor-keys": 7.4.0 - debug: ^4.3.4 + "@eslint-community/regexpp": ^4.10.0 + "@typescript-eslint/scope-manager": 8.9.0 + "@typescript-eslint/type-utils": 8.9.0 + "@typescript-eslint/utils": 8.9.0 + "@typescript-eslint/visitor-keys": 8.9.0 graphemer: ^1.4.0 - ignore: ^5.2.4 + ignore: ^5.3.1 natural-compare: ^1.4.0 - semver: ^7.5.4 - ts-api-utils: ^1.0.1 + ts-api-utils: ^1.3.0 peerDependencies: - "@typescript-eslint/parser": ^7.0.0 - eslint: ^8.56.0 + "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 01932c762939c120e95c81937b8f39f6500336919e87166b8ce35e753fc8fff64b3f3f5b79e86b0e8f4204c883467e4b66ed5af22e34fd6e3d30bc49f8ada7e4 + checksum: d72bda52eb26d184286e67ceaebff17d177bf021cfcf1c31d316385f4965c60620fd3ec7178c30092faa3f30d81c4cf54ef2563c4bb0fd361e9967d2e6e64d22 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^7.0.1": - version: 7.4.0 - resolution: "@typescript-eslint/parser@npm:7.4.0" +"@typescript-eslint/parser@npm:8.9.0": + version: 8.9.0 + resolution: "@typescript-eslint/parser@npm:8.9.0" dependencies: - "@typescript-eslint/scope-manager": 7.4.0 - "@typescript-eslint/types": 7.4.0 - "@typescript-eslint/typescript-estree": 7.4.0 - "@typescript-eslint/visitor-keys": 7.4.0 + "@typescript-eslint/scope-manager": 8.9.0 + "@typescript-eslint/types": 8.9.0 + "@typescript-eslint/typescript-estree": 8.9.0 + "@typescript-eslint/visitor-keys": 8.9.0 debug: ^4.3.4 peerDependencies: - eslint: ^8.56.0 + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: ee8dac1a5bbe8a0ccac3b95116ab5dba8e3cd8541ff2a70aca08949232f75cef1a56151852a06b1a2417e4bdb898c38fed7e4d1731ded1cfb9c58da693abe140 + checksum: b7d899cca2834ab030c672693e9bdbc442b8026710af0e06cb89c162d81c43a5c777f90568cd9ea3ac5b689bbf161c8f7fcecd58989e0238bb45aec10567c26a languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/scope-manager@npm:7.4.0" +"@typescript-eslint/scope-manager@npm:8.9.0": + version: 8.9.0 + resolution: "@typescript-eslint/scope-manager@npm:8.9.0" dependencies: - "@typescript-eslint/types": 7.4.0 - "@typescript-eslint/visitor-keys": 7.4.0 - checksum: 6d8677ffed151b6d7b5881a105586d29e2c56c757435f625ca3ba22e494e48328794de8b9df1f06023b1fac60da7ed49f2bfab8854b07fdcceab0f413d28725a + "@typescript-eslint/types": 8.9.0 + "@typescript-eslint/visitor-keys": 8.9.0 + checksum: 56b71993f3b8da3fe6947710d1ead8afb128d194994e0d82052799c2b05a017735649d4dcf897d2ea63b28c8633336342d3efd269c2910d6d06e2784f248a22c languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/type-utils@npm:7.4.0" +"@typescript-eslint/type-utils@npm:8.9.0": + version: 8.9.0 + resolution: "@typescript-eslint/type-utils@npm:8.9.0" dependencies: - "@typescript-eslint/typescript-estree": 7.4.0 - "@typescript-eslint/utils": 7.4.0 + "@typescript-eslint/typescript-estree": 8.9.0 + "@typescript-eslint/utils": 8.9.0 debug: ^4.3.4 - ts-api-utils: ^1.0.1 - peerDependencies: - eslint: ^8.56.0 + ts-api-utils: ^1.3.0 peerDependenciesMeta: typescript: optional: true - checksum: 5906909843095686b6cdfd14935033dd6ddbabd1f695fbc1b9ab475472cdc7a14010900189cdd2feae468c0df2f4981c5adcebd115c317a79fd6c665ff40d085 + checksum: e4422ad2da0e73c1d503fd5cc72f873b20329c4fa55e4a88f201b7d02a6946b08a62d3a2ce53f6020d52db76c321b927b8e06a68e44b2a4f50b26967c75a27ff languageName: node linkType: hard -"@typescript-eslint/types@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/types@npm:7.4.0" - checksum: 0be366b4da417b076af456db2b3ceb136c77ee1da293463b98d1897c804db5b81849337eb566bbddadc5171d3bfb48e687fd8db8a63c2eac0f4c52c3f9593b12 +"@typescript-eslint/types@npm:8.9.0": + version: 8.9.0 + resolution: "@typescript-eslint/types@npm:8.9.0" + checksum: bb79e8774b2c521d738d76efe6c61f5aa7f700765cf025410a5c37ca0449ed436c500a5c8cd3a4343edd5257301d4b0cfcd56275cc9bca992585e9dac76612bf languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.4.0" +"@typescript-eslint/typescript-estree@npm:8.9.0": + version: 8.9.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.9.0" dependencies: - "@typescript-eslint/types": 7.4.0 - "@typescript-eslint/visitor-keys": 7.4.0 + "@typescript-eslint/types": 8.9.0 + "@typescript-eslint/visitor-keys": 8.9.0 debug: ^4.3.4 - globby: ^11.1.0 + fast-glob: ^3.3.2 is-glob: ^4.0.3 - minimatch: 9.0.3 - semver: ^7.5.4 - ts-api-utils: ^1.0.1 + minimatch: ^9.0.4 + semver: ^7.6.0 + ts-api-utils: ^1.3.0 peerDependenciesMeta: typescript: optional: true - checksum: af8e487004b0a22ac2b494a2ab0c84ba68c188883722ca5d297ac0dcc3719b2d7d12e05cf0038547244f285c6a63a2a6cd5a6f5879109e8e86f8ea1dca0abe9d + checksum: 307b317c2ac45b83cbf2e5f45b6fd3615279c7ad8b105fa09004d6e415187d9ad1647ec205fcee017fdf2985192c469f9bad738f70cc754da4ba807d8d0d90ae languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/utils@npm:7.4.0" +"@typescript-eslint/utils@npm:8.9.0": + version: 8.9.0 + resolution: "@typescript-eslint/utils@npm:8.9.0" dependencies: "@eslint-community/eslint-utils": ^4.4.0 - "@types/json-schema": ^7.0.12 - "@types/semver": ^7.5.0 - "@typescript-eslint/scope-manager": 7.4.0 - "@typescript-eslint/types": 7.4.0 - "@typescript-eslint/typescript-estree": 7.4.0 - semver: ^7.5.4 + "@typescript-eslint/scope-manager": 8.9.0 + "@typescript-eslint/types": 8.9.0 + "@typescript-eslint/typescript-estree": 8.9.0 peerDependencies: - eslint: ^8.56.0 - checksum: 9f2c83f113fe49b7179a72c36f585ae6654a3a8c7596809b2c867b8febf2dbfea66de771f820a1dc43c0aab0acb8c7330bd6ed48ece1a4d478cf8b5b3bb62d77 + eslint: ^8.57.0 || ^9.0.0 + checksum: 23bb2a054fcad2e5a3bb2ab9173614b2257f42a5a704434de3d81e478ca5444f1989e317a8044d6e39ef000a938316c7bc175286d595e17933e35e573a430f4c languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.4.0": - version: 7.4.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.4.0" +"@typescript-eslint/visitor-keys@npm:8.9.0": + version: 8.9.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.9.0" dependencies: - "@typescript-eslint/types": 7.4.0 - eslint-visitor-keys: ^3.4.1 - checksum: 9baa497eefbe40a4f7415be26092c318415fd8ccc1910a0cd79234561107b625b63f3ca250eda9f0060e1181fd8155337ec0caee811b301e774e468f5279d0ad - languageName: node - linkType: hard - -"@ungap/structured-clone@npm:^1.2.0": - version: 1.2.0 - resolution: "@ungap/structured-clone@npm:1.2.0" - checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524 + "@typescript-eslint/types": 8.9.0 + eslint-visitor-keys: ^3.4.3 + checksum: 9afb7eabfc6d279e714b80e283e062f0c2a90e2adbde1c2d2fbc6cecd6444c6e76867599f6a781b847981d02f7956748bd3ecb7abc4770ab7e77c6709693b530 languageName: node linkType: hard @@ -4701,21 +4711,21 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.5.0": - version: 8.8.1 - resolution: "acorn@npm:8.8.1" +"acorn@npm:^8.12.0": + version: 8.12.1 + resolution: "acorn@npm:8.12.1" bin: acorn: bin/acorn - checksum: 4079b67283b94935157698831967642f24a075c52ce3feaaaafe095776dfbe15d86a1b33b1e53860fc0d062ed6c83f4284a5c87c85b9ad51853a01173da6097f + checksum: 677880034aee5bdf7434cc2d25b641d7bedb0b5ef47868a78dadabedccf58e1c5457526d9d8249cd253f2df087e081c3fe7d903b448d8e19e5131a3065b83c07 languageName: node linkType: hard -"acorn@npm:^8.9.0": - version: 8.9.0 - resolution: "acorn@npm:8.9.0" +"acorn@npm:^8.5.0": + version: 8.8.1 + resolution: "acorn@npm:8.8.1" bin: acorn: bin/acorn - checksum: 25dfb94952386ecfb847e61934de04a4e7c2dc21c2e700fc4e2ef27ce78cb717700c4c4f279cd630bb4774948633c3859fc16063ec8573bda4568e0a312e6744 + checksum: 4079b67283b94935157698831967642f24a075c52ce3feaaaafe095776dfbe15d86a1b33b1e53860fc0d062ed6c83f4284a5c87c85b9ad51853a01173da6097f languageName: node linkType: hard @@ -4915,12 +4925,12 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.3.0": - version: 5.3.0 - resolution: "aria-query@npm:5.3.0" +"aria-query@npm:~5.1.3": + version: 5.1.3 + resolution: "aria-query@npm:5.1.3" dependencies: - dequal: ^2.0.3 - checksum: 305bd73c76756117b59aba121d08f413c7ff5e80fa1b98e217a3443fcddb9a232ee790e24e432b59ae7625aebcf4c47cb01c2cac872994f0b426f5bdfcd96ba9 + deep-equal: ^2.0.5 + checksum: 929ff95f02857b650fb4cbcd2f41072eee2f46159a6605ea03bf63aa572e35ffdff43d69e815ddc462e16e07de8faba3978afc2813650b4448ee18c9895d982b languageName: node linkType: hard @@ -4978,16 +4988,17 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.7": - version: 3.1.7 - resolution: "array-includes@npm:3.1.7" +"array-includes@npm:^3.1.8": + version: 3.1.8 + resolution: "array-includes@npm:3.1.8" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.4 is-string: ^1.0.7 - checksum: 06f9e4598fac12a919f7c59a3f04f010ea07f0b7f0585465ed12ef528a60e45f374e79d1bddbb34cdd4338357d00023ddbd0ac18b0be36964f5e726e8965d7fc + checksum: eb39ba5530f64e4d8acab39297c11c1c5be2a4ea188ab2b34aba5fb7224d918f77717a9d57a3e2900caaa8440e59431bdaf5c974d5212ef65d97f132e38e2d91 languageName: node linkType: hard @@ -4998,23 +5009,17 @@ __metadata: languageName: node linkType: hard -"array-union@npm:^2.1.0": - version: 2.1.0 - resolution: "array-union@npm:2.1.0" - checksum: 5bee12395cba82da674931df6d0fea23c4aa4660cb3b338ced9f828782a65caa232573e6bf3968f23e0c5eb301764a382cef2f128b170a9dc59de0e36c39f98d - languageName: node - linkType: hard - -"array.prototype.findlast@npm:^1.2.4": - version: 1.2.4 - resolution: "array.prototype.findlast@npm:1.2.4" +"array.prototype.findlast@npm:^1.2.5": + version: 1.2.5 + resolution: "array.prototype.findlast@npm:1.2.5" dependencies: - call-bind: ^1.0.5 + call-bind: ^1.0.7 define-properties: ^1.2.1 - es-abstract: ^1.22.3 + es-abstract: ^1.23.2 es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 es-shim-unscopables: ^1.0.2 - checksum: b4c76571adf6c3cffbbbb8acd7ac39d94af6b120dd388dcf44637c22d77ba3ae13dd43d1be25d90956848fae5a01191fbdebe48ce4c0aa0989d7ee269a94a5a4 + checksum: 83ce4ad95bae07f136d316f5a7c3a5b911ac3296c3476abe60225bc4a17938bf37541972fcc37dd5adbc99cbb9c928c70bbbfc1c1ce549d41a415144030bb446 languageName: node linkType: hard @@ -5052,28 +5057,16 @@ __metadata: languageName: node linkType: hard -"array.prototype.toreversed@npm:^1.1.2": - version: 1.1.2 - resolution: "array.prototype.toreversed@npm:1.1.2" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - checksum: 58598193426282155297bedf950dc8d464624a0d81659822fb73124286688644cb7e0e4927a07f3ab2daaeb6617b647736cc3a5e6ca7ade5bb8e573b284e6240 - languageName: node - linkType: hard - -"array.prototype.tosorted@npm:^1.1.3": - version: 1.1.3 - resolution: "array.prototype.tosorted@npm:1.1.3" +"array.prototype.tosorted@npm:^1.1.4": + version: 1.1.4 + resolution: "array.prototype.tosorted@npm:1.1.4" dependencies: - call-bind: ^1.0.5 + call-bind: ^1.0.7 define-properties: ^1.2.1 - es-abstract: ^1.22.3 - es-errors: ^1.1.0 + es-abstract: ^1.23.3 + es-errors: ^1.3.0 es-shim-unscopables: ^1.0.2 - checksum: 555e8808086bbde9e634c5dc5a8c0a2f1773075447b43b2fa76ab4f94f4e90f416d2a4f881024e1ce1a2931614caf76cd6b408af901c9d7cd13061d0d268f5af + checksum: e4142d6f556bcbb4f393c02e7dbaea9af8f620c040450c2be137c9cbbd1a17f216b9c688c5f2c08fbb038ab83f55993fa6efdd9a05881d84693c7bcb5422127a languageName: node linkType: hard @@ -5149,15 +5142,6 @@ __metadata: languageName: node linkType: hard -"asynciterator.prototype@npm:^1.0.0": - version: 1.0.0 - resolution: "asynciterator.prototype@npm:1.0.0" - dependencies: - has-symbols: ^1.0.3 - checksum: e8ebfd9493ac651cf9b4165e9d64030b3da1d17181bb1963627b59e240cdaf021d9b59d44b827dc1dde4e22387ec04c2d0f8720cf58a1c282e34e40cc12721b3 - languageName: node - linkType: hard - "autoprefixer@npm:^10.0.1": version: 10.4.20 resolution: "autoprefixer@npm:10.4.20" @@ -5192,26 +5176,24 @@ __metadata: languageName: node linkType: hard -"axe-core@npm:=4.7.0": - version: 4.7.0 - resolution: "axe-core@npm:4.7.0" - checksum: f086bcab42be1761ba2b0b127dec350087f4c3a853bba8dd58f69d898cefaac31a1561da23146f6f3c07954c76171d1f2ce460e555e052d2b02cd79af628fa4a +"axe-core@npm:^4.0.0, axe-core@npm:^4.8.2": + version: 4.9.1 + resolution: "axe-core@npm:4.9.1" + checksum: 41d9227871781f96c2952e2a777fca73624959dd0e98864f6d82806a77602f82b4fc490852082a7e524d8cd864e50d8b4d9931819b4a150112981d8c932110c5 languageName: node linkType: hard -"axe-core@npm:^4.0.0, axe-core@npm:^4.8.2": +"axe-core@npm:^4.10.0": version: 4.10.0 resolution: "axe-core@npm:4.10.0" checksum: 7eca827fd8d98d7e4b561df65437be608155c613d8f262ae9e4a6ade02c156c7362dcbc3f71b4b526edce686f7c686280236bcff1d6725e2ef8327def72a8c41 languageName: node linkType: hard -"axobject-query@npm:^3.2.1": - version: 3.2.1 - resolution: "axobject-query@npm:3.2.1" - dependencies: - dequal: ^2.0.3 - checksum: a94047e702b57c91680e6a952ec4a1aaa2cfd0d80ead76bc8c954202980d8c51968a6ea18b4d8010e8e2cf95676533d8022a8ebba9abc1dfe25686721df26fd2 +"axobject-query@npm:^4.1.0": + version: 4.1.0 + resolution: "axobject-query@npm:4.1.0" + checksum: 7d1e87bf0aa7ae7a76cd39ab627b7c48fda3dc40181303d9adce4ba1d5b5ce73b5e5403ee6626ec8e91090448c887294d6144e24b6741a976f5be9347e3ae1df languageName: node linkType: hard @@ -6102,6 +6084,39 @@ __metadata: languageName: node linkType: hard +"data-view-buffer@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-buffer@npm:1.0.1" + dependencies: + call-bind: ^1.0.6 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: ce24348f3c6231223b216da92e7e6a57a12b4af81a23f27eff8feabdf06acfb16c00639c8b705ca4d167f761cfc756e27e5f065d0a1f840c10b907fdaf8b988c + languageName: node + linkType: hard + +"data-view-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-length@npm:1.0.1" + dependencies: + call-bind: ^1.0.7 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: dbb3200edcb7c1ef0d68979834f81d64fd8cab2f7691b3a4c6b97e67f22182f3ec2c8602efd7b76997b55af6ff8bce485829c1feda4fa2165a6b71fb7baa4269 + languageName: node + linkType: hard + +"data-view-byte-offset@npm:^1.0.0": + version: 1.0.0 + resolution: "data-view-byte-offset@npm:1.0.0" + dependencies: + call-bind: ^1.0.6 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: 7f0bf8720b7414ca719eedf1846aeec392f2054d7af707c5dc9a753cc77eb8625f067fa901e0b5127e831f9da9056138d894b9c2be79c27a21f6db5824f009c2 + languageName: node + linkType: hard + "date-format@npm:^4.0.3": version: 4.0.3 resolution: "date-format@npm:4.0.3" @@ -6177,6 +6192,32 @@ __metadata: languageName: node linkType: hard +"deep-equal@npm:^2.0.5": + version: 2.2.3 + resolution: "deep-equal@npm:2.2.3" + dependencies: + array-buffer-byte-length: ^1.0.0 + call-bind: ^1.0.5 + es-get-iterator: ^1.1.3 + get-intrinsic: ^1.2.2 + is-arguments: ^1.1.1 + is-array-buffer: ^3.0.2 + is-date-object: ^1.0.5 + is-regex: ^1.1.4 + is-shared-array-buffer: ^1.0.2 + isarray: ^2.0.5 + object-is: ^1.1.5 + object-keys: ^1.1.1 + object.assign: ^4.1.4 + regexp.prototype.flags: ^1.5.1 + side-channel: ^1.0.4 + which-boxed-primitive: ^1.0.2 + which-collection: ^1.0.1 + which-typed-array: ^1.1.13 + checksum: ee8852f23e4d20a5626c13b02f415ba443a1b30b4b3d39eaf366d59c4a85e6545d7ec917db44d476a85ae5a86064f7e5f7af7479f38f113995ba869f3a1ddc53 + languageName: node + linkType: hard + "deep-is@npm:^0.1.3": version: 0.1.3 resolution: "deep-is@npm:0.1.3" @@ -6202,7 +6243,7 @@ __metadata: languageName: node linkType: hard -"define-data-property@npm:^1.1.2": +"define-data-property@npm:^1.1.2, define-data-property@npm:^1.1.4": version: 1.1.4 resolution: "define-data-property@npm:1.1.4" dependencies: @@ -6332,15 +6373,6 @@ __metadata: languageName: node linkType: hard -"dir-glob@npm:^3.0.1": - version: 3.0.1 - resolution: "dir-glob@npm:3.0.1" - dependencies: - path-type: ^4.0.0 - checksum: fa05e18324510d7283f55862f3161c6759a3f2f8dbce491a2fc14c8324c498286c54282c1f0e933cb930da8419b30679389499b919122952a4f8592362ef4615 - languageName: node - linkType: hard - "discontinuous-range@npm:1.0.0": version: 1.0.0 resolution: "discontinuous-range@npm:1.0.0" @@ -6364,15 +6396,6 @@ __metadata: languageName: node linkType: hard -"doctrine@npm:^3.0.0": - version: 3.0.0 - resolution: "doctrine@npm:3.0.0" - dependencies: - esutils: ^2.0.2 - checksum: fd7673ca77fe26cd5cba38d816bc72d641f500f1f9b25b83e8ce28827fe2da7ad583a8da26ab6af85f834138cf8dae9f69b0cd6ab925f52ddab1754db44d99ce - languageName: node - linkType: hard - "dom-serialize@npm:^2.2.1": version: 2.2.1 resolution: "dom-serialize@npm:2.2.1" @@ -6682,6 +6705,60 @@ __metadata: languageName: node linkType: hard +"es-abstract@npm:^1.17.5, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3": + version: 1.23.3 + resolution: "es-abstract@npm:1.23.3" + dependencies: + array-buffer-byte-length: ^1.0.1 + arraybuffer.prototype.slice: ^1.0.3 + available-typed-arrays: ^1.0.7 + call-bind: ^1.0.7 + data-view-buffer: ^1.0.1 + data-view-byte-length: ^1.0.1 + data-view-byte-offset: ^1.0.0 + es-define-property: ^1.0.0 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + es-set-tostringtag: ^2.0.3 + es-to-primitive: ^1.2.1 + function.prototype.name: ^1.1.6 + get-intrinsic: ^1.2.4 + get-symbol-description: ^1.0.2 + globalthis: ^1.0.3 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.2 + has-proto: ^1.0.3 + has-symbols: ^1.0.3 + hasown: ^2.0.2 + internal-slot: ^1.0.7 + is-array-buffer: ^3.0.4 + is-callable: ^1.2.7 + is-data-view: ^1.0.1 + is-negative-zero: ^2.0.3 + is-regex: ^1.1.4 + is-shared-array-buffer: ^1.0.3 + is-string: ^1.0.7 + is-typed-array: ^1.1.13 + is-weakref: ^1.0.2 + object-inspect: ^1.13.1 + object-keys: ^1.1.1 + object.assign: ^4.1.5 + regexp.prototype.flags: ^1.5.2 + safe-array-concat: ^1.1.2 + safe-regex-test: ^1.0.3 + string.prototype.trim: ^1.2.9 + string.prototype.trimend: ^1.0.8 + string.prototype.trimstart: ^1.0.8 + typed-array-buffer: ^1.0.2 + typed-array-byte-length: ^1.0.1 + typed-array-byte-offset: ^1.0.2 + typed-array-length: ^1.0.6 + unbox-primitive: ^1.0.2 + which-typed-array: ^1.1.15 + checksum: f840cf161224252512f9527306b57117192696571e07920f777cb893454e32999206198b4f075516112af6459daca282826d1735c450528470356d09eff3a9ae + languageName: node + linkType: hard + "es-abstract@npm:^1.18.0-next.0, es-abstract@npm:^1.18.0-next.1": version: 1.18.0-next.1 resolution: "es-abstract@npm:1.18.0-next.1" @@ -6840,7 +6917,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.22.3, es-abstract@npm:^1.22.4": +"es-abstract@npm:^1.22.3": version: 1.22.5 resolution: "es-abstract@npm:1.22.5" dependencies: @@ -6898,55 +6975,58 @@ __metadata: languageName: node linkType: hard -"es-errors@npm:^1.1.0, es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": +"es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": version: 1.3.0 resolution: "es-errors@npm:1.3.0" checksum: ec1414527a0ccacd7f15f4a3bc66e215f04f595ba23ca75cdae0927af099b5ec865f9f4d33e9d7e86f512f252876ac77d4281a7871531a50678132429b1271b5 languageName: node linkType: hard -"es-iterator-helpers@npm:^1.0.15": - version: 1.0.15 - resolution: "es-iterator-helpers@npm:1.0.15" +"es-get-iterator@npm:^1.1.3": + version: 1.1.3 + resolution: "es-get-iterator@npm:1.1.3" dependencies: - asynciterator.prototype: ^1.0.0 call-bind: ^1.0.2 - define-properties: ^1.2.1 - es-abstract: ^1.22.1 - es-set-tostringtag: ^2.0.1 - function-bind: ^1.1.1 - get-intrinsic: ^1.2.1 - globalthis: ^1.0.3 - has-property-descriptors: ^1.0.0 - has-proto: ^1.0.1 + get-intrinsic: ^1.1.3 has-symbols: ^1.0.3 - internal-slot: ^1.0.5 - iterator.prototype: ^1.1.2 - safe-array-concat: ^1.0.1 - checksum: 50081ae5c549efe62e5c1d244df0194b40b075f7897fc2116b7e1aa437eb3c41f946d2afda18c33f9b31266ec544765932542765af839f76fa6d7b7855d1e0e1 + is-arguments: ^1.1.1 + is-map: ^2.0.2 + is-set: ^2.0.2 + is-string: ^1.0.7 + isarray: ^2.0.5 + stop-iteration-iterator: ^1.0.0 + checksum: 8fa118da42667a01a7c7529f8a8cca514feeff243feec1ce0bb73baaa3514560bd09d2b3438873cf8a5aaec5d52da248131de153b28e2638a061b6e4df13267d languageName: node linkType: hard -"es-iterator-helpers@npm:^1.0.17": - version: 1.0.17 - resolution: "es-iterator-helpers@npm:1.0.17" +"es-iterator-helpers@npm:^1.0.19": + version: 1.0.19 + resolution: "es-iterator-helpers@npm:1.0.19" dependencies: - asynciterator.prototype: ^1.0.0 call-bind: ^1.0.7 define-properties: ^1.2.1 - es-abstract: ^1.22.4 + es-abstract: ^1.23.3 es-errors: ^1.3.0 - es-set-tostringtag: ^2.0.2 + es-set-tostringtag: ^2.0.3 function-bind: ^1.1.2 get-intrinsic: ^1.2.4 globalthis: ^1.0.3 has-property-descriptors: ^1.0.2 - has-proto: ^1.0.1 + has-proto: ^1.0.3 has-symbols: ^1.0.3 internal-slot: ^1.0.7 iterator.prototype: ^1.1.2 - safe-array-concat: ^1.1.0 - checksum: f0962abbf120c37516c9008716fcaffeacf7bc6147a07e63cda3c3ac8be94b88e4ef8d71234c4b8873d1fc209f65c6d9e11a7faac78f59b5d3bcfa399affed7b + safe-array-concat: ^1.1.2 + checksum: 7ae112b88359fbaf4b9d7d1d1358ae57c5138768c57ba3a8fb930393662653b0512bfd7917c15890d1471577fb012fee8b73b4465e59b331739e6ee94f961683 + languageName: node + linkType: hard + +"es-object-atoms@npm:^1.0.0": + version: 1.0.0 + resolution: "es-object-atoms@npm:1.0.0" + dependencies: + es-errors: ^1.3.0 + checksum: 26f0ff78ab93b63394e8403c353842b2272836968de4eafe97656adfb8a7c84b9099bf0fe96ed58f4a4cddc860f6e34c77f91649a58a5daa4a9c40b902744e3c languageName: node linkType: hard @@ -6961,7 +7041,7 @@ __metadata: languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.2, es-set-tostringtag@npm:^2.0.3": +"es-set-tostringtag@npm:^2.0.3": version: 2.0.3 resolution: "es-set-tostringtag@npm:2.0.3" dependencies: @@ -7036,100 +7116,100 @@ __metadata: languageName: node linkType: hard -"eslint-config-hypothesis@npm:^2.6.0": +"eslint-config-hypothesis@file:.yalc/eslint-config-hypothesis::locator=hypothesis%40workspace%3A.": version: 2.6.0 - resolution: "eslint-config-hypothesis@npm:2.6.0" + resolution: "eslint-config-hypothesis@file:.yalc/eslint-config-hypothesis#.yalc/eslint-config-hypothesis::hash=1b6457&locator=hypothesis%40workspace%3A." peerDependencies: - eslint-plugin-mocha: ">=5.2.1" - eslint-plugin-react: ">=7.12.4" - eslint-plugin-react-hooks: ">=3.0.0" - checksum: 3d326860ced81e68938f230d41ed48efc63c86ea720d467acf7d994f9887ba5554c39754dd30553a1da7fcdd70891f6a5db1163c07a09a5c9a5de99a57b3a79a + eslint-plugin-mocha: ">=10.4.0" + eslint-plugin-react: ">=7.34.0" + eslint-plugin-react-hooks: ">=5.0.0" + checksum: 958c0756bc611a1803b1ffdb5375c24678e0a77e9ad5a93c0256754cec8a433f49b3b6d5d3612c3456333c59abdcae9867171a2b5f112852478890beb75233ac languageName: node linkType: hard -"eslint-plugin-jsx-a11y@npm:^6.2.3": - version: 6.8.0 - resolution: "eslint-plugin-jsx-a11y@npm:6.8.0" +"eslint-plugin-jsx-a11y@npm:^6.10.0": + version: 6.10.0 + resolution: "eslint-plugin-jsx-a11y@npm:6.10.0" dependencies: - "@babel/runtime": ^7.23.2 - aria-query: ^5.3.0 - array-includes: ^3.1.7 + aria-query: ~5.1.3 + array-includes: ^3.1.8 array.prototype.flatmap: ^1.3.2 ast-types-flow: ^0.0.8 - axe-core: =4.7.0 - axobject-query: ^3.2.1 + axe-core: ^4.10.0 + axobject-query: ^4.1.0 damerau-levenshtein: ^1.0.8 emoji-regex: ^9.2.2 - es-iterator-helpers: ^1.0.15 - hasown: ^2.0.0 + es-iterator-helpers: ^1.0.19 + hasown: ^2.0.2 jsx-ast-utils: ^3.3.5 language-tags: ^1.0.9 minimatch: ^3.1.2 - object.entries: ^1.1.7 - object.fromentries: ^2.0.7 + object.fromentries: ^2.0.8 + safe-regex-test: ^1.0.3 + string.prototype.includes: ^2.0.0 peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 3dec00e2a3089c4c61ac062e4196a70985fb7eda1fd67fe035363d92578debde92fdb8ed2e472321fc0d71e75f4a1e8888c6a3218c14dd93c8e8d19eb6f51554 + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 + checksum: 1009deca12ddbe3624586bc5fc3534ca98d00a5841a2563cb6abd9339b984f0a99075dc2a703a517f4087eb84d659c87e60beda17645883de2ba1d86f2b20c96 languageName: node linkType: hard -"eslint-plugin-mocha@npm:^10.0.1": - version: 10.4.1 - resolution: "eslint-plugin-mocha@npm:10.4.1" +"eslint-plugin-mocha@npm:^10.5.0": + version: 10.5.0 + resolution: "eslint-plugin-mocha@npm:10.5.0" dependencies: eslint-utils: ^3.0.0 globals: ^13.24.0 rambda: ^7.4.0 peerDependencies: eslint: ">=7.0.0" - checksum: 26076c832899608de1f960325c4cfb4520cc644280e58879cec83596e699196c43568d67bf71880a1bd22fd1a59879645cf1690ba422ee40cbc24b77c3bfdda3 + checksum: 07fc975c7768b19de4d2883307177f10e94b6318a4971dbc3c52edcea01977a59a54b85fe564974e43b29b12b821b06afd48d95b631e84d203c44676778aa019 languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:^4.0.4": - version: 4.6.0 - resolution: "eslint-plugin-react-hooks@npm:4.6.0" +"eslint-plugin-react-hooks@npm:^5.0.0": + version: 5.0.0 + resolution: "eslint-plugin-react-hooks@npm:5.0.0" peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - checksum: 23001801f14c1d16bf0a837ca7970d9dd94e7b560384b41db378b49b6e32dc43d6e2790de1bd737a652a86f81a08d6a91f402525061b47719328f586a57e86c3 + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + checksum: eddd514a8796e8f805aa0c712d5fe6120fa6db778e3ad2949459b208f8a4bed6a48c152edfa9613f137c7527b00b42d489b5f94363d01d3a509e1f31630674dd languageName: node linkType: hard -"eslint-plugin-react@npm:^7.12.4": - version: 7.34.1 - resolution: "eslint-plugin-react@npm:7.34.1" +"eslint-plugin-react@npm:^7.37.1": + version: 7.37.1 + resolution: "eslint-plugin-react@npm:7.37.1" dependencies: - array-includes: ^3.1.7 - array.prototype.findlast: ^1.2.4 + array-includes: ^3.1.8 + array.prototype.findlast: ^1.2.5 array.prototype.flatmap: ^1.3.2 - array.prototype.toreversed: ^1.1.2 - array.prototype.tosorted: ^1.1.3 + array.prototype.tosorted: ^1.1.4 doctrine: ^2.1.0 - es-iterator-helpers: ^1.0.17 + es-iterator-helpers: ^1.0.19 estraverse: ^5.3.0 + hasown: ^2.0.2 jsx-ast-utils: ^2.4.1 || ^3.0.0 minimatch: ^3.1.2 - object.entries: ^1.1.7 - object.fromentries: ^2.0.7 - object.hasown: ^1.1.3 - object.values: ^1.1.7 + object.entries: ^1.1.8 + object.fromentries: ^2.0.8 + object.values: ^1.2.0 prop-types: ^15.8.1 resolve: ^2.0.0-next.5 semver: ^6.3.1 - string.prototype.matchall: ^4.0.10 + string.prototype.matchall: ^4.0.11 + string.prototype.repeat: ^1.0.0 peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 82f391c5a093235c3bc2f664c54e009c49460778ee7d1b86c1536df9ac4d2a80d1dedc9241ac797df4a9dced936e955d9c89042fb3ac8d017b5359d1320d3c0f + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 + checksum: 22d1bdf0dd4cdbf8c57ce563c58d43c5f5e1da0b08d27d0a69d7126d9e8afcb74a5befae97dab4019b4c6029ae617b6a0af1709cb9e0439d5757b01b392d2ca7 languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" +"eslint-scope@npm:^8.1.0": + version: 8.1.0 + resolution: "eslint-scope@npm:8.1.0" dependencies: esrecurse: ^4.3.0 estraverse: ^5.2.0 - checksum: ec97dbf5fb04b94e8f4c5a91a7f0a6dd3c55e46bfc7bbcd0e3138c3a76977570e02ed89a1810c778dcd72072ff0e9621ba1379b4babe53921d71e2e4486fda3e + checksum: 3ce9392ec74f35f84eddad7755941cb5f7e3a1bc53cf902e95e541384ef78b604bec1489933f37c663e4686b36c31533d06cf0842be9a729a680c489efce7acb languageName: node linkType: hard @@ -7151,7 +7231,7 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1": +"eslint-visitor-keys@npm:^3.3.0": version: 3.4.1 resolution: "eslint-visitor-keys@npm:3.4.1" checksum: f05121d868202736b97de7d750847a328fcfa8593b031c95ea89425333db59676ac087fa905eba438d0a3c5769632f828187e0c1a0d271832a2153c1d3661c2c @@ -7165,73 +7245,71 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.3.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" +"eslint-visitor-keys@npm:^4.1.0": + version: 4.1.0 + resolution: "eslint-visitor-keys@npm:4.1.0" + checksum: b5d53725df14a6a225fd74d5e687f5f0547b0aaa3e1963ab6f4acb8dc80f99ad0bec11148e14b4a67de024dde7b4449e7e4c0b1524de605955dee7eefcdd7824 + languageName: node + linkType: hard + +"eslint@npm:^9.12.0": + version: 9.12.0 + resolution: "eslint@npm:9.12.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 - "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.4 - "@eslint/js": 8.57.0 - "@humanwhocodes/config-array": ^0.11.14 + "@eslint-community/regexpp": ^4.11.0 + "@eslint/config-array": ^0.18.0 + "@eslint/core": ^0.6.0 + "@eslint/eslintrc": ^3.1.0 + "@eslint/js": 9.12.0 + "@eslint/plugin-kit": ^0.2.0 + "@humanfs/node": ^0.16.5 "@humanwhocodes/module-importer": ^1.0.1 - "@nodelib/fs.walk": ^1.2.8 - "@ungap/structured-clone": ^1.2.0 + "@humanwhocodes/retry": ^0.3.1 + "@types/estree": ^1.0.6 + "@types/json-schema": ^7.0.15 ajv: ^6.12.4 chalk: ^4.0.0 cross-spawn: ^7.0.2 debug: ^4.3.2 - doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 - eslint-scope: ^7.2.2 - eslint-visitor-keys: ^3.4.3 - espree: ^9.6.1 - esquery: ^1.4.2 + eslint-scope: ^8.1.0 + eslint-visitor-keys: ^4.1.0 + espree: ^10.2.0 + esquery: ^1.5.0 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 - file-entry-cache: ^6.0.1 + file-entry-cache: ^8.0.0 find-up: ^5.0.0 glob-parent: ^6.0.2 - globals: ^13.19.0 - graphemer: ^1.4.0 ignore: ^5.2.0 imurmurhash: ^0.1.4 is-glob: ^4.0.0 - is-path-inside: ^3.0.3 - js-yaml: ^4.1.0 json-stable-stringify-without-jsonify: ^1.0.1 - levn: ^0.4.1 lodash.merge: ^4.6.2 minimatch: ^3.1.2 natural-compare: ^1.4.0 optionator: ^0.9.3 - strip-ansi: ^6.0.1 text-table: ^0.2.0 + peerDependencies: + jiti: "*" + peerDependenciesMeta: + jiti: + optional: true bin: eslint: bin/eslint.js - checksum: 3a48d7ff85ab420a8447e9810d8087aea5b1df9ef68c9151732b478de698389ee656fd895635b5f2871c89ee5a2652b3f343d11e9db6f8486880374ebc74a2d9 + checksum: cf0dbe242268ede8cc13c04566973077c4feea21cf94a2eacba7ad43f566b2dee0d8f1af32ccb46d30dbcd78a7274828199b8aa9a7b1c708d7a71085b686385c languageName: node linkType: hard -"espree@npm:^9.6.0": - version: 9.6.0 - resolution: "espree@npm:9.6.0" - dependencies: - acorn: ^8.9.0 - acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: 1287979510efb052a6a97c73067ea5d0a40701b29adde87bbe2d3eb1667e39ca55e8129e20e2517fed3da570150e7ef470585228459a8f3e3755f45007a1c662 - languageName: node - linkType: hard - -"espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" +"espree@npm:^10.0.1, espree@npm:^10.2.0": + version: 10.2.0 + resolution: "espree@npm:10.2.0" dependencies: - acorn: ^8.9.0 + acorn: ^8.12.0 acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: eb8c149c7a2a77b3f33a5af80c10875c3abd65450f60b8af6db1bfcfa8f101e21c1e56a561c6dc13b848e18148d43469e7cd208506238554fb5395a9ea5a1ab9 + eslint-visitor-keys: ^4.1.0 + checksum: 16ee75c2f6029622a70a675ad8989fffc6f7199265d07af516a11e4adc9eb2d03866fceff33f1a081c42621df79871e508f8fc8fe5855eac2de925b58196711b languageName: node linkType: hard @@ -7245,12 +7323,12 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2": - version: 1.4.2 - resolution: "esquery@npm:1.4.2" +"esquery@npm:^1.5.0": + version: 1.6.0 + resolution: "esquery@npm:1.6.0" dependencies: estraverse: ^5.1.0 - checksum: 2f4ad89c5aafaca61cc2c15e256190f0d6deb4791cae6552d3cb4b1eb8867958cdf27a56aaa3272ff17435e3eaa19ee0d4129fac336ca6373d7354d7b5da7966 + checksum: 08ec4fe446d9ab27186da274d979558557fbdbbd10968fa9758552482720c54152a5640e08b9009e5a30706b66aba510692054d4129d32d0e12e05bbc0b96fb2 languageName: node linkType: hard @@ -7391,29 +7469,29 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.9": - version: 3.2.12 - resolution: "fast-glob@npm:3.2.12" +"fast-glob@npm:^3.3.0": + version: 3.3.1 + resolution: "fast-glob@npm:3.3.1" dependencies: "@nodelib/fs.stat": ^2.0.2 "@nodelib/fs.walk": ^1.2.3 glob-parent: ^5.1.2 merge2: ^1.3.0 micromatch: ^4.0.4 - checksum: 0b1990f6ce831c7e28c4d505edcdaad8e27e88ab9fa65eedadb730438cfc7cde4910d6c975d6b7b8dc8a73da4773702ebcfcd6e3518e73938bb1383badfe01c2 + checksum: b6f3add6403e02cf3a798bfbb1183d0f6da2afd368f27456010c0bc1f9640aea308243d4cb2c0ab142f618276e65ecb8be1661d7c62a7b4e5ba774b9ce5432e5 languageName: node linkType: hard -"fast-glob@npm:^3.3.0": - version: 3.3.1 - resolution: "fast-glob@npm:3.3.1" +"fast-glob@npm:^3.3.2": + version: 3.3.2 + resolution: "fast-glob@npm:3.3.2" dependencies: "@nodelib/fs.stat": ^2.0.2 "@nodelib/fs.walk": ^1.2.3 glob-parent: ^5.1.2 merge2: ^1.3.0 micromatch: ^4.0.4 - checksum: b6f3add6403e02cf3a798bfbb1183d0f6da2afd368f27456010c0bc1f9640aea308243d4cb2c0ab142f618276e65ecb8be1661d7c62a7b4e5ba774b9ce5432e5 + checksum: 900e4979f4dbc3313840078419245621259f349950411ca2fa445a2f9a1a6d98c3b5e7e0660c5ccd563aa61abe133a21765c6c0dec8e57da1ba71d8000b05ec1 languageName: node linkType: hard @@ -7504,12 +7582,12 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" +"file-entry-cache@npm:^8.0.0": + version: 8.0.0 + resolution: "file-entry-cache@npm:8.0.0" dependencies: - flat-cache: ^3.0.4 - checksum: f49701feaa6314c8127c3c2f6173cfefff17612f5ed2daaafc6da13b5c91fd43e3b2a58fd0d63f9f94478a501b167615931e7200e31485e320f74a33885a9c74 + flat-cache: ^4.0.0 + checksum: f67802d3334809048c69b3d458f672e1b6d26daefda701761c81f203b80149c35dea04d78ea4238969dd617678e530876722a0634c43031a0957f10cc3ed190f languageName: node linkType: hard @@ -7604,13 +7682,13 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^3.0.4": - version: 3.0.4 - resolution: "flat-cache@npm:3.0.4" +"flat-cache@npm:^4.0.0": + version: 4.0.1 + resolution: "flat-cache@npm:4.0.1" dependencies: - flatted: ^3.1.0 - rimraf: ^3.0.2 - checksum: 4fdd10ecbcbf7d520f9040dd1340eb5dfe951e6f0ecf2252edeec03ee68d989ec8b9a20f4434270e71bcfd57800dc09b3344fca3966b2eb8f613072c7d9a2365 + flatted: ^3.2.9 + keyv: ^4.5.4 + checksum: 899fc86bf6df093547d76e7bfaeb900824b869d7d457d02e9b8aae24836f0a99fbad79328cfd6415ee8908f180699bf259dc7614f793447cb14f707caf5996f6 languageName: node linkType: hard @@ -7623,13 +7701,20 @@ __metadata: languageName: node linkType: hard -"flatted@npm:^3.1.0, flatted@npm:^3.2.4": +"flatted@npm:^3.2.4": version: 3.2.4 resolution: "flatted@npm:3.2.4" checksum: 7d33846428ab337ec81ef9b8b9103894c1c81f5f67feb32bd4ed106fbc47da60d56edb42efd36c9f1f30a010272aeccd34ec1ffacfe9dfdff19673b1d4df481b languageName: node linkType: hard +"flatted@npm:^3.2.9": + version: 3.3.1 + resolution: "flatted@npm:3.3.1" + checksum: 85ae7181650bb728c221e7644cbc9f4bf28bc556f2fc89bb21266962bdf0ce1029cc7acc44bb646cd469d9baac7c317f64e841c4c4c00516afa97320cdac7f94 + languageName: node + linkType: hard + "focus-visible@npm:^5.0.0": version: 5.2.1 resolution: "focus-visible@npm:5.2.1" @@ -8171,15 +8256,6 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.19.0 - resolution: "globals@npm:13.19.0" - dependencies: - type-fest: ^0.20.2 - checksum: a000dbd00bcf28f0941d8a29c3522b1c3b8e4bfe4e60e262c477a550c3cbbe8dbe2925a6905f037acd40f9a93c039242e1f7079c76b0fd184bc41dcc3b5c8e2e - languageName: node - linkType: hard - "globals@npm:^13.24.0": version: 13.24.0 resolution: "globals@npm:13.24.0" @@ -8189,6 +8265,20 @@ __metadata: languageName: node linkType: hard +"globals@npm:^14.0.0": + version: 14.0.0 + resolution: "globals@npm:14.0.0" + checksum: 534b8216736a5425737f59f6e6a5c7f386254560c9f41d24a9227d60ee3ad4a9e82c5b85def0e212e9d92162f83a92544be4c7fd4c902cb913736c10e08237ac + languageName: node + linkType: hard + +"globals@npm:^15.11.0": + version: 15.11.0 + resolution: "globals@npm:15.11.0" + checksum: ef32d5ef987f3d4b47fc2e389a0b235f6a46f605160c4e405722fd7b576106ca407cb867e66fd1e0fc43b631800e2e2e71847f37691026d813f96f40339da702 + languageName: node + linkType: hard + "globalthis@npm:^1.0.3": version: 1.0.3 resolution: "globalthis@npm:1.0.3" @@ -8198,20 +8288,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.1.0": - version: 11.1.0 - resolution: "globby@npm:11.1.0" - dependencies: - array-union: ^2.1.0 - dir-glob: ^3.0.1 - fast-glob: ^3.2.9 - ignore: ^5.2.0 - merge2: ^1.4.1 - slash: ^3.0.0 - checksum: b4be8885e0cfa018fc783792942d53926c35c50b3aefd3fdcfb9d22c627639dc26bd2327a40a0b74b074100ce95bb7187bfeae2f236856aa3de183af7a02aea6 - languageName: node - linkType: hard - "glogg@npm:^2.2.0": version: 2.2.0 resolution: "glogg@npm:2.2.0" @@ -8463,6 +8539,15 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.2": + version: 2.0.2 + resolution: "hasown@npm:2.0.2" + dependencies: + function-bind: ^1.1.2 + checksum: e8516f776a15149ca6c6ed2ae3110c417a00b62260e222590e54aa367cbcd6ed99122020b37b7fbdf05748df57b265e70095d7bf35a47660587619b15ffb93db + languageName: node + linkType: hard + "he@npm:^1.2.0": version: 1.2.0 resolution: "he@npm:1.2.0" @@ -8642,8 +8727,6 @@ __metadata: "@types/shallowequal": ^1.1.1 "@types/showdown": ^2.0.0 "@types/sinon": ^17.0.3 - "@typescript-eslint/eslint-plugin": ^7.0.1 - "@typescript-eslint/parser": ^7.0.1 approx-string-match: ^2.0.0 autoprefixer: ^10.0.1 axe-core: ^4.0.0 @@ -8662,16 +8745,17 @@ __metadata: enzyme-adapter-preact-pure: ^4.0.1 escape-html: ^1.0.3 escape-string-regexp: ^4.0.0 - eslint: ^8.3.0 - eslint-config-hypothesis: ^2.6.0 - eslint-plugin-jsx-a11y: ^6.2.3 - eslint-plugin-mocha: ^10.0.1 - eslint-plugin-react: ^7.12.4 - eslint-plugin-react-hooks: ^4.0.4 + eslint: ^9.12.0 + eslint-config-hypothesis: "file:.yalc/eslint-config-hypothesis" + eslint-plugin-jsx-a11y: ^6.10.0 + eslint-plugin-mocha: ^10.5.0 + eslint-plugin-react: ^7.37.1 + eslint-plugin-react-hooks: ^5.0.0 express: ^5.0.1 fancy-log: ^2.0.0 fetch-mock: 11 focus-visible: ^5.0.0 + globals: ^15.11.0 gulp: ^5.0.0 gulp-changed: ^5.0.1 hammerjs: ^2.0.4 @@ -8705,6 +8789,7 @@ __metadata: tailwindcss: ^3.0.2 tiny-emitter: ^2.0.2 typescript: ^5.0.2 + typescript-eslint: ^8.9.0 wrap-text: ^1.0.7 languageName: unknown linkType: soft @@ -8759,10 +8844,10 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.2.4": - version: 5.2.4 - resolution: "ignore@npm:5.2.4" - checksum: 3d4c309c6006e2621659311783eaea7ebcd41fe4ca1d78c91c473157ad6666a57a2df790fe0d07a12300d9aac2888204d7be8d59f9aaf665b1c7fcdb432517ef +"ignore@npm:^5.3.1": + version: 5.3.1 + resolution: "ignore@npm:5.3.1" + checksum: 71d7bb4c1dbe020f915fd881108cbe85a0db3d636a0ea3ba911393c53946711d13a9b1143c7e70db06d571a5822c0a324a6bcde5c9904e7ca5047f01f1bf8cd3 languageName: node linkType: hard @@ -8828,7 +8913,7 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.3, internal-slot@npm:^1.0.5, internal-slot@npm:^1.0.7": +"internal-slot@npm:^1.0.3, internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.5, internal-slot@npm:^1.0.7": version: 1.0.7 resolution: "internal-slot@npm:1.0.7" dependencies: @@ -8880,6 +8965,16 @@ __metadata: languageName: node linkType: hard +"is-arguments@npm:^1.1.1": + version: 1.1.1 + resolution: "is-arguments@npm:1.1.1" + dependencies: + call-bind: ^1.0.2 + has-tostringtag: ^1.0.0 + checksum: 7f02700ec2171b691ef3e4d0e3e6c0ba408e8434368504bb593d0d7c891c0dbfda6d19d30808b904a6cb1929bca648c061ba438c39f296c2a8ca083229c49f27 + languageName: node + linkType: hard + "is-array-buffer@npm:^3.0.1": version: 3.0.1 resolution: "is-array-buffer@npm:3.0.1" @@ -8992,6 +9087,15 @@ __metadata: languageName: node linkType: hard +"is-data-view@npm:^1.0.1": + version: 1.0.1 + resolution: "is-data-view@npm:1.0.1" + dependencies: + is-typed-array: ^1.1.13 + checksum: 4ba4562ac2b2ec005fefe48269d6bd0152785458cd253c746154ffb8a8ab506a29d0cfb3b74af87513843776a88e4981ae25c89457bf640a33748eab1a7216b5 + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1": version: 1.0.2 resolution: "is-date-object@npm:1.0.2" @@ -9063,6 +9167,13 @@ __metadata: languageName: node linkType: hard +"is-map@npm:^2.0.2": + version: 2.0.3 + resolution: "is-map@npm:2.0.3" + checksum: e6ce5f6380f32b141b3153e6ba9074892bbbbd655e92e7ba5ff195239777e767a976dcd4e22f864accaf30e53ebf961ab1995424aef91af68788f0591b7396cc + languageName: node + linkType: hard + "is-module@npm:^1.0.0": version: 1.0.0 resolution: "is-module@npm:1.0.0" @@ -9119,13 +9230,6 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.3": - version: 3.0.3 - resolution: "is-path-inside@npm:3.0.3" - checksum: abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 - languageName: node - linkType: hard - "is-plain-obj@npm:^2.1.0": version: 2.1.0 resolution: "is-plain-obj@npm:2.1.0" @@ -9191,6 +9295,13 @@ __metadata: languageName: node linkType: hard +"is-set@npm:^2.0.2": + version: 2.0.3 + resolution: "is-set@npm:2.0.3" + checksum: 36e3f8c44bdbe9496c9689762cc4110f6a6a12b767c5d74c0398176aa2678d4467e3bf07595556f2dba897751bde1422480212b97d973c7b08a343100b0c0dfe + languageName: node + linkType: hard + "is-shared-array-buffer@npm:^1.0.1": version: 1.0.1 resolution: "is-shared-array-buffer@npm:1.0.1" @@ -9592,6 +9703,13 @@ __metadata: languageName: node linkType: hard +"json-buffer@npm:3.0.1": + version: 3.0.1 + resolution: "json-buffer@npm:3.0.1" + checksum: 9026b03edc2847eefa2e37646c579300a1f3a4586cfb62bf857832b60c852042d0d6ae55d1afb8926163fa54c2b01d83ae24705f34990348bdac6273a29d4581 + languageName: node + linkType: hard + "json-parse-even-better-errors@npm:^4.0.0": version: 4.0.0 resolution: "json-parse-even-better-errors@npm:4.0.0" @@ -9790,6 +9908,15 @@ __metadata: languageName: node linkType: hard +"keyv@npm:^4.5.4": + version: 4.5.4 + resolution: "keyv@npm:4.5.4" + dependencies: + json-buffer: 3.0.1 + checksum: 74a24395b1c34bd44ad5cb2b49140d087553e170625240b86755a6604cd65aa16efdbdeae5cdb17ba1284a0fbb25ad06263755dbc71b8d8b06f74232ce3cdd72 + languageName: node + linkType: hard + "language-subtag-registry@npm:^0.3.20": version: 0.3.22 resolution: "language-subtag-registry@npm:0.3.22" @@ -10155,7 +10282,7 @@ __metadata: languageName: node linkType: hard -"merge2@npm:^1.3.0, merge2@npm:^1.4.1": +"merge2@npm:^1.3.0": version: 1.4.1 resolution: "merge2@npm:1.4.1" checksum: 7268db63ed5169466540b6fb947aec313200bcf6d40c5ab722c22e242f651994619bcd85601602972d3c85bd2cc45a358a4c61937e9f11a061919a1da569b0c2 @@ -10252,16 +10379,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:9.0.3, minimatch@npm:^9.0.3": - version: 9.0.3 - resolution: "minimatch@npm:9.0.3" - dependencies: - brace-expansion: ^2.0.1 - checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5 - languageName: node - linkType: hard - -"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.4, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -10297,6 +10415,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.3": + version: 9.0.3 + resolution: "minimatch@npm:9.0.3" + dependencies: + brace-expansion: ^2.0.1 + checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5 + languageName: node + linkType: hard + "minimatch@npm:^9.0.4": version: 9.0.4 resolution: "minimatch@npm:9.0.4" @@ -10972,6 +11099,16 @@ __metadata: languageName: node linkType: hard +"object-is@npm:^1.1.5": + version: 1.1.6 + resolution: "object-is@npm:1.1.6" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + checksum: 3ea22759967e6f2380a2cbbd0f737b42dc9ddb2dfefdb159a1b927fea57335e1b058b564bfa94417db8ad58cddab33621a035de6f5e5ad56d89f2dd03e66c6a1 + languageName: node + linkType: hard + "object-keys@npm:^1.0.12, object-keys@npm:^1.1.1": version: 1.1.1 resolution: "object-keys@npm:1.1.1" @@ -11050,35 +11187,26 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.7": - version: 1.1.7 - resolution: "object.entries@npm:1.1.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: da287d434e7e32989586cd734382364ba826a2527f2bc82e6acbf9f9bfafa35d51018b66ec02543ffdfa2a5ba4af2b6f1ca6e588c65030cb4fd9c67d6ced594c - languageName: node - linkType: hard - -"object.fromentries@npm:^2.0.7": - version: 2.0.7 - resolution: "object.fromentries@npm:2.0.7" +"object.entries@npm:^1.1.8": + version: 1.1.8 + resolution: "object.entries@npm:1.1.8" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 7341ce246e248b39a431b87a9ddd331ff52a454deb79afebc95609f94b1f8238966cf21f52188f2a353f0fdf83294f32f1ebf1f7826aae915ebad21fd0678065 + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: 5314877cb637ef3437a30bba61d9bacdb3ce74bf73ac101518be0633c37840c8cc67407edb341f766e8093b3d7516d5c3358f25adfee4a2c697c0ec4c8491907 languageName: node linkType: hard -"object.hasown@npm:^1.1.3": - version: 1.1.3 - resolution: "object.hasown@npm:1.1.3" +"object.fromentries@npm:^2.0.8": + version: 2.0.8 + resolution: "object.fromentries@npm:2.0.8" dependencies: - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 76bc17356f6124542fb47e5d0e78d531eafa4bba3fc2d6fc4b1a8ce8b6878912366c0d99f37ce5c84ada8fd79df7aa6ea1214fddf721f43e093ad2df51f27da1 + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-object-atoms: ^1.0.0 + checksum: 29b2207a2db2782d7ced83f93b3ff5d425f901945f3665ffda1821e30a7253cd1fd6b891a64279976098137ddfa883d748787a6fea53ecdb51f8df8b8cec0ae1 languageName: node linkType: hard @@ -11102,14 +11230,14 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.7": - version: 1.1.7 - resolution: "object.values@npm:1.1.7" +"object.values@npm:^1.2.0": + version: 1.2.0 + resolution: "object.values@npm:1.2.0" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: f3e4ae4f21eb1cc7cebb6ce036d4c67b36e1c750428d7b7623c56a0db90edced63d08af8a316d81dfb7c41a3a5fa81b05b7cc9426e98d7da986b1682460f0777 + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: 51fef456c2a544275cb1766897f34ded968b22adfc13ba13b5e4815fdaf4304a90d42a3aee114b1f1ede048a4890381d47a5594d84296f2767c6a0364b9da8fa languageName: node linkType: hard @@ -11389,13 +11517,6 @@ __metadata: languageName: node linkType: hard -"path-type@npm:^4.0.0": - version: 4.0.0 - resolution: "path-type@npm:4.0.0" - checksum: 5b1e2daa247062061325b8fdbfd1fb56dde0a448fb1455453276ea18c60685bdad23a445dc148cf87bc216be1573357509b7d4060494a6fd768c7efad833ee45 - languageName: node - linkType: hard - "pathval@npm:^2.0.0": version: 2.0.0 resolution: "pathval@npm:2.0.0" @@ -11935,13 +12056,6 @@ __metadata: languageName: node linkType: hard -"regenerator-runtime@npm:^0.14.0": - version: 0.14.0 - resolution: "regenerator-runtime@npm:0.14.0" - checksum: 1c977ad82a82a4412e4f639d65d22be376d3ebdd30da2c003eeafdaaacd03fc00c2320f18120007ee700900979284fc78a9f00da7fb593f6e6eeebc673fba9a3 - languageName: node - linkType: hard - "regenerator-transform@npm:^0.15.2": version: 0.15.2 resolution: "regenerator-transform@npm:0.15.2" @@ -11962,17 +12076,6 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.0": - version: 1.5.0 - resolution: "regexp.prototype.flags@npm:1.5.0" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - functions-have-names: ^1.2.3 - checksum: c541687cdbdfff1b9a07f6e44879f82c66bbf07665f9a7544c5fd16acdb3ec8d1436caab01662d2fbcad403f3499d49ab0b77fbc7ef29ef961d98cc4bc9755b4 - languageName: node - linkType: hard - "regexp.prototype.flags@npm:^1.5.1": version: 1.5.1 resolution: "regexp.prototype.flags@npm:1.5.1" @@ -12427,6 +12530,18 @@ __metadata: languageName: node linkType: hard +"safe-array-concat@npm:^1.1.2": + version: 1.1.2 + resolution: "safe-array-concat@npm:1.1.2" + dependencies: + call-bind: ^1.0.7 + get-intrinsic: ^1.2.4 + has-symbols: ^1.0.3 + isarray: ^2.0.5 + checksum: a3b259694754ddfb73ae0663829e396977b99ff21cbe8607f35a469655656da8e271753497e59da8a7575baa94d2e684bea3e10ddd74ba046c0c9b4418ffa0c4 + languageName: node + linkType: hard + "safe-buffer@npm:5.2.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" @@ -12531,7 +12646,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:^7.5.3": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -12542,6 +12657,24 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.5.4": + version: 7.6.3 + resolution: "semver@npm:7.6.3" + bin: + semver: bin/semver.js + checksum: 4110ec5d015c9438f322257b1c51fe30276e5f766a3f64c09edd1d7ea7118ecbc3f379f3b69032bacf13116dc7abc4ad8ce0d7e2bd642e26b0d271b56b61a7d8 + languageName: node + linkType: hard + +"semver@npm:^7.6.0": + version: 7.6.2 + resolution: "semver@npm:7.6.2" + bin: + semver: bin/semver.js + checksum: 40f6a95101e8d854357a644da1b8dd9d93ce786d5c6a77227bc69dbb17bea83d0d1d1d7c4cd5920a6df909f48e8bd8a5909869535007f90278289f2451d0292d + languageName: node + linkType: hard + "send@npm:^1.0.0, send@npm:^1.1.0": version: 1.1.0 resolution: "send@npm:1.1.0" @@ -12636,6 +12769,18 @@ __metadata: languageName: node linkType: hard +"set-function-name@npm:^2.0.2": + version: 2.0.2 + resolution: "set-function-name@npm:2.0.2" + dependencies: + define-data-property: ^1.1.4 + es-errors: ^1.3.0 + functions-have-names: ^1.2.3 + has-property-descriptors: ^1.0.2 + checksum: d6229a71527fd0404399fc6227e0ff0652800362510822a291925c9d7b48a1ca1a468b11b281471c34cd5a2da0db4f5d7ff315a61d26655e77f6e971e6d0c80f + languageName: node + linkType: hard + "setprototypeof@npm:1.2.0": version: 1.2.0 resolution: "setprototypeof@npm:1.2.0" @@ -12742,13 +12887,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^3.0.0": - version: 3.0.0 - resolution: "slash@npm:3.0.0" - checksum: 94a93fff615f25a999ad4b83c9d5e257a7280c90a32a7cb8b4a87996e4babf322e469c42b7f649fd5796edd8687652f3fb452a86dc97a816f01113183393f11c - languageName: node - linkType: hard - "smart-buffer@npm:^4.2.0": version: 4.2.0 resolution: "smart-buffer@npm:4.2.0" @@ -12976,6 +13114,15 @@ __metadata: languageName: node linkType: hard +"stop-iteration-iterator@npm:^1.0.0": + version: 1.0.0 + resolution: "stop-iteration-iterator@npm:1.0.0" + dependencies: + internal-slot: ^1.0.4 + checksum: d04173690b2efa40e24ab70e5e51a3ff31d56d699550cfad084104ab3381390daccb36652b25755e420245f3b0737de66c1879eaa2a8d4fc0a78f9bf892fcb42 + languageName: node + linkType: hard + "stream-composer@npm:^1.0.2": version: 1.0.2 resolution: "stream-composer@npm:1.0.2" @@ -13050,20 +13197,43 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.10": - version: 4.0.10 - resolution: "string.prototype.matchall@npm:4.0.10" +"string.prototype.includes@npm:^2.0.0": + version: 2.0.0 + resolution: "string.prototype.includes@npm:2.0.0" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 + define-properties: ^1.1.3 + es-abstract: ^1.17.5 + checksum: cf413e7f603b0414b65fdf1e7e3670ba85fd992b31c7eadfbdd9a484b86d265f0260431e7558cdb44a318dcadd1da8442b7bb8193b9ddd0aea3c376d2a559859 + languageName: node + linkType: hard + +"string.prototype.matchall@npm:^4.0.11": + version: 4.0.11 + resolution: "string.prototype.matchall@npm:4.0.11" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.4 + gopd: ^1.0.1 has-symbols: ^1.0.3 - internal-slot: ^1.0.5 - regexp.prototype.flags: ^1.5.0 - set-function-name: ^2.0.0 - side-channel: ^1.0.4 - checksum: 3c78bdeff39360c8e435d7c4c6ea19f454aa7a63eda95fa6fadc3a5b984446a2f9f2c02d5c94171ce22268a573524263fbd0c8edbe3ce2e9890d7cc036cdc3ed + internal-slot: ^1.0.7 + regexp.prototype.flags: ^1.5.2 + set-function-name: ^2.0.2 + side-channel: ^1.0.6 + checksum: 6ac6566ed065c0c8489c91156078ca077db8ff64d683fda97ae652d00c52dfa5f39aaab0a710d8243031a857fd2c7c511e38b45524796764d25472d10d7075ae + languageName: node + linkType: hard + +"string.prototype.repeat@npm:^1.0.0": + version: 1.0.0 + resolution: "string.prototype.repeat@npm:1.0.0" + dependencies: + define-properties: ^1.1.3 + es-abstract: ^1.17.5 + checksum: 95dfc514ed7f328d80a066dabbfbbb1615c3e51490351085409db2eb7cbfed7ea29fdadaf277647fbf9f4a1e10e6dd9e95e78c0fd2c4e6bb6723ea6e59401004 languageName: node linkType: hard @@ -13088,6 +13258,18 @@ __metadata: languageName: node linkType: hard +"string.prototype.trim@npm:^1.2.9": + version: 1.2.9 + resolution: "string.prototype.trim@npm:1.2.9" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.0 + es-object-atoms: ^1.0.0 + checksum: ea2df6ec1e914c9d4e2dc856fa08228e8b1be59b59e50b17578c94a66a176888f417264bb763d4aac638ad3b3dad56e7a03d9317086a178078d131aa293ba193 + languageName: node + linkType: hard + "string.prototype.trimend@npm:^1.0.1": version: 1.0.2 resolution: "string.prototype.trimend@npm:1.0.2" @@ -13130,6 +13312,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimend@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimend@npm:1.0.8" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: cc3bd2de08d8968a28787deba9a3cb3f17ca5f9f770c91e7e8fa3e7d47f079bad70fadce16f05dda9f261788be2c6e84a942f618c3bed31e42abc5c1084f8dfd + languageName: node + linkType: hard + "string.prototype.trimstart@npm:^1.0.1": version: 1.0.2 resolution: "string.prototype.trimstart@npm:1.0.2" @@ -13172,6 +13365,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimstart@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimstart@npm:1.0.8" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: df1007a7f580a49d692375d996521dc14fd103acda7f3034b3c558a60b82beeed3a64fa91e494e164581793a8ab0ae2f59578a49896a7af6583c1f20472bce96 + languageName: node + linkType: hard + "string_decoder@npm:^1.1.1": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -13479,12 +13683,12 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.0.1": - version: 1.0.1 - resolution: "ts-api-utils@npm:1.0.1" +"ts-api-utils@npm:^1.3.0": + version: 1.3.0 + resolution: "ts-api-utils@npm:1.3.0" peerDependencies: typescript: ">=4.2.0" - checksum: 78794fc7270d295b36c1ac613465b5dc7e7226907a533125b30f177efef9dd630d4e503b00be31b44335eb2ebf9e136ebe97353f8fc5d383885d5fead9d54c09 + checksum: c746ddabfdffbf16cb0b0db32bb287236a19e583057f8649ee7c49995bb776e1d3ef384685181c11a1a480369e022ca97512cb08c517b2d2bd82c83754c97012 languageName: node linkType: hard @@ -13663,6 +13867,34 @@ __metadata: languageName: node linkType: hard +"typed-array-length@npm:^1.0.6": + version: 1.0.6 + resolution: "typed-array-length@npm:1.0.6" + dependencies: + call-bind: ^1.0.7 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-proto: ^1.0.3 + is-typed-array: ^1.1.13 + possible-typed-array-names: ^1.0.0 + checksum: f0315e5b8f0168c29d390ff410ad13e4d511c78e6006df4a104576844812ee447fcc32daab1f3a76c9ef4f64eff808e134528b5b2439de335586b392e9750e5c + languageName: node + linkType: hard + +"typescript-eslint@npm:^8.9.0": + version: 8.9.0 + resolution: "typescript-eslint@npm:8.9.0" + dependencies: + "@typescript-eslint/eslint-plugin": 8.9.0 + "@typescript-eslint/parser": 8.9.0 + "@typescript-eslint/utils": 8.9.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 6c54e7360e51fdbf1bc0d00f592949bb72e9c85d1b93145e9e7ad4e8259bf11784ebe035210c8f0a29e4f137ad268e22714d09bf82db1917258626d526a117a9 + languageName: node + linkType: hard + "typescript@npm:^5.0.2": version: 5.6.3 resolution: "typescript@npm:5.6.3" @@ -14094,6 +14326,19 @@ __metadata: languageName: node linkType: hard +"which-typed-array@npm:^1.1.15": + version: 1.1.15 + resolution: "which-typed-array@npm:1.1.15" + dependencies: + available-typed-arrays: ^1.0.7 + call-bind: ^1.0.7 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-tostringtag: ^1.0.2 + checksum: 65227dcbfadf5677aacc43ec84356d17b5500cb8b8753059bb4397de5cd0c2de681d24e1a7bd575633f976a95f88233abfd6549c2105ef4ebd58af8aa1807c75 + languageName: node + linkType: hard + "which-typed-array@npm:^1.1.9": version: 1.1.9 resolution: "which-typed-array@npm:1.1.9"