From dfc58bfe91cb3818619a577c40e91445b9cd36a3 Mon Sep 17 00:00:00 2001 From: Paul Berberian Date: Sun, 1 Sep 2024 19:40:31 +0200 Subject: [PATCH] Update dependencies, lint and run prettier --- .eslintrc.js | 28 +- CHANGELOG.md | 16 +- demo/.eslintrc.js | 8 + demo/src/components/AudioTrackSetting.tsx | 4 +- demo/src/components/BufferSizeChart.tsx | 6 +- demo/src/components/ContentBar.tsx | 8 +- demo/src/components/ControlBar.tsx | 24 +- .../components/MediaBufferContentGraph.tsx | 33 +- demo/src/components/PlayerContainer.tsx | 5 +- demo/src/components/ProgressBar.tsx | 4 +- demo/src/components/Settings.tsx | 4 +- demo/src/components/SettingsWindow.tsx | 17 +- demo/src/components/SpeedSetting.tsx | 2 +- demo/src/components/VariantSetting.tsx | 4 +- demo/src/components/VideoPlayer.tsx | 11 +- demo/src/index.tsx | 2 +- demo/src/utils/fullscreen.ts | 2 +- doc/API/Initialization.md | 4 +- doc/API/Loading_a_content.md | 2 +- .../Creating_a_WaspHlsPlayer.md | 4 +- package-lock.json | 3861 +++++++++-------- package.json | 22 +- scripts/generate_embedded_worker.js | 2 +- scripts/list-npm-scripts.mjs | 212 + scripts/wasm-strip.js | 24 +- src/ts-common/EventEmitter.ts | 16 +- src/ts-common/QueuedSourceBuffer.ts | 6 +- src/ts-common/isNullOrUndefined.ts | 14 + src/ts-common/timeRangesToFloat64Array.ts | 2 +- src/ts-common/types.ts | 11 +- src/ts-main/api.ts | 56 +- src/ts-main/default_config.ts | 2 +- src/ts-main/errors/WaspInitializationError.ts | 2 +- .../errors/WaspMediaPlaylistParsingError.ts | 7 +- .../errors/WaspMediaPlaylistRequestError.ts | 5 +- .../WaspMultivariantPlaylistParsingError.ts | 4 +- .../WaspMultivariantPlaylistRequestError.ts | 2 +- src/ts-main/errors/WaspSegmentParsingError.ts | 7 +- src/ts-main/errors/WaspSegmentRequestError.ts | 6 +- .../errors/WaspSourceBufferCreationError.ts | 7 +- src/ts-main/errors/WaspSourceBufferError.ts | 13 +- src/ts-main/index.ts | 3 +- src/ts-main/observePlayback.ts | 5 +- src/ts-main/postMessageToWorker.ts | 4 +- src/ts-main/types.ts | 12 +- src/ts-main/utils.ts | 15 +- src/ts-main/worker-message-handlers.ts | 144 +- src/ts-transmux/src/AdtsPacketParser.ts | 2 +- src/ts-transmux/src/ElementaryPacketParser.ts | 2 +- .../src/FullMp4SegmentConstructor.ts | 6 +- src/ts-transmux/src/H264NalUnitProducer.ts | 8 +- .../src/Mp4AudioSegmentGenerator.ts | 6 +- .../src/Mp4VideoSegmentGenerator.ts | 4 +- src/ts-transmux/src/TimedMetadataParser.ts | 8 +- .../src/TimestampRolloverHandler.ts | 2 +- src/ts-transmux/src/Transmuxer.ts | 16 +- src/ts-transmux/src/TransportPacketParser.ts | 8 +- .../src/TransportStreamSplitter.ts | 8 +- src/ts-transmux/src/audio-frame-utils.ts | 8 +- src/ts-transmux/src/caption-packet-parser.ts | 6 +- src/ts-transmux/src/caption-stream.ts | 24 +- src/ts-transmux/src/clock-utils.ts | 4 +- src/ts-transmux/src/exp-golomb.ts | 2 +- src/ts-transmux/src/frame-utils.ts | 2 +- src/ts-transmux/src/id3-utils.ts | 14 +- src/ts-transmux/src/mp4-utils.ts | 60 +- src/ts-transmux/src/read-aac.ts | 2 +- src/ts-transmux/src/track-utils.ts | 6 +- src/ts-worker/MessageReceiver.ts | 24 +- src/ts-worker/bindings.ts | 162 +- src/ts-worker/globals.ts | 14 +- src/ts-worker/isobmff-utils.ts | 30 +- src/ts-worker/mse-in-worker.d.ts | 24 +- src/ts-worker/postMessage.ts | 4 +- src/ts-worker/tsconfig.json | 2 +- 75 files changed, 2920 insertions(+), 2190 deletions(-) create mode 100644 scripts/list-npm-scripts.mjs create mode 100644 src/ts-common/isNullOrUndefined.ts diff --git a/.eslintrc.js b/.eslintrc.js index a5f67c1..71d49d0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -34,6 +34,8 @@ module.exports = { objectLiteralTypeAssertions: "allow", }, ], + "@typescript-eslint/prefer-promise-reject-errors": "error", + "@typescript-eslint/only-throw-error": "error", "@typescript-eslint/consistent-type-definitions": "error", "@typescript-eslint/dot-notation": "error", "@typescript-eslint/explicit-member-accessibility": [ @@ -42,6 +44,8 @@ module.exports = { accessibility: "explicit", }, ], + "@typescript-eslint/consistent-type-imports": "error", + "@typescript-eslint/consistent-type-exports": "error", "@typescript-eslint/naming-convention": [ "error", { @@ -102,6 +106,8 @@ module.exports = { "@typescript-eslint/no-namespace": "error", "@typescript-eslint/no-non-null-assertion": "error", "@typescript-eslint/no-this-alias": "error", + // Might be enabled in the future, for now this is too much work: + "@typescript-eslint/no-unsafe-enum-comparison": ["off"], "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", "@typescript-eslint/no-unnecessary-qualifier": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error", @@ -117,12 +123,14 @@ module.exports = { "@typescript-eslint/no-unused-vars": [ "error", { + args: "all", argsIgnorePattern: "^_", + caughtErrors: "none", + destructuredArrayIgnorePattern: "^_", varsIgnorePattern: "^_", }, ], "@typescript-eslint/no-shadow": ["error"], - "@typescript-eslint/quotes": ["error", "double", { avoidEscape: true }], "@typescript-eslint/restrict-plus-operands": "error", "@typescript-eslint/strict-boolean-expressions": "error", "@typescript-eslint/triple-slash-reference": [ @@ -137,20 +145,16 @@ module.exports = { "@typescript-eslint/unified-signatures": "error", "arrow-body-style": "off", "arrow-parens": ["off", "always"], - // TODO? - // "class-methods-use-this": "error", complexity: [ "off", { max: 20, }, ], - // TODO? - // "consistent-return": "error", "constructor-super": "error", curly: "error", "default-case": "off", - eqeqeq: ["error", "smart"], + eqeqeq: "error", "guard-for-in": "warn", "id-blacklist": "off", "id-match": "off", @@ -159,7 +163,7 @@ module.exports = { "import/no-extraneous-dependencies": [ "error", { - devDependencies: true, + devDependencies: ["**/*.test.ts", "**/__tests__/**", "demo/**/*"], }, ], "import/no-internal-modules": "off", @@ -175,26 +179,20 @@ module.exports = { "jsdoc/check-alignment": "error", "jsdoc/no-types": "off", "max-classes-per-file": ["warn", 5], - "max-len": [ - "warn", - { - code: 90, - }, - ], "max-lines": ["off", 300], "newline-per-chained-call": "off", "no-bitwise": "off", "no-caller": "error", - // "no-console": "error", + "no-console": "error", "no-debugger": "error", "no-duplicate-case": "error", - "no-duplicate-imports": "error", "no-empty": "error", "no-eval": "error", "no-fallthrough": "error", "no-invalid-this": "error", "no-magic-numbers": "off", "no-new-wrappers": "error", + "no-nested-ternary": "error", "no-param-reassign": "error", "no-return-await": "error", "no-sequences": "error", diff --git a/CHANGELOG.md b/CHANGELOG.md index bf180ee..4c87134 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,15 @@ ## 0.4.2 (2023-04-27) -- Better detect mimetype from segment's extension by stripping query and fragment components from its URL -- Relative Playlist URLs starting with a "/" now are relative from the Playlist's domain, not its path -- Fix issue in GOP (group of pictures) creation code in the mpeg-ts to fmp4 transmuxer. The real impact on playback in unclear (none was noticed). +- Better detect mimetype from segment's extension by stripping query and fragment components from its URL +- Relative Playlist URLs starting with a "/" now are relative from the Playlist's domain, not its path +- Fix issue in GOP (group of pictures) creation code in the mpeg-ts to fmp4 transmuxer. The real impact on playback in unclear (none was noticed). ## 0.4.1 (2023-04-22) ### Bug fixes -- Fix HTTP Range requests (by prepending the forgotten `bytes=` string) +- Fix HTTP Range requests (by prepending the forgotten `bytes=` string) ## 0.4.0 (2023-04-21) @@ -18,25 +18,25 @@ ### Features -- Add TypeScript declaration files for embedded wasm and worker files +- Add TypeScript declaration files for embedded wasm and worker files ## 0.3.0 (2023-04-21) ### Features -- Add embedded wasm and worker +- Add embedded wasm and worker ## 0.2.0 (2023-04-21) ### Features -- Emit TypeScript declaration files and add more types +- Emit TypeScript declaration files and add more types ## 0.1.1 (2023-04-21) ### Bug fixes -- Fix-up export paths in the package published on npm +- Fix-up export paths in the package published on npm ## 0.1.0 (2023-04-21) diff --git a/demo/.eslintrc.js b/demo/.eslintrc.js index 1d440b2..abfb656 100644 --- a/demo/.eslintrc.js +++ b/demo/.eslintrc.js @@ -5,4 +5,12 @@ module.exports = { project: "./tsconfig.json", sourceType: "module", }, + rules: { + "import/no-extraneous-dependencies": [ + "error", + { + devDependencies: true, + }, + ], + }, }; diff --git a/demo/src/components/AudioTrackSetting.tsx b/demo/src/components/AudioTrackSetting.tsx index 1c19b95..1ca46e2 100644 --- a/demo/src/components/AudioTrackSetting.tsx +++ b/demo/src/components/AudioTrackSetting.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { AudioTrackInfo } from "../../../src/ts-main"; +import type { AudioTrackInfo } from "../../../src/ts-main"; /** * @param {Object} props @@ -24,7 +24,7 @@ function AudioTrackSetting({ const selected = audioTrackList[index]; updateAudioTrack(selected); }, - [audioTrackList] + [audioTrackList], ); const selectedIndex = diff --git a/demo/src/components/BufferSizeChart.tsx b/demo/src/components/BufferSizeChart.tsx index 592dd5e..65c243d 100644 --- a/demo/src/components/BufferSizeChart.tsx +++ b/demo/src/components/BufferSizeChart.tsx @@ -73,7 +73,7 @@ function BufferSizeChart({ innerData: Array<{ date: number; value: number; - }> + }>, ) => { if (canvasCtx.current === null) { return; @@ -146,7 +146,7 @@ function BufferSizeChart({ for (let i = 1; i < innerData.length; i++) { canvasCtx.current.lineTo( dateToX(innerData[i].date), - bufferValueToY(innerData[i].value) + bufferValueToY(innerData[i].value), ); } canvasCtx.current.stroke(); @@ -172,7 +172,7 @@ function BufferSizeChart({ return (date - minDate) * gridWidth; } }, - [] + [], ); React.useEffect((): void => { diff --git a/demo/src/components/ContentBar.tsx b/demo/src/components/ContentBar.tsx index 97409bb..2e7d954 100644 --- a/demo/src/components/ContentBar.tsx +++ b/demo/src/components/ContentBar.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import WaspHlsPlayer from "../../../src"; +import type WaspHlsPlayer from "../../../src"; /** * @param {Object} props @@ -18,7 +18,7 @@ export default React.memo(function ContentBar({ }): JSX.Element { const nameEltId = React.useId(); const [url, setUrl] = React.useState( - "https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8" + "https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8", ); const [isContentListOpened, setIsContentListOpened] = React.useState(false); const loadContent = React.useCallback(() => { @@ -30,14 +30,14 @@ export default React.memo(function ContentBar({ loadContent(); } }, - [loadContent] + [loadContent], ); const onUrlChange = React.useCallback( (e: React.ChangeEvent) => { setUrl(e.target.value ?? ""); }, - [] + [], ); const onNewUrlChoice = React.useCallback((newUrl: string) => { diff --git a/demo/src/components/ControlBar.tsx b/demo/src/components/ControlBar.tsx index a2e5b48..4da6b90 100644 --- a/demo/src/components/ControlBar.tsx +++ b/demo/src/components/ControlBar.tsx @@ -1,5 +1,6 @@ import * as React from "react"; -import WaspHlsPlayer, { PlayerState } from "../../../src"; +import type WaspHlsPlayer from "../../../src"; +import { PlayerState } from "../../../src"; import FullScreenButton from "./FullScreenButton"; import PlayButton from "./PlayButton"; import PositionIndicator from "./PositionIndicator"; @@ -66,7 +67,7 @@ export default React.memo(function ControlBar({ // Clear Timeout on unmount React.useEffect( () => clearHideControlBarTimeout, - [clearHideControlBarTimeout] + [clearHideControlBarTimeout], ); const startControlBarHideTimeout = React.useCallback(() => { clearHideControlBarTimeout(); @@ -94,7 +95,7 @@ export default React.memo(function ControlBar({ startControlBarHideTimeout(); } }, - [clearHideControlBarTimeout, startControlBarHideTimeout] + [clearHideControlBarTimeout, startControlBarHideTimeout], ); React.useEffect(() => { @@ -117,17 +118,17 @@ export default React.memo(function ControlBar({ player.removeEventListener("playing", onPlaying); player.videoElement.removeEventListener( "volumechange", - onVideoVolumeChange + onVideoVolumeChange, ); clearPositionUpdateInterval(); if (playerContainerRef.current !== null) { playerContainerRef.current.removeEventListener( "mouseover", - onMouseOver + onMouseOver, ); playerContainerRef.current.removeEventListener( "mousemove", - onMouseMove + onMouseMove, ); playerContainerRef.current.removeEventListener("mouseout", onMouseOut); } @@ -149,7 +150,7 @@ export default React.memo(function ControlBar({ clearPositionUpdateInterval(); positionRefreshIntervalId = setInterval( onPositionUpdateInterval, - TIME_CHECK_INTERVAL + TIME_CHECK_INTERVAL, ); break; case PlayerState.Stopped: @@ -192,6 +193,7 @@ export default React.memo(function ControlBar({ setBufferGap(player.getCurrentBufferGap()); if (!player.isPaused()) { if (minPos !== undefined && minPos > pos + 2) { + // eslint-disable-next-line no-console console.warn("Behind minimum position, seeking..."); player.seek(minPos + 2); } @@ -264,7 +266,7 @@ export default React.memo(function ControlBar({ (newVolume: number) => { player.videoElement.volume = newVolume; }, - [player] + [player], ); const onStopButtonClick = React.useCallback(() => { @@ -275,7 +277,7 @@ export default React.memo(function ControlBar({ (pos: number) => { player.seek(pos); }, - [player] + [player], ); // Handle controls on keypresses @@ -306,7 +308,7 @@ export default React.memo(function ControlBar({ evt.preventDefault(); const newPosition = Math.min( player.getPosition() + 10, - maxPosition + maxPosition, ); displayControlBar(false); player.seek(newPosition); @@ -320,7 +322,7 @@ export default React.memo(function ControlBar({ evt.preventDefault(); const newPosition = Math.max( player.getPosition() - 10, - minPosition + minPosition, ); displayControlBar(false); player.seek(newPosition); diff --git a/demo/src/components/MediaBufferContentGraph.tsx b/demo/src/components/MediaBufferContentGraph.tsx index 5d1b490..2892eb8 100644 --- a/demo/src/components/MediaBufferContentGraph.tsx +++ b/demo/src/components/MediaBufferContentGraph.tsx @@ -1,5 +1,6 @@ import * as React from "react"; -import WaspHlsPlayer, { PlayerState } from "../../../src"; +import type WaspHlsPlayer from "../../../src"; +import { PlayerState } from "../../../src"; const { useEffect, useMemo, useRef, useState } = React; @@ -30,7 +31,7 @@ function paintCurrentPosition( position: number | undefined, minimumPosition: number, maximumPosition: number, - canvasCtx: CanvasRenderingContext2D + canvasCtx: CanvasRenderingContext2D, ): void { if ( typeof position === "number" && @@ -44,7 +45,7 @@ function paintCurrentPosition( 1, 0, 3, - CANVAS_HEIGHT + CANVAS_HEIGHT, ); } } @@ -66,7 +67,7 @@ function scaleRanges( bufferedData: TimeRanges, minimumPosition: number, maximumPosition: number, - mediaOffset: number + mediaOffset: number, ): ScaledBufferedRange[] { const scaledRanges = []; const wholeDuration = maximumPosition - minimumPosition; @@ -100,13 +101,13 @@ export default function BufferContentGraph({ }): JSX.Element { const [position, setPosition] = useState(undefined); const [minimumPosition, setMinimumPosition] = useState( - undefined + undefined, ); const [maximumPosition, setMaximumPosition] = useState( - undefined + undefined, ); const [bufferedData, setBufferedData] = useState( - undefined + undefined, ); const canvasEl = useRef(null); @@ -123,7 +124,7 @@ export default function BufferContentGraph({ const paintRange = React.useCallback( ( scaledRange: ScaledBufferedRange, - canvasCtx: CanvasRenderingContext2D + canvasCtx: CanvasRenderingContext2D, ): void => { const startX = scaledRange.scaledStart * CANVAS_WIDTH; const endX = scaledRange.scaledEnd * CANVAS_WIDTH; @@ -132,10 +133,10 @@ export default function BufferContentGraph({ Math.ceil(startX), 0, Math.ceil(endX - startX), - CANVAS_HEIGHT + CANVAS_HEIGHT, ); }, - [] + [], ); const currentRangesScaled = useMemo(() => { @@ -186,7 +187,7 @@ export default function BufferContentGraph({ } return clickPosPx / endPointPx; }, - [] + [], ); const getMousePosition = React.useCallback( @@ -196,14 +197,14 @@ export default function BufferContentGraph({ ? undefined : mousePercent * duration + usedMinimum; }, - [getMousePositionInPercentage, duration, usedMinimum] + [getMousePositionInPercentage, duration, usedMinimum], ); const seek = React.useCallback( (wantedPos: number) => { player.seek(wantedPos); }, - [player] + [player], ); const onCanvasClick = React.useCallback( @@ -213,7 +214,7 @@ export default function BufferContentGraph({ seek(mousePosition); } }, - [getMousePosition, seek] + [getMousePosition, seek], ); useEffect(() => { @@ -222,7 +223,7 @@ export default function BufferContentGraph({ onPositionUpdateInterval(); positionRefreshIntervalId = setInterval( onPositionUpdateInterval, - TIME_CHECK_INTERVAL + TIME_CHECK_INTERVAL, ); } player.addEventListener("playerStateChange", onPlayerStateChange); @@ -245,7 +246,7 @@ export default function BufferContentGraph({ clearPositionUpdateInterval(); positionRefreshIntervalId = setInterval( onPositionUpdateInterval, - TIME_CHECK_INTERVAL + TIME_CHECK_INTERVAL, ); break; } diff --git a/demo/src/components/PlayerContainer.tsx b/demo/src/components/PlayerContainer.tsx index 330392b..5afa024 100644 --- a/demo/src/components/PlayerContainer.tsx +++ b/demo/src/components/PlayerContainer.tsx @@ -39,6 +39,7 @@ export default React.memo(function PlayerContainer({ initialBandwidth: 500000, }) .catch((err) => { + // eslint-disable-next-line no-console console.error("Could not initialize WaspHlsPlayer:", err); }); @@ -115,14 +116,14 @@ export default React.memo(function PlayerContainer({ (evt: React.ChangeEvent) => { setShouldShowBufferGaps(evt.target.checked); }, - [] + [], ); const onBufferContentCheckBoxChange = React.useCallback( (evt: React.ChangeEvent) => { setShouldShowBufferContent(evt.target.checked); }, - [] + [], ); const onSettingsClick = React.useCallback(() => { diff --git a/demo/src/components/ProgressBar.tsx b/demo/src/components/ProgressBar.tsx index 53e16ee..744a522 100644 --- a/demo/src/components/ProgressBar.tsx +++ b/demo/src/components/ProgressBar.tsx @@ -41,11 +41,9 @@ export default React.memo(function ProgressBar({ } return (clickPosPx / endPointPx) * duration + minimumPosition; }, - [minimumPosition, maximumPosition] + [minimumPosition, maximumPosition], ); - // weird rx-player design decision. Should be fixed (or done in the - // module) const relativePosition = Math.max(position - minimumPosition, 0); const percentBuffered = Math.min((bufferGap + relativePosition) / duration, 1) * 100; diff --git a/demo/src/components/Settings.tsx b/demo/src/components/Settings.tsx index 76b15d7..fddd24d 100644 --- a/demo/src/components/Settings.tsx +++ b/demo/src/components/Settings.tsx @@ -1,6 +1,6 @@ import * as React from "react"; -import WaspHlsPlayer from "../../../src"; -import { WaspHlsPlayerConfig } from "../../../src/ts-common/types"; +import type WaspHlsPlayer from "../../../src"; +import type { WaspHlsPlayerConfig } from "../../../src/ts-common/types"; /** * @param {Object} props diff --git a/demo/src/components/SettingsWindow.tsx b/demo/src/components/SettingsWindow.tsx index 9f2a2c4..fcbf14c 100644 --- a/demo/src/components/SettingsWindow.tsx +++ b/demo/src/components/SettingsWindow.tsx @@ -1,6 +1,7 @@ import * as React from "react"; -import WaspHlsPlayer, { PlayerState } from "../../../src"; -import { AudioTrackInfo, VariantInfo } from "../../../src/ts-main"; +import type WaspHlsPlayer from "../../../src"; +import { PlayerState } from "../../../src"; +import type { AudioTrackInfo, VariantInfo } from "../../../src/ts-main"; import AudioTrackSetting from "./AudioTrackSetting"; import SpeedSetting from "./SpeedSetting"; import VariantSetting from "./VariantSetting"; @@ -8,19 +9,19 @@ import VariantSetting from "./VariantSetting"; function SettingsWindow({ player }: { player: WaspHlsPlayer }): JSX.Element { const [speed, setSpeed] = React.useState(player.getSpeed()); const [isAutoVariant, setIsAutoVariant] = React.useState( - player.getLockedVariant() === null + player.getLockedVariant() === null, ); const [variant, setVariant] = React.useState( - player.getCurrentVariant() + player.getCurrentVariant(), ); const [variantList, setVariantList] = React.useState( - player.getVariantList() + player.getVariantList(), ); const [audioTrack, setAudioTrack] = React.useState< AudioTrackInfo | undefined >(player.getCurrentAudioTrack()); const [audioTrackList, setAudioTrackList] = React.useState( - player.getAudioTrackList() + player.getAudioTrackList(), ); React.useEffect(() => { @@ -92,7 +93,7 @@ function SettingsWindow({ player }: { player: WaspHlsPlayer }): JSX.Element { setIsAutoVariant(false); } }, - [player] + [player], ); const updateAudioTrack = React.useCallback( @@ -100,7 +101,7 @@ function SettingsWindow({ player }: { player: WaspHlsPlayer }): JSX.Element { player.setAudioTrack(t.id); setAudioTrack(t); }, - [player] + [player], ); return ( diff --git a/demo/src/components/SpeedSetting.tsx b/demo/src/components/SpeedSetting.tsx index ef807a1..7bf60e4 100644 --- a/demo/src/components/SpeedSetting.tsx +++ b/demo/src/components/SpeedSetting.tsx @@ -28,7 +28,7 @@ function SpeedSetting({ } } }, - [] + [], ); const selectedIndex = React.useMemo(() => { diff --git a/demo/src/components/VariantSetting.tsx b/demo/src/components/VariantSetting.tsx index a709b12..6f83093 100644 --- a/demo/src/components/VariantSetting.tsx +++ b/demo/src/components/VariantSetting.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { VariantInfo } from "../../../src/ts-main"; +import type { VariantInfo } from "../../../src/ts-main"; /** * @param {Object} props @@ -29,7 +29,7 @@ function VariantSetting({ updateVariant(selected); } }, - [variantList] + [variantList], ); const selectedIndex = diff --git a/demo/src/components/VideoPlayer.tsx b/demo/src/components/VideoPlayer.tsx index 7265e2e..6eec23e 100644 --- a/demo/src/components/VideoPlayer.tsx +++ b/demo/src/components/VideoPlayer.tsx @@ -1,5 +1,7 @@ import * as React from "react"; -import WaspHlsPlayer, { PlayerState, WaspError } from "../../../src"; +import type WaspHlsPlayer from "../../../src"; +import type { WaspError } from "../../../src"; +import { PlayerState } from "../../../src"; import { exitFullscreen, isFullscreen, @@ -14,12 +16,11 @@ export default React.memo(function VideoPlayer({ player: WaspHlsPlayer; }): JSX.Element { const playerContainerRef = React.useRef(null); - const [isInFullScreenMode, setIsInFullscreenMode] = React.useState( - isFullscreen() - ); + const [isInFullScreenMode, setIsInFullscreenMode] = + React.useState(isFullscreen()); const [isVideoClickable, setIsVideoClickable] = React.useState(false); const [shouldShowSpinner, setShouldShowSpinner] = React.useState( - player.getPlayerState() === PlayerState.Loading || player.isRebuffering() + player.getPlayerState() === PlayerState.Loading || player.isRebuffering(), ); const [error, setError] = React.useState(null); const [wrapperStyle, setWrapperStyle] = React.useState({}); diff --git a/demo/src/index.tsx b/demo/src/index.tsx index 605339c..4719046 100644 --- a/demo/src/index.tsx +++ b/demo/src/index.tsx @@ -24,6 +24,6 @@ window.onload = function (): void {
- + , ); }; diff --git a/demo/src/utils/fullscreen.ts b/demo/src/utils/fullscreen.ts index 2cbb09d..82d4841 100644 --- a/demo/src/utils/fullscreen.ts +++ b/demo/src/utils/fullscreen.ts @@ -57,7 +57,7 @@ export function requestFullscreen(elt: HTMLElement): void { (elt as any).mozRequestFullScreen(); } else if ((elt as any).webkitRequestFullscreen) { (elt as any).webkitRequestFullscreen( - (Element as any).ALLOW_KEYBOARD_INPUT + (Element as any).ALLOW_KEYBOARD_INPUT, ); } } diff --git a/doc/API/Initialization.md b/doc/API/Initialization.md index 0a93fb8..e982761 100644 --- a/doc/API/Initialization.md +++ b/doc/API/Initialization.md @@ -38,7 +38,7 @@ player }, (err) => { console.error("Could not initialize WaspHlsPlayer:", err); - } + }, ); // we can now use the player (we don't need to await the Promise here) @@ -66,7 +66,7 @@ player }, (err) => { console.error("Could not initialize WaspHlsPlayer:", err); - } + }, ); // we can now use the player (we don't need to await the Promise here) diff --git a/doc/API/Loading_a_content.md b/doc/API/Loading_a_content.md index 8dac7da..c8e00bb 100644 --- a/doc/API/Loading_a_content.md +++ b/doc/API/Loading_a_content.md @@ -35,7 +35,7 @@ player.addEventlistener("playerStateChange", (playerState) => { break; case "Error": console.log( - "The last loaded content cannot play anymore due to an error." + "The last loaded content cannot play anymore due to an error.", ); break; case "Stopped": diff --git a/doc/Getting_Started/Creating_a_WaspHlsPlayer.md b/doc/Getting_Started/Creating_a_WaspHlsPlayer.md index 26e7855..9323433 100644 --- a/doc/Getting_Started/Creating_a_WaspHlsPlayer.md +++ b/doc/Getting_Started/Creating_a_WaspHlsPlayer.md @@ -49,7 +49,7 @@ player }, (err) => { console.error("Could not initialize WaspHlsPlayer:", err); - } + }, ); // we can now use the player (we don't need to await the Promise here) @@ -75,7 +75,7 @@ player }, (err) => { console.error("Could not initialize WaspHlsPlayer:", err); - } + }, ); // we can now use the player (we don't need to await the Promise here) diff --git a/package-lock.json b/package-lock.json index 73de281..8d33c84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,386 +9,443 @@ "version": "0.4.2", "license": "MIT", "devDependencies": { - "@types/react": "^18.0.37", - "@types/react-dom": "^18.0.11", - "@typescript-eslint/eslint-plugin": "^5.59.0", + "@types/react": "^18.3.5", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^8.3.0", "docgen.ico": "^0.2.3", - "esbuild": "^0.17.17", - "eslint": "^8.38.0", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-jsdoc": "^43.0.7", + "esbuild": "^0.23.1", + "eslint": "^8.57.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jsdoc": "^50.2.2", "http-server": "^14.1.1", - "prettier": "^2.8.7", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "typescript": "^5.0.4" + "prettier": "^3.3.3", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "typescript": "^5.5.4" } }, "node_modules/@es-joy/jsdoccomment": { - "version": "0.37.1", - "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.37.1.tgz", - "integrity": "sha512-5vxWJ1gEkEF0yRd0O+uK6dHJf7adrxwQSX8PuRiPfFSAbNLnY0ZJfXaZucoz14Jj2N11xn2DnlEPwWRpYpvRjg==", + "version": "0.48.0", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.48.0.tgz", + "integrity": "sha512-G6QUWIcC+KvSwXNsJyDTHvqUdNoAVJPPgkc3+Uk4WBKqZvoXhlvazOgm9aL0HwihJLQf0l+tOE2UFzXBqCqgDw==", "dev": true, + "license": "MIT", "dependencies": { - "comment-parser": "1.3.1", - "esquery": "^1.5.0", - "jsdoc-type-pratt-parser": "~4.0.0" + "comment-parser": "1.4.1", + "esquery": "^1.6.0", + "jsdoc-type-pratt-parser": "~4.1.0" }, "engines": { - "node": "^14 || ^16 || ^17 || ^18 || ^19 || ^20" + "node": ">=16" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", + "integrity": "sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" } }, "node_modules/@esbuild/android-arm": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.17.tgz", - "integrity": "sha512-E6VAZwN7diCa3labs0GYvhEPL2M94WLF8A+czO8hfjREXxba8Ng7nM5VxV+9ihNXIY1iQO1XxUU4P7hbqbICxg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.1.tgz", + "integrity": "sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/android-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.17.tgz", - "integrity": "sha512-jaJ5IlmaDLFPNttv0ofcwy/cfeY4bh/n705Tgh+eLObbGtQBK3EPAu+CzL95JVE4nFAliyrnEu0d32Q5foavqg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz", + "integrity": "sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/android-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.17.tgz", - "integrity": "sha512-446zpfJ3nioMC7ASvJB1pszHVskkw4u/9Eu8s5yvvsSDTzYh4p4ZIRj0DznSl3FBF0Z/mZfrKXTtt0QCoFmoHA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.1.tgz", + "integrity": "sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.17.tgz", - "integrity": "sha512-m/gwyiBwH3jqfUabtq3GH31otL/0sE0l34XKpSIqR7NjQ/XHQ3lpmQHLHbG8AHTGCw8Ao059GvV08MS0bhFIJQ==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz", + "integrity": "sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.17.tgz", - "integrity": "sha512-4utIrsX9IykrqYaXR8ob9Ha2hAY2qLc6ohJ8c0CN1DR8yWeMrTgYFjgdeQ9LIoTOfLetXjuCu5TRPHT9yKYJVg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz", + "integrity": "sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.17.tgz", - "integrity": "sha512-4PxjQII/9ppOrpEwzQ1b0pXCsFLqy77i0GaHodrmzH9zq2/NEhHMAMJkJ635Ns4fyJPFOlHMz4AsklIyRqFZWA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz", + "integrity": "sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.17.tgz", - "integrity": "sha512-lQRS+4sW5S3P1sv0z2Ym807qMDfkmdhUYX30GRBURtLTrJOPDpoU0kI6pVz1hz3U0+YQ0tXGS9YWveQjUewAJw==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz", + "integrity": "sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-arm": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.17.tgz", - "integrity": "sha512-biDs7bjGdOdcmIk6xU426VgdRUpGg39Yz6sT9Xp23aq+IEHDb/u5cbmu/pAANpDB4rZpY/2USPhCA+w9t3roQg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz", + "integrity": "sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.17.tgz", - "integrity": "sha512-2+pwLx0whKY1/Vqt8lyzStyda1v0qjJ5INWIe+d8+1onqQxHLLi3yr5bAa4gvbzhZqBztifYEu8hh1La5+7sUw==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz", + "integrity": "sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.17.tgz", - "integrity": "sha512-IBTTv8X60dYo6P2t23sSUYym8fGfMAiuv7PzJ+0LcdAndZRzvke+wTVxJeCq4WgjppkOpndL04gMZIFvwoU34Q==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz", + "integrity": "sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==", "cpu": [ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.17.tgz", - "integrity": "sha512-WVMBtcDpATjaGfWfp6u9dANIqmU9r37SY8wgAivuKmgKHE+bWSuv0qXEFt/p3qXQYxJIGXQQv6hHcm7iWhWjiw==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz", + "integrity": "sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==", "cpu": [ "loong64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.17.tgz", - "integrity": "sha512-2kYCGh8589ZYnY031FgMLy0kmE4VoGdvfJkxLdxP4HJvWNXpyLhjOvxVsYjYZ6awqY4bgLR9tpdYyStgZZhi2A==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz", + "integrity": "sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==", "cpu": [ "mips64el" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.17.tgz", - "integrity": "sha512-KIdG5jdAEeAKogfyMTcszRxy3OPbZhq0PPsW4iKKcdlbk3YE4miKznxV2YOSmiK/hfOZ+lqHri3v8eecT2ATwQ==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz", + "integrity": "sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==", "cpu": [ "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.17.tgz", - "integrity": "sha512-Cj6uWLBR5LWhcD/2Lkfg2NrkVsNb2sFM5aVEfumKB2vYetkA/9Uyc1jVoxLZ0a38sUhFk4JOVKH0aVdPbjZQeA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz", + "integrity": "sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==", "cpu": [ "riscv64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.17.tgz", - "integrity": "sha512-lK+SffWIr0XsFf7E0srBjhpkdFVJf3HEgXCwzkm69kNbRar8MhezFpkIwpk0qo2IOQL4JE4mJPJI8AbRPLbuOQ==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz", + "integrity": "sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==", "cpu": [ "s390x" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.17.tgz", - "integrity": "sha512-XcSGTQcWFQS2jx3lZtQi7cQmDYLrpLRyz1Ns1DzZCtn898cWfm5Icx/DEWNcTU+T+tyPV89RQtDnI7qL2PObPg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz", + "integrity": "sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.17.tgz", - "integrity": "sha512-RNLCDmLP5kCWAJR+ItLM3cHxzXRTe4N00TQyQiimq+lyqVqZWGPAvcyfUBM0isE79eEZhIuGN09rAz8EL5KdLA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz", + "integrity": "sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "netbsd" ], "engines": { - "node": ">=12" + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz", + "integrity": "sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.17.tgz", - "integrity": "sha512-PAXswI5+cQq3Pann7FNdcpSUrhrql3wKjj3gVkmuz6OHhqqYxKvi6GgRBoaHjaG22HV/ZZEgF9TlS+9ftHVigA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz", + "integrity": "sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "openbsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.17.tgz", - "integrity": "sha512-V63egsWKnx/4V0FMYkr9NXWrKTB5qFftKGKuZKFIrAkO/7EWLFnbBZNM1CvJ6Sis+XBdPws2YQSHF1Gqf1oj/Q==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz", + "integrity": "sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "sunos" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.17.tgz", - "integrity": "sha512-YtUXLdVnd6YBSYlZODjWzH+KzbaubV0YVd6UxSfoFfa5PtNJNaW+1i+Hcmjpg2nEe0YXUCNF5bkKy1NnBv1y7Q==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz", + "integrity": "sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.17.tgz", - "integrity": "sha512-yczSLRbDdReCO74Yfc5tKG0izzm+lPMYyO1fFTcn0QNwnKmc3K+HdxZWLGKg4pZVte7XVgcFku7TIZNbWEJdeQ==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz", + "integrity": "sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==", "cpu": [ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.17.tgz", - "integrity": "sha512-FNZw7H3aqhF9OyRQbDDnzUApDXfC1N6fgBhkqEO2jvYCJ+DxMTfZVqg3AX0R1khg1wHTBRD5SdcibSJ+XF6bFg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz", + "integrity": "sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@eslint-community/eslint-utils": { @@ -407,23 +464,25 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.0.tgz", - "integrity": "sha512-vITaYzIcNmjn5tF5uxcZ/ft7/RXGrMUIS9HalWckEOF6ESiwXKoMzAQf2UW0aVd6rnOeExTJVd5hmWXucBKGXQ==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, "node_modules/@eslint/eslintrc": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz", - "integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.1", + "espree": "^9.6.0", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -439,22 +498,25 @@ } }, "node_modules/@eslint/js": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz", - "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, + "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -475,10 +537,12 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", @@ -515,17 +579,25 @@ "node": ">= 8" } }, - "node_modules/@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", - "dev": true + "node_modules/@pkgr/core": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", + "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } }, "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/prop-types": { "version": "15.7.5", @@ -534,64 +606,53 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.0.37", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.37.tgz", - "integrity": "sha512-4yaZZtkRN3ZIQD3KSEwkfcik8s0SWV+82dlJot1AbGYHCzJkWP3ENBY6wYeDRmKZ6HkrgoGAmR2HqdwYGp6OEw==", + "version": "18.3.5", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz", + "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==", "dev": true, + "license": "MIT", "dependencies": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, "node_modules/@types/react-dom": { - "version": "18.0.11", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.11.tgz", - "integrity": "sha512-O38bPbI2CWtgw/OoQoY+BRelw7uysmXbWvw3nLWO21H1HSh+GOlqPuXshJfjmpNlKiiSDG9cc1JZAaMmVdcTlw==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", "dev": true, + "license": "MIT", "dependencies": { "@types/react": "*" } }, - "node_modules/@types/scheduler": { - "version": "0.16.3", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", - "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==", - "dev": true - }, - "node_modules/@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", - "dev": true - }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.0.tgz", - "integrity": "sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.3.0.tgz", + "integrity": "sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA==", "dev": true, + "license": "MIT", "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.0", - "@typescript-eslint/type-utils": "5.59.0", - "@typescript-eslint/utils": "5.59.0", - "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/type-utils": "8.3.0", + "@typescript-eslint/utils": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -599,74 +660,29 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.0.tgz", - "integrity": "sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/visitor-keys": "5.59.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.0.tgz", - "integrity": "sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz", - "integrity": "sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.59.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@typescript-eslint/parser": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.58.0.tgz", - "integrity": "sha512-ixaM3gRtlfrKzP8N6lRhBbjTow1t6ztfBvQNGuRM8qH1bjFFXIJ35XY+FC0RRBKn3C6cT+7VW1y8tNm7DwPHDQ==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.3.0.tgz", + "integrity": "sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ==", "dev": true, + "license": "BSD-2-Clause", "peer": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.58.0", - "@typescript-eslint/types": "5.58.0", - "@typescript-eslint/typescript-estree": "5.58.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/typescript-estree": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "debug": "^4.3.4" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -675,17 +691,17 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.58.0.tgz", - "integrity": "sha512-b+w8ypN5CFvrXWQb9Ow9T4/6LC2MikNf1viLkYTiTbkQl46CnR69w7lajz1icW0TBsYmlpg+mRzFJ4LEJ8X9NA==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.3.0.tgz", + "integrity": "sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.58.0", - "@typescript-eslint/visitor-keys": "5.58.0" + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -693,61 +709,19 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.0.tgz", - "integrity": "sha512-d/B6VSWnZwu70kcKQSCqjcXpVH+7ABKH8P1KNn4K7j5PXXuycZTPXF44Nui0TEm6rbWGi8kc78xRgOC4n7xFgA==", - "dev": true, - "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.0", - "@typescript-eslint/utils": "5.59.0", - "debug": "^4.3.4", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.0.tgz", - "integrity": "sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.0.tgz", - "integrity": "sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.3.0.tgz", + "integrity": "sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/visitor-keys": "5.59.0", + "@typescript-eslint/typescript-estree": "8.3.0", + "@typescript-eslint/utils": "8.3.0", "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -759,31 +733,14 @@ } } }, - "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz", - "integrity": "sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.59.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, "node_modules/@typescript-eslint/types": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.58.0.tgz", - "integrity": "sha512-JYV4eITHPzVQMnHZcYJXl2ZloC7thuUHrcUmxtzvItyKPvQ50kb9QXBkgNAt90OYMqwaodQh2kHutWZl1fc+1g==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.3.0.tgz", + "integrity": "sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==", "dev": true, - "peer": true, + "license": "MIT", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -791,22 +748,23 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.58.0.tgz", - "integrity": "sha512-cRACvGTodA+UxnYM2uwA2KCwRL7VAzo45syNysqlMyNyjw0Z35Icc9ihPJZjIYuA5bXJYiJ2YGUB59BqlOZT1Q==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.3.0.tgz", + "integrity": "sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA==", "dev": true, - "peer": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "5.58.0", - "@typescript-eslint/visitor-keys": "5.58.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "debug": "^4.3.4", - "globby": "^11.1.0", + "fast-glob": "^3.3.2", "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -818,129 +776,86 @@ } } }, - "node_modules/@typescript-eslint/utils": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.0.tgz", - "integrity": "sha512-GGLFd+86drlHSvPgN/el6dRQNYYGOvRSDVydsUaQluwIW3HvbXuxyuD5JETvBt/9qGYe+lOrDk6gRrWOHb/FvA==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.0", - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/typescript-estree": "5.59.0", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "balanced-match": "^1.0.0" } }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.0.tgz", - "integrity": "sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/visitor-keys": "5.59.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "brace-expansion": "^2.0.1" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.0.tgz", - "integrity": "sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==", - "dev": true, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=16 || 14 >=14.17" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.0.tgz", - "integrity": "sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==", + "node_modules/@typescript-eslint/utils": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.3.0.tgz", + "integrity": "sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/visitor-keys": "5.59.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/typescript-estree": "8.3.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" } }, - "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz", - "integrity": "sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==", + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.3.0.tgz", + "integrity": "sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "5.59.0", - "eslint-visitor-keys": "^3.3.0" + "@typescript-eslint/types": "8.3.0", + "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.58.0.tgz", - "integrity": "sha512-/fBraTlPj0jwdyTwLyrRTxv/3lnU2H96pNTVM6z3esTWLtA5MZ9ghSMJ7Rb+TtUAdtEw9EyJzJ0EydIMKxQ9gA==", + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", "dev": true, - "peer": true, - "dependencies": { - "@typescript-eslint/types": "5.58.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } + "license": "ISC" }, "node_modules/acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -953,6 +868,7 @@ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } @@ -962,6 +878,7 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -1013,28 +930,34 @@ "dev": true }, "node_modules/array-buffer-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", - "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array-includes": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", + "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" }, "engines": { @@ -1044,24 +967,37 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "node_modules/array.prototype.findlastindex": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", + "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", "dev": true, + "license": "MIT", + "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", + "es-shim-unscopables": "^1.0.2" + }, "engines": { - "node": ">=8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/array.prototype.flat": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", + "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" }, "engines": { @@ -1072,14 +1008,15 @@ } }, "node_modules/array.prototype.flatmap": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" }, "engines": { @@ -1089,6 +1026,29 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/async": { "version": "2.6.4", "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", @@ -1099,10 +1059,14 @@ } }, "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", "dev": true, + "license": "MIT", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -1145,25 +1109,33 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, + "license": "MIT", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" } }, "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dev": true, + "license": "MIT", "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -1174,6 +1146,7 @@ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -1251,10 +1224,11 @@ "dev": true }, "node_modules/comment-parser": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.3.1.tgz", - "integrity": "sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 12.0.0" } @@ -1322,11 +1296,66 @@ "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", "dev": true }, + "node_modules/data-view-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", + "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", + "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", + "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -1343,16 +1372,19 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "dev": true, + "license": "MIT" }, - "node_modules/define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dev": true, + "license": "MIT", "dependencies": { - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -1361,16 +1393,22 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dev": true, + "license": "MIT", "dependencies": { - "path-type": "^4.0.0" + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" }, "engines": { - "node": ">=8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/docgen.ico": { @@ -1468,45 +1506,58 @@ } }, "node_modules/es-abstract": { - "version": "1.21.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", - "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", "dev": true, + "license": "MIT", "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-set-tostringtag": "^2.0.1", + "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.5", - "get-intrinsic": "^1.2.0", - "get-symbol-description": "^1.0.0", + "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": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-proto": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", "has-symbols": "^1.0.3", - "internal-slot": "^1.0.5", - "is-array-buffer": "^3.0.2", + "hasown": "^2.0.2", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.2", + "is-data-view": "^1.0.1", + "is-negative-zero": "^2.0.3", "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", + "is-shared-array-buffer": "^1.0.3", "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", + "is-typed-array": "^1.1.13", "is-weakref": "^1.0.2", - "object-inspect": "^1.12.3", + "object-inspect": "^1.13.1", "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.7", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", - "typed-array-length": "^1.0.4", + "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.9" + "which-typed-array": "^1.1.15" }, "engines": { "node": ">= 0.4" @@ -1515,27 +1566,72 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", + "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==", + "dev": true, + "license": "MIT" + }, + "node_modules/es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es-set-tostringtag": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", "dev": true, + "license": "MIT", "dependencies": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "has-tostringtag": "^1.0.0" + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" }, "engines": { "node": ">= 0.4" } }, "node_modules/es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", + "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", "dev": true, + "license": "MIT", "dependencies": { - "has": "^1.0.3" + "hasown": "^2.0.0" } }, "node_modules/es-to-primitive": { @@ -1543,6 +1639,7 @@ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", "dev": true, + "license": "MIT", "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -1556,40 +1653,43 @@ } }, "node_modules/esbuild": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.17.tgz", - "integrity": "sha512-/jUywtAymR8jR4qsa2RujlAF7Krpt5VWi72Q2yuLD4e/hvtNcFQ0I1j8m/bxq238pf3/0KO5yuXNpuLx8BE1KA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", + "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", "dev": true, "hasInstallScript": true, + "license": "MIT", "bin": { "esbuild": "bin/esbuild" }, "engines": { - "node": ">=12" + "node": ">=18" }, "optionalDependencies": { - "@esbuild/android-arm": "0.17.17", - "@esbuild/android-arm64": "0.17.17", - "@esbuild/android-x64": "0.17.17", - "@esbuild/darwin-arm64": "0.17.17", - "@esbuild/darwin-x64": "0.17.17", - "@esbuild/freebsd-arm64": "0.17.17", - "@esbuild/freebsd-x64": "0.17.17", - "@esbuild/linux-arm": "0.17.17", - "@esbuild/linux-arm64": "0.17.17", - "@esbuild/linux-ia32": "0.17.17", - "@esbuild/linux-loong64": "0.17.17", - "@esbuild/linux-mips64el": "0.17.17", - "@esbuild/linux-ppc64": "0.17.17", - "@esbuild/linux-riscv64": "0.17.17", - "@esbuild/linux-s390x": "0.17.17", - "@esbuild/linux-x64": "0.17.17", - "@esbuild/netbsd-x64": "0.17.17", - "@esbuild/openbsd-x64": "0.17.17", - "@esbuild/sunos-x64": "0.17.17", - "@esbuild/win32-arm64": "0.17.17", - "@esbuild/win32-ia32": "0.17.17", - "@esbuild/win32-x64": "0.17.17" + "@esbuild/aix-ppc64": "0.23.1", + "@esbuild/android-arm": "0.23.1", + "@esbuild/android-arm64": "0.23.1", + "@esbuild/android-x64": "0.23.1", + "@esbuild/darwin-arm64": "0.23.1", + "@esbuild/darwin-x64": "0.23.1", + "@esbuild/freebsd-arm64": "0.23.1", + "@esbuild/freebsd-x64": "0.23.1", + "@esbuild/linux-arm": "0.23.1", + "@esbuild/linux-arm64": "0.23.1", + "@esbuild/linux-ia32": "0.23.1", + "@esbuild/linux-loong64": "0.23.1", + "@esbuild/linux-mips64el": "0.23.1", + "@esbuild/linux-ppc64": "0.23.1", + "@esbuild/linux-riscv64": "0.23.1", + "@esbuild/linux-s390x": "0.23.1", + "@esbuild/linux-x64": "0.23.1", + "@esbuild/netbsd-x64": "0.23.1", + "@esbuild/openbsd-arm64": "0.23.1", + "@esbuild/openbsd-x64": "0.23.1", + "@esbuild/sunos-x64": "0.23.1", + "@esbuild/win32-arm64": "0.23.1", + "@esbuild/win32-ia32": "0.23.1", + "@esbuild/win32-x64": "0.23.1" } }, "node_modules/escape-string-regexp": { @@ -1605,27 +1705,29 @@ } }, "node_modules/eslint": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz", - "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.2", - "@eslint/js": "8.38.0", - "@humanwhocodes/config-array": "^0.11.8", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "@ungap/structured-clone": "^1.2.0", + "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.1.1", - "eslint-visitor-keys": "^3.4.0", - "espree": "^9.5.1", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -1633,22 +1735,19 @@ "find-up": "^5.0.0", "glob-parent": "^6.0.2", "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", "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.1", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" }, "bin": { @@ -1662,10 +1761,11 @@ } }, "node_modules/eslint-config-prettier": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", - "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", + "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", "dev": true, + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -1674,14 +1774,15 @@ } }, "node_modules/eslint-import-resolver-node": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz", - "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==", + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7", - "is-core-module": "^2.11.0", - "resolve": "^1.22.1" + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" } }, "node_modules/eslint-import-resolver-node/node_modules/debug": { @@ -1689,6 +1790,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -1720,26 +1822,29 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.27.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz", - "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==", + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", + "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", "dev": true, + "license": "MIT", "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flat": "^1.3.1", - "array.prototype.flatmap": "^1.3.1", + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", "debug": "^3.2.7", "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.7", - "eslint-module-utils": "^2.7.4", - "has": "^1.0.3", - "is-core-module": "^2.11.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.8.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", "is-glob": "^4.0.3", "minimatch": "^3.1.2", - "object.values": "^1.1.6", - "resolve": "^1.22.1", - "semver": "^6.3.0", - "tsconfig-paths": "^3.14.1" + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" }, "engines": { "node": ">=4" @@ -1770,66 +1875,78 @@ } }, "node_modules/eslint-plugin-import/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/eslint-plugin-jsdoc": { - "version": "43.0.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-43.0.7.tgz", - "integrity": "sha512-32Sx5I9VzO/bqbtslCu3L1GHIPo+QEliwqwjWq+qzbUv76wrkH6ifUEE0EbkuNEn+cHlSIOrg/IJ1PGNN72QZA==", + "version": "50.2.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-50.2.2.tgz", + "integrity": "sha512-i0ZMWA199DG7sjxlzXn5AeYZxpRfMJjDPUl7lL9eJJX8TPRoIaxJU4ys/joP5faM5AXE1eqW/dslCj3uj4Nqpg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { - "@es-joy/jsdoccomment": "~0.37.1", + "@es-joy/jsdoccomment": "~0.48.0", "are-docs-informative": "^0.0.2", - "comment-parser": "1.3.1", - "debug": "^4.3.4", + "comment-parser": "1.4.1", + "debug": "^4.3.6", "escape-string-regexp": "^4.0.0", - "esquery": "^1.5.0", - "semver": "^7.5.0", - "spdx-expression-parse": "^3.0.1" + "espree": "^10.1.0", + "esquery": "^1.6.0", + "parse-imports": "^2.1.1", + "semver": "^7.6.3", + "spdx-expression-parse": "^4.0.0", + "synckit": "^0.9.1" }, "engines": { - "node": "^14 || ^16 || ^17 || ^18 || ^19 || ^20" + "node": ">=18" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" + "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-jsdoc/node_modules/eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "node_modules/eslint-plugin-jsdoc/node_modules/espree": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", + "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" + "acorn": "^8.12.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.0.0" }, "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz", - "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -1841,24 +1958,29 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=4.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/espree": { - "version": "9.5.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz", - "integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "acorn": "^8.8.0", + "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.0" + "eslint-visitor-keys": "^3.4.1" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1868,10 +1990,11 @@ } }, "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -1879,20 +2002,12 @@ "node": ">=0.10" } }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -1900,20 +2015,12 @@ "node": ">=4.0" } }, - "node_modules/esrecurse/node_modules/estraverse": { + "node_modules/estraverse": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -1937,13 +2044,15 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -1960,6 +2069,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -1971,13 +2081,15 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fastq": { "version": "1.15.0", @@ -2001,10 +2113,11 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -2048,9 +2161,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true, "funding": [ { @@ -2058,6 +2171,7 @@ "url": "https://github.com/sponsors/RubenVerborgh" } ], + "license": "MIT", "engines": { "node": ">=4.0" }, @@ -2072,6 +2186,7 @@ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", "dev": true, + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } @@ -2083,21 +2198,26 @@ "dev": true }, "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" }, "engines": { "node": ">= 0.4" @@ -2111,32 +2231,41 @@ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/get-intrinsic": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", - "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, + "license": "MIT", "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" }, "engines": { "node": ">= 0.4" @@ -2178,10 +2307,11 @@ } }, "node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -2193,12 +2323,14 @@ } }, "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", "dev": true, + "license": "MIT", "dependencies": { - "define-properties": "^1.1.3" + "define-properties": "^1.2.1", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -2207,31 +2339,12 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "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" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -2239,29 +2352,19 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } + "license": "MIT" }, "node_modules/has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -2276,22 +2379,24 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, + "license": "MIT", "dependencies": { - "get-intrinsic": "^1.1.1" + "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -2312,12 +2417,13 @@ } }, "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "dev": true, + "license": "MIT", "dependencies": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" }, "engines": { "node": ">= 0.4" @@ -2326,6 +2432,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -2435,10 +2554,11 @@ } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } @@ -2448,6 +2568,7 @@ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, + "license": "MIT", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -2485,13 +2606,14 @@ "dev": true }, "node_modules/internal-slot": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", - "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", "dev": true, + "license": "MIT", "dependencies": { - "get-intrinsic": "^1.2.0", - "has": "^1.0.3", + "es-errors": "^1.3.0", + "hasown": "^2.0.0", "side-channel": "^1.0.4" }, "engines": { @@ -2499,14 +2621,17 @@ } }, "node_modules/is-array-buffer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", - "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2517,6 +2642,7 @@ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, + "license": "MIT", "dependencies": { "has-bigints": "^1.0.1" }, @@ -2529,6 +2655,7 @@ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -2545,6 +2672,7 @@ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -2553,12 +2681,32 @@ } }, "node_modules/is-core-module": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.0.tgz", - "integrity": "sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-data-view": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", + "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", "dev": true, + "license": "MIT", "dependencies": { - "has": "^1.0.3" + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2569,6 +2717,7 @@ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -2601,10 +2750,11 @@ } }, "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -2617,6 +2767,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } @@ -2626,6 +2777,7 @@ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -2650,6 +2802,7 @@ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -2662,12 +2815,16 @@ } }, "node_modules/is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2678,6 +2835,7 @@ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -2693,6 +2851,7 @@ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", "dev": true, + "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" }, @@ -2704,16 +2863,13 @@ } }, "node_modules/is-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", "dev": true, + "license": "MIT", "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -2727,6 +2883,7 @@ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -2734,22 +2891,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true, + "license": "MIT" + }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true }, - "node_modules/js-sdsl": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.4.0.tgz", - "integrity": "sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/js-sdsl" - } - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -2761,6 +2915,7 @@ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -2769,10 +2924,11 @@ } }, "node_modules/jsdoc-type-pratt-parser": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz", - "integrity": "sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz", + "integrity": "sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0.0" } @@ -2781,7 +2937,8 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -2794,6 +2951,7 @@ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.0" }, @@ -2806,6 +2964,7 @@ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" @@ -2862,18 +3021,6 @@ "loose-envify": "cli.js" } }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/markdown-it": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.1.tgz", @@ -2913,17 +3060,19 @@ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 8" } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, + "license": "MIT", "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -2987,12 +3136,6 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true - }, "node_modules/nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", @@ -3006,10 +3149,14 @@ } }, "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -3019,18 +3166,20 @@ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", "has-symbols": "^1.0.3", "object-keys": "^1.1.1" }, @@ -3041,15 +3190,50 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.groupby": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", + "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/object.values": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", + "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -3077,17 +3261,18 @@ } }, "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, + "license": "MIT", "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "word-wrap": "^1.2.5" }, "engines": { "node": ">= 0.8.0" @@ -3128,6 +3313,7 @@ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -3135,6 +3321,20 @@ "node": ">=6" } }, + "node_modules/parse-imports": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/parse-imports/-/parse-imports-2.1.1.tgz", + "integrity": "sha512-TDT4HqzUiTMO1wJRwg/t/hYk8Wdp3iF/ToMIlAoVQfL1Xs/sTxq1dKWSMjMbQmIarfWKymOyly40+zmPHXMqCA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "es-module-lexer": "^1.5.3", + "slashes": "^3.0.12" + }, + "engines": { + "node": ">= 18" + } + }, "node_modules/parse5": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", @@ -3191,22 +3391,15 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, - "engines": { - "node": ">=8" - } + "license": "MIT" }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -3237,35 +3430,48 @@ "ms": "^2.1.1" } }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/prettier": { - "version": "2.8.7", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz", - "integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true, + "license": "MIT", "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" } }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -3306,10 +3512,11 @@ ] }, "node_modules/react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "dev": true, + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" }, @@ -3318,27 +3525,30 @@ } }, "node_modules/react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "dev": true, + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.3.1" } }, "node_modules/regexp.prototype.flags": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" }, "engines": { "node": ">= 0.4" @@ -3354,12 +3564,13 @@ "dev": true }, "node_modules/resolve": { - "version": "1.22.3", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.3.tgz", - "integrity": "sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, + "license": "MIT", "dependencies": { - "is-core-module": "^2.12.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -3375,6 +3586,7 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -3427,6 +3639,25 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/safe-array-concat": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -3434,15 +3665,19 @@ "dev": true }, "node_modules/safe-regex-test": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", "is-regex": "^1.1.4" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -3454,10 +3689,11 @@ "dev": true }, "node_modules/scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "dev": true, + "license": "MIT", "dependencies": { "loose-envify": "^1.1.0" } @@ -3469,13 +3705,11 @@ "dev": true }, "node_modules/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -3483,6 +3717,40 @@ "node": ">=10" } }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -3518,46 +3786,49 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "node_modules/slashes": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/slashes/-/slashes-3.0.12.tgz", + "integrity": "sha512-Q9VME8WyGkc7pJf6QEkj3wE+2CnvZMI+XJhwdTPR8Z/kWQRXi7boAWLDibRPyHRTUTPx5FaU7MsyrjI3yLB4HA==", "dev": true, - "engines": { - "node": ">=8" - } + "license": "ISC" }, "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true, + "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", + "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", "dev": true, + "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" } }, "node_modules/spdx-license-ids": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", - "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", - "dev": true + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", + "dev": true, + "license": "CC0-1.0" }, "node_modules/string.prototype.trim": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", - "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", + "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -3567,28 +3838,33 @@ } }, "node_modules/string.prototype.trimend": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", + "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/string.prototype.trimstart": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3611,6 +3887,7 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -3620,6 +3897,7 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -3644,6 +3922,7 @@ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -3651,6 +3930,23 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/synckit": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.1.tgz", + "integrity": "sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -3662,6 +3958,7 @@ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, + "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -3669,11 +3966,25 @@ "node": ">=8.0" } }, + "node_modules/ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, "node_modules/tsconfig-paths": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", - "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", "dev": true, + "license": "MIT", "dependencies": { "@types/json5": "^0.0.29", "json5": "^1.0.2", @@ -3682,31 +3993,18 @@ } }, "node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } + "license": "0BSD" }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -3719,6 +4017,7 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -3726,31 +4025,95 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/typed-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dev": true, + "license": "MIT", + "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" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dev": true, + "license": "MIT", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "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" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/typed-array-length": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", "dev": true, + "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=12.20" + "node": ">=14.17" } }, "node_modules/uc.micro": { @@ -3764,6 +4127,7 @@ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -3791,6 +4155,7 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } @@ -3833,6 +4198,7 @@ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", "dev": true, + "license": "MIT", "dependencies": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -3845,17 +4211,17 @@ } }, "node_modules/which-typed-array": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", "dev": true, + "license": "MIT", "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -3865,10 +4231,11 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -3879,12 +4246,6 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -3900,167 +4261,181 @@ }, "dependencies": { "@es-joy/jsdoccomment": { - "version": "0.37.1", - "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.37.1.tgz", - "integrity": "sha512-5vxWJ1gEkEF0yRd0O+uK6dHJf7adrxwQSX8PuRiPfFSAbNLnY0ZJfXaZucoz14Jj2N11xn2DnlEPwWRpYpvRjg==", + "version": "0.48.0", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.48.0.tgz", + "integrity": "sha512-G6QUWIcC+KvSwXNsJyDTHvqUdNoAVJPPgkc3+Uk4WBKqZvoXhlvazOgm9aL0HwihJLQf0l+tOE2UFzXBqCqgDw==", "dev": true, "requires": { - "comment-parser": "1.3.1", - "esquery": "^1.5.0", - "jsdoc-type-pratt-parser": "~4.0.0" + "comment-parser": "1.4.1", + "esquery": "^1.6.0", + "jsdoc-type-pratt-parser": "~4.1.0" } }, + "@esbuild/aix-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", + "integrity": "sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==", + "dev": true, + "optional": true + }, "@esbuild/android-arm": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.17.tgz", - "integrity": "sha512-E6VAZwN7diCa3labs0GYvhEPL2M94WLF8A+czO8hfjREXxba8Ng7nM5VxV+9ihNXIY1iQO1XxUU4P7hbqbICxg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.1.tgz", + "integrity": "sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==", "dev": true, "optional": true }, "@esbuild/android-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.17.tgz", - "integrity": "sha512-jaJ5IlmaDLFPNttv0ofcwy/cfeY4bh/n705Tgh+eLObbGtQBK3EPAu+CzL95JVE4nFAliyrnEu0d32Q5foavqg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz", + "integrity": "sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==", "dev": true, "optional": true }, "@esbuild/android-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.17.tgz", - "integrity": "sha512-446zpfJ3nioMC7ASvJB1pszHVskkw4u/9Eu8s5yvvsSDTzYh4p4ZIRj0DznSl3FBF0Z/mZfrKXTtt0QCoFmoHA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.1.tgz", + "integrity": "sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==", "dev": true, "optional": true }, "@esbuild/darwin-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.17.tgz", - "integrity": "sha512-m/gwyiBwH3jqfUabtq3GH31otL/0sE0l34XKpSIqR7NjQ/XHQ3lpmQHLHbG8AHTGCw8Ao059GvV08MS0bhFIJQ==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz", + "integrity": "sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==", "dev": true, "optional": true }, "@esbuild/darwin-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.17.tgz", - "integrity": "sha512-4utIrsX9IykrqYaXR8ob9Ha2hAY2qLc6ohJ8c0CN1DR8yWeMrTgYFjgdeQ9LIoTOfLetXjuCu5TRPHT9yKYJVg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz", + "integrity": "sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==", "dev": true, "optional": true }, "@esbuild/freebsd-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.17.tgz", - "integrity": "sha512-4PxjQII/9ppOrpEwzQ1b0pXCsFLqy77i0GaHodrmzH9zq2/NEhHMAMJkJ635Ns4fyJPFOlHMz4AsklIyRqFZWA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz", + "integrity": "sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==", "dev": true, "optional": true }, "@esbuild/freebsd-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.17.tgz", - "integrity": "sha512-lQRS+4sW5S3P1sv0z2Ym807qMDfkmdhUYX30GRBURtLTrJOPDpoU0kI6pVz1hz3U0+YQ0tXGS9YWveQjUewAJw==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz", + "integrity": "sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==", "dev": true, "optional": true }, "@esbuild/linux-arm": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.17.tgz", - "integrity": "sha512-biDs7bjGdOdcmIk6xU426VgdRUpGg39Yz6sT9Xp23aq+IEHDb/u5cbmu/pAANpDB4rZpY/2USPhCA+w9t3roQg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz", + "integrity": "sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==", "dev": true, "optional": true }, "@esbuild/linux-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.17.tgz", - "integrity": "sha512-2+pwLx0whKY1/Vqt8lyzStyda1v0qjJ5INWIe+d8+1onqQxHLLi3yr5bAa4gvbzhZqBztifYEu8hh1La5+7sUw==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz", + "integrity": "sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==", "dev": true, "optional": true }, "@esbuild/linux-ia32": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.17.tgz", - "integrity": "sha512-IBTTv8X60dYo6P2t23sSUYym8fGfMAiuv7PzJ+0LcdAndZRzvke+wTVxJeCq4WgjppkOpndL04gMZIFvwoU34Q==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz", + "integrity": "sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==", "dev": true, "optional": true }, "@esbuild/linux-loong64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.17.tgz", - "integrity": "sha512-WVMBtcDpATjaGfWfp6u9dANIqmU9r37SY8wgAivuKmgKHE+bWSuv0qXEFt/p3qXQYxJIGXQQv6hHcm7iWhWjiw==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz", + "integrity": "sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==", "dev": true, "optional": true }, "@esbuild/linux-mips64el": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.17.tgz", - "integrity": "sha512-2kYCGh8589ZYnY031FgMLy0kmE4VoGdvfJkxLdxP4HJvWNXpyLhjOvxVsYjYZ6awqY4bgLR9tpdYyStgZZhi2A==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz", + "integrity": "sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==", "dev": true, "optional": true }, "@esbuild/linux-ppc64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.17.tgz", - "integrity": "sha512-KIdG5jdAEeAKogfyMTcszRxy3OPbZhq0PPsW4iKKcdlbk3YE4miKznxV2YOSmiK/hfOZ+lqHri3v8eecT2ATwQ==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz", + "integrity": "sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==", "dev": true, "optional": true }, "@esbuild/linux-riscv64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.17.tgz", - "integrity": "sha512-Cj6uWLBR5LWhcD/2Lkfg2NrkVsNb2sFM5aVEfumKB2vYetkA/9Uyc1jVoxLZ0a38sUhFk4JOVKH0aVdPbjZQeA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz", + "integrity": "sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==", "dev": true, "optional": true }, "@esbuild/linux-s390x": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.17.tgz", - "integrity": "sha512-lK+SffWIr0XsFf7E0srBjhpkdFVJf3HEgXCwzkm69kNbRar8MhezFpkIwpk0qo2IOQL4JE4mJPJI8AbRPLbuOQ==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz", + "integrity": "sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==", "dev": true, "optional": true }, "@esbuild/linux-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.17.tgz", - "integrity": "sha512-XcSGTQcWFQS2jx3lZtQi7cQmDYLrpLRyz1Ns1DzZCtn898cWfm5Icx/DEWNcTU+T+tyPV89RQtDnI7qL2PObPg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz", + "integrity": "sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==", "dev": true, "optional": true }, "@esbuild/netbsd-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.17.tgz", - "integrity": "sha512-RNLCDmLP5kCWAJR+ItLM3cHxzXRTe4N00TQyQiimq+lyqVqZWGPAvcyfUBM0isE79eEZhIuGN09rAz8EL5KdLA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz", + "integrity": "sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz", + "integrity": "sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==", "dev": true, "optional": true }, "@esbuild/openbsd-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.17.tgz", - "integrity": "sha512-PAXswI5+cQq3Pann7FNdcpSUrhrql3wKjj3gVkmuz6OHhqqYxKvi6GgRBoaHjaG22HV/ZZEgF9TlS+9ftHVigA==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz", + "integrity": "sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==", "dev": true, "optional": true }, "@esbuild/sunos-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.17.tgz", - "integrity": "sha512-V63egsWKnx/4V0FMYkr9NXWrKTB5qFftKGKuZKFIrAkO/7EWLFnbBZNM1CvJ6Sis+XBdPws2YQSHF1Gqf1oj/Q==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz", + "integrity": "sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==", "dev": true, "optional": true }, "@esbuild/win32-arm64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.17.tgz", - "integrity": "sha512-YtUXLdVnd6YBSYlZODjWzH+KzbaubV0YVd6UxSfoFfa5PtNJNaW+1i+Hcmjpg2nEe0YXUCNF5bkKy1NnBv1y7Q==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz", + "integrity": "sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==", "dev": true, "optional": true }, "@esbuild/win32-ia32": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.17.tgz", - "integrity": "sha512-yczSLRbDdReCO74Yfc5tKG0izzm+lPMYyO1fFTcn0QNwnKmc3K+HdxZWLGKg4pZVte7XVgcFku7TIZNbWEJdeQ==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz", + "integrity": "sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==", "dev": true, "optional": true }, "@esbuild/win32-x64": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.17.tgz", - "integrity": "sha512-FNZw7H3aqhF9OyRQbDDnzUApDXfC1N6fgBhkqEO2jvYCJ+DxMTfZVqg3AX0R1khg1wHTBRD5SdcibSJ+XF6bFg==", + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz", + "integrity": "sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==", "dev": true, "optional": true }, @@ -4074,20 +4449,20 @@ } }, "@eslint-community/regexpp": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.5.0.tgz", - "integrity": "sha512-vITaYzIcNmjn5tF5uxcZ/ft7/RXGrMUIS9HalWckEOF6ESiwXKoMzAQf2UW0aVd6rnOeExTJVd5hmWXucBKGXQ==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true }, "@eslint/eslintrc": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz", - "integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.1", + "espree": "^9.6.0", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -4097,19 +4472,19 @@ } }, "@eslint/js": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz", - "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true }, "@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", "dev": true, "requires": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" } }, @@ -4120,9 +4495,9 @@ "dev": true }, "@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", "dev": true }, "@nodelib/fs.scandir": { @@ -4151,10 +4526,10 @@ "fastq": "^1.6.0" } }, - "@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", + "@pkgr/core": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", + "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", "dev": true }, "@types/json5": { @@ -4170,249 +4545,151 @@ "dev": true }, "@types/react": { - "version": "18.0.37", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.37.tgz", - "integrity": "sha512-4yaZZtkRN3ZIQD3KSEwkfcik8s0SWV+82dlJot1AbGYHCzJkWP3ENBY6wYeDRmKZ6HkrgoGAmR2HqdwYGp6OEw==", + "version": "18.3.5", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz", + "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==", "dev": true, "requires": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, "@types/react-dom": { - "version": "18.0.11", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.11.tgz", - "integrity": "sha512-O38bPbI2CWtgw/OoQoY+BRelw7uysmXbWvw3nLWO21H1HSh+GOlqPuXshJfjmpNlKiiSDG9cc1JZAaMmVdcTlw==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", "dev": true, "requires": { "@types/react": "*" } }, - "@types/scheduler": { - "version": "0.16.3", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.3.tgz", - "integrity": "sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==", - "dev": true - }, - "@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", - "dev": true - }, "@typescript-eslint/eslint-plugin": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.0.tgz", - "integrity": "sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==", - "dev": true, - "requires": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.0", - "@typescript-eslint/type-utils": "5.59.0", - "@typescript-eslint/utils": "5.59.0", - "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "dependencies": { - "@typescript-eslint/scope-manager": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.0.tgz", - "integrity": "sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/visitor-keys": "5.59.0" - } - }, - "@typescript-eslint/types": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.0.tgz", - "integrity": "sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==", - "dev": true - }, - "@typescript-eslint/visitor-keys": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz", - "integrity": "sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.59.0", - "eslint-visitor-keys": "^3.3.0" - } - } + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.3.0.tgz", + "integrity": "sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/type-utils": "8.3.0", + "@typescript-eslint/utils": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" } }, "@typescript-eslint/parser": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.58.0.tgz", - "integrity": "sha512-ixaM3gRtlfrKzP8N6lRhBbjTow1t6ztfBvQNGuRM8qH1bjFFXIJ35XY+FC0RRBKn3C6cT+7VW1y8tNm7DwPHDQ==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.3.0.tgz", + "integrity": "sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ==", "dev": true, "peer": true, "requires": { - "@typescript-eslint/scope-manager": "5.58.0", - "@typescript-eslint/types": "5.58.0", - "@typescript-eslint/typescript-estree": "5.58.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/typescript-estree": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.58.0.tgz", - "integrity": "sha512-b+w8ypN5CFvrXWQb9Ow9T4/6LC2MikNf1viLkYTiTbkQl46CnR69w7lajz1icW0TBsYmlpg+mRzFJ4LEJ8X9NA==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.3.0.tgz", + "integrity": "sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg==", "dev": true, - "peer": true, "requires": { - "@typescript-eslint/types": "5.58.0", - "@typescript-eslint/visitor-keys": "5.58.0" + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0" } }, "@typescript-eslint/type-utils": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.59.0.tgz", - "integrity": "sha512-d/B6VSWnZwu70kcKQSCqjcXpVH+7ABKH8P1KNn4K7j5PXXuycZTPXF44Nui0TEm6rbWGi8kc78xRgOC4n7xFgA==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.3.0.tgz", + "integrity": "sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.59.0", - "@typescript-eslint/utils": "5.59.0", + "@typescript-eslint/typescript-estree": "8.3.0", + "@typescript-eslint/utils": "8.3.0", "debug": "^4.3.4", - "tsutils": "^3.21.0" - }, - "dependencies": { - "@typescript-eslint/types": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.0.tgz", - "integrity": "sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==", - "dev": true - }, - "@typescript-eslint/typescript-estree": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.0.tgz", - "integrity": "sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/visitor-keys": "5.59.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - } - }, - "@typescript-eslint/visitor-keys": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz", - "integrity": "sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.59.0", - "eslint-visitor-keys": "^3.3.0" - } - } + "ts-api-utils": "^1.3.0" } }, "@typescript-eslint/types": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.58.0.tgz", - "integrity": "sha512-JYV4eITHPzVQMnHZcYJXl2ZloC7thuUHrcUmxtzvItyKPvQ50kb9QXBkgNAt90OYMqwaodQh2kHutWZl1fc+1g==", - "dev": true, - "peer": true + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.3.0.tgz", + "integrity": "sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==", + "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.58.0.tgz", - "integrity": "sha512-cRACvGTodA+UxnYM2uwA2KCwRL7VAzo45syNysqlMyNyjw0Z35Icc9ihPJZjIYuA5bXJYiJ2YGUB59BqlOZT1Q==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.3.0.tgz", + "integrity": "sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA==", "dev": true, - "peer": true, "requires": { - "@typescript-eslint/types": "5.58.0", - "@typescript-eslint/visitor-keys": "5.58.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/visitor-keys": "8.3.0", "debug": "^4.3.4", - "globby": "^11.1.0", + "fast-glob": "^3.3.2", "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - } - }, - "@typescript-eslint/utils": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.59.0.tgz", - "integrity": "sha512-GGLFd+86drlHSvPgN/el6dRQNYYGOvRSDVydsUaQluwIW3HvbXuxyuD5JETvBt/9qGYe+lOrDk6gRrWOHb/FvA==", - "dev": true, - "requires": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.0", - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/typescript-estree": "5.59.0", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" - }, - "dependencies": { - "@typescript-eslint/scope-manager": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.0.tgz", - "integrity": "sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/visitor-keys": "5.59.0" - } - }, - "@typescript-eslint/types": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.0.tgz", - "integrity": "sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==", - "dev": true - }, - "@typescript-eslint/typescript-estree": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.0.tgz", - "integrity": "sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.0", - "@typescript-eslint/visitor-keys": "5.59.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" + "balanced-match": "^1.0.0" } }, - "@typescript-eslint/visitor-keys": { - "version": "5.59.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.0.tgz", - "integrity": "sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==", + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.0", - "eslint-visitor-keys": "^3.3.0" + "brace-expansion": "^2.0.1" } } } }, + "@typescript-eslint/utils": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.3.0.tgz", + "integrity": "sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.3.0", + "@typescript-eslint/types": "8.3.0", + "@typescript-eslint/typescript-estree": "8.3.0" + } + }, "@typescript-eslint/visitor-keys": { - "version": "5.58.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.58.0.tgz", - "integrity": "sha512-/fBraTlPj0jwdyTwLyrRTxv/3lnU2H96pNTVM6z3esTWLtA5MZ9ghSMJ7Rb+TtUAdtEw9EyJzJ0EydIMKxQ9gA==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.3.0.tgz", + "integrity": "sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA==", "dev": true, - "peer": true, "requires": { - "@typescript-eslint/types": "5.58.0", - "eslint-visitor-keys": "^3.3.0" + "@typescript-eslint/types": "8.3.0", + "eslint-visitor-keys": "^3.4.3" } }, + "@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, "acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true }, "acorn-jsx": { @@ -4462,58 +4739,83 @@ "dev": true }, "array-buffer-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", - "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" } }, "array-includes": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", + "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" } }, - "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true + "array.prototype.findlastindex": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", + "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", + "dev": true, + "requires": { + "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", + "es-shim-unscopables": "^1.0.2" + } }, "array.prototype.flat": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", + "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" } }, "array.prototype.flatmap": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" } }, + "arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + } + }, "async": { "version": "2.6.4", "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", @@ -4523,12 +4825,15 @@ "lodash": "^4.17.14" } }, - "available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", - "dev": true - }, + "available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dev": true, + "requires": { + "possible-typed-array-names": "^1.0.0" + } + }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -4561,22 +4866,25 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dev": true, "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" } }, "callsites": { @@ -4640,9 +4948,9 @@ "dev": true }, "comment-parser": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.3.1.tgz", - "integrity": "sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", "dev": true }, "concat-map": { @@ -4693,10 +5001,43 @@ "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", "dev": true }, + "data-view-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", + "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, + "data-view-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", + "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, + "data-view-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", + "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "dev": true, "requires": { "ms": "2.1.2" @@ -4708,23 +5049,26 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, - "define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dev": true, "requires": { - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" } }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dev": true, "requires": { - "path-type": "^4.0.0" + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" } }, "docgen.ico": { @@ -4792,65 +5136,107 @@ "dev": true }, "es-abstract": { - "version": "1.21.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", - "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", - "dev": true, - "requires": { - "array-buffer-byte-length": "^1.0.0", - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-set-tostringtag": "^2.0.1", + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "dev": true, + "requires": { + "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.5", - "get-intrinsic": "^1.2.0", - "get-symbol-description": "^1.0.0", + "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": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-proto": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", "has-symbols": "^1.0.3", - "internal-slot": "^1.0.5", - "is-array-buffer": "^3.0.2", + "hasown": "^2.0.2", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.2", + "is-data-view": "^1.0.1", + "is-negative-zero": "^2.0.3", "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", + "is-shared-array-buffer": "^1.0.3", "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", + "is-typed-array": "^1.1.13", "is-weakref": "^1.0.2", - "object-inspect": "^1.12.3", + "object-inspect": "^1.13.1", "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.7", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", - "typed-array-length": "^1.0.4", + "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.9" + "which-typed-array": "^1.1.15" + } + }, + "es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.4" + } + }, + "es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true + }, + "es-module-lexer": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", + "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==", + "dev": true + }, + "es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, + "requires": { + "es-errors": "^1.3.0" } }, "es-set-tostringtag": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", "dev": true, "requires": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "has-tostringtag": "^1.0.0" + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" } }, "es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", + "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", "dev": true, "requires": { - "has": "^1.0.3" + "hasown": "^2.0.0" } }, "es-to-primitive": { @@ -4865,33 +5251,35 @@ } }, "esbuild": { - "version": "0.17.17", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.17.tgz", - "integrity": "sha512-/jUywtAymR8jR4qsa2RujlAF7Krpt5VWi72Q2yuLD4e/hvtNcFQ0I1j8m/bxq238pf3/0KO5yuXNpuLx8BE1KA==", - "dev": true, - "requires": { - "@esbuild/android-arm": "0.17.17", - "@esbuild/android-arm64": "0.17.17", - "@esbuild/android-x64": "0.17.17", - "@esbuild/darwin-arm64": "0.17.17", - "@esbuild/darwin-x64": "0.17.17", - "@esbuild/freebsd-arm64": "0.17.17", - "@esbuild/freebsd-x64": "0.17.17", - "@esbuild/linux-arm": "0.17.17", - "@esbuild/linux-arm64": "0.17.17", - "@esbuild/linux-ia32": "0.17.17", - "@esbuild/linux-loong64": "0.17.17", - "@esbuild/linux-mips64el": "0.17.17", - "@esbuild/linux-ppc64": "0.17.17", - "@esbuild/linux-riscv64": "0.17.17", - "@esbuild/linux-s390x": "0.17.17", - "@esbuild/linux-x64": "0.17.17", - "@esbuild/netbsd-x64": "0.17.17", - "@esbuild/openbsd-x64": "0.17.17", - "@esbuild/sunos-x64": "0.17.17", - "@esbuild/win32-arm64": "0.17.17", - "@esbuild/win32-ia32": "0.17.17", - "@esbuild/win32-x64": "0.17.17" + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", + "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.23.1", + "@esbuild/android-arm": "0.23.1", + "@esbuild/android-arm64": "0.23.1", + "@esbuild/android-x64": "0.23.1", + "@esbuild/darwin-arm64": "0.23.1", + "@esbuild/darwin-x64": "0.23.1", + "@esbuild/freebsd-arm64": "0.23.1", + "@esbuild/freebsd-x64": "0.23.1", + "@esbuild/linux-arm": "0.23.1", + "@esbuild/linux-arm64": "0.23.1", + "@esbuild/linux-ia32": "0.23.1", + "@esbuild/linux-loong64": "0.23.1", + "@esbuild/linux-mips64el": "0.23.1", + "@esbuild/linux-ppc64": "0.23.1", + "@esbuild/linux-riscv64": "0.23.1", + "@esbuild/linux-s390x": "0.23.1", + "@esbuild/linux-x64": "0.23.1", + "@esbuild/netbsd-x64": "0.23.1", + "@esbuild/openbsd-arm64": "0.23.1", + "@esbuild/openbsd-x64": "0.23.1", + "@esbuild/sunos-x64": "0.23.1", + "@esbuild/win32-arm64": "0.23.1", + "@esbuild/win32-ia32": "0.23.1", + "@esbuild/win32-x64": "0.23.1" } }, "escape-string-regexp": { @@ -4901,27 +5289,28 @@ "dev": true }, "eslint": { - "version": "8.38.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz", - "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.2", - "@eslint/js": "8.38.0", - "@humanwhocodes/config-array": "^0.11.8", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", + "@ungap/structured-clone": "^1.2.0", + "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.1.1", - "eslint-visitor-keys": "^3.4.0", - "espree": "^9.5.1", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -4929,59 +5318,38 @@ "find-up": "^5.0.0", "glob-parent": "^6.0.2", "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", + "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", "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.1", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", "text-table": "^0.2.0" - }, - "dependencies": { - "eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", - "dev": true, - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - } - }, - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } } }, "eslint-config-prettier": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", - "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", + "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", "dev": true, "requires": {} }, "eslint-import-resolver-node": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz", - "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==", + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", "dev": true, "requires": { "debug": "^3.2.7", - "is-core-module": "^2.11.0", - "resolve": "^1.22.1" + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" }, "dependencies": { "debug": { @@ -5016,26 +5384,28 @@ } }, "eslint-plugin-import": { - "version": "2.27.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz", - "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==", + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", + "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", "dev": true, "requires": { - "array-includes": "^3.1.6", - "array.prototype.flat": "^1.3.1", - "array.prototype.flatmap": "^1.3.1", + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", "debug": "^3.2.7", "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.7", - "eslint-module-utils": "^2.7.4", - "has": "^1.0.3", - "is-core-module": "^2.11.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.8.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", "is-glob": "^4.0.3", "minimatch": "^3.1.2", - "object.values": "^1.1.6", - "resolve": "^1.22.1", - "semver": "^6.3.0", - "tsconfig-paths": "^3.14.1" + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", + "semver": "^6.3.1", + "tsconfig-paths": "^3.15.0" }, "dependencies": { "debug": { @@ -5057,71 +5427,85 @@ } }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true } } }, "eslint-plugin-jsdoc": { - "version": "43.0.7", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-43.0.7.tgz", - "integrity": "sha512-32Sx5I9VzO/bqbtslCu3L1GHIPo+QEliwqwjWq+qzbUv76wrkH6ifUEE0EbkuNEn+cHlSIOrg/IJ1PGNN72QZA==", + "version": "50.2.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-50.2.2.tgz", + "integrity": "sha512-i0ZMWA199DG7sjxlzXn5AeYZxpRfMJjDPUl7lL9eJJX8TPRoIaxJU4ys/joP5faM5AXE1eqW/dslCj3uj4Nqpg==", "dev": true, "requires": { - "@es-joy/jsdoccomment": "~0.37.1", + "@es-joy/jsdoccomment": "~0.48.0", "are-docs-informative": "^0.0.2", - "comment-parser": "1.3.1", - "debug": "^4.3.4", + "comment-parser": "1.4.1", + "debug": "^4.3.6", "escape-string-regexp": "^4.0.0", - "esquery": "^1.5.0", - "semver": "^7.5.0", - "spdx-expression-parse": "^3.0.1" + "espree": "^10.1.0", + "esquery": "^1.6.0", + "parse-imports": "^2.1.1", + "semver": "^7.6.3", + "spdx-expression-parse": "^4.0.0", + "synckit": "^0.9.1" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "dev": true + }, + "espree": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", + "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", + "dev": true, + "requires": { + "acorn": "^8.12.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.0.0" + } + } } }, "eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, "requires": { "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" + "estraverse": "^5.2.0" } }, "eslint-visitor-keys": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz", - "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true }, "espree": { - "version": "9.5.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz", - "integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, "requires": { - "acorn": "^8.8.0", + "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.0" + "eslint-visitor-keys": "^3.4.1" } }, "esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", "dev": true, "requires": { "estraverse": "^5.1.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } } }, "esrecurse": { @@ -5131,20 +5515,12 @@ "dev": true, "requires": { "estraverse": "^5.2.0" - }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true - } } }, "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true }, "esutils": { @@ -5166,9 +5542,9 @@ "dev": true }, "fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", @@ -5220,9 +5596,9 @@ } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "requires": { "to-regex-range": "^5.0.1" @@ -5255,9 +5631,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true }, "for-each": { @@ -5276,21 +5652,21 @@ "dev": true }, "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true }, "function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", "dev": true, "requires": { "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" } }, "functions-have-names": { @@ -5300,24 +5676,27 @@ "dev": true }, "get-intrinsic": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", - "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" } }, "get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" } }, "glob": { @@ -5344,35 +5723,22 @@ } }, "globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, "requires": { "type-fest": "^0.20.2" } }, "globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, - "requires": { - "define-properties": "^1.1.3" - } - }, - "globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", "dev": true, "requires": { - "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" + "define-properties": "^1.2.1", + "gopd": "^1.0.1" } }, "gopd": { @@ -5384,21 +5750,12 @@ "get-intrinsic": "^1.1.3" } }, - "grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "dev": true }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, "has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", @@ -5412,18 +5769,18 @@ "dev": true }, "has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, "requires": { - "get-intrinsic": "^1.1.1" + "es-define-property": "^1.0.0" } }, "has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", "dev": true }, "has-symbols": { @@ -5433,12 +5790,21 @@ "dev": true }, "has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "dev": true, "requires": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" + } + }, + "hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "requires": { + "function-bind": "^1.1.2" } }, "he": { @@ -5522,9 +5888,9 @@ } }, "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true }, "import-fresh": { @@ -5560,25 +5926,24 @@ "dev": true }, "internal-slot": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", - "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", "dev": true, "requires": { - "get-intrinsic": "^1.2.0", - "has": "^1.0.3", + "es-errors": "^1.3.0", + "hasown": "^2.0.0", "side-channel": "^1.0.4" } }, "is-array-buffer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", - "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", "dev": true, "requires": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" + "get-intrinsic": "^1.2.1" } }, "is-bigint": { @@ -5607,12 +5972,21 @@ "dev": true }, "is-core-module": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.0.tgz", - "integrity": "sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "dev": true, + "requires": { + "hasown": "^2.0.2" + } + }, + "is-data-view": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", + "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", "dev": true, "requires": { - "has": "^1.0.3" + "is-typed-array": "^1.1.13" } }, "is-date-object": { @@ -5640,9 +6014,9 @@ } }, "is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", "dev": true }, "is-number": { @@ -5677,12 +6051,12 @@ } }, "is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", "dev": true, "requires": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.7" } }, "is-string": { @@ -5704,16 +6078,12 @@ } }, "is-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", "dev": true, "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "which-typed-array": "^1.1.14" } }, "is-weakref": { @@ -5725,18 +6095,18 @@ "call-bind": "^1.0.2" } }, + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true }, - "js-sdsl": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.4.0.tgz", - "integrity": "sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==", - "dev": true - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -5753,9 +6123,9 @@ } }, "jsdoc-type-pratt-parser": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz", - "integrity": "sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz", + "integrity": "sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==", "dev": true }, "json-schema-traverse": { @@ -5828,15 +6198,6 @@ "js-tokens": "^3.0.0 || ^4.0.0" } }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "markdown-it": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.1.tgz", @@ -5871,12 +6232,12 @@ "dev": true }, "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "requires": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" } }, @@ -5922,12 +6283,6 @@ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, - "natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true - }, "nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", @@ -5938,9 +6293,9 @@ } }, "object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "dev": true }, "object-keys": { @@ -5950,26 +6305,49 @@ "dev": true }, "object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", "has-symbols": "^1.0.3", "object-keys": "^1.1.1" } }, + "object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + } + }, + "object.groupby": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", + "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2" + } + }, "object.values": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", + "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" } }, "once": { @@ -5988,9 +6366,9 @@ "dev": true }, "optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, "requires": { "deep-is": "^0.1.3", @@ -5998,7 +6376,7 @@ "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "word-wrap": "^1.2.5" } }, "p-limit": { @@ -6028,6 +6406,16 @@ "callsites": "^3.0.0" } }, + "parse-imports": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/parse-imports/-/parse-imports-2.1.1.tgz", + "integrity": "sha512-TDT4HqzUiTMO1wJRwg/t/hYk8Wdp3iF/ToMIlAoVQfL1Xs/sTxq1dKWSMjMbQmIarfWKymOyly40+zmPHXMqCA==", + "dev": true, + "requires": { + "es-module-lexer": "^1.5.3", + "slashes": "^3.0.12" + } + }, "parse5": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", @@ -6071,12 +6459,6 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true - }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", @@ -6105,6 +6487,12 @@ } } }, + "possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "dev": true + }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -6112,15 +6500,15 @@ "dev": true }, "prettier": { - "version": "2.8.7", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz", - "integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true }, "punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true }, "qs": { @@ -6139,33 +6527,34 @@ "dev": true }, "react": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", - "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", "dev": true, "requires": { "loose-envify": "^1.1.0" } }, "react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "dev": true, "requires": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" } }, "regexp.prototype.flags": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" } }, "requires-port": { @@ -6175,12 +6564,12 @@ "dev": true }, "resolve": { - "version": "1.22.3", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.3.tgz", - "integrity": "sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, "requires": { - "is-core-module": "^2.12.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -6215,6 +6604,18 @@ "queue-microtask": "^1.2.2" } }, + "safe-array-concat": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + } + }, "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -6222,13 +6623,13 @@ "dev": true }, "safe-regex-test": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", "is-regex": "^1.1.4" } }, @@ -6239,9 +6640,9 @@ "dev": true }, "scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "dev": true, "requires": { "loose-envify": "^1.1.0" @@ -6254,12 +6655,35 @@ "dev": true }, "semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true + }, + "set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", "dev": true, "requires": { - "lru-cache": "^6.0.0" + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + } + }, + "set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" } }, "shebang-command": { @@ -6288,22 +6712,22 @@ "object-inspect": "^1.9.0" } }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "slashes": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/slashes/-/slashes-3.0.12.tgz", + "integrity": "sha512-Q9VME8WyGkc7pJf6QEkj3wE+2CnvZMI+XJhwdTPR8Z/kWQRXi7boAWLDibRPyHRTUTPx5FaU7MsyrjI3yLB4HA==", "dev": true }, "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", "dev": true }, "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", + "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", "dev": true, "requires": { "spdx-exceptions": "^2.1.0", @@ -6311,42 +6735,43 @@ } }, "spdx-license-ids": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", - "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", "dev": true }, "string.prototype.trim": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", - "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", + "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" } }, "string.prototype.trimend": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", + "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" } }, "string.prototype.trimstart": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", "dev": true, "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" } }, "strip-ansi": { @@ -6385,6 +6810,16 @@ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true }, + "synckit": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.1.tgz", + "integrity": "sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==", + "dev": true, + "requires": { + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" + } + }, "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -6400,10 +6835,17 @@ "is-number": "^7.0.0" } }, + "ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "requires": {} + }, "tsconfig-paths": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", - "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", "dev": true, "requires": { "@types/json5": "^0.0.29", @@ -6413,20 +6855,11 @@ } }, "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "dev": true }, - "tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "requires": { - "tslib": "^1.8.1" - } - }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -6442,21 +6875,62 @@ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true }, + "typed-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + } + }, + "typed-array-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dev": true, + "requires": { + "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" + } + }, + "typed-array-byte-offset": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.7", + "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" + } + }, "typed-array-length": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", "dev": true, "requires": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" } }, "typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", + "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true }, "uc.micro": { @@ -6533,23 +7007,22 @@ } }, "which-typed-array": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", "dev": true, "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" + "has-tostringtag": "^1.0.2" } }, "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true }, "wrappy": { @@ -6558,12 +7031,6 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", diff --git a/package.json b/package.json index d2eba1a..c097a7f 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "WebAssembly HLS Player Proof Of Concept", "main": "build/es6/index.js", "scripts": { + "build": "npm run build:all", "build:all": "npm run clean && npm run build:wasm && npm run build:worker && npm run build:main", "build:all:demo": "npm run clean && npm run build:wasm && npm run build:worker && npm run build:demo", "build:demo": "esbuild demo/src/index.tsx --bundle --outfile=build/demo.js", @@ -35,6 +36,7 @@ "lint:main": "cd src/ts-main && eslint .", "lint:transmux": "cd src/ts-worker && eslint .", "lint:worker": "cd src/ts-worker && eslint .", + "list": "node ./scripts/list-npm-scripts.mjs", "move:wasm": "cp src/wasm/wasp_hls_bg.wasm build/wasp_hls_bg.wasm", "prepublishOnly": "npm install && npm run build:release && npm run build:main:es6 && node scripts/generate_embedded_wasm.js && node scripts/generate_embedded_worker.js", "serve": "http-server ./build", @@ -46,19 +48,19 @@ "author": "peaberberian", "license": "MIT", "devDependencies": { - "@types/react": "^18.2.46", - "@types/react-dom": "^18.2.18", - "@typescript-eslint/eslint-plugin": "^6.16.0", + "@types/react": "^18.3.5", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^8.3.0", "docgen.ico": "^0.2.3", - "esbuild": "^0.19.11", - "eslint": "^8.56.0", + "esbuild": "^0.23.1", + "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", - "eslint-plugin-jsdoc": "^46.10.1", + "eslint-plugin-jsdoc": "^50.2.2", "http-server": "^14.1.1", - "prettier": "^3.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "typescript": "^5.3.3" + "prettier": "^3.3.3", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "typescript": "^5.5.4" } } diff --git a/scripts/generate_embedded_worker.js b/scripts/generate_embedded_worker.js index 0102d4a..75551f1 100755 --- a/scripts/generate_embedded_worker.js +++ b/scripts/generate_embedded_worker.js @@ -74,5 +74,5 @@ fs.readFile( // file written successfully }); } - } + }, ); diff --git a/scripts/list-npm-scripts.mjs b/scripts/list-npm-scripts.mjs new file mode 100644 index 0000000..3d324d7 --- /dev/null +++ b/scripts/list-npm-scripts.mjs @@ -0,0 +1,212 @@ +/** + * # list-npm-scripts + * + * Script displaying a readable preview of all nom scripts by relying on the + * `scripts-list` key in a package.json. + * + * The basic idea what to start from/take inspiration from what the + * `npm-scripts-info` npm package does and adapt it to a case where a lot of + * scripts for very different matters are present. + */ + +import { existsSync, readFileSync } from "fs"; +import readline from "readline"; +import { join } from "path"; +import { spawn } from "child_process"; +readline.emitKeypressEvents(process.stdin); + +run(); + +async function run() { + const pkg = getPackageJSONContent(); + if (!("scripts-list" in pkg)) { + console.log('No "scripts-list" key in the `package.json` file.'); + process.exit(0); + } + + // Display groups + const scriptsList = pkg["scripts-list"]; + const groupNames = Object.keys(scriptsList); + if (groupNames.length === 0) { + console.log('Nothing found in "scripts-list" in the `package.json` file.'); + process.exit(0); + } + console.log("\x1b[33m~~~~~~~~~~~~~~~~ WaspHLS scripts ~~~~~~~~~~~~~~~~\n"); + console.log("\x1b[34m============ What do you want to do? =============\n"); + groupNames.forEach((key, groupIdx) => { + console.log(`\x1b[32m${groupIdx + 1}.\x1b[37m ${key}`); + }); + console.log(""); + const groupChoiceNum = await getChoice(groupNames.length); + console.log(""); + const wantedGroupName = groupNames[groupChoiceNum - 1]; + console.log(`\x1b[34m>>>> ${wantedGroupName}\x1b[37m`); + console.log(""); + const subGroup = scriptsList[wantedGroupName]; + const subGroupEntries = Object.entries(subGroup); + if (subGroupEntries.length === 0) { + console.log("Nothing found in in the chosen category."); + process.exit(0); + } + + // Display commands + { + let currCommandNb = 1; + const commandArray = []; + recusivelyDiplayGroupCommands(subGroupEntries); + const cmdChoiceNum = await getChoice(commandArray.length); + const wantedScript = commandArray[cmdChoiceNum - 1]; + console.log("\n"); + executeNpmScript(wantedScript); + + function recusivelyDiplayGroupCommands(groupEntries, indentation = "") { + groupEntries.forEach(([name, val]) => { + if (typeof val === "string") { + commandArray.push(name); + console.log( + `${indentation}${emphasize(currCommandNb + ".")} [${emphasize( + `npm run ${name}`, + )}]:`, + ); + const nbLength = String(currCommandNb).length; + let numberSpace = ""; + for (let i = 0; i < nbLength; i++) { + numberSpace += " "; + } + console.log(`${indentation}${numberSpace} ${val}\n`); + currCommandNb++; + } else if (typeof val === "object") { + console.log(`${indentation}\x1b[33m${name}\x1b[37m\n`); + const deeper = Object.entries(val); + recusivelyDiplayGroupCommands(deeper, indentation + " "); + console.log(""); + } + }); + } + } +} + +/** + * Ask for a numbered input between `1` and the `maxNb` given. + * + * Directly exits script in case of invalid input or in cases where the user + * asked to exit. + * + * The returned number is guaranteed to be between `1` and `maxNb` included. + * @param {number} maxNb + * @returns {Promise.} + */ +async function getChoice(maxNb) { + const answer = + maxNb <= 9 ? await getSingleCharChoice() : await readAnyLengthChoice(); + if ( + answer == null || + answer == "" || + (answer.length === 1 && + [ + 3, // ^C + 4, // ^D + 13, // enter + 32, // space + ].includes(answer.charCodeAt(0))) + ) { + process.exit(0); + } + const val = Number(answer); + if (isNaN(val) || val <= 0 || val > maxNb) { + console.error("Invalid number given"); + process.exit(1); + } + return val; +} + +/** + * Execute the given npm script. + * + * Redirect its stdin and stdout to ours, communicate signals, and exit when + * the script exits. + * + * @param {string} cmd + */ +function executeNpmScript(script) { + const emphasizedCmdStr = emphasize(`npm run ${script}`); + console.log(`Executing: ${emphasizedCmdStr}`); + const cmd = spawn("npm", ["run", script], { + stdio: "inherit", + stderr: "inherit", + }); + process.on("SIGINT", function () { + cmd.kill("SIGINT"); + }); + process.on("SIGTERM", function () { + cmd.kill("SIGTERM"); + }); + cmd.on("error", (d) => { + process.stderr.write(`Error while executing command: ${d}`); + }); + cmd.on("exit", (c) => process.exit(c)); +} + +/** + * Emphasize the given string with ANSI escape codes for the console. + * @param {string} str + * @returns {string} + */ +function emphasize(str) { + return `\x1b[32m${str}\x1b[37m`; +} + +/** + * Read input string of any length. + * @returns {Promise.} + */ +function readAnyLengthChoice() { + const rl = readline.createInterface({ + input: process.stdin, + output: process.stdout, + }); + return new Promise((resolve) => + rl.question("Your choice (leave empty to exit): ", (ans) => { + rl.close(); + resolve(ans); + }), + ); +} + +/** + * Read single-character input. + * + * The advantage of this function when compared to `readAnyLengthChoice` is that + * you won't need to enter a newline to validate your choice. + * @returns {Promise.} + */ +function getSingleCharChoice() { + return new Promise((res) => { + process.stdin.setRawMode(true); + process.stdout.write("Your choice (leave empty to exit): "); + process.stdin.on("keypress", onKeyPress); + function onKeyPress(char) { + process.stdin.setRawMode(false); + process.stdin.off("keypress", onKeyPress); + res(char); + } + }); +} + +/** + * Read the content of the `package.json` file in the current directory and + * parses its input into a JS Object. + * + * Throws if no `package.json` exists in the current directory. + * + * @returns {Object} + */ +function getPackageJSONContent() { + const filename = join(process.cwd(), "package.json"); + if (!existsSync(filename)) { + throw new Error( + "`package.json` was not found in the current working directory.", + ); + } + return JSON.parse(readFileSync(filename, "utf8")); +} diff --git a/scripts/wasm-strip.js b/scripts/wasm-strip.js index 0c9bf8e..1b11bb0 100644 --- a/scripts/wasm-strip.js +++ b/scripts/wasm-strip.js @@ -109,7 +109,7 @@ async function run() { const nbBytesRemoved = result.removedSections.reduce( (acc, r) => acc + r.length, - 0 + 0, ); let initialFileSize; @@ -131,7 +131,7 @@ async function run() { const expected = initialFileSize - nbBytesRemoved; const err = new Error( `Expected a file of ${expected} bytes, ` + - `actually got ${newFileSize} bytes.` + `actually got ${newFileSize} bytes.`, ); onFatalError(err, tmpName); } @@ -145,13 +145,13 @@ async function run() { if (nbBytesRemoved === 0) { console.log( "Nothing was removed, your wasm file was already devoid of the " + - "sections stripped by this tool." + "sections stripped by this tool.", ); } else { console.log( `Success!\nRemoved ${nbBytesRemoved} bytes by stripping ` + `out ${result.removedSections.length} sections.\n` + - `Size went from ${initialFileSize}B to ${newFileSize}B.` + `Size went from ${initialFileSize}B to ${newFileSize}B.`, ); } process.exit(0); @@ -264,8 +264,8 @@ function readAndStripWasm(readStream, writeStream) { skipCurrentSection = false; writeStream.write( Buffer.from( - buff.slice(relativeOffset, currOffset - chunkBaseOffset) - ) + buff.slice(relativeOffset, currOffset - chunkBaseOffset), + ), ); result.keptSections.push(sectionInfo); } @@ -277,9 +277,9 @@ function readAndStripWasm(readStream, writeStream) { Buffer.from( buff.slice( currOffset - chunkBaseOffset, - newOffset - chunkBaseOffset - ) - ) + newOffset - chunkBaseOffset, + ), + ), ); } currOffset = newOffset; @@ -299,14 +299,14 @@ function checkMagicNumberAndVersion(buff) { if (dataView.getUint32(4, true) !== 1) { throw new Error( "Error: Unsupported WebAssembly version: ", - dataView.getUint32(4, true) + dataView.getUint32(4, true), ); } } function concatArrayBuffers(...buffers) { const ret = new Uint8Array( - buffers.reduce((acc, buff) => acc + buff.byteLength, 0) + buffers.reduce((acc, buff) => acc + buff.byteLength, 0), ); let currOffset = 0; for (let i = 0; i < buffers.length; i++) { @@ -370,7 +370,7 @@ async function getTmpName(fileName) { if (i > 1000) { throw new Error( "Error: Too many temporary files, check if there's " + - "something wrong with this script." + "something wrong with this script.", ); } diff --git a/src/ts-common/EventEmitter.ts b/src/ts-common/EventEmitter.ts index 016afd7..3f4bb08 100644 --- a/src/ts-common/EventEmitter.ts +++ b/src/ts-common/EventEmitter.ts @@ -7,24 +7,24 @@ import logger from "./logger"; export interface EventEmitterListenOnly { addEventListener( evt: TEventName, - fn: EventListener + fn: EventListener, ): void; removeEventListener( evt: TEventName, - fn: EventListener + fn: EventListener, ): void; } /** Type of the argument in the listener's callback */ export type EventPayload< TEventRecord, - TEventName extends keyof TEventRecord + TEventName extends keyof TEventRecord, > = TEventRecord[TEventName]; /** Type of the listener function. */ export type EventListener< TEventRecord, - TEventName extends keyof TEventRecord + TEventName extends keyof TEventRecord, > = (args: EventPayload) => void; /** Type for the object storing all current listener functions. */ @@ -57,7 +57,7 @@ export default class EventEmitter implements EventEmitterListenOnly { */ public addEventListener( evt: TEventName, - fn: EventListener + fn: EventListener, ): void { const listeners = this._listeners[evt]; if (!Array.isArray(listeners)) { @@ -78,7 +78,7 @@ export default class EventEmitter implements EventEmitterListenOnly { */ public removeEventListener( evt?: TEventName | undefined, - fn?: EventListener | undefined + fn?: EventListener | undefined, ): void { if (evt === undefined) { this._listeners = {}; @@ -112,7 +112,7 @@ export default class EventEmitter implements EventEmitterListenOnly { */ protected trigger( evt: TEventName, - arg: EventPayload + arg: EventPayload, ): void { const listeners = this._listeners[evt]; if (!Array.isArray(listeners)) { @@ -125,7 +125,7 @@ export default class EventEmitter implements EventEmitterListenOnly { } catch (e) { logger.error( "EventEmitter: listener error", - e instanceof Error ? e : null + e instanceof Error ? e : null, ); } }); diff --git a/src/ts-common/QueuedSourceBuffer.ts b/src/ts-common/QueuedSourceBuffer.ts index 944f780..d846ec7 100644 --- a/src/ts-common/QueuedSourceBuffer.ts +++ b/src/ts-common/QueuedSourceBuffer.ts @@ -162,7 +162,7 @@ export default class QueuedSourceBuffer { logger.debug( "QSB: receiving order to remove data from the SourceBuffer", start, - end + end, ); return this._addToQueue({ type: SourceBufferOperation.Remove, @@ -221,10 +221,10 @@ export default class QueuedSourceBuffer { ? err : new Error( "An unknown error occured when doing operations " + - "on the SourceBuffer" + "on the SourceBuffer", ); - if (this._pendingTask != null) { + if (this._pendingTask !== null) { this._pendingTask.reject(error); } } diff --git a/src/ts-common/isNullOrUndefined.ts b/src/ts-common/isNullOrUndefined.ts new file mode 100644 index 0000000..33aedb4 --- /dev/null +++ b/src/ts-common/isNullOrUndefined.ts @@ -0,0 +1,14 @@ +/** + * Common utility function allowing to determine if a variable is equal to + * `null` or `undefined`. + * + * This is the same as doing `x == null`, excepted this call is much more + * explicit about the intent. + * + * @param {*} x + * @returns {boolean} - Returns `true` if `x` is equal to `null` or `undefined`. + * Returns `false` in any other cases. + */ +export default function isNullOrUndefined(x: unknown): x is null | undefined { + return x === null || x === undefined; +} diff --git a/src/ts-common/timeRangesToFloat64Array.ts b/src/ts-common/timeRangesToFloat64Array.ts index 37be0f4..1e59032 100644 --- a/src/ts-common/timeRangesToFloat64Array.ts +++ b/src/ts-common/timeRangesToFloat64Array.ts @@ -7,7 +7,7 @@ * @returns {Float64Array} */ export default function timeRangesToFloat64Array( - timeRanges: TimeRanges + timeRanges: TimeRanges, ): Float64Array { const buffered = new Float64Array(timeRanges.length * 2); for (let i = 0; i < timeRanges.length; i++) { diff --git a/src/ts-common/types.ts b/src/ts-common/types.ts index 335f367..aa0e9ca 100644 --- a/src/ts-common/types.ts +++ b/src/ts-common/types.ts @@ -1,11 +1,9 @@ -import { +import type { SegmentParsingErrorCode, MediaPlaylistParsingErrorCode, - MediaSourceReadyState, - MediaType, MultivariantPlaylistParsingErrorCode, + MediaType, OtherErrorCode, - PlaybackTickReason, RequestErrorReason, SourceBufferCreationErrorCode as WasmSourceBufferCreationErrorCode, PushedSegmentErrorCode, @@ -13,8 +11,9 @@ import { PlaylistNature, AddSourceBufferErrorCode, } from "../wasm/wasp_hls"; -import { LoggerLevel } from "./logger"; -import { SourceBufferOperation } from "./QueuedSourceBuffer"; +import { MediaSourceReadyState, PlaybackTickReason } from "../wasm/wasp_hls"; +import type { LoggerLevel } from "./logger"; +import type { SourceBufferOperation } from "./QueuedSourceBuffer"; export { MediaSourceReadyState, PlaybackTickReason }; diff --git a/src/ts-main/api.ts b/src/ts-main/api.ts index e88500d..520e048 100644 --- a/src/ts-main/api.ts +++ b/src/ts-main/api.ts @@ -1,15 +1,18 @@ import assertNever from "../ts-common/assertNever"; import EventEmitter from "../ts-common/EventEmitter"; import idGenerator from "../ts-common/idGenerator"; -import logger, { LoggerLevel } from "../ts-common/logger"; +import type { LoggerLevel } from "../ts-common/logger"; +import logger from "../ts-common/logger"; import noop from "../ts-common/noop"; -import { +import type { AudioTrackInfo, - MainMessageType, - InitializationErrorCode, VariantInfo, WaspHlsPlayerConfig, WorkerMessage, +} from "../ts-common/types"; +import { + MainMessageType, + InitializationErrorCode, WorkerMessageType, } from "../ts-common/types"; import { @@ -18,9 +21,11 @@ import { StartingPositionType, } from "../wasm/wasp_hls"; import DEFAULT_CONFIG from "./default_config"; -import { WaspError, WaspInitializationError } from "./errors"; +import type { WaspError } from "./errors"; +import { WaspInitializationError } from "./errors"; import postMessageToWorker from "./postMessageToWorker"; -import { ContentMetadata, PlayerState } from "./types"; +import type { ContentMetadata } from "./types"; +import { PlayerState } from "./types"; import { canDemuxMpeg2Ts, potentiallyRelativeUrlToAbsoluteUrl, @@ -248,7 +253,7 @@ export default class WaspHlsPlayer extends EventEmitter { */ constructor( videoElement: HTMLVideoElement, - config?: Partial | undefined + config?: Partial | undefined, ) { super(); this.videoElement = videoElement; @@ -317,7 +322,9 @@ export default class WaspHlsPlayer extends EventEmitter { return ret; } catch (err) { this.initializationStatus = InitializationStatus.Errored; - return Promise.reject(err); + return Promise.reject( + err instanceof Error ? err : new Error("Unknown Error"), + ); } } @@ -923,7 +930,7 @@ export default class WaspHlsPlayer extends EventEmitter { if (this.__logLevelChangeListener__ !== null) { logger.removeEventListener( "onLogLevelChange", - this.__logLevelChangeListener__ + this.__logLevelChangeListener__, ); } } @@ -939,7 +946,7 @@ export default class WaspHlsPlayer extends EventEmitter { private __startWorker__( opts: InitializationOptions, resolveProm: () => void, - rejectProm: (err: WaspInitializationError) => void + rejectProm: (err: WaspInitializationError) => void, ): void { let mayStillReject = true; this.__worker__ = new Worker(opts.workerUrl); @@ -962,7 +969,7 @@ export default class WaspHlsPlayer extends EventEmitter { if (this.__logLevelChangeListener__ !== null) { logger.removeEventListener( "onLogLevelChange", - this.__logLevelChangeListener__ + this.__logLevelChangeListener__, ); } logger.addEventListener("onLogLevelChange", onLogLevelChange); @@ -990,7 +997,8 @@ export default class WaspHlsPlayer extends EventEmitter { const error = new WaspInitializationError( data.value.code, data.value.wasmHttpStatus, - data.value.message ?? "Error while initializing the WaspHlsPlayer" + data.value.message ?? + "Error while initializing the WaspHlsPlayer", ); mayStillReject = false; rejectProm(error); @@ -1006,14 +1014,14 @@ export default class WaspHlsPlayer extends EventEmitter { onUpdatePlaybackRateMessage( data, this.__contentMetadata__, - this.videoElement + this.videoElement, ); break; case WorkerMessageType.AttachMediaSource: onAttachMediaSourceMessage( data, this.__contentMetadata__, - this.videoElement + this.videoElement, ); break; case WorkerMessageType.CreateMediaSource: @@ -1021,21 +1029,21 @@ export default class WaspHlsPlayer extends EventEmitter { data, this.__contentMetadata__, this.videoElement, - worker + worker, ); break; case WorkerMessageType.UpdateMediaSourceDuration: onUpdateMediaSourceDurationMessage( data, this.__contentMetadata__, - worker + worker, ); break; case WorkerMessageType.ClearMediaSource: onClearMediaSourceMessage( data, this.__contentMetadata__, - this.videoElement + this.videoElement, ); break; case WorkerMessageType.CreateSourceBuffer: @@ -1052,7 +1060,7 @@ export default class WaspHlsPlayer extends EventEmitter { data, this.__contentMetadata__, this.videoElement, - worker + worker, ); break; case WorkerMessageType.StopPlaybackObservation: @@ -1131,7 +1139,7 @@ export default class WaspHlsPlayer extends EventEmitter { onRebufferingStartedMessage( data, this.__contentMetadata__, - this.videoElement + this.videoElement, ) ) { if (this.getPlayerState() === PlayerState.Loaded) { @@ -1144,7 +1152,7 @@ export default class WaspHlsPlayer extends EventEmitter { onRebufferingEndedMessage( data, this.__contentMetadata__, - this.videoElement + this.videoElement, ) ) { if (this.getPlayerState() === PlayerState.Loaded) { @@ -1155,7 +1163,7 @@ export default class WaspHlsPlayer extends EventEmitter { // as the Worker has more drastic conditions) waitForLoad( this.videoElement, - this.__contentMetadata__.loadingAborter.signal + this.__contentMetadata__.loadingAborter.signal, ).then( () => { if (this.__contentMetadata__ !== null) { @@ -1170,7 +1178,7 @@ export default class WaspHlsPlayer extends EventEmitter { const err = reason instanceof Error ? reason : "Unknown reason"; logger.info("Could not load content:", err); - } + }, ); } } @@ -1195,10 +1203,10 @@ export default class WaspHlsPlayer extends EventEmitter { undefined, /* eslint-disable @typescript-eslint/no-unsafe-member-access*/ /* eslint-disable @typescript-eslint/no-unsafe-argument */ - ev.error?.message ?? undefined + ev.error?.message ?? undefined, /* eslint-enable @typescript-eslint/no-unsafe-member-access*/ /* eslint-enable @typescript-eslint/no-unsafe-argument */ - ) + ), ); } this.dispose(); diff --git a/src/ts-main/default_config.ts b/src/ts-main/default_config.ts index ad44f60..7558fbb 100644 --- a/src/ts-main/default_config.ts +++ b/src/ts-main/default_config.ts @@ -1,4 +1,4 @@ -import { WaspHlsPlayerConfig } from "../ts-common/types"; +import type { WaspHlsPlayerConfig } from "../ts-common/types"; /** * Default configuration object relied on by the `WaspHlsPlayer`. diff --git a/src/ts-main/errors/WaspInitializationError.ts b/src/ts-main/errors/WaspInitializationError.ts index f570914..874f08f 100644 --- a/src/ts-main/errors/WaspInitializationError.ts +++ b/src/ts-main/errors/WaspInitializationError.ts @@ -43,7 +43,7 @@ export default class WaspInitializationError extends Error { constructor( reason: InitializationErrorCode, wasmHttpStatus: number | undefined, - message: string + message: string, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class diff --git a/src/ts-main/errors/WaspMediaPlaylistParsingError.ts b/src/ts-main/errors/WaspMediaPlaylistParsingError.ts index a0278e7..c3a443d 100644 --- a/src/ts-main/errors/WaspMediaPlaylistParsingError.ts +++ b/src/ts-main/errors/WaspMediaPlaylistParsingError.ts @@ -1,5 +1,6 @@ -import { MediaPlaylistParsingErrorCode, MediaType } from "../../wasm/wasp_hls"; -import { WaspErrorCode } from "./common"; +import type { MediaType } from "../../wasm/wasp_hls"; +import { MediaPlaylistParsingErrorCode } from "../../wasm/wasp_hls"; +import type { WaspErrorCode } from "./common"; /** * Error used to describe a problem when parsing a Media Playlist. @@ -46,7 +47,7 @@ export default class WaspMediaPlaylistParsingError extends Error { constructor( mediaType: MediaType | undefined, code: MediaPlaylistParsingErrorCode, - message?: string | undefined + message?: string | undefined, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class diff --git a/src/ts-main/errors/WaspMediaPlaylistRequestError.ts b/src/ts-main/errors/WaspMediaPlaylistRequestError.ts index f75e16d..3b1d961 100644 --- a/src/ts-main/errors/WaspMediaPlaylistRequestError.ts +++ b/src/ts-main/errors/WaspMediaPlaylistRequestError.ts @@ -1,4 +1,5 @@ -import { MediaType, RequestErrorReason } from "../../wasm/wasp_hls"; +import type { MediaType } from "../../wasm/wasp_hls"; +import { RequestErrorReason } from "../../wasm/wasp_hls"; import { WaspErrorCode } from "./common"; /** @@ -58,7 +59,7 @@ export default class WaspMediaPlaylistRequestError extends Error { reason: RequestErrorReason, status: number | undefined, mediaType: MediaType | undefined, - message?: string | undefined + message?: string | undefined, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class diff --git a/src/ts-main/errors/WaspMultivariantPlaylistParsingError.ts b/src/ts-main/errors/WaspMultivariantPlaylistParsingError.ts index 3e566e5..96c7730 100644 --- a/src/ts-main/errors/WaspMultivariantPlaylistParsingError.ts +++ b/src/ts-main/errors/WaspMultivariantPlaylistParsingError.ts @@ -1,5 +1,5 @@ import { MultivariantPlaylistParsingErrorCode } from "../../wasm/wasp_hls.d"; -import { WaspErrorCode } from "./common"; +import type { WaspErrorCode } from "./common"; /** * Error used to describe a problem when parsing a Multivariant Playlist. @@ -40,7 +40,7 @@ export default class WaspMultivariantPlaylistParsingError extends Error { */ constructor( code: MultivariantPlaylistParsingErrorCode, - message?: string | undefined + message?: string | undefined, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class diff --git a/src/ts-main/errors/WaspMultivariantPlaylistRequestError.ts b/src/ts-main/errors/WaspMultivariantPlaylistRequestError.ts index 1503040..03f9be0 100644 --- a/src/ts-main/errors/WaspMultivariantPlaylistRequestError.ts +++ b/src/ts-main/errors/WaspMultivariantPlaylistRequestError.ts @@ -50,7 +50,7 @@ export default class WaspMultivariantPlaylistRequestError extends Error { url: string | undefined, reason: RequestErrorReason, status: number | undefined, - message?: string | undefined + message?: string | undefined, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class diff --git a/src/ts-main/errors/WaspSegmentParsingError.ts b/src/ts-main/errors/WaspSegmentParsingError.ts index e582169..3622cd9 100644 --- a/src/ts-main/errors/WaspSegmentParsingError.ts +++ b/src/ts-main/errors/WaspSegmentParsingError.ts @@ -1,5 +1,6 @@ -import { SegmentParsingErrorCode, MediaType } from "../../wasm/wasp_hls"; -import { WaspErrorCode } from "./common"; +import type { MediaType } from "../../wasm/wasp_hls"; +import { SegmentParsingErrorCode } from "../../wasm/wasp_hls"; +import type { WaspErrorCode } from "./common"; // TODO add `isInit` property? @@ -42,7 +43,7 @@ export default class WaspSegmentParsingError extends Error { constructor( reason: SegmentParsingErrorCode, mediaType: MediaType | undefined, - message?: string | undefined + message?: string | undefined, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class diff --git a/src/ts-main/errors/WaspSegmentRequestError.ts b/src/ts-main/errors/WaspSegmentRequestError.ts index 904a791..30e6354 100644 --- a/src/ts-main/errors/WaspSegmentRequestError.ts +++ b/src/ts-main/errors/WaspSegmentRequestError.ts @@ -1,3 +1,4 @@ +import assertNever from "../../ts-common/assertNever"; import { MediaType, RequestErrorReason } from "../../wasm/wasp_hls"; import { WaspErrorCode } from "./common"; @@ -50,7 +51,7 @@ export default class WaspSegmentRequestError extends Error { */ constructor( args: WaspSegmentRequestErrorArgument, - message?: string | undefined + message?: string | undefined, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class @@ -120,6 +121,7 @@ function mediaTypeAsArticle(mediaType: MediaType): string { return "An audio"; case MediaType.Video: return "A video"; + default: + assertNever(mediaType); } - throw new Error("Unknown MediaType"); } diff --git a/src/ts-main/errors/WaspSourceBufferCreationError.ts b/src/ts-main/errors/WaspSourceBufferCreationError.ts index cb0ebf7..6aad265 100644 --- a/src/ts-main/errors/WaspSourceBufferCreationError.ts +++ b/src/ts-main/errors/WaspSourceBufferCreationError.ts @@ -1,5 +1,6 @@ -import { MediaType, SourceBufferCreationErrorCode } from "../../wasm/wasp_hls"; -import { WaspErrorCode } from "./common"; +import type { MediaType } from "../../wasm/wasp_hls"; +import { SourceBufferCreationErrorCode } from "../../wasm/wasp_hls"; +import type { WaspErrorCode } from "./common"; export default class WaspSourceBufferCreationError extends Error { public readonly name: "WaspSourceBufferCreationError"; @@ -37,7 +38,7 @@ export default class WaspSourceBufferCreationError extends Error { constructor( code: SourceBufferCreationErrorCode, mediaType: MediaType, - message?: string | undefined + message?: string | undefined, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class diff --git a/src/ts-main/errors/WaspSourceBufferError.ts b/src/ts-main/errors/WaspSourceBufferError.ts index 4c9c214..2743990 100644 --- a/src/ts-main/errors/WaspSourceBufferError.ts +++ b/src/ts-main/errors/WaspSourceBufferError.ts @@ -1,6 +1,7 @@ -import { SourceBufferOperation } from "../../ts-common/QueuedSourceBuffer"; -import { MediaType, PushedSegmentErrorCode } from "../../wasm/wasp_hls"; -import { WaspErrorCode } from "./common"; +import type { SourceBufferOperation } from "../../ts-common/QueuedSourceBuffer"; +import type { MediaType } from "../../wasm/wasp_hls"; +import { PushedSegmentErrorCode } from "../../wasm/wasp_hls"; +import type { WaspErrorCode } from "./common"; /** * Error used when a SourceBuffer operation failed. @@ -47,19 +48,19 @@ export default class WaspSourceBufferError extends Error { operation: SourceBufferOperation.Push, reason: PushedSegmentErrorCode, mediaType: MediaType, - message?: string | undefined + message?: string | undefined, ); constructor( operation: SourceBufferOperation.Remove, reason: null, mediaType: MediaType, - message?: string | undefined + message?: string | undefined, ); constructor( _operation: SourceBufferOperation, reason: PushedSegmentErrorCode | null, mediaType: MediaType, - message?: string | undefined + message?: string | undefined, ) { super(); // @see https://stackoverflow.com/questions/41102060/typescript-extending-error-class diff --git a/src/ts-main/index.ts b/src/ts-main/index.ts index 430f393..38e8752 100644 --- a/src/ts-main/index.ts +++ b/src/ts-main/index.ts @@ -1,4 +1,5 @@ import WaspHlsPlayer from "./api"; -export { PlayerState, AudioTrackInfo, VariantInfo } from "./types"; +export type { AudioTrackInfo, VariantInfo } from "./types"; +export { PlayerState } from "./types"; export * from "./errors/index"; export default WaspHlsPlayer; diff --git a/src/ts-main/observePlayback.ts b/src/ts-main/observePlayback.ts index b20768c..2993bba 100644 --- a/src/ts-main/observePlayback.ts +++ b/src/ts-main/observePlayback.ts @@ -1,6 +1,7 @@ import EventEmitter from "../ts-common/EventEmitter"; import timeRangesToFloat64Array from "../ts-common/timeRangesToFloat64Array"; -import { MediaObservation, PlaybackTickReason } from "../ts-common/types"; +import type { MediaObservation } from "../ts-common/types"; +import { PlaybackTickReason } from "../ts-common/types"; /** Items emitted by `observePlayback`. */ export type PlaybackObserverObservation = Omit< @@ -64,7 +65,7 @@ export default class PlaybackObserver extends EventEmitter sending to worker:", msg.type); // Written that way due to TypeScript shenanigans diff --git a/src/ts-main/types.ts b/src/ts-main/types.ts index 4a59f59..662d4f1 100644 --- a/src/ts-main/types.ts +++ b/src/ts-main/types.ts @@ -1,8 +1,8 @@ -import QueuedSourceBuffer from "../ts-common/QueuedSourceBuffer"; -import { AudioTrackInfo, VariantInfo } from "../ts-common/types"; -import { PlaylistNature } from "../wasm/wasp_hls"; -import { WaspError } from "./errors"; -import PlaybackObserver from "./observePlayback"; +import type QueuedSourceBuffer from "../ts-common/QueuedSourceBuffer"; +import type { AudioTrackInfo, VariantInfo } from "../ts-common/types"; +import type { PlaylistNature } from "../wasm/wasp_hls"; +import type { WaspError } from "./errors"; +import type PlaybackObserver from "./observePlayback"; /** * Structure storing metadata associated to a content being played by a @@ -178,4 +178,4 @@ export const enum PlayerState { Error = "Error", } -export { AudioTrackInfo, VariantInfo }; +export type { AudioTrackInfo, VariantInfo }; diff --git a/src/ts-main/utils.ts b/src/ts-main/utils.ts index 2b4dda2..ddde1c4 100644 --- a/src/ts-main/utils.ts +++ b/src/ts-main/utils.ts @@ -1,7 +1,8 @@ +import isNullOrUndefined from "../ts-common/isNullOrUndefined"; import logger from "../ts-common/logger"; import { MainMessageType } from "../ts-common/types"; import postMessageToWorker from "./postMessageToWorker"; -import { ContentMetadata } from "./types"; +import type { ContentMetadata } from "./types"; /** * Default mime-type used for checking support of mpeg2-ts media. @@ -45,7 +46,7 @@ export function canDemuxMpeg2Ts(): boolean { */ export function getErrorInformation( err: unknown, - defaultMsg: string + defaultMsg: string, ): { name: string | undefined; message: string; @@ -66,7 +67,7 @@ export function getErrorInformation( */ export function requestStopForContent( metadata: ContentMetadata, - worker: Worker | null + worker: Worker | null, ): void { // Preventively free some resource that should not impact the Worker much. if (metadata.playbackObserver !== null) { @@ -97,7 +98,7 @@ export function requestStopForContent( */ export function waitForLoad( videoElement: HTMLMediaElement, - abortSignal: AbortSignal + abortSignal: AbortSignal, ): Promise { return new Promise((res, rej) => { if (videoElement.readyState >= HTMLMediaElement.HAVE_ENOUGH_DATA) { @@ -116,7 +117,7 @@ export function waitForLoad( // Typing needed because of a weird TypeScript issue if ((abortSignal as unknown as { reason: unknown }).reason !== null) { - rej((abortSignal as unknown as { reason: unknown }).reason); + rej((abortSignal as unknown as { reason: Error }).reason); } else { rej(new Error("The loading operation was aborted")); } @@ -135,7 +136,7 @@ export function clearElementSrc(element: HTMLMediaElement): void { // issues. // Bug seen on Firefox (I forgot which version) and Chrome 96. const { textTracks } = element; - if (textTracks != null) { + if (!isNullOrUndefined(textTracks)) { for (let i = 0; i < textTracks.length; i++) { textTracks[i].mode = "disabled"; } @@ -150,7 +151,7 @@ export function clearElementSrc(element: HTMLMediaElement): void { err instanceof Error ? err.toString() : "Unknown Error"; logger.warn( "Unable to remove track element from media element", - error + error, ); } } diff --git a/src/ts-main/worker-message-handlers.ts b/src/ts-main/worker-message-handlers.ts index e39d2ad..fcbda2d 100644 --- a/src/ts-main/worker-message-handlers.ts +++ b/src/ts-main/worker-message-handlers.ts @@ -4,14 +4,13 @@ import QueuedSourceBuffer, { SourceBufferOperation, } from "../ts-common/QueuedSourceBuffer"; import timeRangesToFloat64Array from "../ts-common/timeRangesToFloat64Array"; -import { +import type { AppendBufferWorkerMessage, AttachMediaSourceWorkerMessage, ClearMediaSourceWorkerMessage, CreateMediaSourceWorkerMessage, CreateSourceBufferWorkerMessage, EndOfStreamWorkerMessage, - MediaSourceReadyState, RebufferingEndedWorkerMessage, RebufferingStartedWorkerMessage, RemoveBufferWorkerMessage, @@ -28,15 +27,19 @@ import { MultivariantPlaylistParsedWorkerMessage, VariantUpdateWorkerMessage, TrackUpdateWorkerMessage, - MainMessageType, FlushWorkerMessage, AreTypesSupportedWorkerMessage, VariantLockStatusChangeWorkerMessage, SourceBufferId, } from "../ts-common/types"; -import { AddSourceBufferErrorCode, MediaType, OtherErrorCode } from "../wasm/wasp_hls"; +import { MainMessageType, MediaSourceReadyState } from "../ts-common/types"; +import { + AddSourceBufferErrorCode, + MediaType, + OtherErrorCode, +} from "../wasm/wasp_hls"; +import type { WaspError } from "./errors"; import { - WaspError, WaspMediaPlaylistParsingError, WaspMediaPlaylistRequestError, WaspMultivariantPlaylistParsingError, @@ -49,7 +52,7 @@ import { } from "./errors"; import PlaybackObserver from "./observePlayback"; import postMessageToWorker from "./postMessageToWorker"; -import { ContentMetadata } from "./types"; +import type { ContentMetadata } from "./types"; import { clearElementSrc, getErrorInformation } from "./utils"; /** @@ -75,11 +78,11 @@ const PLAYBACK_OBSERVATION_INTERVAL_REGULAR = 1000; export function onAttachMediaSourceMessage( msg: AttachMediaSourceWorkerMessage, contentMetadata: ContentMetadata | null, - mediaElement: HTMLMediaElement + mediaElement: HTMLMediaElement, ): void { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info( - "API: Ignoring MediaSource attachment due to wrong `contentId`" + "API: Ignoring MediaSource attachment due to wrong `contentId`", ); return; } @@ -118,7 +121,7 @@ export function onAttachMediaSourceMessage( export function onSeekMessage( msg: SeekWorkerMessage, contentMetadata: ContentMetadata | null, - mediaElement: HTMLMediaElement + mediaElement: HTMLMediaElement, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info("API: Ignoring seek due to wrong `mediaSourceId`"); @@ -144,7 +147,7 @@ export function onSeekMessage( export function onFlushMessage( msg: FlushWorkerMessage, contentMetadata: ContentMetadata | null, - mediaElement: HTMLMediaElement + mediaElement: HTMLMediaElement, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info("API: Ignoring flush due to wrong `mediaSourceId`"); @@ -170,11 +173,11 @@ export function onFlushMessage( export function onUpdatePlaybackRateMessage( msg: UpdatePlaybackRateWorkerMessage, contentMetadata: ContentMetadata | null, - mediaElement: HTMLMediaElement + mediaElement: HTMLMediaElement, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info( - "API: Ignoring playback rate update due to wrong `mediaSourceId`" + "API: Ignoring playback rate update due to wrong `mediaSourceId`", ); return; } @@ -201,11 +204,11 @@ export function onCreateMediaSourceMessage( msg: CreateMediaSourceWorkerMessage, contentMetadata: ContentMetadata | null, mediaElement: HTMLMediaElement, - worker: Worker + worker: Worker, ): void { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info( - "API: Ignoring MediaSource attachment due to wrong `contentId`" + "API: Ignoring MediaSource attachment due to wrong `contentId`", ); } else { const { mediaSourceId } = msg.value; @@ -225,7 +228,7 @@ export function onCreateMediaSourceMessage( worker, mediaSource, mediaElement, - mediaSourceId + mediaSourceId, ); contentMetadata.mediaSourceId = msg.value.mediaSourceId; contentMetadata.mediaSource = mediaSource; @@ -234,7 +237,7 @@ export function onCreateMediaSourceMessage( } catch (err) { const { name, message } = getErrorInformation( err, - "Unknown error when creating the MediaSource" + "Unknown error when creating the MediaSource", ); postMessageToWorker(worker, { type: MainMessageType.CreateMediaSourceError, @@ -256,7 +259,7 @@ export function onCreateMediaSourceMessage( export function onUpdateMediaSourceDurationMessage( msg: SetMediaSourceDurationWorkerMessage, contentMetadata: ContentMetadata | null, - worker: Worker + worker: Worker, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info("API: Ignoring duration update due to wrong `mediaSourceId`"); @@ -271,7 +274,7 @@ export function onUpdateMediaSourceDurationMessage( } catch (err) { const { name, message } = getErrorInformation( err, - "Unknown error when updating the MediaSource's duration" + "Unknown error when updating the MediaSource's duration", ); const { mediaSourceId } = msg.value; postMessageToWorker(worker, { @@ -293,11 +296,11 @@ export function onUpdateMediaSourceDurationMessage( export function onClearMediaSourceMessage( msg: ClearMediaSourceWorkerMessage, contentMetadata: ContentMetadata | null, - mediaElement: HTMLMediaElement + mediaElement: HTMLMediaElement, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info( - "API: Ignoring MediaSource clearing due to wrong `mediaSourceId`" + "API: Ignoring MediaSource clearing due to wrong `mediaSourceId`", ); return; } @@ -325,11 +328,11 @@ export function onClearMediaSourceMessage( export function onCreateSourceBufferMessage( msg: CreateSourceBufferWorkerMessage, contentMetadata: ContentMetadata | null, - worker: Worker + worker: Worker, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info( - "API: Ignoring SourceBuffer creation due to wrong `mediaSourceId`" + "API: Ignoring SourceBuffer creation due to wrong `mediaSourceId`", ); return; } @@ -348,7 +351,7 @@ export function onCreateSourceBufferMessage( } try { const sourceBuffer = contentMetadata.mediaSource.addSourceBuffer( - msg.value.contentType + msg.value.contentType, ); const queuedSourceBuffer = new QueuedSourceBuffer(sourceBuffer); contentMetadata.sourceBuffers.push({ @@ -358,7 +361,7 @@ export function onCreateSourceBufferMessage( } catch (err) { const { name, message } = getErrorInformation( err, - "Unknown error when adding the SourceBuffer to the MediaSource" + "Unknown error when adding the SourceBuffer to the MediaSource", ); postMessageToWorker(worker, { type: MainMessageType.CreateSourceBufferError, @@ -385,16 +388,16 @@ export function onCreateSourceBufferMessage( export function onAppendBufferMessage( msg: AppendBufferWorkerMessage, contentMetadata: ContentMetadata | null, - worker: Worker + worker: Worker, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info( - "API: Ignoring appendBuffer operation due to wrong `mediaSourceId`" + "API: Ignoring appendBuffer operation due to wrong `mediaSourceId`", ); return; } const sbObject = contentMetadata.sourceBuffers.find( - ({ sourceBufferId }) => sourceBufferId === msg.value.sourceBufferId + ({ sourceBufferId }) => sourceBufferId === msg.value.sourceBufferId, ); if (sbObject !== undefined) { const { mediaSourceId, sourceBufferId } = msg.value; @@ -419,7 +422,7 @@ export function onAppendBufferMessage( function handleAppendBufferError(err: unknown): void { const { message } = getErrorInformation( err, - "Unknown error when appending data to the SourceBuffer" + "Unknown error when appending data to the SourceBuffer", ); postMessageToWorker(worker, { type: MainMessageType.SourceBufferOperationError, @@ -448,16 +451,16 @@ export function onAppendBufferMessage( export function onRemoveBufferMessage( msg: RemoveBufferWorkerMessage, contentMetadata: ContentMetadata | null, - worker: Worker + worker: Worker, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info( - "API: Ignoring removeBuffer operation due to wrong `mediaSourceId`" + "API: Ignoring removeBuffer operation due to wrong `mediaSourceId`", ); return; } const sbObject = contentMetadata.sourceBuffers.find( - ({ sourceBufferId }) => sourceBufferId === msg.value.sourceBufferId + ({ sourceBufferId }) => sourceBufferId === msg.value.sourceBufferId, ); if (sbObject !== undefined) { const { mediaSourceId, sourceBufferId } = msg.value; @@ -482,7 +485,7 @@ export function onRemoveBufferMessage( function handleRemoveBufferError(err: unknown): void { const { message } = getErrorInformation( err, - "Unknown error when removing data to the SourceBuffer" + "Unknown error when removing data to the SourceBuffer", ); postMessageToWorker(worker, { type: MainMessageType.SourceBufferOperationError, @@ -513,11 +516,11 @@ export function onStartPlaybackObservationMessage( msg: StartPlaybackObservationWorkerMessage, contentMetadata: ContentMetadata | null, mediaElement: HTMLMediaElement, - worker: Worker + worker: Worker, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info( - "API: Ignoring `start-playback-observation` due to wrong `mediaSourceId`" + "API: Ignoring `start-playback-observation` due to wrong `mediaSourceId`", ); return; } @@ -527,7 +530,7 @@ export function onStartPlaybackObservationMessage( } contentMetadata.playbackObserver = new PlaybackObserver( mediaElement, - PLAYBACK_OBSERVATION_INTERVAL_REBUFFERING + PLAYBACK_OBSERVATION_INTERVAL_REBUFFERING, ); contentMetadata.playbackObserver.addEventListener( "newObservation", @@ -548,7 +551,7 @@ export function onStartPlaybackObservationMessage( mediaSourceId: msg.value.mediaSourceId, }), }); - } + }, ); contentMetadata.playbackObserver.start(); } @@ -562,11 +565,11 @@ export function onStartPlaybackObservationMessage( */ export function onStopPlaybackObservationMessage( msg: StopPlaybackObservationWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info( - "API: Ignoring `stop-playback-observation` due to wrong `mediaSourceId`" + "API: Ignoring `stop-playback-observation` due to wrong `mediaSourceId`", ); return; } @@ -585,7 +588,7 @@ export function onStopPlaybackObservationMessage( */ export function onEndOfStreamMessage( msg: EndOfStreamWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): void { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info("API: Ignoring `end-of-stream` due to wrong `mediaSourceId`"); @@ -602,7 +605,10 @@ export function onEndOfStreamMessage( // call `endOfStream` at the right time. contentMetadata.mediaSource.endOfStream(); } catch (err) { - logger.error("Unknown error when calling MediaSource.endOfStream()"); + logger.error( + "Error when calling MediaSource.endOfStream():", + err instanceof Error ? err.toString() : "Unknown Error", + ); } } } @@ -616,7 +622,7 @@ export function onEndOfStreamMessage( */ export function onMediaOffsetUpdateMessage( msg: MediaOffsetUpdateWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): void { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring media offset update due to wrong `contentId`"); @@ -641,14 +647,14 @@ export function onMediaOffsetUpdateMessage( export function onRebufferingStartedMessage( msg: RebufferingStartedWorkerMessage, contentMetadata: ContentMetadata | null, - mediaElement: HTMLMediaElement + mediaElement: HTMLMediaElement, ): boolean { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info("API: Ignoring rebuffering start due to wrong `mediaSourceId`"); return false; } contentMetadata.playbackObserver?.updateMinimumObservationInterval( - PLAYBACK_OBSERVATION_INTERVAL_REBUFFERING + PLAYBACK_OBSERVATION_INTERVAL_REBUFFERING, ); if (msg.value.updatePlaybackRate) { mediaElement.playbackRate = 0; @@ -676,14 +682,14 @@ export function onRebufferingStartedMessage( export function onRebufferingEndedMessage( msg: RebufferingEndedWorkerMessage, contentMetadata: ContentMetadata | null, - mediaElement: HTMLMediaElement + mediaElement: HTMLMediaElement, ): boolean { if (contentMetadata?.mediaSourceId !== msg.value.mediaSourceId) { logger.info("API: Ignoring rebuffering end due to wrong `mediaSourceId`"); return false; } contentMetadata.playbackObserver?.updateMinimumObservationInterval( - PLAYBACK_OBSERVATION_INTERVAL_REGULAR + PLAYBACK_OBSERVATION_INTERVAL_REGULAR, ); if (mediaElement.playbackRate === 0 && contentMetadata.wantedSpeed !== 0) { mediaElement.playbackRate = contentMetadata.wantedSpeed; @@ -707,7 +713,7 @@ export function onRebufferingEndedMessage( */ export function onErrorMessage( msg: ErrorWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): WaspError | null { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring error due to wrong `contentId`"); @@ -715,7 +721,7 @@ export function onErrorMessage( } if (contentMetadata.loadingAborter !== undefined) { contentMetadata.loadingAborter.abort( - new Error("Could not load content due to an error") + new Error("Could not load content due to an error"), ); } @@ -736,20 +742,20 @@ export function onErrorMessage( } function formatError( - msg: ErrorWorkerMessage | WarningWorkerMessage + msg: ErrorWorkerMessage | WarningWorkerMessage, ): WaspError { switch (msg.value.errorInfo.type) { case "segment-request": return new WaspSegmentRequestError( msg.value.errorInfo.value, - msg.value.message + msg.value.message, ); case "multi-var-playlist-request": return new WaspMultivariantPlaylistRequestError( msg.value.errorInfo.value.url, msg.value.errorInfo.value.reason, msg.value.errorInfo.value.status, - msg.value.message + msg.value.message, ); case "media-playlist-request": return new WaspMediaPlaylistRequestError( @@ -757,49 +763,49 @@ function formatError( msg.value.errorInfo.value.reason, msg.value.errorInfo.value.status, msg.value.errorInfo.value.mediaType, - msg.value.message + msg.value.message, ); case "other-error": return new WaspOtherError( msg.value.errorInfo.value.code, - msg.value.message + msg.value.message, ); case "sb-creation": return new WaspSourceBufferCreationError( msg.value.errorInfo.value.code, msg.value.errorInfo.value.mediaType, - msg.value.message + msg.value.message, ); case "multi-var-playlist-parse": return new WaspMultivariantPlaylistParsingError( msg.value.errorInfo.value.code, - msg.value.message + msg.value.message, ); case "media-playlist-parse": return new WaspMediaPlaylistParsingError( msg.value.errorInfo.value.mediaType, msg.value.errorInfo.value.code, - msg.value.message + msg.value.message, ); case "segment-parse": return new WaspSegmentParsingError( msg.value.errorInfo.value.code, msg.value.errorInfo.value.mediaType, - msg.value.message + msg.value.message, ); case "push-segment-error": return new WaspSourceBufferError( SourceBufferOperation.Push, msg.value.errorInfo.value.code, msg.value.errorInfo.value.mediaType, - msg.value.message + msg.value.message, ); case "remove-buffer-error": return new WaspSourceBufferError( SourceBufferOperation.Remove, null, msg.value.errorInfo.value.mediaType, - msg.value.message + msg.value.message, ); case "unitialized": return new WaspOtherError(OtherErrorCode.Unknown, msg.value.message); @@ -820,7 +826,7 @@ function formatError( */ export function onWarningMessage( msg: WarningWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): WaspError | null { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring warning due to wrong `contentId`"); @@ -841,7 +847,7 @@ export function onWarningMessage( */ export function onContentInfoUpdateMessage( msg: ContentInfoUpdateWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): boolean { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring warning due to wrong `contentId`"); @@ -873,7 +879,7 @@ export function onContentInfoUpdateMessage( */ export function onMultivariantPlaylistParsedMessage( msg: MultivariantPlaylistParsedWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): boolean { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring warning due to wrong `contentId`"); @@ -894,7 +900,7 @@ export function onMultivariantPlaylistParsedMessage( */ export function onTrackUpdateMessage( msg: TrackUpdateWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): boolean { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring warning due to wrong `contentId`"); @@ -923,14 +929,14 @@ export function onTrackUpdateMessage( */ export function onVariantUpdateMessage( msg: VariantUpdateWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): boolean { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring warning due to wrong `contentId`"); return false; } const variant = contentMetadata.variants.find( - (v) => v.id === msg.value.variantId + (v) => v.id === msg.value.variantId, ); if (variant === undefined) { logger.warn("API: VariantUpdate for an unfound variant"); @@ -952,7 +958,7 @@ export function onVariantUpdateMessage( */ export function onVariantLockStatusChangeMessage( msg: VariantLockStatusChangeWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): boolean { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring warning due to wrong `contentId`"); @@ -967,7 +973,7 @@ export function onVariantLockStatusChangeMessage( } const variant = contentMetadata.variants.find( - (v) => v.id === msg.value.lockedVariant + (v) => v.id === msg.value.lockedVariant, ); if (variant === undefined) { logger.warn("API: VariantLockStatusChange for an unfound variant"); @@ -994,7 +1000,7 @@ export function onVariantLockStatusChangeMessage( */ export function onContentStoppedMessage( msg: ContentStoppedWorkerMessage, - contentMetadata: ContentMetadata | null + contentMetadata: ContentMetadata | null, ): boolean { if (contentMetadata?.contentId !== msg.value.contentId) { logger.info("API: Ignoring `content-stopped` due to wrong `contentId`"); @@ -1018,7 +1024,7 @@ function bindMediaSource( worker: Worker, mediaSource: MediaSource, videoElement: HTMLMediaElement, - mediaSourceId: string + mediaSourceId: string, ): () => void { mediaSource.addEventListener("sourceclose", onMediaSourceClose); mediaSource.addEventListener("sourceended", onMediaSourceEnded); @@ -1090,7 +1096,7 @@ function bindMediaSource( */ export function onAreTypesSupportedMessage( msg: AreTypesSupportedWorkerMessage, - worker: Worker + worker: Worker, ): void { const res: Partial> = {}; for (const mimeType of msg.value.mimeTypes) { diff --git a/src/ts-transmux/src/AdtsPacketParser.ts b/src/ts-transmux/src/AdtsPacketParser.ts index 463177a..4514a9f 100644 --- a/src/ts-transmux/src/AdtsPacketParser.ts +++ b/src/ts-transmux/src/AdtsPacketParser.ts @@ -36,7 +36,7 @@ export interface UnprocessedAdtsPacketsData { function skipWarn(start: number, end: number, frameNum: number): void { logger.warn( `Transmux: adts skiping bytes ${start} to ${end} ` + - `in frame ${frameNum} outside syncword` + `in frame ${frameNum} outside syncword`, ); } diff --git a/src/ts-transmux/src/ElementaryPacketParser.ts b/src/ts-transmux/src/ElementaryPacketParser.ts index 7608408..f0488df 100644 --- a/src/ts-transmux/src/ElementaryPacketParser.ts +++ b/src/ts-transmux/src/ElementaryPacketParser.ts @@ -234,7 +234,7 @@ export default class ElementaryPacketParser { private _flushStream( stream: ElementaryTrackInfo, type: "video" | "audio" | "timed-metadata", - forceFlush?: boolean + forceFlush?: boolean, ): ElementaryPacket | null { let offset = 0; let packetFlushable = false; diff --git a/src/ts-transmux/src/FullMp4SegmentConstructor.ts b/src/ts-transmux/src/FullMp4SegmentConstructor.ts index 279ef58..6660a91 100644 --- a/src/ts-transmux/src/FullMp4SegmentConstructor.ts +++ b/src/ts-transmux/src/FullMp4SegmentConstructor.ts @@ -148,12 +148,12 @@ export default class FullMp4SegmentConstructor { caption.startTime = clock.metadataTsToSeconds( caption.startPts, timelinePts, - this.keepOriginalTimestamps + this.keepOriginalTimestamps, ); caption.endTime = clock.metadataTsToSeconds( caption.endPts, timelinePts, - this.keepOriginalTimestamps + this.keepOriginalTimestamps, ); seg.captionStreams[caption.stream] = true; @@ -166,7 +166,7 @@ export default class FullMp4SegmentConstructor { id3.cueTime = clock.metadataTsToSeconds( id3.pts, timelinePts, - this.keepOriginalTimestamps + this.keepOriginalTimestamps, ); return id3; }); diff --git a/src/ts-transmux/src/H264NalUnitProducer.ts b/src/ts-transmux/src/H264NalUnitProducer.ts index 0aa4493..47f3154 100644 --- a/src/ts-transmux/src/H264NalUnitProducer.ts +++ b/src/ts-transmux/src/H264NalUnitProducer.ts @@ -25,7 +25,7 @@ class NalUnitFinder { this._buffer = data; } else { const swapBuffer = new Uint8Array( - this._buffer.byteLength + data.byteLength + this._buffer.byteLength + data.byteLength, ); swapBuffer.set(this._buffer); swapBuffer.set(data, this._buffer.byteLength); @@ -259,7 +259,7 @@ export default class H264NalUnitProducer { data: Uint8Array, trackId: number, pts: number, - dts: number + dts: number, ): ParsedNalUnit { const parsed: ParsedNalUnitBase = { trackId, @@ -280,7 +280,7 @@ export default class H264NalUnitProducer { } as const); case 0x07: const escapedRBSP = this._discardEmulationPreventionBytes( - data.subarray(1) + data.subarray(1), ); return Object.assign(parsed, { nalUnitType: NalUnitType.SeqParamSetRbsp, @@ -314,7 +314,7 @@ export default class H264NalUnitProducer { lastNalUnit, this._lastTrackId, this._lastPts, - this._lastDts + this._lastDts, ); } return null; diff --git a/src/ts-transmux/src/Mp4AudioSegmentGenerator.ts b/src/ts-transmux/src/Mp4AudioSegmentGenerator.ts index 5c2acfe..4b65247 100644 --- a/src/ts-transmux/src/Mp4AudioSegmentGenerator.ts +++ b/src/ts-transmux/src/Mp4AudioSegmentGenerator.ts @@ -66,12 +66,12 @@ export class Mp4AudioSegmentGenerator { const frames = trimAdtsFramesByEarliestDts( this._aacFrames, this._trackInfo, - earliestAllowedDts + earliestAllowedDts, ); this._trackInfo.baseMediaDecodeTime = calculateTrackBaseMediaDecodeTime( this._trackInfo, - keepOriginalTimestamps + keepOriginalTimestamps, ); if (videoBaseMediaDecodeTime !== undefined) { @@ -80,7 +80,7 @@ export class Mp4AudioSegmentGenerator { this._trackInfo, frames, audioAppendStartTs, - videoBaseMediaDecodeTime + videoBaseMediaDecodeTime, ); } diff --git a/src/ts-transmux/src/Mp4VideoSegmentGenerator.ts b/src/ts-transmux/src/Mp4VideoSegmentGenerator.ts index aa22bf7..2ac7b14 100644 --- a/src/ts-transmux/src/Mp4VideoSegmentGenerator.ts +++ b/src/ts-transmux/src/Mp4VideoSegmentGenerator.ts @@ -226,7 +226,7 @@ export default class Mp4VideoSegmentGenerator { this._trackInfo.baseMediaDecodeTime = calculateTrackBaseMediaDecodeTime( this._trackInfo, - this._keepOriginalTimestamps + this._keepOriginalTimestamps, ); // save all the nals in the last GOP into the gop cache @@ -437,7 +437,7 @@ export default class Mp4VideoSegmentGenerator { total.nalCount += gop.nalCount; return total; }, - { byteLength: 0, duration: 0, nalCount: 0 } + { byteLength: 0, duration: 0, nalCount: 0 }, ); alignedGops.byteLength = metadata.byteLength; diff --git a/src/ts-transmux/src/TimedMetadataParser.ts b/src/ts-transmux/src/TimedMetadataParser.ts index 2152946..84cc174 100644 --- a/src/ts-transmux/src/TimedMetadataParser.ts +++ b/src/ts-transmux/src/TimedMetadataParser.ts @@ -25,7 +25,7 @@ export default class TimedMetadataParser { constructor( onTimestamp: ((val: any) => void) | null, - options?: { descriptor?: number[] | undefined } | undefined + options?: { descriptor?: number[] | undefined } | undefined, ) { this._onTimestamp = onTimestamp; this._descriptor = options?.descriptor; @@ -122,12 +122,12 @@ export default class TimedMetadataParser { do { // determine the number of bytes in this frame frameSize = parseSyncSafeInteger( - tag.data.subarray(frameStart + 4, frameStart + 8) + tag.data.subarray(frameStart + 4, frameStart + 8), ); if (frameSize < 1) { logger.warn( "Transmuxer: ", - "Malformed ID3 frame encountered. Skipping remaining metadata parsing." + "Malformed ID3 frame encountered. Skipping remaining metadata parsing.", ); // If the frame is malformed, don't parse any further frames but allow // previous valid parsed frames to be sent along. @@ -137,7 +137,7 @@ export default class TimedMetadataParser { tag.data[frameStart], tag.data[frameStart + 1], tag.data[frameStart + 2], - tag.data[frameStart + 3] + tag.data[frameStart + 3], ); const frame: any = { diff --git a/src/ts-transmux/src/TimestampRolloverHandler.ts b/src/ts-transmux/src/TimestampRolloverHandler.ts index 40f43d8..92065e0 100644 --- a/src/ts-transmux/src/TimestampRolloverHandler.ts +++ b/src/ts-transmux/src/TimestampRolloverHandler.ts @@ -48,7 +48,7 @@ export default class TimestampRolloverHandler { T extends { dts?: number; pts?: number; - } + }, >(data: T): void { if (data.dts === undefined) { return; diff --git a/src/ts-transmux/src/Transmuxer.ts b/src/ts-transmux/src/Transmuxer.ts index 4ad418c..329ba84 100644 --- a/src/ts-transmux/src/Transmuxer.ts +++ b/src/ts-transmux/src/Transmuxer.ts @@ -152,7 +152,7 @@ export default class Transmuxer { } const [packet, remainingBuffer] = readNextAdtsOrId3( remainingInput, - pipeline.getAdtsTimestamp() + pipeline.getAdtsTimestamp(), ); remainingInput = remainingBuffer; if (packet === null) { @@ -179,7 +179,7 @@ export default class Transmuxer { }; pipeline.mp4AudioSegmentGenerator = new Mp4AudioSegmentGenerator( this._audioTrack, - this._options.firstSequenceNumber + this._options.firstSequenceNumber, ); } for (const aacFrame of aacFrames) { @@ -195,7 +195,7 @@ export default class Transmuxer { const metadataParser = new TimedMetadataParser(null); const mp4SegmentConstructor = new FullMp4SegmentConstructor( this._options.keepOriginalTimestamps === true, - metadataParser.dispatchType + metadataParser.dispatchType, ); const elementaryPacketParser = new ElementaryPacketParser(); const transportStreamSplitter = new TransportStreamSplitter(); @@ -227,7 +227,7 @@ export default class Transmuxer { }); const mp4SegmentConstructor = new FullMp4SegmentConstructor( this._options.keepOriginalTimestamps === true, - metadataParser.dispatchType + metadataParser.dispatchType, ); this._currentPipeline = { name: "aac", @@ -296,7 +296,7 @@ export default class Transmuxer { } const initSegmentLength = segmentInfo.initSegment?.byteLength ?? 0; const transmuxedSegment = new Uint8Array( - initSegmentLength + (segmentInfo.data?.length ?? 0) + initSegmentLength + (segmentInfo.data?.length ?? 0), ); if (transmuxedSegment.byteLength === 0) { return null; @@ -314,7 +314,7 @@ export default class Transmuxer { private _onElementaryStreamTsPacket( ePckt: ElementaryPacket, - pipeline: TsPipelineElements + pipeline: TsPipelineElements, ) { if (ePckt.type !== "metadata") { pipeline.timestampRolloverHandler.correctTimestamps(ePckt); @@ -364,7 +364,7 @@ export default class Transmuxer { ) { pipeline.mp4VideoSegmentGenerator = new Mp4VideoSegmentGenerator( this._videoTrack, - this._options + this._options, ); } @@ -374,7 +374,7 @@ export default class Transmuxer { ) { pipeline.mp4AudioSegmentGenerator = new Mp4AudioSegmentGenerator( this._audioTrack, - this._options.firstSequenceNumber + this._options.firstSequenceNumber, ); } } diff --git a/src/ts-transmux/src/TransportPacketParser.ts b/src/ts-transmux/src/TransportPacketParser.ts index 659d788..bf94f36 100644 --- a/src/ts-transmux/src/TransportPacketParser.ts +++ b/src/ts-transmux/src/TransportPacketParser.ts @@ -140,11 +140,11 @@ export default class TransportPacketParser { private _parsePsi(payload: Uint8Array, psi: PartialPatPacket): PatPacket; private _parsePsi( payload: Uint8Array, - psi: PartialPmtPacket + psi: PartialPmtPacket, ): PmtPacket | null; private _parsePsi( payload: Uint8Array, - psi: PartialPatPacket | PartialPmtPacket + psi: PartialPatPacket | PartialPmtPacket, ): PatPacket | PmtPacket | null { let offset = 0; @@ -188,7 +188,7 @@ export default class TransportPacketParser { */ private _parsePmt( payload: Uint8Array, - pmt: PartialPmtPacket + pmt: PartialPmtPacket, ): PmtPacket | null { // PMTs can be sent ahead of the time when they should actually // take effect. We don't believe this should ever be the case @@ -253,7 +253,7 @@ export default class TransportPacketParser { private _processPes( packet: Uint8Array, offset: number, - result: PacketBase + result: PacketBase, ): PesPacket { // set the appropriate stream type let streamType: number | undefined; diff --git a/src/ts-transmux/src/TransportStreamSplitter.ts b/src/ts-transmux/src/TransportStreamSplitter.ts index 41fd1de..97f52ef 100644 --- a/src/ts-transmux/src/TransportStreamSplitter.ts +++ b/src/ts-transmux/src/TransportStreamSplitter.ts @@ -27,13 +27,13 @@ export default class TransportStreamSplitter { // bytes that were pushed in if (this._bytesInIncompletePacketBuffer > 0) { const newInput = new Uint8Array( - bytes.byteLength + this._bytesInIncompletePacketBuffer + bytes.byteLength + this._bytesInIncompletePacketBuffer, ); newInput.set( this._incompletePacketBuffer.subarray( 0, - this._bytesInIncompletePacketBuffer - ) + this._bytesInIncompletePacketBuffer, + ), ); newInput.set(bytes, this._bytesInIncompletePacketBuffer); this._input = newInput; @@ -78,7 +78,7 @@ export default class TransportStreamSplitter { if (this._startIndex < this._input.byteLength) { this._incompletePacketBuffer.set( this._input.subarray(this._startIndex), - 0 + 0, ); this._bytesInIncompletePacketBuffer = this._input.byteLength - this._startIndex; diff --git a/src/ts-transmux/src/audio-frame-utils.ts b/src/ts-transmux/src/audio-frame-utils.ts index 6bd19ff..702982e 100644 --- a/src/ts-transmux/src/audio-frame-utils.ts +++ b/src/ts-transmux/src/audio-frame-utils.ts @@ -34,7 +34,7 @@ function prefixWithSilence( track: TrackInfo, frames: FrameData[], audioAppendStartTs: number, - videoBaseMediaDecodeTime: number + videoBaseMediaDecodeTime: number, ): number | undefined { let audioGapDuration = 0; let audioFillFrameCount = 0; @@ -46,7 +46,7 @@ function prefixWithSilence( const baseMediaDecodeTimeTs = audioTsToVideoTs( track.baseMediaDecodeTime, - track.samplerate + track.samplerate, ); // determine frame clock duration based on sample rate, round up to avoid overfills const frameDuration = Math.ceil(ONE_SECOND_IN_TS / (track.samplerate / 1024)); @@ -82,7 +82,7 @@ function prefixWithSilence( } track.baseMediaDecodeTime -= Math.floor( - videoTsToAudioTs(audioFillDuration, track.samplerate) + videoTsToAudioTs(audioFillDuration, track.samplerate), ); return audioFillDuration; @@ -101,7 +101,7 @@ function prefixWithSilence( function trimAdtsFramesByEarliestDts( adtsFrames: FrameData[], track: TrackInfo, - earliestAllowedDts: number + earliestAllowedDts: number, ): FrameData[] { if (track.minSegmentDts >= earliestAllowedDts) { return adtsFrames; diff --git a/src/ts-transmux/src/caption-packet-parser.ts b/src/ts-transmux/src/caption-packet-parser.ts index f337dde..0375154 100644 --- a/src/ts-transmux/src/caption-packet-parser.ts +++ b/src/ts-transmux/src/caption-packet-parser.ts @@ -60,7 +60,7 @@ function parseSei(bytes: Uint8Array): ParsedSei { bytes[i + 3], bytes[i + 4], bytes[i + 5], - bytes[i + 6] + bytes[i + 6], ); if (userIdentifier === "GA94") { @@ -105,7 +105,7 @@ function parseUserData(sei: ParsedSei): Uint8Array | null { sei.payload[3], sei.payload[4], sei.payload[5], - sei.payload[6] + sei.payload[6], ) !== "GA94" ) { return null; @@ -130,7 +130,7 @@ export interface CaptionPacket { // see CEA-708-D, section 4.4 function parseCaptionPackets( pts: number, - userData: Uint8Array + userData: Uint8Array, ): CaptionPacket[] { const results: CaptionPacket[] = []; diff --git a/src/ts-transmux/src/caption-stream.ts b/src/ts-transmux/src/caption-stream.ts index 0cd36e9..f8c3a82 100644 --- a/src/ts-transmux/src/caption-stream.ts +++ b/src/ts-transmux/src/caption-stream.ts @@ -83,19 +83,19 @@ class CaptionStream extends EventEmitter { cc.addEventListener("data", (data) => this.trigger("data", data)); cc.addEventListener("done", (data) => this.trigger("done", data)); cc.addEventListener("partialdone", (data) => - this.trigger("partialdone", data) + this.trigger("partialdone", data), ); }, this); if (this.cc708Stream_ !== null) { this.cc708Stream_.addEventListener("data", (data) => - this.trigger("data", data) + this.trigger("data", data), ); this.cc708Stream_.addEventListener("done", (data) => - this.trigger("done", data) + this.trigger("done", data), ); this.cc708Stream_.addEventListener("partialdone", (data) => - this.trigger("partialdone", data) + this.trigger("partialdone", data), ); } } @@ -477,7 +477,7 @@ class Cea708Service { serviceNum: number, encoding: string | undefined, pts: number, - beforeRowOverflow: (pts: number) => void + beforeRowOverflow: (pts: number) => void, ) { this.serviceNum = serviceNum; this.text = ""; @@ -515,7 +515,7 @@ class Cea708Service { public createTextDecoder(encoding: string): void { if (typeof TextDecoder === "undefined") { logger.warn( - "Transmuxer: The `encoding` option is unsupported without TextDecoder support" + "Transmuxer: The `encoding` option is unsupported without TextDecoder support", ); } else { try { @@ -526,7 +526,7 @@ class Cea708Service { "Transmuxer: TextDecoder could not be created with " + encoding + " encoding. " + - err + err, ); } } @@ -659,7 +659,7 @@ class Cea708Stream extends EventEmitter { public pushServiceBlock( serviceNum: number, start: number, - size: number + size: number, ): void { let i = start; const packetData = this._current708Packet.data; @@ -775,7 +775,7 @@ class Cea708Stream extends EventEmitter { this.getPts(i), (pts) => { this.flushDisplayed(pts, this._services[serviceNum]); - } + }, ); return this._services[serviceNum]; @@ -794,7 +794,7 @@ class Cea708Stream extends EventEmitter { options: { isExtended: boolean; isMultiByte: boolean; - } = { isExtended: false, isMultiByte: false } + } = { isExtended: false, isMultiByte: false }, ): number { let i = currIndex; const isExtended = options.isExtended; @@ -1521,7 +1521,7 @@ class Cea608Stream extends EventEmitter { if (this.mode_ === "popOn") { this.nonDisplayed_[this.row_] = this.nonDisplayed_[this.row_].slice( 0, - -1 + -1, ); } else { this.displayed_[this.row_] = this.displayed_[this.row_].slice(0, -1); @@ -1562,7 +1562,7 @@ class Cea608Stream extends EventEmitter { if (this.mode_ === "popOn") { this.nonDisplayed_[this.row_] = this.nonDisplayed_[this.row_].slice( 0, - -1 + -1, ); } else { this.displayed_[this.row_] = this.displayed_[this.row_].slice(0, -1); diff --git a/src/ts-transmux/src/clock-utils.ts b/src/ts-transmux/src/clock-utils.ts index e5d36e7..ac4c57e 100644 --- a/src/ts-transmux/src/clock-utils.ts +++ b/src/ts-transmux/src/clock-utils.ts @@ -32,10 +32,10 @@ function videoTsToAudioTs(timestamp: number, sampleRate: number): number { function metadataTsToSeconds( timestamp: number, timelineStartPts: number, - keepOriginalTimestamps: boolean + keepOriginalTimestamps: boolean, ): number { return videoTsToSeconds( - keepOriginalTimestamps ? timestamp : timestamp - timelineStartPts + keepOriginalTimestamps ? timestamp : timestamp - timelineStartPts, ); } diff --git a/src/ts-transmux/src/exp-golomb.ts b/src/ts-transmux/src/exp-golomb.ts index ccf1465..088623c 100644 --- a/src/ts-transmux/src/exp-golomb.ts +++ b/src/ts-transmux/src/exp-golomb.ts @@ -41,7 +41,7 @@ class ExpGolomb { } workingBytes.set( - this._workingData.subarray(position, position + availableBytes) + this._workingData.subarray(position, position + availableBytes), ); this._workingWord = new DataView(workingBytes.buffer).getUint32(0); diff --git a/src/ts-transmux/src/frame-utils.ts b/src/ts-transmux/src/frame-utils.ts index b62b7c8..4221b17 100644 --- a/src/ts-transmux/src/frame-utils.ts +++ b/src/ts-transmux/src/frame-utils.ts @@ -236,7 +236,7 @@ function concatenateNalData(gops: any): Uint8Array { // generate the track's sample table from a frame function generateSampleTableForFrame( frame: any, - baseDataOffset: number + baseDataOffset: number, ): any[] { const dataOffset = baseDataOffset ?? 0; const samples: any[] = []; diff --git a/src/ts-transmux/src/id3-utils.ts b/src/ts-transmux/src/id3-utils.ts index 548bfa4..fd93a22 100644 --- a/src/ts-transmux/src/id3-utils.ts +++ b/src/ts-transmux/src/id3-utils.ts @@ -3,7 +3,7 @@ function typedArrayIndexOf( typedArray: Uint8Array | null, element: number, - fromIndex: number + fromIndex: number, ): number { if (typedArray === null) { return -1; @@ -113,7 +113,7 @@ const frameParsers = { // frames that allow different types of encoding contain terminated text // [ID3v2.4.0 section 4.] frame.value = getNullTerminatedStr( - parseUtf8(frame.data, 1, frame.data.length) + parseUtf8(frame.data, 1, frame.data.length), ); // text information frames supports multiple strings, stored as a terminator // separated list [ID3v2.4.0 section 4.2.] @@ -137,7 +137,7 @@ const frameParsers = { // frames that allow different types of encoding contain terminated text // [ID3v2.4.0 section 4.] frame.value = getNullTerminatedStr( - parseUtf8(frame.data, descriptionEndIndex + 1, frame.data.length) + parseUtf8(frame.data, descriptionEndIndex + 1, frame.data.length), ); frame.data = frame.value; }, @@ -147,7 +147,7 @@ const frameParsers = { // if the value is followed by a string termination all the following // information should be ignored [ID3v2.4.0 section 4.3] frame.url = getNullTerminatedStr( - parseIso88591(frame.data, 0, frame.data.length) + parseIso88591(frame.data, 0, frame.data.length), ); }, WXXX: function (frame: any): void { @@ -168,7 +168,7 @@ const frameParsers = { // if the value is followed by a string termination all the following information // should be ignored [ID3v2.4.0 section 4.3] frame.url = getNullTerminatedStr( - parseIso88591(frame.data, descriptionEndIndex + 1, frame.data.length) + parseIso88591(frame.data, descriptionEndIndex + 1, frame.data.length), ); }, PRIV: function (frame: any): void { @@ -230,7 +230,7 @@ function parseId3Frames(data: Uint8Array) { do { // determine the number of bytes in this frame frameSize = parseSyncSafeInteger( - data.subarray(frameStart + 4, frameStart + 8) + data.subarray(frameStart + 4, frameStart + 8), ); if (frameSize < 1) { break; @@ -239,7 +239,7 @@ function parseId3Frames(data: Uint8Array) { data[frameStart], data[frameStart + 1], data[frameStart + 2], - data[frameStart + 3] + data[frameStart + 3], ); const frame = { diff --git a/src/ts-transmux/src/mp4-utils.ts b/src/ts-transmux/src/mp4-utils.ts index 210c32a..fe69998 100644 --- a/src/ts-transmux/src/mp4-utils.ts +++ b/src/ts-transmux/src/mp4-utils.ts @@ -234,7 +234,7 @@ function createBox( const view = new DataView( result.buffer, result.byteOffset, - result.byteLength + result.byteLength, ); view.setUint32(0, result.byteLength); result.set(boxName, 4); @@ -308,7 +308,7 @@ function createEsds(trackInfo: TrackInfo): Uint8Array { 0x06, 0x01, 0x02, // GASpecificConfig - ]) + ]), ); } @@ -322,7 +322,7 @@ function createFtyp(): Uint8Array { MAJOR_BRAND, MINOR_VERSION, MAJOR_BRAND, - AVC1_BRAND + AVC1_BRAND, ); } @@ -401,7 +401,7 @@ function createMdia(trackInfo: TrackInfo): Uint8Array { BOXES_NAME.mdia, createMdhd(trackInfo), createHdlr(trackInfo.type), - createMinf(trackInfo) + createMinf(trackInfo), ); } @@ -422,7 +422,7 @@ function createMfhd(sequenceNumber: number): Uint8Array { (sequenceNumber & 0xff0000) >> 16, (sequenceNumber & 0xff00) >> 8, sequenceNumber & 0xff, // sequence_number - ]) + ]), ); } @@ -438,7 +438,7 @@ function createMinf(trackInfo: TrackInfo): Uint8Array { ? createBox(BOXES_NAME.vmhd, VMHD) : createBox(BOXES_NAME.smhd, SMHD), createDinf(), - createStbl(trackInfo) + createStbl(trackInfo), ); } @@ -453,7 +453,7 @@ function createMoof(sequenceNumber: number, tracks: TrackInfo[]): Uint8Array { return createBox( BOXES_NAME.moof, createMfhd(sequenceNumber), - ...trackFragments + ...trackFragments, ); } @@ -468,7 +468,7 @@ function createMoov(tracks: TrackInfo[]): Uint8Array { BOXES_NAME.moov, createMvhd(0xffffffff), ...boxes, - createMvex(tracks) + createMvex(tracks), ); } @@ -630,7 +630,7 @@ function createStbl(trackInfo: TrackInfo): Uint8Array { createBox(BOXES_NAME.stts, STTS), createBox(BOXES_NAME.stsc, STSC), createBox(BOXES_NAME.stsz, STSZ), - createBox(BOXES_NAME.stco, STCO) + createBox(BOXES_NAME.stco, STCO), ); } @@ -652,7 +652,7 @@ function createStsd(trackInfo: TrackInfo): Uint8Array { 0x00, 0x01, ]), - trackInfo.type === "video" ? createAvc1(trackInfo) : createMp4a(trackInfo) + trackInfo.type === "video" ? createAvc1(trackInfo) : createMp4a(trackInfo), ); } @@ -672,7 +672,7 @@ function createAvc1(trackInfo: TrackInfo): Uint8Array { sequenceParameterSets.push((sps.byteLength & 0xff00) >>> 8); sequenceParameterSets.push(sps.byteLength & 0xff); // sequenceParameterSetLength sequenceParameterSets = sequenceParameterSets.concat( - Array.prototype.slice.call(sps) + Array.prototype.slice.call(sps), ); // SPS } @@ -681,7 +681,7 @@ function createAvc1(trackInfo: TrackInfo): Uint8Array { pictureParameterSets.push((pps.byteLength & 0xff00) >>> 8); pictureParameterSets.push(pps.byteLength & 0xff); pictureParameterSets = pictureParameterSets.concat( - Array.prototype.slice.call(pps) + Array.prototype.slice.call(pps), ); } @@ -779,9 +779,9 @@ function createAvc1(trackInfo: TrackInfo): Uint8Array { [spss.length], // numOfSequenceParameterSets sequenceParameterSets, // "SPS" [ppss.length], // numOfPictureParameterSets - pictureParameterSets // "PPS" - ) - ) + pictureParameterSets, // "PPS" + ), + ), ), createBox( BOXES_NAME.btrt, @@ -798,7 +798,7 @@ function createAvc1(trackInfo: TrackInfo): Uint8Array { 0x2d, 0xc6, 0xc0, // avgBitrate - ]) + ]), ), ]; @@ -818,8 +818,8 @@ function createAvc1(trackInfo: TrackInfo): Uint8Array { (vSpacing & 0xff0000) >> 16, (vSpacing & 0xff00) >> 8, vSpacing & 0xff, - ]) - ) + ]), + ), ); } @@ -870,7 +870,7 @@ function createMp4a(trackInfo: TrackInfo): Uint8Array { // MP4AudioSampleEntry, ISO/IEC 14496-14 ]), - createEsds(trackInfo) + createEsds(trackInfo), ); } @@ -967,7 +967,7 @@ function createTkhd(trackInfo: TrackInfo): Uint8Array { trackInfo.height & 0xff, 0x00, 0x00, // height - ]) + ]), ); } @@ -1004,14 +1004,14 @@ function createTraf(trackInfo: TrackInfo): Uint8Array { 0x00, 0x00, 0x00, // default_sample_flags - ]) + ]), ); const upperWordBaseMediaDecodeTime = Math.floor( - trackInfo.baseMediaDecodeTime / MAX_UINT32 + trackInfo.baseMediaDecodeTime / MAX_UINT32, ); const lowerWordBaseMediaDecodeTime = Math.floor( - trackInfo.baseMediaDecodeTime % MAX_UINT32 + trackInfo.baseMediaDecodeTime % MAX_UINT32, ); const trackFragmentDecodeTime = createBox( @@ -1030,7 +1030,7 @@ function createTraf(trackInfo: TrackInfo): Uint8Array { (lowerWordBaseMediaDecodeTime >>> 16) & 0xff, (lowerWordBaseMediaDecodeTime >>> 8) & 0xff, lowerWordBaseMediaDecodeTime & 0xff, - ]) + ]), ); // the data offset specifies the number of bytes from the start of @@ -1051,7 +1051,7 @@ function createTraf(trackInfo: TrackInfo): Uint8Array { BOXES_NAME.traf, trackFragmentHeader, trackFragmentDecodeTime, - trackFragmentRun + trackFragmentRun, ); } @@ -1061,14 +1061,14 @@ function createTraf(trackInfo: TrackInfo): Uint8Array { const sampleDependencyTable = createSdtp(trackInfo); const trackFragmentRun = createTrun( trackInfo, - sampleDependencyTable.length + dataOffset + sampleDependencyTable.length + dataOffset, ); return createBox( BOXES_NAME.traf, trackFragmentHeader, trackFragmentDecodeTime, trackFragmentRun, - sampleDependencyTable + sampleDependencyTable, ); } @@ -1082,7 +1082,7 @@ function createTrak(trackInfo: TrackInfo): Uint8Array { return createBox( BOXES_NAME.trak, createTkhd(trackInfo), - createMdia(trackInfo) + createMdia(trackInfo), ); } @@ -1185,7 +1185,7 @@ function createTrunHeader(samples: TrackSample[], offset: number): number[] { */ function createVideoTrun( trackInfo: TrackInfo, - initialOffset: number + initialOffset: number, ): Uint8Array { const samples = trackInfo.samples ?? []; const offset = initialOffset + 8 + 12 + 16 * samples.length; @@ -1235,7 +1235,7 @@ function createVideoTrun( */ function createAudioTrun( trackInfo: TrackInfo, - initialOffset: number + initialOffset: number, ): Uint8Array { const samples = trackInfo.samples ?? []; const offset = initialOffset + 8 + 12 + 8 * samples.length; diff --git a/src/ts-transmux/src/read-aac.ts b/src/ts-transmux/src/read-aac.ts index 70a7edf..565ccfb 100644 --- a/src/ts-transmux/src/read-aac.ts +++ b/src/ts-transmux/src/read-aac.ts @@ -15,7 +15,7 @@ export interface AudioPacket { export function readNextAdtsOrId3( input: Uint8Array, - timestamp: number + timestamp: number, ): [AudioPacket | TimedMetadataPacket | null, Uint8Array | null] { let frameSize = 0; let byteIndex = 0; diff --git a/src/ts-transmux/src/track-utils.ts b/src/ts-transmux/src/track-utils.ts index 7efafa8..3db38b3 100644 --- a/src/ts-transmux/src/track-utils.ts +++ b/src/ts-transmux/src/track-utils.ts @@ -22,7 +22,7 @@ function collectDtsInfo< minSegmentPts?: number | undefined; maxSegmentDts?: number | undefined; maxSegmentPts?: number | undefined; - } + }, >(trackInfo: T, data: Partial) { if (trackInfo.timelineStartInfo === undefined) { trackInfo.timelineStartInfo = {}; @@ -74,7 +74,7 @@ function clearDtsInfo< minSegmentPts: number | undefined; maxSegmentDts: number | undefined; maxSegmentPts: number | undefined; - } + }, >(trackInfo: T): void { trackInfo.minSegmentDts = undefined; trackInfo.maxSegmentDts = undefined; @@ -99,7 +99,7 @@ function calculateTrackBaseMediaDecodeTime< baseMediaDecodeTime?: number | undefined; }; samplerate?: number; - } + }, >(trackInfo: T, keepOriginalTimestamps: boolean): number { let minSegmentDts = trackInfo.minSegmentDts; diff --git a/src/ts-worker/MessageReceiver.ts b/src/ts-worker/MessageReceiver.ts index cf88e60..d94b6be 100644 --- a/src/ts-worker/MessageReceiver.ts +++ b/src/ts-worker/MessageReceiver.ts @@ -3,10 +3,9 @@ import logger from "../ts-common/logger"; import noop from "../ts-common/noop"; import { SourceBufferOperation } from "../ts-common/QueuedSourceBuffer"; import timeRangesToFloat64Array from "../ts-common/timeRangesToFloat64Array"; +import type { MainMessage, WaspHlsPlayerConfig } from "../ts-common/types"; import { - MainMessage, InitializationErrorCode, - WaspHlsPlayerConfig, MainMessageType, WorkerMessageType, } from "../ts-common/types"; @@ -19,12 +18,11 @@ import initializeWasm, { StartingPosition, } from "../wasm/wasp_hls"; import { stopObservingPlayback } from "./bindings"; +import type { ContentInfo, WorkerInitializationOptions } from "./globals"; import { cachedCodecsSupport, - ContentInfo, playerInstance, updateDispatcherConfig, - WorkerInitializationOptions, } from "./globals"; import postMessageToMain from "./postMessage"; @@ -70,7 +68,7 @@ export default function MessageReceiver() { if (wasInitializedCalled) { return handleInitializationError( "Worker initialization already done", - InitializationErrorCode.AlreadyInitializedError + InitializationErrorCode.AlreadyInitializedError, ); } logger.setLevel(data.value.logLevel); @@ -89,7 +87,7 @@ export default function MessageReceiver() { initializationProm = undefined; handleInitializationError( err, - InitializationErrorCode.WasmRequestError + InitializationErrorCode.WasmRequestError, ); }); break; @@ -113,7 +111,7 @@ export default function MessageReceiver() { if (data.value.startingPosition !== undefined) { startingPosition = new StartingPosition( data.value.startingPosition.startingType, - data.value.startingPosition.position + data.value.startingPosition.position, ); } dispatcher.load_content(data.value.url, startingPosition); @@ -231,7 +229,7 @@ export default function MessageReceiver() { data.value.ended, data.value.duration, audioSbBuffered, - videoSbBuffered + videoSbBuffered, ); dispatcher.on_playback_tick(mediaObservation); break; @@ -296,7 +294,7 @@ export default function MessageReceiver() { dispatcher.on_source_buffer_creation_error( data.value.sourceBufferId, data.value.code, - data.value.message + data.value.message, ); break; } @@ -401,12 +399,12 @@ export default function MessageReceiver() { } else if (data.value.isBufferFull) { dispatcher.on_append_buffer_error( data.value.sourceBufferId, - PushedSegmentErrorCode.BufferFull + PushedSegmentErrorCode.BufferFull, ); } else { dispatcher.on_append_buffer_error( data.value.sourceBufferId, - PushedSegmentErrorCode.UnknownError + PushedSegmentErrorCode.UnknownError, ); } } @@ -420,7 +418,7 @@ export default function MessageReceiver() { function handleInitializationError( err: unknown, - code: InitializationErrorCode + code: InitializationErrorCode, ) { let message: string | undefined; if (typeof err === "string") { @@ -454,7 +452,7 @@ function postUnitializedWorkerError(contentId: string): void { function initialize( wasmUrl: string, config: WaspHlsPlayerConfig, - opts: WorkerInitializationOptions + opts: WorkerInitializationOptions, ): Promise { return initializeWasm(fetch(wasmUrl)) .then((wasm) => { diff --git a/src/ts-worker/bindings.ts b/src/ts-worker/bindings.ts index 9dc0f0b..f09b306 100644 --- a/src/ts-worker/bindings.ts +++ b/src/ts-worker/bindings.ts @@ -2,12 +2,21 @@ import idGenerator from "../ts-common/idGenerator"; import logger from "../ts-common/logger"; import QueuedSourceBuffer from "../ts-common/QueuedSourceBuffer"; import timeRangesToFloat64Array from "../ts-common/timeRangesToFloat64Array"; -import { +import type { AudioTrackInfo, SourceBufferId, VariantInfo, - WorkerMessageType, } from "../ts-common/types.js"; +import { WorkerMessageType } from "../ts-common/types.js"; +import type { + MediaPlaylistParsingErrorCode, + MultivariantPlaylistParsingErrorCode, + OtherErrorCode, + PlaylistNature, + RequestErrorReason, + SourceBufferCreationErrorCode, + TimerReason, +} from "../wasm/wasp_hls.js"; import { AddSourceBufferErrorCode, AddSourceBufferResult, @@ -18,32 +27,23 @@ import { EndOfStreamResult, JsTimeRanges, LogLevel, - MediaPlaylistParsingErrorCode, MediaSourceDurationUpdateErrorCode, MediaSourceDurationUpdateResult, MediaSourceReadyState, MediaType, - MultivariantPlaylistParsingErrorCode, - OtherErrorCode, - PlaylistNature, PushedSegmentErrorCode, RemoveBufferErrorCode, RemoveBufferResult, RemoveMediaSourceErrorCode, RemoveMediaSourceResult, - RequestErrorReason, SegmentParsingErrorCode, - SourceBufferCreationErrorCode, - TimerReason, } from "../wasm/wasp_hls.js"; +import type { RequestId, ResourceId, TimerId } from "./globals"; import { cachedCodecsSupport, jsMemoryResources, - RequestId, requestsStore, - ResourceId, playerInstance, - TimerId, getMediaSourceObj, } from "./globals"; import { @@ -77,7 +77,7 @@ export function sendSegmentRequestError( timeInfo: [number, number] | undefined, mediaType: MediaType, reason: RequestErrorReason, - status: number | undefined + status: number | undefined, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -110,7 +110,7 @@ export function sendMultivariantPlaylistRequestError( fatal: boolean, url: string, reason: RequestErrorReason, - status: number | undefined + status: number | undefined, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -140,7 +140,7 @@ export function sendMediaPlaylistRequestError( url: string, reason: RequestErrorReason, mediaType: MediaType | undefined, - status: number | undefined + status: number | undefined, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -170,7 +170,7 @@ export function sendPushedSegmentError( fatal: boolean, code: PushedSegmentErrorCode, mediaType: MediaType, - message: string + message: string, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -198,7 +198,7 @@ export function sendPushedSegmentError( export function sendRemoveBufferError( fatal: boolean, mediaType: MediaType, - message: string + message: string, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -225,7 +225,7 @@ export function sendRemoveBufferError( export function sendOtherError( fatal: boolean, code: OtherErrorCode, - message: string + message: string, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -252,7 +252,7 @@ export function sendOtherError( export function sendMultivariantPlaylistParsingError( fatal: boolean, code: MultivariantPlaylistParsingErrorCode, - message: string + message: string, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -280,7 +280,7 @@ export function sendMediaPlaylistParsingError( fatal: boolean, code: MediaPlaylistParsingErrorCode, mediaType: MediaType, - message: string + message: string, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -309,7 +309,7 @@ export function sendSourceBufferCreationError( fatal: boolean, code: SourceBufferCreationErrorCode, mediaType: MediaType, - message: string + message: string, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -338,7 +338,7 @@ export function sendSegmentParsingError( fatal: boolean, code: SegmentParsingErrorCode, mediaType: MediaType, - message: string + message: string, ): void { const contentId = playerInstance.getContentInfo()?.contentId; if (contentId === undefined) { @@ -368,7 +368,7 @@ export function sendSegmentParsingError( * @returns {Uint8Array|undefined} */ export function getResourceData( - resourceId: ResourceId + resourceId: ResourceId, ): Uint8Array | undefined { return jsMemoryResources.get(resourceId); } @@ -429,7 +429,7 @@ export function doFetch( url: string, rangeStart: number | undefined, rangeEnd: number | undefined, - timeout: number + timeout: number, ): RequestId { let timeouted = false; const abortController = new AbortController(); @@ -469,7 +469,7 @@ export function doFetch( currentResourceId, segmentArray.byteLength, res.url, - elapsedMs + elapsedMs, ); } }) @@ -549,7 +549,7 @@ export function setPlaybackRate(position: number): void { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null || contentInfo.mediaSourceObj === null) { logger.error( - "Attempting to set playback rate when no MediaSource is created" + "Attempting to set playback rate when no MediaSource is created", ); return; } @@ -569,7 +569,7 @@ export function attachMediaSource(): AttachMediaSourceResult { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null) { return AttachMediaSourceResult.error( - AttachMediaSourceErrorCode.NoContentLoaded + AttachMediaSourceErrorCode.NoContentLoaded, ); } @@ -627,7 +627,7 @@ export function attachMediaSource(): AttachMediaSourceResult { mediaSourceId, }, }, - handle !== undefined ? [handle] : [] + handle !== undefined ? [handle] : [], ); } @@ -646,9 +646,9 @@ export function attachMediaSource(): AttachMediaSourceResult { .getDispatcher() ?.on_media_source_state_change(MediaSourceReadyState.Closed); } - } catch (e) { + } catch (_e) { return AttachMediaSourceResult.error( - AttachMediaSourceErrorCode.UnknownError + AttachMediaSourceErrorCode.UnknownError, ); } return AttachMediaSourceResult.success(); @@ -661,12 +661,12 @@ export function removeMediaSource(): RemoveMediaSourceResult { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null) { return RemoveMediaSourceResult.error( - RemoveMediaSourceErrorCode.NoMediaSourceAttached + RemoveMediaSourceErrorCode.NoMediaSourceAttached, ); } if (contentInfo.mediaSourceObj === null) { return RemoveMediaSourceResult.error( - RemoveMediaSourceErrorCode.NoMediaSourceAttached + RemoveMediaSourceErrorCode.NoMediaSourceAttached, ); } @@ -689,12 +689,12 @@ export function removeMediaSource(): RemoveMediaSourceResult { } catch (e) { const msg = formatErrMessage( e, - "Unknown error while removing SourceBuffer" + "Unknown error while removing SourceBuffer", ); logger.error("Could not remove SourceBuffer: " + msg); return RemoveMediaSourceResult.error( RemoveMediaSourceErrorCode.UnknownError, - msg + msg, ); } } @@ -714,17 +714,17 @@ export function removeMediaSource(): RemoveMediaSourceResult { * @returns {Object} */ export function setMediaSourceDuration( - duration: number + duration: number, ): MediaSourceDurationUpdateResult { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null) { return MediaSourceDurationUpdateResult.error( - MediaSourceDurationUpdateErrorCode.NoMediaSourceAttached + MediaSourceDurationUpdateErrorCode.NoMediaSourceAttached, ); } if (contentInfo.mediaSourceObj === null) { return MediaSourceDurationUpdateResult.error( - MediaSourceDurationUpdateErrorCode.NoMediaSourceAttached + MediaSourceDurationUpdateErrorCode.NoMediaSourceAttached, ); } @@ -732,9 +732,9 @@ export function setMediaSourceDuration( try { contentInfo.mediaSourceObj.mediaSource.duration = duration; return MediaSourceDurationUpdateResult.success(); - } catch (err) { + } catch (_err) { return MediaSourceDurationUpdateResult.error( - MediaSourceDurationUpdateErrorCode.UnknownError + MediaSourceDurationUpdateErrorCode.UnknownError, ); } } else { @@ -756,17 +756,17 @@ export function setMediaSourceDuration( */ export function addSourceBuffer( mediaType: MediaType, - typ: string + typ: string, ): AddSourceBufferResult { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null) { return AddSourceBufferResult.error( - AddSourceBufferErrorCode.NoMediaSourceAttached + AddSourceBufferErrorCode.NoMediaSourceAttached, ); } if (contentInfo.mediaSourceObj === null) { return AddSourceBufferResult.error( - AddSourceBufferErrorCode.NoMediaSourceAttached + AddSourceBufferErrorCode.NoMediaSourceAttached, ); } @@ -798,11 +798,11 @@ export function addSourceBuffer( } catch (err) { const msg = formatErrMessage( err, - "Unknown error while creating Sourcebuffer" + "Unknown error while creating Sourcebuffer", ); return AddSourceBufferResult.error( AddSourceBufferErrorCode.UnknownError, - msg + msg, ); } } else { @@ -810,12 +810,12 @@ export function addSourceBuffer( contentInfo.mediaSourceObj; if (mediaSource.readyState === "closed") { return AddSourceBufferResult.error( - AddSourceBufferErrorCode.MediaSourceIsClosed + AddSourceBufferErrorCode.MediaSourceIsClosed, ); } if (typ === "") { return AddSourceBufferResult.error( - AddSourceBufferErrorCode.EmptyMimeType + AddSourceBufferErrorCode.EmptyMimeType, ); } try { @@ -838,27 +838,27 @@ export function addSourceBuffer( } catch (err) { const msg = formatErrMessage( err, - "Unknown error while creating Sourcebuffer" + "Unknown error while creating Sourcebuffer", ); if (!(err instanceof Error)) { return AddSourceBufferResult.error( AddSourceBufferErrorCode.UnknownError, - msg + msg, ); } else if (err.name === "QuotaExceededError") { return AddSourceBufferResult.error( AddSourceBufferErrorCode.QuotaExceededError, - msg + msg, ); } else if (err.name === "NotSupportedError") { return AddSourceBufferResult.error( AddSourceBufferErrorCode.TypeNotSupportedError, - msg + msg, ); } else { return AddSourceBufferResult.error( AddSourceBufferErrorCode.UnknownError, - msg + msg, ); } } @@ -874,32 +874,32 @@ export function addSourceBuffer( export function appendBuffer( sourceBufferId: SourceBufferId, resourceId: ResourceId, - parseTimeInformation?: boolean + parseTimeInformation?: boolean, ): AppendBufferResult { let segment = jsMemoryResources.get(resourceId); const mediaSourceObj = getMediaSourceObj(); if (segment === undefined) { return AppendBufferResult.error( SegmentParsingErrorCode.NoResource, - "Segment preparation error: No resource with the given `resourceId`" + "Segment preparation error: No resource with the given `resourceId`", ); } if (mediaSourceObj === undefined) { return AppendBufferResult.error( SegmentParsingErrorCode.NoSourceBuffer, - "Segment preparation error: No MediaSource attached" + "Segment preparation error: No MediaSource attached", ); } // Weirdly enough TypeScript is only able to type-check when findIndex is // used then used as an index. Not when `find` is used directly. const sourceBufferObjIdx = mediaSourceObj.sourceBuffers.findIndex( - ({ id }) => id === sourceBufferId + ({ id }) => id === sourceBufferId, ); if (sourceBufferObjIdx < -1) { return AppendBufferResult.error( SegmentParsingErrorCode.NoSourceBuffer, - "Segment preparation error: No SourceBuffer with the given `SourceBufferId`" + "Segment preparation error: No SourceBuffer with the given `SourceBufferId`", ); } @@ -913,17 +913,17 @@ export function appendBuffer( } else { return AppendBufferResult.error( SegmentParsingErrorCode.TransmuxerError, - "Segment preparation error: the transmuxer couldn't process the segment" + "Segment preparation error: the transmuxer couldn't process the segment", ); } } catch (err) { const msg = formatErrMessage( err, - "Unknown error while transmuxing segment" + "Unknown error while transmuxing segment", ); return AppendBufferResult.error( SegmentParsingErrorCode.TransmuxerError, - msg + msg, ); } } @@ -949,7 +949,7 @@ export function appendBuffer( try { const timeRange = sourceBufferObj.sourceBuffer.getBufferedRanges(); const buffered = new JsTimeRanges( - timeRangesToFloat64Array(timeRange) + timeRangesToFloat64Array(timeRange), ); playerInstance .getDispatcher() @@ -966,14 +966,14 @@ export function appendBuffer( .getDispatcher() ?.on_append_buffer_error( sourceBufferId, - PushedSegmentErrorCode.BufferFull + PushedSegmentErrorCode.BufferFull, ); } else { playerInstance .getDispatcher() ?.on_append_buffer_error( sourceBufferId, - PushedSegmentErrorCode.UnknownError + PushedSegmentErrorCode.UnknownError, ); } } catch (err2) { @@ -992,10 +992,10 @@ export function appendBuffer( data: buffer, }, }, - [buffer] + [buffer], ); } - } catch (err) { + } catch (_err) { return AppendBufferResult.error(SegmentParsingErrorCode.UnknownError); } return AppendBufferResult.success(timeInfo?.time, timeInfo?.duration); @@ -1010,25 +1010,25 @@ export function appendBuffer( export function removeBuffer( sourceBufferId: SourceBufferId, start: number, - end: number + end: number, ): RemoveBufferResult { try { const mediaSourceObj = getMediaSourceObj(); if (mediaSourceObj === undefined) { return RemoveBufferResult.error( RemoveBufferErrorCode.SourceBufferNotFound, - "No MediaSource created." + "No MediaSource created.", ); } if (mediaSourceObj.type === "worker") { const sourceBufferObj = mediaSourceObj.sourceBuffers.find( - ({ id }) => id === sourceBufferId + ({ id }) => id === sourceBufferId, ); if (sourceBufferObj === undefined) { return RemoveBufferResult.error( RemoveBufferErrorCode.SourceBufferNotFound, - "SourceBuffer linked to the given id not found." + "SourceBuffer linked to the given id not found.", ); } sourceBufferObj.sourceBuffer @@ -1037,7 +1037,7 @@ export function removeBuffer( try { const timeRange = sourceBufferObj.sourceBuffer.getBufferedRanges(); const buffered = new JsTimeRanges( - timeRangesToFloat64Array(timeRange) + timeRangesToFloat64Array(timeRange), ); playerInstance .getDispatcher() @@ -1084,7 +1084,7 @@ export function endOfStream(): EndOfStreamResult { if (mediaSourceObj === undefined) { return EndOfStreamResult.error( EndOfStreamErrorCode.NoMediaSourceAttached, - "There's no MediaSource attached currently." + "There's no MediaSource attached currently.", ); } if (mediaSourceObj.type === "worker") { @@ -1098,7 +1098,7 @@ export function endOfStream(): EndOfStreamResult { } catch (err) { const msg = formatErrMessage( err, - "Unknown error while calling endOfStream" + "Unknown error while calling endOfStream", ); return EndOfStreamResult.error(EndOfStreamErrorCode.UnknownError, msg); } @@ -1174,7 +1174,7 @@ export function freeResource(resourceId: ResourceId): boolean { */ function getTimeInformationFromMp4( segment: Uint8Array, - initTimescale: number + initTimescale: number, ): { time: number; duration: number | undefined } | null { const baseDecodeTime = getTrackFragmentDecodeTime(segment); if (baseDecodeTime === undefined) { @@ -1196,7 +1196,7 @@ function getTimeInformationFromMp4( export function updateContentInfo( minimumPosition: number | undefined, maximumPosition: number | undefined, - playlistType: PlaylistNature + playlistType: PlaylistNature, ): void { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null) { @@ -1215,7 +1215,7 @@ export function updateContentInfo( export function announceFetchedContent( variantInfo: Uint32Array, - audioTracksInfo: Uint32Array + audioTracksInfo: Uint32Array, ): void { const contentInfo = playerInstance.getContentInfo(); const memory = playerInstance.getCurrentWasmMemory(); @@ -1264,7 +1264,7 @@ export function announceFetchedContent( const languageU8 = new Uint8Array( memory.buffer, audioTracksInfo[i], - languageLen + languageLen, ); i++; const language = cachedTextDecoder.decode(languageU8); @@ -1274,7 +1274,7 @@ export function announceFetchedContent( const assocLanguageU8 = new Uint8Array( memory.buffer, audioTracksInfo[i], - assocLanguageLen + assocLanguageLen, ); i++; const assocLanguage = cachedTextDecoder.decode(assocLanguageU8); @@ -1310,7 +1310,7 @@ export function announceFetchedContent( export function announceTrackUpdate( mediaType: MediaType, currentAudioTrack: number, - isAudioTrackSelected: boolean + isAudioTrackSelected: boolean, ): void { const contentInfo = playerInstance.getContentInfo(); const memory = playerInstance.getCurrentWasmMemory(); @@ -1350,7 +1350,7 @@ export function startRebuffering(): void { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null || contentInfo.mediaSourceObj === null) { logger.error( - "Attempting to start rebuffering when no MediaSource is created" + "Attempting to start rebuffering when no MediaSource is created", ); return; } @@ -1367,7 +1367,7 @@ export function stopRebuffering(): void { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null || contentInfo.mediaSourceObj === null) { logger.error( - "Attempting to stop rebuffering when no MediaSource is created" + "Attempting to stop rebuffering when no MediaSource is created", ); return; } @@ -1388,7 +1388,7 @@ let isCurrentlyWaitingToAskSupport = false; export function isTypeSupported( mediaType: MediaType, - codec: string + codec: string, ): boolean | undefined { const mimeTypes = []; let mimeTypePrefix: string; @@ -1445,7 +1445,7 @@ export function isTypeSupported( } export function announceVariantLockStatusChange( - variantId: number | undefined + variantId: number | undefined, ): void { const contentInfo = playerInstance.getContentInfo(); if (contentInfo === null) { diff --git a/src/ts-worker/globals.ts b/src/ts-worker/globals.ts index 78f30a5..532a41e 100644 --- a/src/ts-worker/globals.ts +++ b/src/ts-worker/globals.ts @@ -32,7 +32,7 @@ class PlayerInstance { public start( wasm: InitOutput, config: WaspHlsPlayerConfig, - opts: WorkerInitializationOptions + opts: WorkerInitializationOptions, ) { const dispatcher = new Dispatcher(opts.initialBandwidth); updateDispatcherConfig(dispatcher, config); @@ -54,7 +54,7 @@ class PlayerInstance { public changeContent(content: ContentInfo) { if (this._instanceInfo === null) { logger.error( - "Worker: Cannot call `changeContent`: `PlayerInstance` not started." + "Worker: Cannot call `changeContent`: `PlayerInstance` not started.", ); return; } @@ -156,7 +156,7 @@ const I32_MAX_VALUE = 2147483647; export function updateDispatcherConfig( dispatcher: Dispatcher, - config: Partial + config: Partial, ): void { if (config.bufferGoal !== undefined) { dispatcher.set_buffer_goal(config.bufferGoal); @@ -182,17 +182,17 @@ export function updateDispatcherConfig( } if (config.multiVariantPlaylistRequestTimeout !== undefined) { dispatcher.set_multi_variant_playlist_request_timeout( - config.multiVariantPlaylistRequestTimeout + config.multiVariantPlaylistRequestTimeout, ); } if (config.multiVariantPlaylistBackoffBase !== undefined) { dispatcher.set_multi_variant_playlist_backoff_base( - config.multiVariantPlaylistBackoffBase + config.multiVariantPlaylistBackoffBase, ); } if (config.multiVariantPlaylistBackoffMax !== undefined) { dispatcher.set_multi_variant_playlist_backoff_max( - config.multiVariantPlaylistBackoffMax + config.multiVariantPlaylistBackoffMax, ); } if (config.mediaPlaylistMaxRetry !== undefined) { @@ -202,7 +202,7 @@ export function updateDispatcherConfig( } if (config.mediaPlaylistRequestTimeout !== undefined) { dispatcher.set_media_playlist_request_timeout( - config.mediaPlaylistRequestTimeout + config.mediaPlaylistRequestTimeout, ); } if (config.mediaPlaylistBackoffBase !== undefined) { diff --git a/src/ts-worker/isobmff-utils.ts b/src/ts-worker/isobmff-utils.ts index 010ccc4..a1a3789 100644 --- a/src/ts-worker/isobmff-utils.ts +++ b/src/ts-worker/isobmff-utils.ts @@ -18,11 +18,13 @@ function getTrackFragmentDecodeTime(buffer: Uint8Array): number | undefined { return undefined; } const version = tfdt[0]; - return version === 1 - ? be8toi(tfdt, 4) - : version === 0 - ? be4toi(tfdt, 4) - : undefined; + if (version === 1) { + return be8toi(tfdt, 4); + } + if (version === 0) { + return be4toi(tfdt, 4); + } + return undefined; } /** @@ -127,11 +129,13 @@ function getMDHDTimescale(buffer: Uint8Array): number | undefined { let cursor = 0; const version = mdhd[cursor]; cursor += 4; - return version === 1 - ? be4toi(mdhd, cursor + 16) - : version === 0 - ? be4toi(mdhd, cursor + 8) - : undefined; + if (version === 1) { + return be4toi(mdhd, cursor + 16); + } + if (version === 0) { + return be4toi(mdhd, cursor + 8); + } + return undefined; } /** @@ -143,7 +147,7 @@ function getMDHDTimescale(buffer: Uint8Array): number | undefined { * @returns {number|undefined} */ function getDefaultDurationFromTFHDInTRAF( - traf: Uint8Array + traf: Uint8Array, ): number | undefined { const tfhd = getBoxContent(traf, 0x74666864 /* tfhd */); if (tfhd === null) { @@ -289,12 +293,12 @@ function getBoxesContent(buf: Uint8Array, boxName: number): Uint8Array[] { */ function getBoxOffsets( buf: Uint8Array, - boxName: number + boxName: number, ): | [ number /* start byte */, number /* First byte after the size and name (where the content begins)*/, - number /* end byte, not included. */ + number /* end byte, not included. */, ] | null { const len = buf.length; diff --git a/src/ts-worker/mse-in-worker.d.ts b/src/ts-worker/mse-in-worker.d.ts index e6bab12..b26d72c 100644 --- a/src/ts-worker/mse-in-worker.d.ts +++ b/src/ts-worker/mse-in-worker.d.ts @@ -50,22 +50,22 @@ interface MediaSource extends EventTarget { addEventListener( type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, - options?: boolean | AddEventListenerOptions + options?: boolean | AddEventListenerOptions, ): void; addEventListener( type: string, listener: EventListenerOrEventListenerObject, - options?: boolean | AddEventListenerOptions + options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: K, listener: (this: MediaSource, ev: MediaSourceEventMap[K]) => any, - options?: boolean | EventListenerOptions + options?: boolean | EventListenerOptions, ): void; removeEventListener( type: string, listener: EventListenerOrEventListenerObject, - options?: boolean | EventListenerOptions + options?: boolean | EventListenerOptions, ): void; } @@ -88,22 +88,22 @@ interface SourceBufferList extends EventTarget { addEventListener( type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, - options?: boolean | AddEventListenerOptions + options?: boolean | AddEventListenerOptions, ): void; addEventListener( type: string, listener: EventListenerOrEventListenerObject, - options?: boolean | AddEventListenerOptions + options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: K, listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any, - options?: boolean | EventListenerOptions + options?: boolean | EventListenerOptions, ): void; removeEventListener( type: string, listener: EventListenerOrEventListenerObject, - options?: boolean | EventListenerOptions + options?: boolean | EventListenerOptions, ): void; [index: number]: SourceBuffer; } @@ -141,22 +141,22 @@ interface SourceBuffer extends EventTarget { addEventListener( type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, - options?: boolean | AddEventListenerOptions + options?: boolean | AddEventListenerOptions, ): void; addEventListener( type: string, listener: EventListenerOrEventListenerObject, - options?: boolean | AddEventListenerOptions + options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: K, listener: (this: SourceBuffer, ev: SourceBufferEventMap[K]) => any, - options?: boolean | EventListenerOptions + options?: boolean | EventListenerOptions, ): void; removeEventListener( type: string, listener: EventListenerOrEventListenerObject, - options?: boolean | EventListenerOptions + options?: boolean | EventListenerOptions, ): void; } diff --git a/src/ts-worker/postMessage.ts b/src/ts-worker/postMessage.ts index f2acf46..6c090ea 100644 --- a/src/ts-worker/postMessage.ts +++ b/src/ts-worker/postMessage.ts @@ -1,9 +1,9 @@ import logger from "../ts-common/logger"; -import { WorkerMessage } from "../ts-common/types"; +import type { WorkerMessage } from "../ts-common/types"; export default function postMessageToMain( msg: WorkerMessage, - transferables?: Transferable[] + transferables?: Transferable[], ) { logger.debug("<-- sending to main:", msg.type); // Written that way due to TypeScript shenanigans diff --git a/src/ts-worker/tsconfig.json b/src/ts-worker/tsconfig.json index 5bdc238..3972a4b 100644 --- a/src/ts-worker/tsconfig.json +++ b/src/ts-worker/tsconfig.json @@ -16,5 +16,5 @@ "moduleResolution": "node", "typeRoots": ["./node_modules/@types", "./mse-in-worker.d.ts"] }, - "include": ["./*.ts", "./**/*.ts"] + "include": ["./*.ts", "./**/*.ts", "../ts-common/**/*.ts"] }