Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test: migrate vitest and coverage-v8 to 5.0.0, accepting the new mock-clearing default (#6522)
[._.]/ Adam Eivyce3d482de6c3
diff --git a/client/package-lock.json b/client/package-lock.jsonindex 85c0e35ae9..f4cd78755a 100644--- a/client/package-lock.json+++ b/client/package-lock.json@@ -36,7 +36,7 @@"rollup-plugin-visualizer": "7.1.1","tailwindcss": "4.3.3","vite": "8.2.2",- "vitest": "4.1.11"+ "vitest": "5.0.0"},"engines": {"node": ">=22.12.0",@@ -2569,34 +2569,17 @@}}},- "node_modules/@vitest/expect": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.11.tgz",- "integrity": "sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@standard-schema/spec": "^1.1.0",- "@types/chai": "^5.2.2",- "@vitest/spy": "4.1.11",- "@vitest/utils": "4.1.11",- "chai": "^6.2.2",- "tinyrainbow": "^3.1.0"- },- "funding": {- "url": "https://opencollective.com/vitest"- }- },"node_modules/@vitest/mocker": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.11.tgz",- "integrity": "sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==",+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.0.tgz",+ "integrity": "sha512-66PGTMIiVJP3t4a5yxU9qPtf7MdTBs8jmToMvy+HVflB3Yy13WJZTtPePdvU+wjRV02SKK5doLbSA6o9pwOmiA==","dev": true,"license": "MIT","dependencies": {- "@vitest/spy": "4.1.11",+ "@jridgewell/trace-mapping": "0.3.31",+ "@vitest/spy": "5.0.0","estree-walker": "^3.0.3",- "magic-string": "^0.30.21"+ "magic-string": "^1.2.3"},"funding": {"url": "https://opencollective.com/vitest"@@ -2614,70 +2597,22 @@}}},- "node_modules/@vitest/pretty-format": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.11.tgz",- "integrity": "sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==",- "dev": true,- "license": "MIT",- "dependencies": {- "tinyrainbow": "^3.1.0"- },- "funding": {- "url": "https://opencollective.com/vitest"- }- },- "node_modules/@vitest/runner": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.11.tgz",- "integrity": "sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@vitest/utils": "4.1.11",- "pathe": "^2.0.3"- },- "funding": {- "url": "https://opencollective.com/vitest"- }- },- "node_modules/@vitest/snapshot": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.11.tgz",- "integrity": "sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==",+ "node_modules/@vitest/mocker/node_modules/magic-string": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.2.3.tgz",+ "integrity": "sha512-Bpb0W2TbLKOZ7vJnOUnVRGq3WL2p+ISV29M6hYPL1AFCpyKZpdr5ytiXoTSSxRVhg8YW7f65+6gbG8WG6PCa/g==","dev": true,"license": "MIT","dependencies": {- "@vitest/pretty-format": "4.1.11",- "@vitest/utils": "4.1.11",- "magic-string": "^0.30.21",- "pathe": "^2.0.3"- },- "funding": {- "url": "https://opencollective.com/vitest"+ "@jridgewell/sourcemap-codec": "^1.5.5"}},"node_modules/@vitest/spy": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.11.tgz",- "integrity": "sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==",- "dev": true,- "license": "MIT",- "funding": {- "url": "https://opencollective.com/vitest"- }- },- "node_modules/@vitest/utils": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.11.tgz",- "integrity": "sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==",+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.0.0.tgz",+ "integrity": "sha512-uy+luWBAPw9XfthoHi5AkfHUnuPYEESjl0p/r+meoBnU8bxg5GDQ3Ey8MjcJ6sqahkL4PFyrvfMJJBw7LbU06g==","dev": true,"license": "MIT",- "dependencies": {- "@vitest/pretty-format": "4.1.11",- "convert-source-map": "^2.0.0",- "tinyrainbow": "^3.1.0"- },"funding": {"url": "https://opencollective.com/vitest"}@@ -3233,13 +3168,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/convert-source-map": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",- "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",- "dev": true,- "license": "MIT"- },"node_modules/cookie-es": {"version": "3.1.1","resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-3.1.1.tgz",@@ -3633,9 +3561,9 @@}},"node_modules/es-module-lexer": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.1.0.tgz",- "integrity": "sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==",+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz",+ "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==","dev": true,"license": "MIT"},@@ -3697,9 +3625,9 @@}},"node_modules/expect-type": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz",- "integrity": "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==",+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==","dev": true,"license": "Apache-2.0","engines": {@@ -5707,15 +5635,18 @@"license": "MIT"},"node_modules/obug": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.1.tgz",- "integrity": "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==",+ "version": "2.1.4",+ "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.4.tgz",+ "integrity": "sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==","dev": true,"funding": ["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],- "license": "MIT"+ "license": "MIT",+ "engines": {+ "node": ">=12.20.0"+ }},"node_modules/open": {"version": "11.0.0",@@ -5811,9 +5742,9 @@"license": "ISC"},"node_modules/picomatch": {- "version": "4.0.5",- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",- "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",+ "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==","dev": true,"license": "MIT","engines": {@@ -6589,9 +6520,9 @@"license": "MIT"},"node_modules/std-env": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/std-env/-/std-env-4.1.0.tgz",- "integrity": "sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ==",+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-4.2.0.tgz",+ "integrity": "sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==","dev": true,"license": "MIT"},@@ -6853,16 +6784,19 @@"license": "MIT"},"node_modules/tinybench": {- "version": "2.9.0",- "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",- "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",+ "version": "6.1.4",+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.1.4.tgz",+ "integrity": "sha512-9APumHG7r4yOk4X4WlkmE71aZcv1gvin1czO3OQ1U9iJcFA5Ja/ygyb0vPOVHTthFozUYs8CLoLUlM8grb2lTQ==","dev": true,- "license": "MIT"+ "license": "MIT",+ "engines": {+ "node": ">=20.0.0"+ }},"node_modules/tinyexec": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.2.4.tgz",- "integrity": "sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==",+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.0.tgz",+ "integrity": "sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==","dev": true,"license": "MIT","engines": {@@ -6886,16 +6820,6 @@"url": "https://github.com/sponsors/SuperchupuDev"}},- "node_modules/tinyrainbow": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.1.tgz",- "integrity": "sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=14.0.0"- }- },"node_modules/trim-lines": {"version": "3.0.1","resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",@@ -7571,38 +7495,31 @@}},"node_modules/vitest": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.11.tgz",- "integrity": "sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==",+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.0.0.tgz",+ "integrity": "sha512-gpsMNoRhMjMktVxPtstOH4/PJuPyovVaMDr4oDilXaGH1EcqM2OE96SoHT2VIQ6fTGtTjqmHDrEu2X9RQiXf8Q==","dev": true,"license": "MIT","dependencies": {- "@vitest/expect": "4.1.11",- "@vitest/mocker": "4.1.11",- "@vitest/pretty-format": "4.1.11",- "@vitest/runner": "4.1.11",- "@vitest/snapshot": "4.1.11",- "@vitest/spy": "4.1.11",- "@vitest/utils": "4.1.11",- "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.3",- "std-env": "^4.0.0-rc.1",- "tinybench": "^2.9.0",- "tinyexec": "^1.0.2",- "tinyglobby": "^0.2.15",- "tinyrainbow": "^3.1.0",- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",+ "@types/chai": "^5.2.2",+ "@vitest/mocker": "5.0.0",+ "chai": "^6.2.2",+ "es-module-lexer": "^2.3.2",+ "expect-type": "^1.4.0",+ "magic-string": "^1.2.3",+ "obug": "^2.1.4",+ "picomatch": "^4.0.7",+ "std-env": "^4.2.0",+ "tinybench": "6.1.4",+ "tinyexec": "1.3.0",+ "tinyglobby": "^0.2.17","why-is-node-running": "^2.3.0"},"bin": {"vitest": "vitest.mjs"},"engines": {- "node": "^20.0.0 || ^22.0.0 || >=24.0.0"+ "node": "^22.12.0 || ^24.0.0 || >=26.0.0"},"funding": {"url": "https://opencollective.com/vitest"@@ -7610,16 +7527,16 @@"peerDependencies": {"@edge-runtime/vm": "*","@opentelemetry/api": "^1.9.0",- "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",- "@vitest/browser-playwright": "4.1.11",- "@vitest/browser-preview": "4.1.11",- "@vitest/browser-webdriverio": "4.1.11",- "@vitest/coverage-istanbul": "4.1.11",- "@vitest/coverage-v8": "4.1.11",- "@vitest/ui": "4.1.11",+ "@types/node": "^22.0.0 || >=24.0.0",+ "@vitest/browser-playwright": "5.0.0",+ "@vitest/browser-preview": "5.0.0",+ "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0",+ "@vitest/coverage-istanbul": "5.0.0",+ "@vitest/coverage-v8": "5.0.0",+ "@vitest/ui": "5.0.0","happy-dom": "*","jsdom": "*",- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0"+ "vite": "^6.4.0 || ^7.0.0 || ^8.0.0"},"peerDependenciesMeta": {"@edge-runtime/vm": {@@ -7660,6 +7577,16 @@}}},+ "node_modules/vitest/node_modules/magic-string": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.2.3.tgz",+ "integrity": "sha512-Bpb0W2TbLKOZ7vJnOUnVRGq3WL2p+ISV29M6hYPL1AFCpyKZpdr5ytiXoTSSxRVhg8YW7f65+6gbG8WG6PCa/g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@jridgewell/sourcemap-codec": "^1.5.5"+ }+ },"node_modules/vue": {"version": "3.5.42","resolved": "https://registry.npmjs.org/vue/-/vue-3.5.42.tgz",diff --git a/client/package.json b/client/package.jsonindex 329dcd70a7..fe21dca0e9 100644--- a/client/package.json+++ b/client/package.json@@ -47,7 +47,7 @@"rollup-plugin-visualizer": "7.1.1","tailwindcss": "4.3.3","vite": "8.2.2",- "vitest": "4.1.11"+ "vitest": "5.0.0"},"overrides": {"socket.io-parser": "4.2.7",diff --git a/client/src/pages/ThreejsModelDetail.test.jsx b/client/src/pages/ThreejsModelDetail.test.jsxindex 6159ced86d..54a915e601 100644--- a/client/src/pages/ThreejsModelDetail.test.jsx+++ b/client/src/pages/ThreejsModelDetail.test.jsx@@ -178,9 +178,24 @@ describe('ThreejsModelDetail request lifecycle', () => {const initial = deferred();const hungPoll = deferred();const secondPoll = deferred();- const replacementPoll = deferred();- const requests = [initial, hungPoll, secondPoll, replacementPoll];- getThreejsModel.mockImplementation(() => requests.shift().promise);+ const requests = [initial, hungPoll, secondPoll];+ // Polls issued after the two hung ones are captured rather than pre-seeded:+ // a hung slot is released at `pollStart + POLL_TIMEOUT_MS`, which is always+ // a multiple of the 2s interval, so the release and an interval tick are+ // due in the SAME millisecond. Which of the two runs first is a fake-timer+ // tie-break, not component behavior, and it decides whether the freed slot+ // is refilled on that tick or the next one — i.e. whether one or two+ // replacement polls go out. Pinning an exact call count here asserted that+ // tie-break (and flipped when vitest 5 updated @sinonjs/fake-timers), so+ // assert the contract the test is named for instead: nothing is issued+ // while both slots are held, and polling resumes once they time out.+ const replacements = [];+ getThreejsModel.mockImplementation(() => {+ if (requests.length > 0) return requests.shift().promise;+ const replacement = deferred();+ replacements.push(replacement);+ return replacement.promise;+ });renderLifecycleDetail(['/media/threejs/model-a']);await act(async () => { initial.resolve({ ...baseRecord, id: 'model-a', name: 'Model A', status: 'generating' }); });@@ -188,10 +203,17 @@ describe('ThreejsModelDetail request lifecycle', () => {await act(async () => { vi.advanceTimersByTime(4_000); });expect(getThreejsModel).toHaveBeenCalledTimes(3);- await act(async () => { vi.advanceTimersByTime(24_000); });- await act(async () => { vi.advanceTimersByTime(2_000); });- expect(getThreejsModel).toHaveBeenCalledTimes(4);- await act(async () => { replacementPoll.resolve({ ...baseRecord, id: 'model-a', name: 'Model A', status: 'ready' }); });+ // Both slots are held by the hanging polls: the interval keeps ticking for+ // another 20s (10 ticks) and issues nothing.+ await act(async () => { vi.advanceTimersByTime(20_000); });+ expect(getThreejsModel).toHaveBeenCalledTimes(3);+ expect(replacements).toHaveLength(0);++ // Past POLL_TIMEOUT_MS the hung slots are released and polling resumes.+ await act(async () => { vi.advanceTimersByTime(6_000); });+ expect(replacements.length).toBeGreaterThan(0);+ await act(async () => { replacements[0].resolve({ ...baseRecord, id: 'model-a', name: 'Model A', status: 'ready' }); });+ expect(screen.getByText('ready', { exact: true })).toBeInTheDocument();});it('keeps an older terminal poll result when a newer poll fails transiently', async () => {diff --git a/client/vitest.config.js b/client/vitest.config.jsindex d0cc6e3ea0..3a71f8207e 100644--- a/client/vitest.config.js+++ b/client/vitest.config.js@@ -15,6 +15,11 @@ export default defineConfig({// 10k assertions. Files that need no DOM at all still opt out entirely with a// `// @vitest-environment node` pragma — see docs/GITHUB_ACTIONS.md.environment: 'happy-dom',+ // Vitest 5 clears mock call history before every test by default+ // (`clearMocks`); see the longer note in server/vitest.config.js. Accepted+ // rather than pinned back to the vitest 4 default — implementations set by+ // a `vi.mock` factory survive, only `mock.calls` resets, and the suite is+ // green under it.globals: true,setupFiles: ['./src/test/setup.js'],css: false,diff --git a/scripts/vitestCiPool.js b/scripts/vitestCiPool.jsindex 6b19207844..73c4dfe660 100644--- a/scripts/vitestCiPool.js+++ b/scripts/vitestCiPool.js@@ -8,7 +8,7 @@* independent files. The DB suite already serializes files because those* tests share one Postgres.*- * Vitest 4 exposes `maxWorkers` only — there is no `minWorkers` / `minThreads`.+ * Vitest 5 exposes `maxWorkers` only — there is no `minWorkers` / `minThreads`.*/export function vitestCiPool({ maxWorkers = 4 } = {}) {if (!process.env.CI) return {};diff --git a/server/package-lock.json b/server/package-lock.jsonindex a6c56bcd89..c24c335868 100644--- a/server/package-lock.json+++ b/server/package-lock.json@@ -28,8 +28,8 @@"zod": "4.5.4"},"devDependencies": {- "@vitest/coverage-v8": "4.1.11",- "vitest": "4.1.11"+ "@vitest/coverage-v8": "5.0.0",+ "vitest": "5.0.0"},"engines": {"node": ">=22.12.0",@@ -37,9 +37,9 @@}},"node_modules/@babel/helper-string-parser": {- "version": "7.27.1",- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",- "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==","dev": true,"license": "MIT","engines": {@@ -47,9 +47,9 @@}},"node_modules/@babel/helper-validator-identifier": {- "version": "7.28.5",- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",- "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",+ "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==","dev": true,"license": "MIT","engines": {@@ -57,13 +57,13 @@}},"node_modules/@babel/parser": {- "version": "7.29.0",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.0.tgz",- "integrity": "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==",+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.8.tgz",+ "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==","dev": true,"license": "MIT","dependencies": {- "@babel/types": "^7.29.0"+ "@babel/types": "^7.29.8"},"bin": {"parser": "bin/babel-parser.js"@@ -73,14 +73,14 @@}},"node_modules/@babel/types": {- "version": "7.29.0",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",- "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==","dev": true,"license": "MIT","dependencies": {- "@babel/helper-string-parser": "^7.27.1",- "@babel/helper-validator-identifier": "^7.28.5"+ "@babel/helper-string-parser": "^7.29.7",+ "@babel/helper-validator-identifier": "^7.29.7"},"engines": {"node": ">=6.9.0"@@ -740,9 +740,9 @@}},"node_modules/@jridgewell/sourcemap-codec": {- "version": "1.5.5",- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",- "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",+ "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==","dev": true,"license": "MIT"},@@ -764,13 +764,14 @@"license": "MPL-2.0"},"node_modules/@oxc-project/types": {- "version": "0.146.0",- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.146.0.tgz",- "integrity": "sha512-XC0QsnnhVe7sLIWmYmdPw7x5P0h4W8vUU3Nv1ySgWXtvCz8NizoAEpGXA0sOYoJQV2Rl13LgURAHQ5cI5ILCSA==",+ "version": "0.148.0",+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.148.0.tgz",+ "integrity": "sha512-Nm4s/jB+4FpFsPhWGEC4h7rzksesmtnMXomo6rCMcg/b8zLQuOziRgkCS1fxDCXOlJB/6Q8oABOZ/OP6RIPj9A==","dev": true,"license": "MIT",+ "peer": true,"funding": {- "url": "https://github.com/sponsors/Boshen"+ "url": "https://github.com/sponsors/oxc-project"}},"node_modules/@pdf-lib/standard-fonts": {@@ -924,9 +925,9 @@"license": "BSD-3-Clause"},"node_modules/@rolldown/binding-android-arm-eabi": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.5.tgz",- "integrity": "sha512-DLe/i+l8ynIBY7XEQ191TeZvCoowIGa18R+dIV30GW7DiOtp74i/xX8hs8GUjW5ARV7VZuie3d6AumSmCwbeRA==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.7.tgz",+ "integrity": "sha512-EypzgnYCwyVY4NDHKzGmNJT5b+XaQEBniHxsMdeIQLB/tcCzZnhqrzHpZFbX9iaxx+5RiB8caATBtfvZP7zVxQ==","cpu": ["arm"],@@ -936,14 +937,15 @@"os": ["android"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-android-arm64": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.5.tgz",- "integrity": "sha512-zXcwKlQApYAOELHd8PwKDFkagYF9Wy4e0RJ+0qnzl9Pjnpj75TEG8ufv40p2J7kCEfwZAsNiuzRIyNNMWT38ig==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.7.tgz",+ "integrity": "sha512-l17HE9EweWaqJZhuUuNBN/FzM62xw+DECVnJyvMsxn8vJFAGLy5QfLDoYAcronkAN8VxKZHezDpulHDPx95vFw==","cpu": ["arm64"],@@ -953,14 +955,15 @@"os": ["android"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-darwin-arm64": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.5.tgz",- "integrity": "sha512-dK4QakI42nzWgJT5sm4y4y/O//D4OxM75/cH28RLV+nzIN9AY+YsbuUVrUTjlLjXR6vpyxFbSsbmNuJ6BP9sww==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.7.tgz",+ "integrity": "sha512-8ED8ELFvHXc6OCETIn4gXObPiaR6bckM/ipXtbzlPVDRMBfEGjCKgO90F9YtfdpDatVx/ZQw7aZ1vUMf/+T3Mw==","cpu": ["arm64"],@@ -970,14 +973,15 @@"os": ["darwin"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-darwin-x64": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.5.tgz",- "integrity": "sha512-fqSALaUu1Wjd1nK2uW2kJDWdLCc8lx1IcY+MTY26Aurfdx19anlzhqXOgCFbBFQnlFDTn4TC1/7Nz4Bl2mLP3A==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.7.tgz",+ "integrity": "sha512-/WPripjtiAIZ2tWY7ddijORT0Ujg87wxWW/qcoFVCKAWVDPhtY0xr7Dj0M3GyNGz60jGwTElhro/mkF9dT7dDQ==","cpu": ["x64"],@@ -987,14 +991,15 @@"os": ["darwin"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-freebsd-x64": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.5.tgz",- "integrity": "sha512-/vCnNxlkxs9tKxNDcyWUePpJ/PgTzxIaVhoM5SmG8UV+GR/IcPam4VYxi7GIMo7PSDuNqlJqvprqii9NqqVCMw==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.7.tgz",+ "integrity": "sha512-14DI4NcqpvbICxSnGLx3PmtDaWqRP/KGSGb6C+JLLVPeZRl6dKdHba3pGsqT3vpdTqhEYIPG0MMQ8c0xYqoJxA==","cpu": ["x64"],@@ -1004,14 +1009,15 @@"os": ["freebsd"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-linux-arm-gnueabihf": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.5.tgz",- "integrity": "sha512-abk0NLA519LxRCszmbE0jYKuQ9YPocOXTiOXOo6Yr+YAT95VH+PtqYAjOJvGKt3viEd/x4qzabAlwd5bHOOARg==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.7.tgz",+ "integrity": "sha512-bxrWIRvHWQvbJwi+VIie/kDJmQxcNE6xxWwZdqF/ExVAigtHkv54WTLQPb+QsZdnFy18fg7JPfWGL0RH6vwIlQ==","cpu": ["arm"],@@ -1021,14 +1027,15 @@"os": ["linux"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-linux-arm64-gnu": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.5.tgz",- "integrity": "sha512-Y7eALiJ8lr0M2HH103Js+g7V34wf6snlpZLAsHI90uLhr3PVlNsbFVAXJC9d/V6BnPyKtpSwI+NcB/RLxsQxuA==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.7.tgz",+ "integrity": "sha512-toOY2BChBZyuxU7OYX6Tn389di4IzAqPTycVcci0O7FSfBqzRB3RZn+K5Is6ANf4tmgRd/K1yZTsNTXbkXsnLg==","cpu": ["arm64"],@@ -1041,14 +1048,15 @@"os": ["linux"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-linux-arm64-musl": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.5.tgz",- "integrity": "sha512-xMvZgnbZg4YVnR/AX2b3oOPDTFYJvUVaJg5FedA/LuvexAtXibZQej4cnTkw3rjsJ/ggUROB64TdtETiim+FYA==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.7.tgz",+ "integrity": "sha512-lAIXTH/aiLRLxsTgQvfhjo4K1ydWIp00+V0voOr9beb/9ZmkUFrSIb03dXNFRgMNvkE6oGsF10ioQ6UsI+vS5Q==","cpu": ["arm64"],@@ -1061,14 +1069,15 @@"os": ["linux"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-linux-ppc64-gnu": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.5.tgz",- "integrity": "sha512-GRjeqTUDHTo5GwntsLaAMcBahG3nlpjftXWZLN73HiYQlhwEowvarFgQnRnQZtIp4keXX7quXFbG38uPZBa2EA==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.7.tgz",+ "integrity": "sha512-kdnwS28Pkenp/mZMRwjXXXwxQ7pIsm+bF919LUK93BOyhcLsrVKdP2p9fxpiPNPAbNuch8ypQt0pm2P2LYCAGg==","cpu": ["ppc64"],@@ -1081,14 +1090,15 @@"os": ["linux"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-linux-s390x-gnu": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.5.tgz",- "integrity": "sha512-vLNTR45F2Uwc8AufkNXPmB4VliaXs+FvcheEogIzOXzO4l+LzieXF5A/TWxLy5HtqpsRCHUfd0lPVrrdgXdLHQ==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.7.tgz",+ "integrity": "sha512-516OdsyLdr5E65paF3yBF55t8mfm9+gmtCsK3xI7XKXIT7EfRlHhxL8K/NR6Hu8BWSgF5+1w74lTL0+nxcc8Qw==","cpu": ["s390x"],@@ -1101,14 +1111,15 @@"os": ["linux"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-linux-x64-gnu": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.5.tgz",- "integrity": "sha512-Mgj59/HTuYeK9Gz2MA+mBWKnHsAgkBSec15ZMb1st3oIfFbX7gCjOae7GydHhzcyQi9Z/7M1QuN9bR3oFqF0jQ==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.7.tgz",+ "integrity": "sha512-r8/z8n7GFaYRln3xmP1Cxy0HH/HLM0uBUPkEuSVEfKGDA89M0FsZRZJRSwe/tJjRx+fpH/gjorfhB8tmEbSFLA==","cpu": ["x64"],@@ -1121,14 +1132,15 @@"os": ["linux"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-linux-x64-musl": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.5.tgz",- "integrity": "sha512-mY8AP0/ichsbhAxGnLa3d3+MwV0EfgrPND2bplI3Ym8T6R2pJ0N87bvrKVwNXmdy3jnr6eQBecdqx/HMknBmpA==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.7.tgz",+ "integrity": "sha512-pAsE8iiDxUg1xBqdhrTfg45AVDVpirjz00sblEYClGNNcMnDb+e8beQgqIAw6LvauX/APvgxUnwrgun/YYGBhw==","cpu": ["x64"],@@ -1141,14 +1153,15 @@"os": ["linux"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-openharmony-arm64": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.5.tgz",- "integrity": "sha512-8SLssA2oweAxyRgDp789ACfRb/3P+zNRJpzZxSizxF9m8NUDQ4+3xjo8ttjhVGGw6Qxb70oZiEtIjaKikCO7Yw==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.7.tgz",+ "integrity": "sha512-lTcIYmmnQQA8Or/2DatS6oSqcdLHvendjS+zLu+FwgToynWMRSmQdpM65fTANJgIS4mjbMOo5KT2lnT9SAb96w==","cpu": ["arm64"],@@ -1158,14 +1171,15 @@"os": ["openharmony"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-win32-arm64-msvc": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.5.tgz",- "integrity": "sha512-vGbruD5zquhoc8D9SViXgN2FBJtNdTyQ4DtG+SWiEGlJiAzoKcZ2xp+xuXCffhubVdt0NJlTZqkeRuERy7g8Cw==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.7.tgz",+ "integrity": "sha512-e3Gu3WxbNk/UqQhxqU7YIYO+9ZBvWNz3U+h/qRFosscMFzdRPbXYSaSWgSnklv2fz1TgzBTcti2z35c/7irsHw==","cpu": ["arm64"],@@ -1175,14 +1189,15 @@"os": ["win32"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}},"node_modules/@rolldown/binding-win32-x64-msvc": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.5.tgz",- "integrity": "sha512-e/SXpgISz+IoqVcSSI0rx/d/he8zqLex+/rCWpnHpmVfmPIUjag9H6P7zotf0gJHwPUhQxZ/mF8tr6acebT9yw==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.7.tgz",+ "integrity": "sha512-W/jg5qoRSqjsEv0+dZi4e687mcHqmVuU0P4fK6qS/xjetW2Gmc1W8j//z5nAeNcC8Ttm0hV46IjcYeuVwYhuiw==","cpu": ["x64"],@@ -1192,6 +1207,7 @@"os": ["win32"],+ "peer": true,"engines": {"node": "^20.19.0 || >=22.12.0"}@@ -1201,7 +1217,8 @@"resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz","integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==","dev": true,- "license": "MIT"+ "license": "MIT",+ "peer": true},"node_modules/@socket.io/component-emitter": {"version": "3.1.2",@@ -1209,13 +1226,6 @@"integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==","license": "MIT"},- "node_modules/@standard-schema/spec": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",- "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",- "dev": true,- "license": "MIT"- },"node_modules/@tootallnate/quickjs-emscripten": {"version": "0.23.0","resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz",@@ -1275,29 +1285,27 @@}},"node_modules/@vitest/coverage-v8": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-4.1.11.tgz",- "integrity": "sha512-8MVGEFnJIcdGjcbfKmeq8z0pZHH0JlVtoVZH9Q/qwUp6wyFnEJUBMrw9DCaj+ra3vShGmhavjalMIhPNxZAUcw==",+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-5.0.0.tgz",+ "integrity": "sha512-toMg6PZGCIa/lQNCDoASrfb1ly4hsUKXFtFYC9kD4t78o5Y6LyNJU7AENt8eHPr3quYdxaxK7hj2mnbFfUk9NA==","dev": true,"license": "MIT","dependencies": {"@bcoe/v8-coverage": "^1.0.2",- "@vitest/utils": "4.1.11",- "ast-v8-to-istanbul": "^1.0.0",- "istanbul-lib-coverage": "^3.2.2",- "istanbul-lib-report": "^3.0.1",- "istanbul-reports": "^3.2.0",- "magicast": "^0.5.2",- "obug": "^2.1.1",- "std-env": "^4.0.0-rc.1",- "tinyrainbow": "^3.1.0"+ "@vitest/istanbul-lib-coverage": "^1.0.0",+ "@vitest/istanbul-lib-report": "^1.0.0",+ "ast-v8-to-istanbul": "^1.0.5",+ "magicast": "^0.5.4",+ "obug": "^2.1.4",+ "std-env": "^4.2.0",+ "tinyrainbow": "^3.1.1"},"funding": {"url": "https://opencollective.com/vitest"},"peerDependencies": {- "@vitest/browser": "4.1.11",- "vitest": "4.1.11"+ "@vitest/browser": "5.0.0",+ "vitest": "5.0.0"},"peerDependenciesMeta": {"@vitest/browser": {@@ -1305,92 +1313,67 @@}}},- "node_modules/@vitest/expect": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.11.tgz",- "integrity": "sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==",+ "node_modules/@vitest/istanbul-lib-coverage": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.1.tgz",+ "integrity": "sha512-k3DJZ8LhMBK9NS4SclF1ASD3OgXEWDorbIcPTRDK0/Zae6fRvu+fJRxtFdLfHsa9Y24beCdPnoNZ4LviTNstfA==","dev": true,"license": "MIT",- "dependencies": {- "@standard-schema/spec": "^1.1.0",- "@types/chai": "^5.2.2",- "@vitest/spy": "4.1.11",- "@vitest/utils": "4.1.11",- "chai": "^6.2.2",- "tinyrainbow": "^3.1.0"- },- "funding": {- "url": "https://opencollective.com/vitest"+ "engines": {+ "node": ">=22"}},- "node_modules/@vitest/pretty-format": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.11.tgz",- "integrity": "sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==",+ "node_modules/@vitest/istanbul-lib-report": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@vitest/istanbul-lib-report/-/istanbul-lib-report-1.0.1.tgz",+ "integrity": "sha512-1EOLRfsTMnyAr3+kEAsP4o9dhaDlGPpD7H5iLBBeq//YpNB1VIahkPhB+eRp9N2Dkfw8oySROjE3yf9XDeaIkQ==","dev": true,"license": "MIT","dependencies": {- "tinyrainbow": "^3.1.0"+ "@vitest/istanbul-lib-coverage": "1.0.1"},- "funding": {- "url": "https://opencollective.com/vitest"+ "engines": {+ "node": ">=22"}},- "node_modules/@vitest/runner": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.11.tgz",- "integrity": "sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==",+ "node_modules/@vitest/mocker": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.0.tgz",+ "integrity": "sha512-66PGTMIiVJP3t4a5yxU9qPtf7MdTBs8jmToMvy+HVflB3Yy13WJZTtPePdvU+wjRV02SKK5doLbSA6o9pwOmiA==","dev": true,"license": "MIT","dependencies": {- "@vitest/utils": "4.1.11",- "pathe": "^2.0.3"+ "@jridgewell/trace-mapping": "0.3.31",+ "@vitest/spy": "5.0.0",+ "estree-walker": "^3.0.3",+ "magic-string": "^1.2.3"},"funding": {"url": "https://opencollective.com/vitest"- }- },- "node_modules/@vitest/snapshot": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.11.tgz",- "integrity": "sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==",- "dev": true,- "license": "MIT",- "dependencies": {- "@vitest/pretty-format": "4.1.11",- "@vitest/utils": "4.1.11",- "magic-string": "^0.30.21",- "pathe": "^2.0.3"},- "funding": {- "url": "https://opencollective.com/vitest"+ "peerDependencies": {+ "msw": "^2.4.9",+ "vite": "^6.0.0 || ^7.0.0 || ^8.0.0"+ },+ "peerDependenciesMeta": {+ "msw": {+ "optional": true+ },+ "vite": {+ "optional": true+ }}},"node_modules/@vitest/spy": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.11.tgz",- "integrity": "sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==",+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.0.0.tgz",+ "integrity": "sha512-uy+luWBAPw9XfthoHi5AkfHUnuPYEESjl0p/r+meoBnU8bxg5GDQ3Ey8MjcJ6sqahkL4PFyrvfMJJBw7LbU06g==","dev": true,"license": "MIT","funding": {"url": "https://opencollective.com/vitest"}},- "node_modules/@vitest/utils": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.11.tgz",- "integrity": "sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "@vitest/pretty-format": "4.1.11",- "convert-source-map": "^2.0.0",- "tinyrainbow": "^3.1.0"- },- "funding": {- "url": "https://opencollective.com/vitest"- }- },"node_modules/accepts": {"version": "2.0.0","resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",@@ -1506,9 +1489,9 @@}},"node_modules/ast-v8-to-istanbul": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.3.tgz",- "integrity": "sha512-jCMQ6ZylLPudp0CDfBmQBZUsrh1/8psbmu9ibeVWKuHWD0YrH9YABwlKu5kVEFoT0GCQQW9Z/SxfuEbbkGQCRg==",+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-1.0.6.tgz",+ "integrity": "sha512-fvpl29helSO2w/z7utIbrkNXILdrLwDwAMH2I/zPKlGf5244+gf+B4cyS1sANcrPY2h+hWCGSgC8N61s/+AF9A==","dev": true,"license": "MIT","dependencies": {@@ -1800,13 +1783,6 @@"node": ">= 0.6"}},- "node_modules/convert-source-map": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",- "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",- "dev": true,- "license": "MIT"- },"node_modules/cookie": {"version": "0.7.2","resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",@@ -2095,9 +2071,9 @@}},"node_modules/es-module-lexer": {- "version": "2.3.1",- "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.1.tgz",- "integrity": "sha512-shc1dbU90Yl/xq1QrC7QRtfcwURZuVRfPhZbDoldJ1cn1gzDvBaBWlv0eFolj5+0znnPJz5TXLxsN77X/12KTA==",+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz",+ "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==","dev": true,"license": "MIT"},@@ -2735,13 +2711,6 @@],"license": "MIT"},- "node_modules/html-escaper": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",- "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",- "dev": true,- "license": "MIT"- },"node_modules/http-errors": {"version": "2.0.1","resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",@@ -2882,45 +2851,6 @@"integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==","license": "MIT"},- "node_modules/istanbul-lib-coverage": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",- "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",- "dev": true,- "license": "BSD-3-Clause",- "engines": {- "node": ">=8"- }- },- "node_modules/istanbul-lib-report": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",- "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",- "dev": true,- "license": "BSD-3-Clause",- "dependencies": {- "istanbul-lib-coverage": "^3.0.0",- "make-dir": "^4.0.0",- "supports-color": "^7.1.0"- },- "engines": {- "node": ">=10"- }- },- "node_modules/istanbul-reports": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz",- "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==",- "dev": true,- "license": "BSD-3-Clause",- "dependencies": {- "html-escaper": "^2.0.0",- "istanbul-lib-report": "^3.0.0"- },- "engines": {- "node": ">=8"- }- },"node_modules/js-tokens": {"version": "10.0.0","resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz",@@ -3002,6 +2932,7 @@"integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==","dev": true,"license": "MPL-2.0",+ "peer": true,"dependencies": {"detect-libc": "^2.0.3"},@@ -3039,6 +2970,7 @@"os": ["android"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3060,6 +2992,7 @@"os": ["darwin"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3081,6 +3014,7 @@"os": ["darwin"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3102,6 +3036,7 @@"os": ["freebsd"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3123,6 +3058,7 @@"os": ["linux"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3147,6 +3083,7 @@"os": ["linux"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3171,6 +3108,7 @@"os": ["linux"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3195,6 +3133,7 @@"os": ["linux"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3219,6 +3158,7 @@"os": ["linux"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3240,6 +3180,7 @@"os": ["win32"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3261,6 +3202,7 @@"os": ["win32"],+ "peer": true,"engines": {"node": ">= 12.0.0"},@@ -3291,9 +3233,9 @@}},"node_modules/magic-string": {- "version": "0.30.21",- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",- "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.2.3.tgz",+ "integrity": "sha512-Bpb0W2TbLKOZ7vJnOUnVRGq3WL2p+ISV29M6hYPL1AFCpyKZpdr5ytiXoTSSxRVhg8YW7f65+6gbG8WG6PCa/g==","dev": true,"license": "MIT","dependencies": {@@ -3301,33 +3243,17 @@}},"node_modules/magicast": {- "version": "0.5.2",- "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.5.2.tgz",- "integrity": "sha512-E3ZJh4J3S9KfwdjZhe2afj6R9lGIN5Pher1pF39UGrXRqq/VDaGVIGN13BjHd2u8B61hArAGOnso7nBOouW3TQ==",+ "version": "0.5.4",+ "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.5.4.tgz",+ "integrity": "sha512-llBEhWm1SacoRwgHUoQJYtwp4PBLF4faQi5TCpIGyGs9n4y5+juI0tDgyKIfpqxckRHaHzouUEph3THklWh03w==","dev": true,"license": "MIT","dependencies": {- "@babel/parser": "^7.29.0",- "@babel/types": "^7.29.0",+ "@babel/parser": "^7.29.7",+ "@babel/types": "^7.29.7","source-map-js": "^1.2.1"}},- "node_modules/make-dir": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",- "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",- "dev": true,- "license": "MIT",- "dependencies": {- "semver": "^7.5.3"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/matcher": {"version": "3.0.0","resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",@@ -3434,6 +3360,7 @@}],"license": "MIT",+ "peer": true,"bin": {"nanoid": "bin/nanoid.cjs"},@@ -3715,13 +3642,6 @@"url": "https://opencollective.com/express"}},- "node_modules/pathe": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",- "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",- "dev": true,- "license": "MIT"- },"node_modules/pg": {"version": "8.23.0","resolved": "https://registry.npmjs.org/pg/-/pg-8.23.0.tgz",@@ -3822,12 +3742,13 @@"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz","integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==","dev": true,- "license": "ISC"+ "license": "ISC",+ "peer": true},"node_modules/picomatch": {- "version": "4.0.5",- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",- "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",+ "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==","dev": true,"license": "MIT","engines": {@@ -3999,6 +3920,7 @@}],"license": "MIT",+ "peer": true,"dependencies": {"nanoid": "^3.3.18","picocolors": "^1.1.1",@@ -4179,13 +4101,14 @@}},"node_modules/rolldown": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.5.tgz",- "integrity": "sha512-VD2IE5PUG4Oj8zz2VGykiYd5wbnjdIiSsNQb8Qu5B+noEp+A78mu2iVvpp27g8es14Tk9rofNs5Tku9iQCS4fA==",+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.7.tgz",+ "integrity": "sha512-g0EtLvBjTUB7jhyV0S/TCup3v/XSVl45vUIGbOGU4QPiyjTenCe4mKuFvW9fEgYmS2Fo42AUssRmNuMziXdrig==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {- "@oxc-project/types": "=0.146.0",+ "@oxc-project/types": "=0.148.0","@rolldown/pluginutils": "^1.0.0"},"bin": {@@ -4195,21 +4118,21 @@"node": "^20.19.0 || >=22.12.0"},"optionalDependencies": {- "@rolldown/binding-android-arm-eabi": "1.2.5",- "@rolldown/binding-android-arm64": "1.2.5",- "@rolldown/binding-darwin-arm64": "1.2.5",- "@rolldown/binding-darwin-x64": "1.2.5",- "@rolldown/binding-freebsd-x64": "1.2.5",- "@rolldown/binding-linux-arm-gnueabihf": "1.2.5",- "@rolldown/binding-linux-arm64-gnu": "1.2.5",- "@rolldown/binding-linux-arm64-musl": "1.2.5",- "@rolldown/binding-linux-ppc64-gnu": "1.2.5",- "@rolldown/binding-linux-s390x-gnu": "1.2.5",- "@rolldown/binding-linux-x64-gnu": "1.2.5",- "@rolldown/binding-linux-x64-musl": "1.2.5",- "@rolldown/binding-openharmony-arm64": "1.2.5",- "@rolldown/binding-win32-arm64-msvc": "1.2.5",- "@rolldown/binding-win32-x64-msvc": "1.2.5"+ "@rolldown/binding-android-arm-eabi": "1.2.7",+ "@rolldown/binding-android-arm64": "1.2.7",+ "@rolldown/binding-darwin-arm64": "1.2.7",+ "@rolldown/binding-darwin-x64": "1.2.7",+ "@rolldown/binding-freebsd-x64": "1.2.7",+ "@rolldown/binding-linux-arm-gnueabihf": "1.2.7",+ "@rolldown/binding-linux-arm64-gnu": "1.2.7",+ "@rolldown/binding-linux-arm64-musl": "1.2.7",+ "@rolldown/binding-linux-ppc64-gnu": "1.2.7",+ "@rolldown/binding-linux-s390x-gnu": "1.2.7",+ "@rolldown/binding-linux-x64-gnu": "1.2.7",+ "@rolldown/binding-linux-x64-musl": "1.2.7",+ "@rolldown/binding-openharmony-arm64": "1.2.7",+ "@rolldown/binding-win32-arm64-msvc": "1.2.7",+ "@rolldown/binding-win32-x64-msvc": "1.2.7"}},"node_modules/router": {@@ -4728,16 +4651,19 @@}},"node_modules/tinybench": {- "version": "2.9.0",- "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",- "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",+ "version": "6.1.4",+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.1.4.tgz",+ "integrity": "sha512-9APumHG7r4yOk4X4WlkmE71aZcv1gvin1czO3OQ1U9iJcFA5Ja/ygyb0vPOVHTthFozUYs8CLoLUlM8grb2lTQ==","dev": true,- "license": "MIT"+ "license": "MIT",+ "engines": {+ "node": ">=20.0.0"+ }},"node_modules/tinyexec": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.2.4.tgz",- "integrity": "sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==",+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.0.tgz",+ "integrity": "sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==","dev": true,"license": "MIT","engines": {@@ -4762,9 +4688,9 @@}},"node_modules/tinyrainbow": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.0.tgz",- "integrity": "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==",+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.1.tgz",+ "integrity": "sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==","dev": true,"license": "MIT","engines": {@@ -4907,129 +4833,13 @@"node": ">= 0.8"}},- "node_modules/vitest": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.11.tgz",- "integrity": "sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@vitest/expect": "4.1.11",- "@vitest/mocker": "4.1.11",- "@vitest/pretty-format": "4.1.11",- "@vitest/runner": "4.1.11",- "@vitest/snapshot": "4.1.11",- "@vitest/spy": "4.1.11",- "@vitest/utils": "4.1.11",- "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.3",- "std-env": "^4.0.0-rc.1",- "tinybench": "^2.9.0",- "tinyexec": "^1.0.2",- "tinyglobby": "^0.2.15",- "tinyrainbow": "^3.1.0",- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",- "why-is-node-running": "^2.3.0"- },- "bin": {- "vitest": "vitest.mjs"- },- "engines": {- "node": "^20.0.0 || ^22.0.0 || >=24.0.0"- },- "funding": {- "url": "https://opencollective.com/vitest"- },- "peerDependencies": {- "@edge-runtime/vm": "*",- "@opentelemetry/api": "^1.9.0",- "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",- "@vitest/browser-playwright": "4.1.11",- "@vitest/browser-preview": "4.1.11",- "@vitest/browser-webdriverio": "4.1.11",- "@vitest/coverage-istanbul": "4.1.11",- "@vitest/coverage-v8": "4.1.11",- "@vitest/ui": "4.1.11",- "happy-dom": "*",- "jsdom": "*",- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0"- },- "peerDependenciesMeta": {- "@edge-runtime/vm": {- "optional": true- },- "@opentelemetry/api": {- "optional": true- },- "@types/node": {- "optional": true- },- "@vitest/browser-playwright": {- "optional": true- },- "@vitest/browser-preview": {- "optional": true- },- "@vitest/browser-webdriverio": {- "optional": true- },- "@vitest/coverage-istanbul": {- "optional": true- },- "@vitest/coverage-v8": {- "optional": true- },- "@vitest/ui": {- "optional": true- },- "happy-dom": {- "optional": true- },- "jsdom": {- "optional": true- },- "vite": {- "optional": false- }- }- },- "node_modules/vitest/node_modules/@vitest/mocker": {- "version": "4.1.11",- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.11.tgz",- "integrity": "sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "@vitest/spy": "4.1.11",- "estree-walker": "^3.0.3",- "magic-string": "^0.30.21"- },- "funding": {- "url": "https://opencollective.com/vitest"- },- "peerDependencies": {- "msw": "^2.4.9",- "vite": "^6.0.0 || ^7.0.0 || ^8.0.0"- },- "peerDependenciesMeta": {- "msw": {- "optional": true- },- "vite": {- "optional": true- }- }- },- "node_modules/vitest/node_modules/vite": {+ "node_modules/vite": {"version": "8.2.2","resolved": "https://registry.npmjs.org/vite/-/vite-8.2.2.tgz","integrity": "sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==","dev": true,"license": "MIT",+ "peer": true,"dependencies": {"lightningcss": "^1.33.0","picomatch": "^4.0.5",@@ -5102,6 +4912,89 @@}}},+ "node_modules/vitest": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.0.0.tgz",+ "integrity": "sha512-gpsMNoRhMjMktVxPtstOH4/PJuPyovVaMDr4oDilXaGH1EcqM2OE96SoHT2VIQ6fTGtTjqmHDrEu2X9RQiXf8Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@types/chai": "^5.2.2",+ "@vitest/mocker": "5.0.0",+ "chai": "^6.2.2",+ "es-module-lexer": "^2.3.2",+ "expect-type": "^1.4.0",+ "magic-string": "^1.2.3",+ "obug": "^2.1.4",+ "picomatch": "^4.0.7",+ "std-env": "^4.2.0",+ "tinybench": "6.1.4",+ "tinyexec": "1.3.0",+ "tinyglobby": "^0.2.17",+ "why-is-node-running": "^2.3.0"+ },+ "bin": {+ "vitest": "vitest.mjs"+ },+ "engines": {+ "node": "^22.12.0 || ^24.0.0 || >=26.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/vitest"+ },+ "peerDependencies": {+ "@edge-runtime/vm": "*",+ "@opentelemetry/api": "^1.9.0",+ "@types/node": "^22.0.0 || >=24.0.0",+ "@vitest/browser-playwright": "5.0.0",+ "@vitest/browser-preview": "5.0.0",+ "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0",+ "@vitest/coverage-istanbul": "5.0.0",+ "@vitest/coverage-v8": "5.0.0",+ "@vitest/ui": "5.0.0",+ "happy-dom": "*",+ "jsdom": "*",+ "vite": "^6.4.0 || ^7.0.0 || ^8.0.0"+ },+ "peerDependenciesMeta": {+ "@edge-runtime/vm": {+ "optional": true+ },+ "@opentelemetry/api": {+ "optional": true+ },+ "@types/node": {+ "optional": true+ },+ "@vitest/browser-playwright": {+ "optional": true+ },+ "@vitest/browser-preview": {+ "optional": true+ },+ "@vitest/browser-webdriverio": {+ "optional": true+ },+ "@vitest/coverage-istanbul": {+ "optional": true+ },+ "@vitest/coverage-v8": {+ "optional": true+ },+ "@vitest/ui": {+ "optional": true+ },+ "happy-dom": {+ "optional": true+ },+ "jsdom": {+ "optional": true+ },+ "vite": {+ "optional": false+ }+ }+ },"node_modules/web-streams-polyfill": {"version": "3.3.3","resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz",diff --git a/server/package.json b/server/package.jsonindex 42f34bef1e..cbd1786c9d 100644--- a/server/package.json+++ b/server/package.json@@ -41,8 +41,8 @@"zod": "4.5.4"},"devDependencies": {- "@vitest/coverage-v8": "4.1.11",- "vitest": "4.1.11"+ "@vitest/coverage-v8": "5.0.0",+ "vitest": "5.0.0"},"overrides": {"path-to-regexp": "8.4.2",diff --git a/server/scripts/db-migrations/001-strip-send-as-aliases-from-activity-participants.test.js b/server/scripts/db-migrations/001-strip-send-as-aliases-from-activity-participants.test.jsindex 3d31659344..366e2bbfae 100644--- a/server/scripts/db-migrations/001-strip-send-as-aliases-from-activity-participants.test.js+++ b/server/scripts/db-migrations/001-strip-send-as-aliases-from-activity-participants.test.js@@ -16,10 +16,15 @@import { describe, it, expect, vi } from 'vitest';// Each test sets its own readFile implementation, and the client stub is rebuilt-// per test, so no beforeEach reset is needed — and adding one is actively harmful:-// under vitest 4, clearing this factory-created mock makes the errors its-// implementation throws surface as unhandled test failures even though up()-// catches them.+// per test, so no beforeEach reset is needed here.+//+// This used to warn that adding one was actively HARMFUL: under vitest 4,+// clearing this factory-created mock made the errors its implementation throws+// surface as unhandled test failures even though up() catches them. Vitest 5 no+// longer behaves that way — and it clears mocks before every test by default+// (see server/vitest.config.js), so this file now gets that clear whether it+// asks for one or not, and stays green. An explicit reset is redundant, not+// dangerous.const readFile = vi.fn();vi.mock('fs/promises', () => ({ readFile }));diff --git a/server/services/agentTuiSpawning.test.js b/server/services/agentTuiSpawning.test.jsindex 67c37977a4..10db2ce24d 100644--- a/server/services/agentTuiSpawning.test.js+++ b/server/services/agentTuiSpawning.test.js@@ -610,7 +610,7 @@ describe('agent TUI spawning', () => {// ─── spawnTuiAgent runtime tests ─────────────────────────────────────────────// Flush the microtask queue (pending Promise continuations). vi.runAllMicrotasksAsync-// is not available in vitest 4.x — use Promise.resolve() ticks instead.+// is available in neither vitest 4 nor 5 — use Promise.resolve() ticks instead.const flushMicrotasks = () => Promise.resolve().then(() => Promise.resolve()).then(() => Promise.resolve());describe('spawnTuiAgent runtime', () => {diff --git a/server/vitest.config.js b/server/vitest.config.jsindex 411d7b2af1..6f70090109 100644--- a/server/vitest.config.js+++ b/server/vitest.config.js@@ -107,6 +107,17 @@ export default defineConfig({statements: 30}},+ // Vitest 5 clears mock call history before every test by default+ // (`clearMocks`, which was false through vitest 4). PortOS ACCEPTS that+ // default rather than pinning it back: it is per-test isolation, not a+ // behavior change to production code, and both suites are green under it.+ // Note what it does and does not do — it calls `.mockClear()`, so+ // `mock.calls` resets while an implementation set by a `vi.mock` factory,+ // a `beforeAll`, or `mockReturnValue` SURVIVES into the next test. The+ // consequence worth knowing: an `expect(fn).not.toHaveBeenCalled()` now+ // proves only that the CURRENT test did not call it, never that no earlier+ // test in the file did. Assert a cross-test claim inside the test that+ // makes it.globals: true,// Global setup: mocks getPeers → [] so test-created records never fan out// to live sync peers. Per-suite vi.mock('./instances.js', …) overrides win.