diff --git a/docs/specs/tanstack-charts/roadmap.md b/docs/specs/tanstack-charts/roadmap.md index cffab74b3496..a7acb66dd66e 100644 --- a/docs/specs/tanstack-charts/roadmap.md +++ b/docs/specs/tanstack-charts/roadmap.md @@ -12,9 +12,9 @@ PR 1 = S1–S6 (foundation + the four easy charts). PR 2 = S7 (activity calendar | Done | ID | Size | Step | Blocked by | Notes | |---|---|---|---|---|---| -| [ ] | S1 | M · PR | **Foundation** (creates `integration/charts`): add `@tanstack/charts` 1.5.0 (solid peer); `vendor-chart` bundle test becomes `/node_modules\/(chart\|@tanstack\/charts\|d3-)/` moved ahead of `vendor-tanstack` (first match wins) — verify with a production build that the core + d3 modules land in `vendor-chart`; new `src/styles/tanstack-charts.scss` (host `color` + `--ts-chart-1…4` + `--ts-chart-tooltip-*` from our theme variables) imported in `vendor.scss`; dev-only parity flag (dev state module, DevOptionsModal checkbox, `__mt` handle, default Chart.js) | none | Nothing user-visible yet: the branch is not merged, and the flag defaults to Chart.js. On the branch, the TanStack core (~43–50 kB gzip) ships beside Chart.js until S12 | +| [x] | S1 | M · PR | **Foundation** (creates `integration/charts`): add `@tanstack/charts` 1.5.0 (solid peer); `vendor-chart` bundle test becomes `/node_modules\/(chart\|@tanstack\/charts\|d3-)/` moved ahead of `vendor-tanstack` (first match wins) — verify with a production build that the core + d3 modules land in `vendor-chart`; new `src/styles/tanstack-charts.scss` (host `color` + `--ts-chart-1…4` + `--ts-chart-tooltip-*` from our theme variables) imported in `vendor.scss`; dev-only parity flag (dev state module, DevOptionsModal button, `__mt` handle, default Chart.js) | none | Done in [#8623](https://github.com/monkeytypegame/monkeytype/pull/8623): dep, bundle group, tokens, parity flag (button shows the active renderer). Measured: core + solid adapter +41.2 kB gzip in `vendor-chart` (spec estimated 43–50); placement verified with a temporary probe import, since S1 imports the package nowhere — the core ships in the production build from S3 (first chart) until S12. After the first chart lands, `vendor-chart` measures 416.50 kB raw / 137.96 kB gzip (+52.7 kB gzip vs the 265.50/85.30 baseline — within the 150 kB-class budget) | | [ ] | S2 | S · commit in PR 1 | **Cross mark**: small shared error-marker mark (rotated cross of constant-pixel arms) via `createMark`/`compositeMark` beside the built-in `dot`, with the existing "zero value → invisible" radius behaviour; falls back to plain `dot` if the composition proves fiddly | S1 | Used by S6 and S9. No `chart.js` `pointStyle: "crossRot"` equivalent exists in the library, hence the custom mark (spec, settled 4) | -| [ ] | S3 | S · PR (in PR 1) | **About page speed histogram** on TanStack Charts: `barY` over the existing label/value rows, `scalePoint`/`scaleBand` x, linear y; axes/ticks/tooltip via the grammar; `minBarLength` has no equivalent (recorded deviation) | S1 | `--ts-chart-1` palette + scss chrome; parity check on the about page | +| [x] | S3 | S · PR (in PR 1) | **About page speed histogram** on TanStack Charts: `barY` over the existing label/value rows, `scalePoint`/`scaleBand` x, linear y; axes/ticks/tooltip via the grammar; `minBarLength` has no equivalent (recorded deviation) | S1 | Done in [#8623](https://github.com/monkeytypegame/monkeytype/pull/8623): `SpeedHistogram` dual-renderer component with a pure `buildSpeedHistogramDefinition` (band x, zero-based nice linear y, group-x focus + tooltip) asserted via `createChartScene` in `__tests__/components/pages/SpeedHistogram.spec.tsx`. Browser parity verified on the about page, both renderers: the TanStack host follows the container width (no width; fixed 192 px height + `initialWidth` first frame per the responsive guide), labels thin collision-aware (13→5 at ~296 px, ends kept) like Chart.js's auto-rotation, theme change + tooltip OK. Zero buckets render empty (accepted `minBarLength` deviation). S4–S12 follow the same responsive host pattern | | [ ] | S4 | S · PR (in PR 1) | **Account histogram** on TanStack Charts: `barY` over the existing buckets, same two axes; tooltip `group-x` index mode as today | S1 | | | [ ] | S5 | M · PR (in PR 1) | **Daily activity chart** on TanStack Charts: `barY` (minutes, `count` axis) + `lineY` (avg speed, named right axis) + `linearRegressionY` dotted trendline (replaces `chartjs-plugin-trendline`); `scaleUtc` x with `Intl` day ticks ("d MMM"); tooltip `format`/`renderTooltipBody` reproducing the six-line content; `chartjs-adapter-date-fns` no longer needed by this chart | S1 | The trendline plugin and date adapter lose their last real users here (the Chart.js halves keep them until S12) | | [ ] | S6 | S · PR (in PR 1) | **Mini result chart** (modal) on TanStack Charts: wpm/burst `lineY` + error cross mark (S2) on a named right axis; `beginAtZero` + unit follow the existing config signals | S1, S2 | Modal-sized (240 px); tooltip `group-x` as today | diff --git a/frontend/__tests__/components/pages/SpeedHistogram.spec.tsx b/frontend/__tests__/components/pages/SpeedHistogram.spec.tsx new file mode 100644 index 000000000000..4e3b3600fbb7 --- /dev/null +++ b/frontend/__tests__/components/pages/SpeedHistogram.spec.tsx @@ -0,0 +1,147 @@ +import { render } from "@solidjs/testing-library"; +import { createChartScene } from "@tanstack/charts/scene"; +import { afterEach, describe, expect, it, vi } from "vitest"; + +// jsdom has no font metrics: a deterministic stub keeps the scene layout stable +vi.mock("@tanstack/charts/scene", async (importOriginal) => { + const actual = + await importOriginal(); + return { + ...actual, + createChartScene: ( + definition: unknown, + size: { width: number; height: number }, + ) => + actual.createChartScene(definition as never, size, { + measureText: (text: string) => ({ + x: 0, + y: 0, + width: text.length * 6, + height: 10, + }), + }), + }; +}); +// no canvas in jsdom - the chart halves render test markers +vi.mock("../../../src/ts/components/common/ChartJs", () => ({ + ChartJs: () =>
, +})); +vi.mock("@tanstack/charts/solid", () => ({ + Chart: (props: { ariaLabel?: string }) => ( +
+ ), +})); + +import { + buildSpeedHistogramDefinition, + SpeedHistogram, + type SpeedHistogramData, +} from "../../../src/ts/components/pages/SpeedHistogram"; +import { Theme } from "../../../src/ts/constants/themes"; +import { + getUseTanstackCharts, + setUseTanstackCharts, +} from "../../../src/ts/dev/chart-parity"; + +const theme = (): Theme => + ({ + name: "default", + bg: "#111111", + main: "#222222", + caret: "#333333", + sub: "#444444", + subAlt: "#555555", + text: "#666666", + error: "#777777", + errorExtra: "#888888", + colorfulError: "#777777", + colorfulErrorExtra: "#888888", + }) as Theme; + +const data: SpeedHistogramData = { + labels: ["80 - 89", "90 - 99", "100 - 109", "110 - 119", "120 - 129"], + data: [ + { x: 80, y: 4, topPercentage: "top 99.50%" }, + { x: 90, y: 12, topPercentage: "top 97.00%" }, + { x: 100, y: 148, topPercentage: "top 85.00%" }, + { x: 110, y: 1 }, + { x: 120, y: 0 }, + ], +}; + +const rows = data.data.map((it, i) => ({ + label: data.labels[i] ?? `${it.x} - ${it.x + 9}`, + count: it.y, + topPercentage: it.topPercentage, +})); + +describe("buildSpeedHistogramDefinition", () => { + it("places every bucket on the x scale and counts on a zero-based y scale", () => { + const definition = buildSpeedHistogramDefinition(rows, theme); + + const scene = createChartScene(definition as never, { + width: 800, + height: 200, + }); + + expect(scene.scales["x"]?.domain).toEqual([ + "80 - 89", + "90 - 99", + "100 - 109", + "110 - 119", + "120 - 129", + ]); + const yDomain = scene.scales["y"]?.domain as [number, number] | undefined; + expect(yDomain?.[0]).toBe(0); + expect(yDomain?.[1]).toBe(150); + }); + + it("keeps one bar per row; tiny buckets get a 2px minimum, zero stays zero", () => { + const definition = buildSpeedHistogramDefinition(rows, theme); + + const scene = createChartScene(definition as never, { + width: 800, + height: 200, + }); + + // the tiny bucket is clamped to chart.js's minBarLength: 2 (in count space); + // the zero bucket stays zero (accepted deviation: no minBarLength) + expect(scene.points.map((point) => point.yValue)).toEqual([ + 4, + 12, + 148, + (2 / 92) * 148, + 0, + ]); + expect(scene.points[0]?.xValue).toBe("80 - 89"); + expect(scene.points[0]?.color).toBe("#222222"); + }); +}); + +describe("SpeedHistogram", () => { + afterEach(() => { + setUseTanstackCharts(false); + }); + + it("renders the Chart.js half by default", () => { + const { getByTestId, queryByTestId } = render(() => ( + + )); + + expect(getUseTanstackCharts()).toBe(false); + expect(getByTestId("chartjs")).not.toBeNull(); + expect(queryByTestId("tanstack-chart")).toBeNull(); + }); + + it("renders the TanStack half when the parity flag is on", () => { + setUseTanstackCharts(true); + + const { getByTestId, queryByTestId } = render(() => ( + + )); + + expect(getUseTanstackCharts()).toBe(true); + expect(getByTestId("tanstack-chart")).not.toBeNull(); + expect(queryByTestId("chartjs")).toBeNull(); + }); +}); diff --git a/frontend/package.json b/frontend/package.json index f849d4bae4cd..4644ea4bc7cd 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -37,6 +37,7 @@ "@solid-primitives/refs": "1.1.3", "@solid-primitives/transition-group": "1.1.2", "@solidjs/meta": "0.29.4", + "@tanstack/charts": "1.5.0", "@tanstack/pacer-lite": "0.3.0", "@tanstack/query-db-collection": "1.4.8", "@tanstack/solid-db": "0.3.12", diff --git a/frontend/src/styles/tanstack-charts.scss b/frontend/src/styles/tanstack-charts.scss new file mode 100644 index 000000000000..2c475b3f7a64 --- /dev/null +++ b/frontend/src/styles/tanstack-charts.scss @@ -0,0 +1,58 @@ +// TanStack Charts theme tokens (docs/specs/tanstack-charts): the library +// reads these off its chart host element (.ts-chart-host), so a theme change +// repaints the charts without touching chart definitions. +.ts-chart-host { + // foreground for ticks, labels, titles and default grid lines + color: var(--sub-color); + + // default categorical palette for marks without an explicit paint + --ts-chart-1: var(--main-color); + --ts-chart-2: var(--sub-color); + --ts-chart-4: var(--sub-alt-color); + --ts-chart-3: var(--error-color); + + // DOM tooltip chrome: the old Chart.js tooltip was a fixed dark bubble in + // every theme (the values below are its defaults), so parity means fixed + // values here, not theme variables + --ts-chart-tooltip-background: rgba(0, 0, 0, 0.8); + --ts-chart-tooltip-color: #fff; + --ts-chart-tooltip-border: 1px solid rgba(0, 0, 0, 0); + --ts-chart-tooltip-border-radius: 6px; + --ts-chart-tooltip-padding: 6px; + --ts-chart-tooltip-shadow: none; + --ts-chart-tooltip-font: 400 12px / 1.3 var(--font); + --ts-chart-tooltip-max-width: 200px; + + // the library gives the chart's tabindex 0 (for keyboard focus), and + // Chrome paints the UA focus ring on mouse click even though :focus-visible + // does not match; the old Chart.js canvas wasn't focusable, so suppress the + // ring for pointer focus. The keyboard ring stays (:focus-visible). + svg:focus:not(:focus-visible) { + outline: none; + } + + // chart.js parity: the library defaults its axis labels to 11px / weight 600 + // at 0.76 opacity and its tick labels to 11px at 0.68 opacity, while the + // chart.js half renders scale titles and ticks at 12px / weight 400 / full + // opacity (its font defaults; the wrapper only overrides the family). These + // emit as SVG presentation attributes, which a stylesheet rule beats, so the + // host pins the chart.js metrics for every chart. The family inherits from + // the body (the site font) via the library's `inherit`, like chart.js. + svg text { + font-size: 12px; + font-weight: 400; + fill-opacity: 1; + } + + // chart.js parity for the scale chrome: the library paints grid lines at + // 0.11 opacity and axis/tick lines at 0.28, while chart.js paints them at + // full opacity. These emit stroke-opacity as SVG presentation attributes, + // which a stylesheet rule beats, so the host pins it for every chart. + // Scoped to the grid/axis groups so chart marks (rules, areas, …) keep + // their own paint and opacity; stroke colors stay with each chart's scale + // options. + .ts-chart__grid line, + .ts-chart__axes line { + stroke-opacity: 1; + } +} diff --git a/frontend/src/styles/vendor.scss b/frontend/src/styles/vendor.scss index d3845c1879d7..1bbb638a0c13 100644 --- a/frontend/src/styles/vendor.scss +++ b/frontend/src/styles/vendor.scss @@ -3,4 +3,5 @@ @import "fontawesome-5"; @import "slim-select/styles"; @import "balloon-css/src/balloon"; + @import "tanstack-charts"; } diff --git a/frontend/src/ts/components/modals/DevOptionsModal.tsx b/frontend/src/ts/components/modals/DevOptionsModal.tsx index a5236c3bc374..0a1a8a2de886 100644 --- a/frontend/src/ts/components/modals/DevOptionsModal.tsx +++ b/frontend/src/ts/components/modals/DevOptionsModal.tsx @@ -4,6 +4,10 @@ import { z } from "zod"; import Ape from "../../ape"; import { refetchInboxCollection } from "../../collections/inbox"; +import { + getUseTanstackCharts, + setUseTanstackCharts, +} from "../../dev/chart-parity"; import { cycleUserDataLoadFail, getForcedUserDataLoadFail, @@ -147,6 +151,12 @@ export function DevOptionsModal(): JSXElement { showModal("DevInboxPicker"); }, }, + { + icon: "fa-chart-area", + label: () => + `Chart Renderer (${getUseTanstackCharts() ? "TanStack Charts" : "Chart.js"})`, + onClick: () => setUseTanstackCharts(!getUseTanstackCharts()), + }, { icon: "fa-chart-bar", label: () => "Toggle Fake Chart Data", diff --git a/frontend/src/ts/components/pages/AboutPage.tsx b/frontend/src/ts/components/pages/AboutPage.tsx index 1f791adefb4e..86971f3c9cea 100644 --- a/frontend/src/ts/components/pages/AboutPage.tsx +++ b/frontend/src/ts/components/pages/AboutPage.tsx @@ -8,15 +8,14 @@ import { getTypingStatsQueryOptions, } from "../../queries/public"; import { showModal } from "../../states/modals"; -import { getTheme } from "../../theme/state"; import { getNumberWithMagnitude } from "../../utils/numbers"; import { Advertisement } from "../common/Advertisement"; import AsyncContent from "../common/AsyncContent"; import { Button } from "../common/Button"; -import { ChartJs } from "../common/ChartJs"; import { H2, H3 } from "../common/Headers"; import { CommandlineHotkey } from "../core/hotkeys/CommandlineHotkey"; import { QuickRestartHotkey } from "../core/hotkeys/QuickRestartHotkey"; +import { SpeedHistogram } from "./SpeedHistogram"; export function AboutPage(): JSXElement { const contributors = useQuery(() => getContributorsQueryOptions()); @@ -88,76 +87,7 @@ export function AboutPage(): JSXElement { > {({ speedHistogramData }) => ( <> - { - return ( - (context.raw as { topPercentage?: string }) - .topPercentage ?? "" - ); - }, - }, - }, - }, - }} - /> +
distribution of time 60 leaderboard results (wpm)
{numberOfHistogramRecords(speedHistogramData()?.data)} total diff --git a/frontend/src/ts/components/pages/SpeedHistogram.tsx b/frontend/src/ts/components/pages/SpeedHistogram.tsx new file mode 100644 index 000000000000..e2736f23190e --- /dev/null +++ b/frontend/src/ts/components/pages/SpeedHistogram.tsx @@ -0,0 +1,213 @@ +import { barY, type ChartTooltipRow, defineChart } from "@tanstack/charts"; +import { scaleBand } from "@tanstack/charts/scales/band"; +import { scaleLinear } from "@tanstack/charts/scales/linear"; +import { Chart } from "@tanstack/charts/solid"; +import { tooltip } from "@tanstack/charts/tooltip"; +import { createMemo, JSXElement, Show } from "solid-js"; + +import { Theme } from "../../constants/themes"; +import { getUseTanstackCharts } from "../../dev/chart-parity"; +import { getTheme } from "../../theme/state"; +import { ChartJs } from "../common/ChartJs"; + +export type SpeedHistogramData = { + labels: string[]; + data: { x: number; y: number; topPercentage?: string }[]; +}; + +type SpeedHistogramRow = { + label: string; + count: number; + topPercentage?: string; +}; + +/** + * The about page speed histogram: leaderboard users per 10 wpm bucket. + * Renders the Chart.js half by default; the dev-only parity flag + * (dev/chart-parity) switches to the TanStack implementation. + */ +export function SpeedHistogram(props: { + data: SpeedHistogramData | undefined; +}): JSXElement { + const rows = createMemo(() => + (props.data?.data ?? []).map((it, i) => ({ + label: props.data?.labels[i] ?? `${it.x} - ${it.x + 9}`, + count: it.y, + topPercentage: it.topPercentage, + })), + ); + + const definition = createMemo(() => + buildSpeedHistogramDefinition(rows(), getTheme), + ); + + return ( + { + return ( + (context.raw as { topPercentage?: string }) + .topPercentage ?? "" + ); + }, + }, + }, + }, + }} + /> + } + > + + + ); +} + +/** + * The TanStack definition of the speed histogram: one bar per bucket over a + * band x scale and a zero-based linear y scale; a group-x tooltip keeps the + * bucket label, the user count and the cumulative top percentage. + * Pure: asserted in __tests__/components/pages/SpeedHistogram.spec.tsx. + */ +export function buildSpeedHistogramDefinition( + rows: SpeedHistogramRow[], + theme: () => Theme, +) { + const counts = rows.map((it) => it.count); + const max = Math.max(1, ...counts); + // chart.js minBarLength: 2 kept the tiny tail buckets visible; the library + // has no minimum bar size, so clamp in count space. Calibrated against the + // ~120 px painted plot (192 px section minus the rotated-label margin): the + // nice'd domain max sits above the raw max, so the divisor is smaller than + // the plot height to land at 2 px. Zero buckets stay zero (accepted + // deviation: chart.js painted them at 2 px). The tooltip reads datum.count, + // unclamped. + const minVisibleCount = (2 / 92) * max; + + return defineChart({ + marks: [ + barY(rows, { + x: "label", + y: (it) => Math.max(it.count, it.count === 0 ? 0 : minVisibleCount), + fill: theme().main, + }), + ], + scales: { + x: { + scale: () => + scaleBand() + .domain(rows.map((it) => it.label)) + .padding(0.28), + grid: { stroke: theme().subAlt }, + axis: { tickLabels: { rotate: -45 } }, + }, + y: { + scale: () => scaleLinear(), + nice: true, + grid: { stroke: theme().subAlt }, + axis: { + label: "Users", + line: { stroke: theme().subAlt }, + }, + }, + }, + tooltip: { + use: tooltip, + // the old tooltip animated 250 ms between bars + motion: { type: "tween", duration: 250, easing: "ease-out" }, + // the old tooltip: bucket title, a user-count row, and the cumulative + // top percentage when the bucket has one + content: (points) => { + const point = points[0]; + if (!point) return { rows: [] }; + // the y channel is clamped for the minimum bar size; the true count + // lives on the datum + // Chart.js painted "Users: 7" as one left-aligned line; the built-in + // row is a swatch | label | value grid, so the whole line goes in the label + const tooltipRows: ChartTooltipRow[] = [ + { + label: `Users: ${point.datum.count}`, + value: "", + color: point.color, + }, + ]; + if (point.datum.topPercentage !== undefined) { + tooltipRows.push({ label: point.datum.topPercentage, value: "" }); + } + return { + title: point.datum.label, + rows: tooltipRows, + }; + }, + }, + }); +} diff --git a/frontend/src/ts/dev/chart-parity.ts b/frontend/src/ts/dev/chart-parity.ts new file mode 100644 index 000000000000..3d561d7b73cc --- /dev/null +++ b/frontend/src/ts/dev/chart-parity.ts @@ -0,0 +1,33 @@ +import { createSignal } from "solid-js"; +import { z } from "zod"; + +import { isDevEnvironment } from "../utils/env"; +import { LocalStorageWithSchema } from "../utils/local-storage-with-schema"; + +// kept across reloads: comparing the two renderers spans page loads +const useTanstackChartsLS = new LocalStorageWithSchema({ + key: "devUseTanstackCharts", + schema: z.boolean(), + fallback: false, +}); + +const [get, set] = createSignal( + isDevEnvironment() ? useTanstackChartsLS.get() : false, +); + +/** + * Dev-only chart renderer parity flag: whether charts render with the new + * TanStack implementation rather than Chart.js. False (Chart.js) by default, + * so an unverified chart on the integration branch behaves as on master; + * always false in production builds. + */ +export function getUseTanstackCharts(): boolean { + return get(); +} + +/** Dev only: sets the parity flag, persisted across reloads. */ +export function setUseTanstackCharts(value: boolean): void { + if (!isDevEnvironment()) return; + useTanstackChartsLS.set(value); + set(value); +} diff --git a/frontend/src/ts/dev/expose.ts b/frontend/src/ts/dev/expose.ts index 098bddf8cf54..d5e18b68a522 100644 --- a/frontend/src/ts/dev/expose.ts +++ b/frontend/src/ts/dev/expose.ts @@ -13,6 +13,7 @@ import * as CustomText from "../test/custom-text"; import { getCurrentInput } from "../test/engine/events/data"; import { restartTest } from "../test/test-logic"; import { quickLogin, signOut, whenUserDataLoaded } from "./auth"; +import { getUseTanstackCharts, setUseTanstackCharts } from "./chart-parity"; import { trackedSignals } from "./signal-tracker"; import { compose, typeText } from "./typing-driver"; @@ -308,6 +309,14 @@ const mt = { * after 10s. No-op without a session. */ signOut, + /** + * Dev-only chart renderer parity flag: whether charts render with the new + * TanStack implementation rather than Chart.js (default false). Persists + * across reloads, and is always false in production builds. + */ + getUseTanstackCharts, + /** Sets the chart renderer parity flag; dev only, persists across reloads. */ + setUseTanstackCharts, /** * Modules hot-updated since the page loaded. Not empty: the page may hold * stale module state, reload before measuring. diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index e80170a5ffaf..bac89107bb5b 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -252,6 +252,14 @@ function getBuildOptions({ name: "vendor-firebase", test: /node_modules\/@firebase\//, }, + { + // ahead of vendor-tanstack (first match wins): the chart + // library's own @tanstack/charts package + its d3 deps stay in + // the chart chunk alongside the legacy Chart.js packages until + // the removal step (docs/specs/tanstack-charts, S12) + name: "vendor-chart", + test: /node_modules\/(chart|@tanstack\/charts|d3-)/, + }, { name: "vendor-tanstack", test: /node_modules\/@tanstack\//, @@ -260,10 +268,6 @@ function getBuildOptions({ name: "monkeytype-packages", test: /monkeytype\/packages\//, }, - { - name: "vendor-chart", - test: /node_modules\/chart/, - }, { name: "monkeytype-utils", test: /src\/ts\/utils\//, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4922129ab348..f15a9da5907e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -321,6 +321,9 @@ importers: '@solidjs/meta': specifier: 0.29.4 version: 0.29.4(solid-js@1.9.13) + '@tanstack/charts': + specifier: 1.5.0 + version: 1.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(solid-js@1.9.13) '@tanstack/pacer-lite': specifier: 0.3.0 version: 0.3.0 @@ -677,7 +680,7 @@ importers: version: 7.0.2 vitest: specifier: 4.1.0 - version: 4.1.0(@opentelemetry/api@1.9.1)(@types/node@24.9.1)(happy-dom@20.8.9)(jsdom@27.4.0(supports-color@10.2.2))(vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.25.0)(jiti@2.7.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3)) + version: 4.1.0(@opentelemetry/api@1.9.1)(@types/node@24.9.1)(happy-dom@20.8.9)(jsdom@27.4.0(supports-color@10.2.2))(vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.27.7)(jiti@2.7.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3)) packages/contracts: dependencies: @@ -4598,6 +4601,50 @@ packages: peerDependencies: vite: ^5.2.0 || ^6 || ^7 || ^8 + '@tanstack/charts@1.5.0': + resolution: {integrity: sha512-V6zu8kuTE4lYjZ7MCdSzfI5cwdtj+FKQ4Pr5NwdK+OZ5D4fjegSE7CdVOmk960U8zmgYFabow4hi1wwfqJzUBQ==} + peerDependencies: + '@angular/core': '>=19' + '@angular/platform-browser': '>=19' + alpinejs: '>=3.15' + lit: '>=3.1.3' + octane: ^0.1.13 + preact: '>=10' + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + react-native: ^0.86.0 || ^0.88.0 + react-native-svg: '>=15.15.4 <16' + solid-js: ^1.8 + svelte: ^5.20.0 + vue: '>=3.5' + peerDependenciesMeta: + '@angular/core': + optional: true + '@angular/platform-browser': + optional: true + alpinejs: + optional: true + lit: + optional: true + octane: + optional: true + preact: + optional: true + react: + optional: true + react-dom: + optional: true + react-native: + optional: true + react-native-svg: + optional: true + solid-js: + optional: true + svelte: + optional: true + vue: + optional: true + '@tanstack/db-ivm@0.2.0': resolution: {integrity: sha512-AuMuGzVdWR5qzJPRYajmrUp95vMo0duvMZ0zBjMOvaI9rkh2GHZWCsJ/p7s81UN4Lep6HHJjahnYUF+XVL0+AQ==} peerDependencies: @@ -4951,6 +4998,30 @@ packages: '@types/cron@1.7.3': resolution: {integrity: sha512-iPmUXyIJG1Js+ldPYhOQcYU3kCAQ2FWrSkm1FJPoii2eYSn6wEW6onPukNTT0bfiflexNSRPl6KWmAIqS+36YA==} + '@types/d3-force@3.0.10': + resolution: {integrity: sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==} + + '@types/d3-geo@3.1.1': + resolution: {integrity: sha512-65Emv9fQiQQqphLlRkuQ5ypPsOmWPhtBGCMv61JDPEPMvsx+gzhGf74yw1a78xFKPj6zw4AgQICJoQv0vK9M2w==} + + '@types/d3-hierarchy@3.1.7': + resolution: {integrity: sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==} + + '@types/d3-path@1.0.11': + resolution: {integrity: sha512-4pQMp8ldf7UaB/gR8Fvvy69psNHkTpD/pVw3vmEi8iZAB9EPMBruB1JvHO4BIq9QkUUd2lV1F5YXpMNj7JPBpw==} + + '@types/d3-path@3.1.1': + resolution: {integrity: sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==} + + '@types/d3-sankey@0.12.5': + resolution: {integrity: sha512-/3RZSew0cLAtzGQ+C89hq/Rp3H20QJuVRSqFy6RKLe7E0B8kd2iOS1oBsodrgds4PcNVpqWhdUEng/SHvBcJ6Q==} + + '@types/d3-shape@1.3.12': + resolution: {integrity: sha512-8oMzcd4+poSLGgV0R1Q1rOlx/xdmozS4Xab7np0eamFFUYq71AU9pOCJEFnkXW2aI/oXdVYJzw6pssbSut7Z9Q==} + + '@types/d3-shape@3.2.0': + resolution: {integrity: sha512-kVd74ta9eof3eJOvbNd1vGKS/XERRyQbT26Og63hIsvDO84cjD5gEOhsXf26w3FSoNlPVz84DOFcKv/oou+fMw==} + '@types/damerau-levenshtein@1.0.2': resolution: {integrity: sha512-2IcR1RKFITuOO24yzurWAS3/2Lo7ptVDTCL+YkCa4Ir1ZjjEfqsJa3nRMhqf4hb+4AkE5nd6cRzqp9qpVvWSfw==} @@ -4984,6 +5055,9 @@ packages: '@types/express@5.0.3': resolution: {integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==} + '@types/geojson@7946.0.16': + resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==} + '@types/howler@2.2.7': resolution: {integrity: sha512-PEZldwZqJJw1PWRTpupyC7ajVTZA8aHd8nB/Y0n6zRZi5u8ktYDntsHj13ltEiBRqWwF06pASxBEvCTxniG8eA==} @@ -6591,6 +6665,115 @@ packages: csv-parse@5.5.6: resolution: {integrity: sha512-uNpm30m/AGSkLxxy7d9yRXpJQFrZzVWLFBkS+6ngPcZkw/5k3L/jjFuj7tVnEpRn+QgmiXr21nDlhCiUK4ij2A==} + d3-array@2.12.1: + resolution: {integrity: sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==} + + d3-array@3.2.4: + resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==} + engines: {node: '>=12'} + + d3-brush@3.0.0: + resolution: {integrity: sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==} + engines: {node: '>=12'} + + d3-color@3.1.1: + resolution: {integrity: sha512-lfab8x0Bj0UO7SNsY8dZSbNIA6ipbkE3X0NG9nqjCu6CfCHZseuDnOSJY7hidKrjpP++i1M2qT+FlAdPKYRilA==} + engines: {node: '>=12'} + + d3-contour@4.0.2: + resolution: {integrity: sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==} + engines: {node: '>=12'} + + d3-delaunay@6.0.4: + resolution: {integrity: sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==} + engines: {node: '>=12'} + + d3-dispatch@3.0.2: + resolution: {integrity: sha512-sAzH4Y4nsLo8eSqw5jKiZt+LU2wZmL/qS+OkxQGjhwazB/D7TY34R/QK1eshfGr7cZEKymKZ/Haem7m+lu98Sg==} + engines: {node: '>=12'} + + d3-drag@3.0.1: + resolution: {integrity: sha512-OWeoayCq8J69hUIjvL+Mb6Q6Oaj/fyHV5XaXByEUAG+JUjIfTGDnk3qGpcXrD3VmQ3BSV96fcbM6fqq7C0tbPA==} + engines: {node: '>=12'} + + d3-ease@3.0.2: + resolution: {integrity: sha512-B5znKqRmKROAN4oHWQ50W/qisVjA9GXh2WMsVKdFVp4DxWmcrOsweqgUOUVsv5th96kwaZlokU6SlV4J3gak1w==} + engines: {node: '>=12'} + + d3-force@3.0.0: + resolution: {integrity: sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==} + engines: {node: '>=12'} + + d3-format@3.1.3: + resolution: {integrity: sha512-+F+/49swqmGuQJmSKnVMIDH/QkEFV5li9QRj0xm/KhyAUBv099O5PrvpQFxBp24PYph17Mnvt9mjKQV0ii0nMA==} + engines: {node: '>=12'} + + d3-geo@3.1.1: + resolution: {integrity: sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==} + engines: {node: '>=12'} + + d3-hexbin@0.2.2: + resolution: {integrity: sha512-KS3fUT2ReD4RlGCjvCEm1RgMtp2NFZumdMu4DBzQK8AZv3fXRM6Xm8I4fSU07UXvH4xxg03NwWKWdvxfS/yc4w==} + + d3-hierarchy@3.1.2: + resolution: {integrity: sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==} + engines: {node: '>=12'} + + d3-interpolate@3.0.2: + resolution: {integrity: sha512-IRzGU62DtxhvsnSTWMQIdnoZ6gA+BCWwBon1EJI6SjoN595799b6z/QRBzXfFhE8iupUPp3042yBNo0STPqnzQ==} + engines: {node: '>=12'} + + d3-path@1.0.9: + resolution: {integrity: sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==} + + d3-path@3.1.1: + resolution: {integrity: sha512-jsbgV8zIT38ReB9O7X7gcLndTQRONSqNNd+oGIaTBdUug4r5jFmp0N6RY9R5GWbdUDucn0qoTGyfjapT4tDhcg==} + engines: {node: '>=12'} + + d3-quadtree@3.0.2: + resolution: {integrity: sha512-9Lu9mqJKRbIk0d6mKDjpvPURaPdwHVK5CYbcdd0/4vBgz4ldz/7TIOse3kNERsByGNfld58KEco507AztJWyTQ==} + engines: {node: '>=12'} + + d3-sankey@0.12.3: + resolution: {integrity: sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==} + + d3-scale@4.0.2: + resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==} + engines: {node: '>=12'} + + d3-selection@3.0.0: + resolution: {integrity: sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==} + engines: {node: '>=12'} + + d3-shape@1.3.7: + resolution: {integrity: sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==} + + d3-shape@3.2.0: + resolution: {integrity: sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==} + engines: {node: '>=12'} + + d3-time-format@4.1.1: + resolution: {integrity: sha512-22XaqjyCjpqgda20erhsOjGmC3vvYwTNYniKAd45W5UWLDF43moeOuV9qYpRqobIlsnK0UhnKZjUUJm3VgORUA==} + engines: {node: '>=12'} + + d3-time@3.1.1: + resolution: {integrity: sha512-Ze7rjrhMzdeulh0/hjcfFj7XLAHOfowtEMfsoG6DU866HPynQNW7Wfen6hzXcqKTv8XzxvF6Hzr5XD6bMHr2ug==} + engines: {node: '>=12'} + + d3-timer@3.0.2: + resolution: {integrity: sha512-1Il1aliroVSErrv5aulRBxAY+7+DnaoLIWGd1C6SsBTWDeobWiP/V69vwb8vT6abR1kKwaNe1196pmaQ1fK90A==} + engines: {node: '>=12'} + + d3-transition@3.0.2: + resolution: {integrity: sha512-RcjCsdFgyFoDB+QXLC5m60ZkTN0k9zH+ovoLlTdJnDS1AbfbcuowiM4pCKSTOclNibS4f4J4cbv2m7O7y8NTOQ==} + engines: {node: '>=12'} + peerDependencies: + d3-selection: 2 - 3 + + d3-zoom@3.0.0: + resolution: {integrity: sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==} + engines: {node: '>=12'} + damerau-levenshtein@1.0.8: resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} @@ -6734,6 +6917,9 @@ packages: resolution: {integrity: sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==} engines: {node: '>= 14'} + delaunator@5.1.0: + resolution: {integrity: sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==} + delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -8009,6 +8195,13 @@ packages: resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==} engines: {node: '>= 0.4'} + internmap@1.0.1: + resolution: {integrity: sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==} + + internmap@2.0.3: + resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==} + engines: {node: '>=12'} + ioredis@4.28.5: resolution: {integrity: sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==} engines: {node: '>=6'} @@ -10391,6 +10584,9 @@ packages: engines: {node: 14 >=14.20 || 16 >=16.20 || >=18} hasBin: true + robust-predicates@3.0.3: + resolution: {integrity: sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==} + rolldown@1.0.0-rc.12: resolution: {integrity: sha512-yP4USLIMYrwpPHEFB5JGH1uxhcslv6/hL0OyvTuY+3qlOSJvZ7ntYnoWpehBxufkgN0cvXxppuTu5hHa/zPh+A==} engines: {node: ^20.19.0 || >=22.12.0} @@ -13789,7 +13985,7 @@ snapshots: '@firebase/database-types': 1.0.4 '@firebase/logger': 0.4.2 '@firebase/util': 1.9.7 - tslib: 2.6.3 + tslib: 2.8.1 '@firebase/database-compat@2.1.4': dependencies: @@ -16019,6 +16215,32 @@ snapshots: tailwindcss: 4.3.2 vite: 8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.27.7)(jiti@2.7.0)(sass@1.70.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3) + '@tanstack/charts@1.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(solid-js@1.9.13)': + dependencies: + '@types/d3-force': 3.0.10 + '@types/d3-geo': 3.1.1 + '@types/d3-hierarchy': 3.1.7 + '@types/d3-sankey': 0.12.5 + '@types/d3-shape': 3.2.0 + d3-array: 3.2.4 + d3-brush: 3.0.0 + d3-contour: 4.0.2 + d3-delaunay: 6.0.4 + d3-force: 3.0.0 + d3-geo: 3.1.1 + d3-hexbin: 0.2.2 + d3-hierarchy: 3.1.2 + d3-sankey: 0.12.3 + d3-scale: 4.0.2 + d3-selection: 3.0.0 + d3-shape: 3.2.0 + d3-zoom: 3.0.0 + tslib: 2.8.1 + optionalDependencies: + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + solid-js: 1.9.13 + '@tanstack/db-ivm@0.2.0(typescript@7.0.2)': dependencies: fractional-indexing: 3.2.0 @@ -16425,6 +16647,30 @@ snapshots: '@types/node': 24.9.1 moment: 2.30.1 + '@types/d3-force@3.0.10': {} + + '@types/d3-geo@3.1.1': + dependencies: + '@types/geojson': 7946.0.16 + + '@types/d3-hierarchy@3.1.7': {} + + '@types/d3-path@1.0.11': {} + + '@types/d3-path@3.1.1': {} + + '@types/d3-sankey@0.12.5': + dependencies: + '@types/d3-shape': 1.3.12 + + '@types/d3-shape@1.3.12': + dependencies: + '@types/d3-path': 1.0.11 + + '@types/d3-shape@3.2.0': + dependencies: + '@types/d3-path': 3.1.1 + '@types/damerau-levenshtein@1.0.2': {} '@types/deep-eql@4.0.2': {} @@ -16473,6 +16719,8 @@ snapshots: '@types/express-serve-static-core': 5.0.6 '@types/serve-static': 1.15.7 + '@types/geojson@7946.0.16': {} + '@types/howler@2.2.7': {} '@types/html-minifier-terser@7.0.2': {} @@ -16951,14 +17199,6 @@ snapshots: optionalDependencies: vite: 7.3.2(@types/node@24.9.1)(jiti@2.7.0)(lightningcss@1.32.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3) - '@vitest/mocker@4.1.0(vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.25.0)(jiti@2.7.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3))': - dependencies: - '@vitest/spy': 4.1.0 - estree-walker: 3.0.3 - magic-string: 0.30.21 - optionalDependencies: - vite: 8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.25.0)(jiti@2.7.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3) - '@vitest/mocker@4.1.0(vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.27.7)(jiti@2.7.0)(sass@1.70.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3))': dependencies: '@vitest/spy': 4.1.0 @@ -18270,6 +18510,117 @@ snapshots: csv-parse@5.5.6: {} + d3-array@2.12.1: + dependencies: + internmap: 1.0.1 + + d3-array@3.2.4: + dependencies: + internmap: 2.0.3 + + d3-brush@3.0.0: + dependencies: + d3-dispatch: 3.0.2 + d3-drag: 3.0.1 + d3-interpolate: 3.0.2 + d3-selection: 3.0.0 + d3-transition: 3.0.2(d3-selection@3.0.0) + + d3-color@3.1.1: {} + + d3-contour@4.0.2: + dependencies: + d3-array: 3.2.4 + + d3-delaunay@6.0.4: + dependencies: + delaunator: 5.1.0 + + d3-dispatch@3.0.2: {} + + d3-drag@3.0.1: + dependencies: + d3-dispatch: 3.0.2 + d3-selection: 3.0.0 + + d3-ease@3.0.2: {} + + d3-force@3.0.0: + dependencies: + d3-dispatch: 3.0.2 + d3-quadtree: 3.0.2 + d3-timer: 3.0.2 + + d3-format@3.1.3: {} + + d3-geo@3.1.1: + dependencies: + d3-array: 3.2.4 + + d3-hexbin@0.2.2: {} + + d3-hierarchy@3.1.2: {} + + d3-interpolate@3.0.2: + dependencies: + d3-color: 3.1.1 + + d3-path@1.0.9: {} + + d3-path@3.1.1: {} + + d3-quadtree@3.0.2: {} + + d3-sankey@0.12.3: + dependencies: + d3-array: 2.12.1 + d3-shape: 1.3.7 + + d3-scale@4.0.2: + dependencies: + d3-array: 3.2.4 + d3-format: 3.1.3 + d3-interpolate: 3.0.2 + d3-time: 3.1.1 + d3-time-format: 4.1.1 + + d3-selection@3.0.0: {} + + d3-shape@1.3.7: + dependencies: + d3-path: 1.0.9 + + d3-shape@3.2.0: + dependencies: + d3-path: 3.1.1 + + d3-time-format@4.1.1: + dependencies: + d3-time: 3.1.1 + + d3-time@3.1.1: + dependencies: + d3-array: 3.2.4 + + d3-timer@3.0.2: {} + + d3-transition@3.0.2(d3-selection@3.0.0): + dependencies: + d3-color: 3.1.1 + d3-dispatch: 3.0.2 + d3-ease: 3.0.2 + d3-interpolate: 3.0.2 + d3-selection: 3.0.0 + d3-timer: 3.0.2 + + d3-zoom@3.0.0: + dependencies: + d3-dispatch: 3.0.2 + d3-drag: 3.0.1 + d3-interpolate: 3.0.2 + d3-selection: 3.0.0 + d3-transition: 3.0.2(d3-selection@3.0.0) + damerau-levenshtein@1.0.8: {} data-uri-to-buffer@6.0.2: {} @@ -18393,6 +18744,10 @@ snapshots: escodegen: 2.1.0 esprima: 4.0.1 + delaunator@5.1.0: + dependencies: + robust-predicates: 3.0.3 + delayed-stream@1.0.0: {} delegates@1.0.0: {} @@ -20146,6 +20501,10 @@ snapshots: hasown: 2.0.4 side-channel: 1.1.1 + internmap@1.0.1: {} + + internmap@2.0.3: {} + ioredis@4.28.5(supports-color@5.5.0): dependencies: cluster-key-slot: 1.1.2 @@ -22772,6 +23131,8 @@ snapshots: dependencies: glob: 10.4.5 + robust-predicates@3.0.3: {} + rolldown@1.0.0-rc.12(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0): dependencies: '@oxc-project/types': 0.122.0 @@ -24523,26 +24884,6 @@ snapshots: tsx: 4.21.0 yaml: 2.8.3 - vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.25.0)(jiti@2.7.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3): - dependencies: - lightningcss: 1.32.0 - picomatch: 4.0.5 - postcss: 8.5.8 - rolldown: 1.0.0-rc.12(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0) - tinyglobby: 0.2.17 - optionalDependencies: - '@types/node': 24.9.1 - esbuild: 0.25.0 - fsevents: 2.3.3 - jiti: 2.7.0 - sass: 1.98.0 - terser: 5.49.1 - tsx: 4.21.0 - yaml: 2.8.3 - transitivePeerDependencies: - - '@emnapi/core' - - '@emnapi/runtime' - vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.27.7)(jiti@2.7.0)(sass@1.70.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3): dependencies: lightningcss: 1.32.0 @@ -24642,36 +24983,6 @@ snapshots: transitivePeerDependencies: - msw - vitest@4.1.0(@opentelemetry/api@1.9.1)(@types/node@24.9.1)(happy-dom@20.8.9)(jsdom@27.4.0(supports-color@10.2.2))(vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.25.0)(jiti@2.7.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3)): - dependencies: - '@vitest/expect': 4.1.0 - '@vitest/mocker': 4.1.0(vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.25.0)(jiti@2.7.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3)) - '@vitest/pretty-format': 4.1.0 - '@vitest/runner': 4.1.0 - '@vitest/snapshot': 4.1.0 - '@vitest/spy': 4.1.0 - '@vitest/utils': 4.1.0 - es-module-lexer: 2.0.0 - expect-type: 1.3.0 - magic-string: 0.30.21 - obug: 2.1.1 - pathe: 2.0.3 - picomatch: 4.0.4 - std-env: 4.1.0 - tinybench: 2.9.0 - tinyexec: 1.1.2 - tinyglobby: 0.2.17 - tinyrainbow: 3.1.0 - vite: 8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.25.0)(jiti@2.7.0)(sass@1.98.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3) - why-is-node-running: 2.3.0 - optionalDependencies: - '@opentelemetry/api': 1.9.1 - '@types/node': 24.9.1 - happy-dom: 20.8.9 - jsdom: 27.4.0(supports-color@10.2.2) - transitivePeerDependencies: - - msw - vitest@4.1.0(@opentelemetry/api@1.9.1)(@types/node@24.9.1)(happy-dom@20.8.9)(jsdom@27.4.0(supports-color@10.2.2))(vite@8.0.5(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)(@types/node@24.9.1)(esbuild@0.27.7)(jiti@2.7.0)(sass@1.70.0)(terser@5.49.1)(tsx@4.21.0)(yaml@2.8.3)): dependencies: '@vitest/expect': 4.1.0