Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Upgrade OK test toolchain to Vitest 5.0.3 and Playwright 1.63.0 (#5317)
Nick Gomezd2ba162d1829
diff --git a/.gitignore b/.gitignoreindex f1729668a..5d2af1385 100644--- a/.gitignore+++ b/.gitignore@@ -20,6 +20,7 @@ packages/app/test-results/playwright-report/playwright-report-json/blob-report/+.vitest/.vscode/.mcp.json.cursor/mcp.jsondiff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.mdindex ab89e1a62..fd17b20f7 100644--- a/THIRD_PARTY_NOTICES.md+++ b/THIRD_PARTY_NOTICES.md@@ -1559,6 +1559,11 @@ Homepage: https://github.com/jridgewell/sourcemaps/tree/main/packages/sourcemap-Copyright 2024 Justin Ridgewell <[email protected]>+### `@jridgewell/[email protected]`+Homepage: https://github.com/jridgewell/sourcemaps/tree/main/packages/sourcemap-codec++Copyright 2024 Justin Ridgewell <[email protected]>+### `@jridgewell/[email protected]`Homepage: https://github.com/jridgewell/sourcemaps/tree/main/packages/trace-mappingdiff --git a/biome.jsonc b/biome.jsoncindex 4147bc88a..86a3f576f 100644--- a/biome.jsonc+++ b/biome.jsonc@@ -135,6 +135,7 @@"!**/test-results-packaged","!**/playwright-report","!**/playwright-report-json",+ "!**/.vitest","!**/next-env.d.ts","!.claude",// .agents/skills, .codex/skills under public/open-knowledge/diff --git a/package.json b/package.jsonindex f2b532dfb..1ad67b0f0 100644--- a/package.json+++ b/package.json@@ -84,7 +84,7 @@"turbo": "^2.11.5","typescript": "~6.0.3","undici": "~7.29.0",- "vitest": "^4.1.0",+ "vitest": "^5.0.3","yaml": "^2.8.3"},"puppeteer": {diff --git a/packages/app/package.json b/packages/app/package.jsonindex 65b21c051..be0c2d03a 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -195,7 +195,7 @@"@opentelemetry/context-async-hooks": "^2.0.0","@opentelemetry/core": "^2.9.0","@opentelemetry/sdk-trace-base": "^2.0.0",- "@playwright/test": "^1.59.1",+ "@playwright/test": "^1.63.0","@rolldown/plugin-babel": "^0.2.2","@size-limit/preset-app": "^12.1.0","@tailwindcss/postcss": "^4.2.2",@@ -217,7 +217,7 @@"jsdom": "^29.1.1","lib0": "^0.2.117","memlab": "2.0.2",- "playwright": "1.59.1",+ "playwright": "1.63.0","remark-mdx": "^3.1.1","remark-parse": "^11.0.0","sirv": "^3.0.2",diff --git a/packages/app/src/components/ui/sidebar.partition.dom.test.tsx b/packages/app/src/components/ui/sidebar.partition.dom.test.tsxindex 0ae2fd6cd..a2f8653eb 100644--- a/packages/app/src/components/ui/sidebar.partition.dom.test.tsx+++ b/packages/app/src/components/ui/sidebar.partition.dom.test.tsx@@ -88,7 +88,6 @@ beforeEach(() => {originalInnerWidth = window.innerWidth;originalMatchMedia = window.matchMedia;originalUserAgent = window.navigator.userAgent;- (globalThis as { localStorage?: Storage }).localStorage = window.localStorage;window.localStorage.clear();});diff --git a/packages/app/src/lib/use-apply-config-theme.dom.test.tsx b/packages/app/src/lib/use-apply-config-theme.dom.test.tsxindex ab2621589..eba2d97f6 100644--- a/packages/app/src/lib/use-apply-config-theme.dom.test.tsx+++ b/packages/app/src/lib/use-apply-config-theme.dom.test.tsx@@ -26,7 +26,6 @@ function dispatchCrossWindowStorage(newValue: string) {describe('useApplyConfigTheme — cross-window flicker guard', () => {beforeEach(() => {- (globalThis as { localStorage?: Storage }).localStorage = window.localStorage;window.localStorage.clear();document.documentElement.className = '';});diff --git a/packages/app/tests/meta/i18n-freshness-gate-wiring.uncached.test.ts b/packages/app/tests/meta/i18n-freshness-gate-wiring.uncached.test.tsindex 179862973..45e011c9c 100644--- a/packages/app/tests/meta/i18n-freshness-gate-wiring.uncached.test.ts+++ b/packages/app/tests/meta/i18n-freshness-gate-wiring.uncached.test.ts@@ -168,7 +168,7 @@ describe('i18n catalog freshness gate wiring', () => {).toContain(FRESHNESS_GLOBAL_SETUP);expect(declared[0],- `the ${tier} tier (packages/app/${configFile}) declares ${declared[0] ?? '(nothing)'} ahead of ${FRESHNESS_GLOBAL_SETUP} in globalSetup. Playwright runs globalSetup entries in declared order and skips every later one once an earlier one throws (playwright 1.59.1: lib/common/config.js:70 keeps the array's order, lib/runner/tasks.js:107 appends the setups in that order, lib/runner/taskRunner.js:53-76 awaits them one at a time and sets _interrupted on a throw), so anything ahead of the freshness gate either burns the run's setup budget before a failure that was deterministic from the first byte, or — if it writes src/locales/*/messages.json — repairs the staleness the gate exists to catch and leaves the gate reading what the entry ahead of it just wrote. Move ${FRESHNESS_GLOBAL_SETUP} back to the front of globalSetup in packages/app/${configFile}.`,+ `the ${tier} tier (packages/app/${configFile}) declares ${declared[0] ?? '(nothing)'} ahead of ${FRESHNESS_GLOBAL_SETUP} in globalSetup. Playwright runs globalSetup entries in declared order and skips every later one once an earlier one throws (playwright 1.63.0: lib/common/index.js:497 keeps the array's order, lib/runner/index.js:6326 appends the setups in that order, lib/runner/index.js:6145-6168 awaits them one at a time and sets _interrupted on a throw), so anything ahead of the freshness gate either burns the run's setup budget before a failure that was deterministic from the first byte, or — if it writes src/locales/*/messages.json — repairs the staleness the gate exists to catch and leaves the gate reading what the entry ahead of it just wrote. Move ${FRESHNESS_GLOBAL_SETUP} back to the front of globalSetup in packages/app/${configFile}.`,).toBe(FRESHNESS_GLOBAL_SETUP);expect(existsSync(join(APP_PACKAGE_ROOT, FRESHNESS_GLOBAL_SETUP)),diff --git a/packages/app/tests/meta/worker-server-budget.test.ts b/packages/app/tests/meta/worker-server-budget.test.tsindex 831469593..00d88ff68 100644--- a/packages/app/tests/meta/worker-server-budget.test.ts+++ b/packages/app/tests/meta/worker-server-budget.test.ts@@ -1,12 +1,21 @@import { type ChildProcess, spawn } from 'node:child_process';-import { existsSync, mkdtempSync, readFileSync, rmSync } from 'node:fs';+import { existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';import { createServer, type Server } from 'node:http';import { createRequire } from 'node:module';import { tmpdir } from 'node:os';import { dirname, join } from 'node:path';import { setTimeout as wait } from 'node:timers/promises';+import { compileFunction } from 'node:vm';import { errors } from '@playwright/test';-import { type CallExpression, type Node, Project, type SourceFile, SyntaxKind } from 'ts-morph';+import {+ type CallExpression,+ type ClassExpression,+ type InterfaceDeclaration,+ type Node,+ Project,+ type SourceFile,+ SyntaxKind,+} from 'ts-morph';import { afterEach, describe, expect, test, vi } from 'vitest';import { getFreePort } from '../free-port.test-helper.ts';import {@@ -102,11 +111,13 @@ interface WorkerInternals {TimeoutManagerError: new (...args: never[]) => Error;}-// UPSTREAM(@playwright/[email protected]): a worker fixture's setup and teardown draw down one shared slot object-const PLAYWRIGHT_WORKER_INTERNALS_VERIFIED_AT = '1.59.1';+// UPSTREAM(@playwright/[email protected]): a worker fixture's setup and teardown draw down one shared slot object+const PLAYWRIGHT_WORKER_INTERNALS_VERIFIED_AT = '1.63.0';-const FIXTURE_RUNNER_MODULE = 'playwright/lib/worker/fixtureRunner.js';-const TIMEOUT_MANAGER_MODULE = 'playwright/lib/worker/timeoutManager.js';+const WORKER_BUNDLE_PATH = 'lib/worker/workerProcessEntry.js';+const WORKER_BUNDLE_MODULE = `playwright/${WORKER_BUNDLE_PATH}`;+const WORKER_BUNDLE_BINDINGS = ['FixtureRunner', 'TimeoutManager', 'TimeoutManagerError'] as const;+const WORKER_BUNDLE_RUNNER_START = /\(0, import_common\d*\.startProcessRunner\)\(create\);/g;const FIXTURE_RUNNER_MEMBERS = ['instanceForId',@@ -198,7 +209,7 @@ function meetsVersionFloor(actual: string, floor: string): boolean {function workerInternalsCouplingMessage(version: string, broken: readonly string[]): string {return [- `these budget tests drive Playwright's worker internals directly: ${FIXTURE_RUNNER_MODULE} and ${TIMEOUT_MANAGER_MODULE}, neither of which the playwright package lists in its exports map.`,+ `these budget tests drive Playwright's worker internals directly: ${WORKER_BUNDLE_BINDINGS.join(', ')}, which ${WORKER_BUNDLE_MODULE} defines without exporting, in a file the playwright package does not list in its exports map.`,`The resolved playwright@${version} no longer supplies ${broken.join(', ')}.`,`The coupling expects ${WORKER_INTERNALS_EXPECTED.join(', ')}, verified against playwright@${PLAYWRIGHT_WORKER_INTERNALS_VERIFIED_AT}.`,'Re-verify the driver against this release and move that pin forward, or replace the driver.',@@ -213,6 +224,44 @@ function resolvedPackageVersion(packageJsonPath: string): string {return parsed.version;}+function workerBundleBindings(+ version: string,+ entry: string,+): Partial<Record<(typeof WORKER_BUNDLE_BINDINGS)[number], unknown>> {+ let source: string;+ try {+ source = readFileSync(entry, 'utf-8');+ } catch (err) {+ throw new Error(+ workerInternalsCouplingMessage(version, ['the worker bundle at its pinned path']),+ { cause: err },+ );+ }+ const runnerStarts = source.match(WORKER_BUNDLE_RUNNER_START) ?? [];+ if (runnerStarts.length !== 1) {+ throw new Error(+ `${WORKER_BUNDLE_MODULE} from playwright@${version} starts its process runner at ${runnerStarts.length} sites this loader recognises instead of one, so evaluating it here could start a worker runner inside this test process. Re-verify the loader against this release, or replace the driver.`,+ );+ }+ const exposed = WORKER_BUNDLE_BINDINGS.map(+ (name) => `${name}: typeof ${name} === 'undefined' ? undefined : ${name}`,+ ).join(', ');+ try {+ const evaluate = compileFunction(+ `${source.replace(WORKER_BUNDLE_RUNNER_START, '')}\nreturn { ${exposed} };`,+ ['exports', 'require', 'module', '__filename', '__dirname'],+ { filename: entry },+ );+ const module = { exports: {} };+ return evaluate(module.exports, createRequire(entry), module, entry, dirname(entry));+ } catch (err) {+ throw new Error(+ `${WORKER_BUNDLE_MODULE} from playwright@${version} failed while this loader compiled and evaluated it with its process runner start removed, so it supplied none of ${WORKER_BUNDLE_BINDINGS.join(', ')}. Re-verify the loader against this release, or replace the driver.`,+ { cause: err },+ );+ }+}+let cachedInternals: WorkerInternals | undefined;function workerInternals(): WorkerInternals {@@ -228,18 +277,23 @@ function workerInternals(): WorkerInternals {]),);}- const fromPlaywrightLib = createRequire(join(dirname(playwrightPackageJson), 'lib', 'index.js'));+ const bindings = workerBundleBindings(+ version,+ join(dirname(playwrightPackageJson), WORKER_BUNDLE_PATH),+ );+ cachedInternals = internalsFromBindings(version, bindings);+ return cachedInternals;+}- let fixtureRunnerModule: unknown;- let timeoutManagerModule: unknown;- try {- fixtureRunnerModule = fromPlaywrightLib('./worker/fixtureRunner.js');- timeoutManagerModule = fromPlaywrightLib('./worker/timeoutManager.js');- } catch (err) {- throw new Error(workerInternalsCouplingMessage(version, ['either module at its pinned path']), {- cause: err,- });- }+function internalsFromBindings(+ version: string,+ bindings: ReturnType<typeof workerBundleBindings>,+): WorkerInternals {+ const fixtureRunnerModule = { FixtureRunner: bindings.FixtureRunner };+ const timeoutManagerModule = {+ TimeoutManager: bindings.TimeoutManager,+ TimeoutManagerError: bindings.TimeoutManagerError,+ };const missing = missingWorkerInternalsMembers(fixtureRunnerModule, timeoutManagerModule);if (missing.length > 0) throw new Error(workerInternalsCouplingMessage(version, missing));@@ -249,8 +303,7 @@ function workerInternals(): WorkerInternals {WorkerInternals,'TimeoutManager' | 'TimeoutManagerError'>;- cachedInternals = { version, FixtureRunner, TimeoutManager, TimeoutManagerError };- return cachedInternals;+ return { version, FixtureRunner, TimeoutManager, TimeoutManagerError };}let cachedFixtureExports: Record<string, unknown> | undefined;@@ -623,6 +676,24 @@ function plantedTimeoutManagerModule(: { TimeoutManager: PlantedTimeoutManager, TimeoutManagerError: class extends Error {} };}+const PLANTED_BUNDLE_VERSION = '0.0.0-planted';+const PLANTED_RUNNER_START_FAILURE = 'the planted process runner was started';+const PLANTED_EVALUATION_FAILURE = 'the planted bundle threw while it was evaluated';+const PLANTED_BUNDLE_DEFINITIONS = [+ `const import_common = { startProcessRunner() { throw new Error('${PLANTED_RUNNER_START_FAILURE}'); } };`,+ 'function create() {}',+ 'class FixtureRunner {}',+ 'class TimeoutManager {}',+ 'class TimeoutManagerError extends Error {}',+];+const PLANTED_RUNNER_START = '(0, import_common.startProcessRunner)(create);';++function plantedWorkerBundle(statements: readonly string[]): string {+ const entry = join(makeFixtureDir(), 'workerProcessEntry.js');+ writeFileSync(entry, statements.join('\n'));+ return entry;+}+function withoutMember(shape: Record<string, unknown>, member: string): Record<string, unknown> {const copy = { ...shape };delete copy[member];@@ -768,6 +839,116 @@ describe('playwright worker-internals coupling', () => {).toEqual([]);});+ test('the worker bundle loader evaluates a bundle without starting the one process runner it recognises, and refuses any other count', () => {+ const loaded = workerBundleBindings(+ PLANTED_BUNDLE_VERSION,+ plantedWorkerBundle([...PLANTED_BUNDLE_DEFINITIONS, PLANTED_RUNNER_START]),+ );+ expect(+ typeof loaded.FixtureRunner,+ 'evaluating the bundle must not run its runner start, which in playwright posts ready over IPC and installs signal and message handlers in this test process',+ ).toBe('function');++ for (const starts of [0, 2]) {+ expect(+ () =>+ workerBundleBindings(+ PLANTED_BUNDLE_VERSION,+ plantedWorkerBundle([+ ...PLANTED_BUNDLE_DEFINITIONS,+ ...Array<string>(starts).fill(PLANTED_RUNNER_START),+ ]),+ ),+ 'a bundle whose runner start the loader cannot pin to exactly one site is refused before it is evaluated',+ ).toThrow(+ `starts its process runner at ${starts} sites this loader recognises instead of one`,+ );+ }+ });++ test('each way the worker bundle loader fails is named for what failed', () => {+ expect(() =>+ workerBundleBindings(PLANTED_BUNDLE_VERSION, join(makeFixtureDir(), 'workerProcessEntry.js')),+ ).toThrow(+ expect.objectContaining({+ message: expect.stringContaining(+ `The resolved playwright@${PLANTED_BUNDLE_VERSION} no longer supplies the worker bundle at its pinned path.`,+ ),+ cause: expect.objectContaining({ code: 'ENOENT' }),+ }),+ );+ expect(+ () =>+ workerBundleBindings(+ PLANTED_BUNDLE_VERSION,+ plantedWorkerBundle([+ ...PLANTED_BUNDLE_DEFINITIONS,+ PLANTED_RUNNER_START,+ PLANTED_RUNNER_START,+ ]),+ ),+ 'a refused runner start is reported as the refusal, not as a bundle that went missing',+ ).toThrow(+ expect.objectContaining({+ message: expect.stringMatching(+ new RegExp(+ `^${WORKER_BUNDLE_MODULE} from playwright@${PLANTED_BUNDLE_VERSION} starts its process runner at 2 sites`,+ ),+ ),+ }),+ );+ expect(+ () =>+ workerBundleBindings(+ PLANTED_BUNDLE_VERSION,+ plantedWorkerBundle([+ `throw new Error('${PLANTED_EVALUATION_FAILURE}');`,+ ...PLANTED_BUNDLE_DEFINITIONS,+ PLANTED_RUNNER_START,+ ]),+ ),+ 'a bundle that throws while it is evaluated is reported as that failure, carrying the error it threw',+ ).toThrow(+ expect.objectContaining({+ message: expect.stringMatching(+ new RegExp(+ `^${WORKER_BUNDLE_MODULE} from playwright@${PLANTED_BUNDLE_VERSION} failed while this loader compiled and evaluated it`,+ ),+ ),+ cause: expect.objectContaining({ message: PLANTED_EVALUATION_FAILURE }),+ }),+ );+ });++ test('a worker bundle that defines every binding but TimeoutManagerError is named for the binding it lacks, not as a loader failure', () => {+ const fullShapeDefinitions = [+ ...PLANTED_BUNDLE_DEFINITIONS.filter((statement) => !statement.startsWith('class ')),+ 'class FixtureRunner { instanceForId = new Map(); workerFixtureTimeout = 0; _setupFixtureForRegistration() {} teardownScope() {} }',+ 'class TimeoutManager { withRunnable() {} }',+ PLANTED_RUNNER_START,+ ];+ expect(() =>+ internalsFromBindings(+ PLANTED_BUNDLE_VERSION,+ workerBundleBindings(PLANTED_BUNDLE_VERSION, plantedWorkerBundle(fullShapeDefinitions)),+ ),+ ).toThrow(+ `The resolved playwright@${PLANTED_BUNDLE_VERSION} no longer supplies TimeoutManagerError.`,+ );+ expect(+ typeof internalsFromBindings(+ PLANTED_BUNDLE_VERSION,+ workerBundleBindings(+ PLANTED_BUNDLE_VERSION,+ plantedWorkerBundle([+ ...fullShapeDefinitions,+ 'class TimeoutManagerError extends Error {}',+ ]),+ ),+ ).TimeoutManagerError,+ ).toBe('function');+ });+test('the verified-release pin admits a later release and refuses an earlier one', () => {expect(meetsVersionFloor('1.59.1', '1.59.1')).toBe(true);expect(meetsVersionFloor('1.59.2', '1.59.1')).toBe(true);@@ -3633,68 +3814,224 @@ function spacingSettlingBefore(settleByMs: number): number {return Math.floor((settleByMs - 1) / OBSERVED_FIRST_LOAD_SCRIPT_REQUESTS);}-const PLAYWRIGHT_CLIENT_MODULES = {- events: './lib/client/events.js',- Browser: './lib/client/browser.js',- BrowserContext: './lib/client/browserContext.js',- Page: './lib/client/page.js',- Locator: './lib/client/locator.js',- network: './lib/client/network.js',-} as const;+const PLAYWRIGHT_CLIENT_DECLARATIONS = 'types/types.d.ts';+const PLAYWRIGHT_CLIENT_BUNDLE = 'playwright-core/lib/coreBundle';+const PLAYWRIGHT_CLIENT_EVENTS_MODULE = 'packages/playwright-core/src/client/events.ts';interface PlaywrightClientSurface {version: string;- prototypes: Partial<Record<FakeOwner, object>>;+ members: Partial<Record<FakeOwner, ReadonlySet<string>>>;pageEvents: readonly string[];contextEvents: readonly string[];}+function declaredMethods(owner: InterfaceDeclaration | undefined): ReadonlySet<string> | undefined {+ return owner === undefined+ ? undefined+ : new Set(owner.getMethods().map((method) => method.getName()));+}++function declaredEvents(owner: InterfaceDeclaration | undefined): string[] {+ return (owner?.getMethods() ?? [])+ .filter((method) => method.getName() === 'on')+ .flatMap((method) => {+ const event = method+ .getParameters()[0]+ ?.getTypeNode()+ ?.asKind(SyntaxKind.LiteralType)+ ?.getLiteral()+ .asKind(SyntaxKind.StringLiteral)+ ?.getLiteralText();+ return event === undefined ? [] : [event];+ });+}++function locatedInClientBundle<T>(found: T | undefined, what: string): T {+ if (found === undefined) {+ throw new Error(+ `the fake first-load page's drift canary cannot locate ${what} in the client code playwright loads from ${PLAYWRIGHT_CLIENT_BUNDLE}. Re-verify the fake against this release and teach the canary the bundle's new layout, or replace the canary`,+ );+ }+ return found;+}++function onlyOneInClientBundle<T>(found: readonly T[], what: string): T {+ return locatedInClientBundle(+ found.length === 1 ? found[0] : undefined,+ `${what} (found ${found.length}, expected exactly one)`,+ );+}++function bundledClient(bundle: SourceFile) {+ const classes = bundle.getDescendantsOfKind(SyntaxKind.ClassExpression);+ const assignedTo = (binding: string): ClassExpression =>+ onlyOneInClientBundle(+ classes.filter(+ (candidate) =>+ candidate.getParentIfKind(SyntaxKind.BinaryExpression)?.getLeft().getText() === binding,+ ),+ `the class assigned to ${binding}`,+ );+ const constructedIn = (scope: Node | undefined, what: string): ClassExpression =>+ assignedTo(+ locatedInClientBundle(+ scope?.getFirstDescendantByKind(SyntaxKind.NewExpression)?.getExpression().getText(),+ what,+ ),+ );+ const typeDispatch = onlyOneInClientBundle(+ bundle+ .getDescendantsOfKind(SyntaxKind.CallExpression)+ .filter(+ (call) =>+ call.getExpressionIfKind(SyntaxKind.PropertyAccessExpression)?.getName() ===+ 'registerObjectFactories',+ ),+ 'the registerObjectFactories call that maps each type name the client connection receives to the class it constructs',+ )+ .getArguments()+ .at(0)+ ?.asKind(SyntaxKind.ObjectLiteralExpression);+ const dispatched = (type: string): ClassExpression =>+ constructedIn(+ typeDispatch?.getProperty(type),+ `the class the client connection constructs for a ${type}`,+ );+ const prototypeMethods = (declaration: ClassExpression): ReadonlySet<string> => {+ const base = declaration.getExtends()?.getExpression().getText();+ return new Set([+ ...declaration.getInstanceMethods().map((method) => method.getName()),+ ...(base === undefined ? [] : prototypeMethods(assignedTo(base))),+ ]);+ };+ const eventsModule = onlyOneInClientBundle(+ bundle+ .getDescendantsOfKind(SyntaxKind.MethodDeclaration)+ .filter(+ (init) =>+ init.getNameNode().asKind(SyntaxKind.StringLiteral)?.getLiteralText() ===+ PLAYWRIGHT_CLIENT_EVENTS_MODULE,+ ),+ `the module initializer for ${PLAYWRIGHT_CLIENT_EVENTS_MODULE}`,+ );+ const eventsTable = onlyOneInClientBundle(+ eventsModule+ .getDescendantsOfKind(SyntaxKind.ObjectLiteralExpression)+ .filter((table) => table.getParentIfKind(SyntaxKind.BinaryExpression) !== undefined),+ `the Events table ${PLAYWRIGHT_CLIENT_EVENTS_MODULE} assigns`,+ );+ const emitted = (owner: string): string[] =>+ locatedInClientBundle(+ eventsTable+ .getProperty(owner)+ ?.asKind(SyntaxKind.PropertyAssignment)+ ?.getInitializerIfKind(SyntaxKind.ObjectLiteralExpression),+ `the ${owner} entry of the client Events table`,+ )+ .getProperties()+ .map((event) =>+ locatedInClientBundle(+ event+ .asKind(SyntaxKind.PropertyAssignment)+ ?.getInitializerIfKind(SyntaxKind.StringLiteral),+ `a literal name for each ${owner} event of the client Events table`,+ ).getLiteralText(),+ );+ return {+ members: {+ Browser: prototypeMethods(dispatched('Browser')),+ BrowserContext: prototypeMethods(dispatched('BrowserContext')),+ Page: prototypeMethods(dispatched('Page')),+ Locator: prototypeMethods(+ constructedIn(+ dispatched('Frame').getInstanceMethod('locator'),+ 'the class the client Frame#locator constructs',+ ),+ ),+ Request: prototypeMethods(dispatched('Request')),+ Response: prototypeMethods(dispatched('Response')),+ },+ pageEvents: emitted('Page'),+ contextEvents: emitted('BrowserContext'),+ };+}++function clientSurfaceInBoth(+ declarations: SourceFile,+ runtime: ReturnType<typeof bundledClient>,+): Omit<PlaywrightClientSurface, 'version'> {+ const declared = (owner: FakeOwner) => declarations.getInterface(owner);+ const declaredAndAtRuntime = (owner: FakeOwner): ReadonlySet<string> | undefined => {+ const declaredMembers = declaredMethods(declared(owner));+ return declaredMembers === undefined+ ? undefined+ : new Set([...runtime.members[owner]].filter((member) => declaredMembers.has(member)));+ };+ return {+ members: {+ Browser: declaredAndAtRuntime('Browser'),+ BrowserContext: declaredAndAtRuntime('BrowserContext'),+ Page: declaredAndAtRuntime('Page'),+ Locator: declaredAndAtRuntime('Locator'),+ Request: declaredAndAtRuntime('Request'),+ Response: declaredAndAtRuntime('Response'),+ },+ pageEvents: declaredEvents(declared('Page')).filter((event) =>+ runtime.pageEvents.includes(event),+ ),+ contextEvents: declaredEvents(declared('BrowserContext')).filter((event) =>+ runtime.contextEvents.includes(event),+ ),+ };+}++let cachedClientSurface: PlaywrightClientSurface | undefined;+function playwrightClientSurface(): PlaywrightClientSurface {+ if (cachedClientSurface !== undefined) return cachedClientSurface;const fromHere = createRequire(import.meta.url);const fromPlaywrightTest = createRequire(fromHere.resolve('@playwright/test'));const fromPlaywright = createRequire(fromPlaywrightTest.resolve('playwright/package.json'));const corePackageJson = fromPlaywright.resolve('playwright-core/package.json');- const fromCore = createRequire(corePackageJson);- const load = (path: string): Record<string, unknown> => {+ const project = new Project({+ skipFileDependencyResolution: true,+ skipLoadingLibFiles: true,+ skipAddingFilesFromTsConfig: true,+ });+ const clientSource = (describes: string, locate: () => string): SourceFile => {try {- return fromCore(path) as Record<string, unknown>;+ return project.addSourceFileAtPath(locate());} catch (err) {throw new Error(- `the fake first-load page's drift canary reads playwright-core's client module ${path}, which the resolved playwright-core no longer ships at that path. Re-verify the fake against this release and move the path, or replace the canary`,+ `the fake first-load page's drift canary reads playwright-core's ${describes}, which the resolved playwright-core no longer ships at that path. Re-verify the fake against this release and move the path, or replace the canary`,{ cause: err },);}};- const prototypeOf = (value: unknown): object | undefined =>- typeof value === 'function' ? (value as { prototype: object }).prototype : undefined;- const events = load(PLAYWRIGHT_CLIENT_MODULES.events).Events as- | { Page?: Record<string, string>; BrowserContext?: Record<string, string> }- | undefined;- const network = load(PLAYWRIGHT_CLIENT_MODULES.network);- return {+ const declarations = clientSource(+ `public client declarations ${PLAYWRIGHT_CLIENT_DECLARATIONS}`,+ () => join(dirname(corePackageJson), PLAYWRIGHT_CLIENT_DECLARATIONS),+ );+ const runtime = bundledClient(+ clientSource(`bundled client code ${PLAYWRIGHT_CLIENT_BUNDLE}`, () =>+ fromPlaywright.resolve(PLAYWRIGHT_CLIENT_BUNDLE),+ ),+ );+ cachedClientSurface = {version: resolvedPackageVersion(corePackageJson),- prototypes: {- Browser: prototypeOf(load(PLAYWRIGHT_CLIENT_MODULES.Browser).Browser),- BrowserContext: prototypeOf(load(PLAYWRIGHT_CLIENT_MODULES.BrowserContext).BrowserContext),- Page: prototypeOf(load(PLAYWRIGHT_CLIENT_MODULES.Page).Page),- Locator: prototypeOf(load(PLAYWRIGHT_CLIENT_MODULES.Locator).Locator),- Request: prototypeOf(network.Request),- Response: prototypeOf(network.Response),- },- pageEvents: Object.values(events?.Page ?? {}),- contextEvents: Object.values(events?.BrowserContext ?? {}),+ ...clientSurfaceInBoth(declarations, runtime),};+ return cachedClientSurface;}function unmatchedFakeMembers(- prototypes: Partial<Record<string, object>>,+ declaredMembers: Partial<Record<string, ReadonlySet<string>>>,modelledMembers: Readonly<Record<string, readonly string[]>>,): string[] {const unmatched: string[] = [];for (const [owner, members] of Object.entries(modelledMembers)) {- const prototype = prototypes[owner] as Record<string, unknown> | undefined;for (const member of members) {- if (typeof prototype?.[member] !== 'function') unmatched.push(`${owner}#${member}`);+ if (declaredMembers[owner]?.has(member) !== true) unmatched.push(`${owner}#${member}`);}}return unmatched;@@ -3709,21 +4046,21 @@ describe('worker-server fixture first-load warmup liveness', () => {const client = playwrightClientSurface();expect(client.version,- `the client modules this canary reads ship in the playwright-core the worker-internals pin names, so a release that moves them is caught by the same re-verification`,+ `the client code and declarations this canary reads ship in the playwright-core the worker-internals pin names, so a release that moves them is caught by the same re-verification`,).toBe(PLAYWRIGHT_WORKER_INTERNALS_VERIFIED_AT);expect(- unmatchedFakeMembers(client.prototypes, FAKE_MODELLED_MEMBERS),- 'every member the fake exposes must exist on the real playwright client class it stands in for, or a warmup written against the fake calls something production does not have',+ unmatchedFakeMembers(client.members, FAKE_MODELLED_MEMBERS),+ `every member the fake exposes must be a method of the class the installed playwright client constructs for it at runtime, read from ${PLAYWRIGHT_CLIENT_BUNDLE}, and be declared on its public interface in ${PLAYWRIGHT_CLIENT_DECLARATIONS}, or a warmup written against the fake calls something production does not have`,).toEqual([]);expect(unmatchedFakeEvents(client.pageEvents, FAKE_PAGE_EVENTS),- 'every page event the fake emits must be one the real Page emits, or a progress watcher keyed on it would hear the fake and never production',+ `every page event the fake emits must be one the installed playwright client's Events table lists for Page in ${PLAYWRIGHT_CLIENT_BUNDLE} and one its public Page interface declares in ${PLAYWRIGHT_CLIENT_DECLARATIONS}, or a progress watcher keyed on it would hear the fake and never production`,).toEqual([]);expect(unmatchedFakeEvents(client.contextEvents, FAKE_CONTEXT_EVENTS)).toEqual([]);expect(- unmatchedFakeMembers(client.prototypes, {+ unmatchedFakeMembers(client.members, {Page: [...FAKE_MODELLED_MEMBERS.Page, PLANTED_UNREAL_MEMBER],}),'the must-fire control: a member the real Page lacks is named rather than admitted',@@ -3738,6 +4075,52 @@ describe('worker-server fixture first-load warmup liveness', () => {).toEqual([PLANTED_UNREAL_EVENT]);});+ test('the client surface keeps a member or event only when the declarations and the bundled client both have it', () => {+ const surface = clientSurfaceInBoth(+ new Project({ useInMemoryFileSystem: true, skipLoadingLibFiles: true }).createSourceFile(+ '/planted-types.d.ts',+ [+ 'export interface Browser {}',+ 'export interface BrowserContext {',+ " on(event: 'page', listener: () => void): this;",+ " on(event: 'declaredonly', listener: () => void): this;",+ '}',+ 'export interface Page {',+ ' goto(url: string): Promise<null>;',+ ' declaredOnly(): void;',+ " on(event: 'load', listener: () => void): this;",+ " on(event: 'declaredonly', listener: () => void): this;",+ '}',+ 'export interface Locator {}',+ 'export interface Request {}',+ 'export interface Response {}',+ ].join('\n'),+ ),+ {+ members: {+ Browser: new Set(),+ BrowserContext: new Set(),+ Page: new Set(['goto', 'runtimeOnly']),+ Locator: new Set(),+ Request: new Set(),+ Response: new Set(),+ },+ pageEvents: ['load', 'runtimeonly'],+ contextEvents: ['page', 'runtimeonly'],+ },+ );++ expect(+ unmatchedFakeMembers(surface.members, { Page: ['goto', 'declaredOnly', 'runtimeOnly'] }),+ ).toEqual(['Page#declaredOnly', 'Page#runtimeOnly']);+ expect(+ unmatchedFakeEvents(surface.pageEvents, ['load', 'declaredonly', 'runtimeonly']),+ ).toEqual(['declaredonly', 'runtimeonly']);+ expect(+ unmatchedFakeEvents(surface.contextEvents, ['page', 'declaredonly', 'runtimeonly']),+ ).toEqual(['declaredonly', 'runtimeonly']);+ });+test('the fake first-load page honours a navigation bound while the load it bounds keeps running behind it', async () => {vi.useFakeTimers();try {diff --git a/packages/app/tests/stress/_helpers/editor-state.ts b/packages/app/tests/stress/_helpers/editor-state.tsindex b86247397..d44e691e5 100644--- a/packages/app/tests/stress/_helpers/editor-state.ts+++ b/packages/app/tests/stress/_helpers/editor-state.ts@@ -109,7 +109,7 @@ const SETTLED_READING = {'select-all': { viewSelection: 'covers-document' },} as const satisfies { [S in 'focus' | 'select-all']: Partial<SelectAllProbe> };-/* UPSTREAM(@playwright/[email protected]): lib/matchers/expect.js pollMatcher returns+/* UPSTREAM(@playwright/[email protected]): lib/matchers/expect.js invokePollMatcher returns{ continuePolling: false } without ever calling the poll generator once the test that armed thepoll is no longer the running test, so the barrier resolves holding whatever reading the previousiteration left — undefined if there was none. Neither the public expect.poll reference nor thediff --git a/packages/cli/tests/e2e/install-outcome.test-helper.ts b/packages/cli/tests/e2e/install-outcome.test-helper.tsindex bced9a13a..d20238917 100644--- a/packages/cli/tests/e2e/install-outcome.test-helper.ts+++ b/packages/cli/tests/e2e/install-outcome.test-helper.ts@@ -1,7 +1,7 @@import { execFileSync } from 'node:child_process';import { randomUUID } from 'node:crypto';import { readFileSync } from 'node:fs';-import type { Reporter } from 'vitest/reporters';+import type { Reporter } from 'vitest/node';import { z } from 'zod';const unavailable = z.object({diff --git a/packages/core/tests/perf/baseline.json b/packages/core/tests/perf/baseline.jsonindex a6f54aed4..ddfb6c6f5 100644--- a/packages/core/tests/perf/baseline.json+++ b/packages/core/tests/perf/baseline.json@@ -13,7 +13,7 @@},"targetToolchain": {"runtime": "[email protected]",- "testRunner": "[email protected]"+ "testRunner": "[email protected]"},"calibrationRuns": 4,"threshold": {diff --git a/packages/core/tests/perf/regression-gate.test.ts b/packages/core/tests/perf/regression-gate.test.tsindex 9acc94fd6..962d3fb0e 100644--- a/packages/core/tests/perf/regression-gate.test.ts+++ b/packages/core/tests/perf/regression-gate.test.ts@@ -411,7 +411,7 @@ describe('committed baseline.json as the gate substrate', () => {expect(baseline.capturedUnder).toEqual({ runtime: '[email protected]', testRunner: 'bun test' });expect(baseline.targetToolchain).toEqual({runtime: '[email protected]',- testRunner: '[email protected]',+ testRunner: '[email protected]',});expect(baselineResultsToolchain(baseline)?.runtime).toBe('[email protected]');});diff --git a/packages/desktop/package.json b/packages/desktop/package.jsonindex a1de38187..913c976fa 100644--- a/packages/desktop/package.json+++ b/packages/desktop/package.json@@ -54,7 +54,7 @@"devDependencies": {"@electron/fuses": "^2.1.1","@electron/notarize": "^3.1.1",- "@playwright/test": "^1.59.1",+ "@playwright/test": "^1.63.0","@rolldown/plugin-babel": "^0.2.2","@types/node": "^24.7.0","@types/semver": "^7.5.8",diff --git a/packages/desktop/playwright.packaged.config.ts b/packages/desktop/playwright.packaged.config.tsindex 09a082fe6..6ea58e365 100644--- a/packages/desktop/playwright.packaged.config.ts+++ b/packages/desktop/playwright.packaged.config.ts@@ -52,7 +52,7 @@ export default defineConfig({testDir: './tests/smoke',// Without this, the tier would default to the unpackaged run's// `test-results/` and clear it at run start, taking that run's per-test- // artifacts with it — Playwright 1.59.1, re-verify on any upgrade, not just+ // artifacts with it — Playwright 1.63.0, re-verify on any upgrade, not just// a major, since the range admits minors and this is undocumented behavior// of a public API.//@@ -64,7 +64,7 @@ export default defineConfig({// separate tree makes it structural instead of conditional.//// Only the artifact trees separate. A reporter's `outputFile` is its own- // path — same 1.59.1 measurement, same re-verify-on-any-upgrade — so+ // path — same 1.63.0 measurement, same re-verify-on-any-upgrade — so// `PACKAGED_JSON_REPORT_PATH` still lands in `test-results/` beside its// sibling, and nothing clears it now: fine on a fresh CI workspace, worth// knowing on a reused one. Both trees upload on failure.diff --git a/packages/desktop/tests/smoke/_helpers/transient-notice.test.ts b/packages/desktop/tests/smoke/_helpers/transient-notice.test.tsindex f9bb373bd..5decb6798 100644--- a/packages/desktop/tests/smoke/_helpers/transient-notice.test.ts+++ b/packages/desktop/tests/smoke/_helpers/transient-notice.test.ts@@ -48,27 +48,31 @@ describe('transient notice caused by a trigger', () => {test('replays CI retry 1: observes a notice shown and dismissed before the trigger returned', async () => {const surface = noticeSurface();- await expectNoticeFromTrigger(- NOTICE,- surface.observation(() => {- surface.show(NOTICE);- return Promise.resolve();- }),- { timeout: OBSERVE_BOUND_MS },- );+ await expect(+ expectNoticeFromTrigger(+ NOTICE,+ surface.observation(() => {+ surface.show(NOTICE);+ return Promise.resolve();+ }),+ { timeout: OBSERVE_BOUND_MS },+ ),+ ).resolves.toBeUndefined();});test('observes a notice that fires after the trigger returns', async () => {const surface = noticeSurface();- await expectNoticeFromTrigger(- NOTICE,- surface.observation(() => {- setTimeout(() => surface.show(NOTICE), 0);- return Promise.resolve();- }),- { timeout: OBSERVE_BOUND_MS },- );+ await expect(+ expectNoticeFromTrigger(+ NOTICE,+ surface.observation(() => {+ setTimeout(() => surface.show(NOTICE), 0);+ return Promise.resolve();+ }),+ { timeout: OBSERVE_BOUND_MS },+ ),+ ).resolves.toBeUndefined();});test('fails naming the notice when the trigger shows none', async () => {@@ -400,15 +404,17 @@ describe('transient notice observed in the document its trigger produced', () =>const tab = documentAwarePage();tab.whenBooted((reloaded) => showsAndRemoves(reloaded, NOTICE));- await expectNoticeFromTrigger(- NOTICE,- transientNoticeObservation(tab.page, {- document: 'next',- trigger: () => tab.reload(),- recorder: realmRecorder,- }),- { timeout: OBSERVE_BOUND_MS },- );+ await expect(+ expectNoticeFromTrigger(+ NOTICE,+ transientNoticeObservation(tab.page, {+ document: 'next',+ trigger: () => tab.reload(),+ recorder: realmRecorder,+ }),+ { timeout: OBSERVE_BOUND_MS },+ ),+ ).resolves.toBeUndefined();});test('is never satisfied by a notice the pre-reload document was showing when observation armed', async () => {@@ -476,18 +482,20 @@ describe('transient notice observed in the document its trigger produced', () =>test('current-document arming records a notice the trigger shows and removes', async () => {const tab = documentAwarePage();- await expectNoticeFromTrigger(- NOTICE,- transientNoticeObservation(tab.page, {- document: 'current',- trigger: () => {- showsAndRemoves(tab.current(), NOTICE);- return Promise.resolve();- },- recorder: realmRecorder,- }),- { timeout: OBSERVE_BOUND_MS },- );+ await expect(+ expectNoticeFromTrigger(+ NOTICE,+ transientNoticeObservation(tab.page, {+ document: 'current',+ trigger: () => {+ showsAndRemoves(tab.current(), NOTICE);+ return Promise.resolve();+ },+ recorder: realmRecorder,+ }),+ { timeout: OBSERVE_BOUND_MS },+ ),+ ).resolves.toBeUndefined();});test('gives each observation its own record, so a notice an earlier observation recorded never satisfies a later one', async () => {diff --git a/packages/desktop/tests/unit/linux-package-terminal-spawn.test.ts b/packages/desktop/tests/unit/linux-package-terminal-spawn.test.tsindex b67a264cf..6aed8db97 100644--- a/packages/desktop/tests/unit/linux-package-terminal-spawn.test.ts+++ b/packages/desktop/tests/unit/linux-package-terminal-spawn.test.ts@@ -166,7 +166,7 @@ async function failureReport('run',relative(desktopRoot, fileURLToPath(import.meta.url)),'--testNamePattern',- `${suite} ${name}$`,+ `${suite}(?: >)? ${name}$`,'--reporter=github-actions','--maxWorkers=1',],diff --git a/packages/server/src/file-logger.test.ts b/packages/server/src/file-logger.test.tsindex 2ef73cce1..227388afd 100644--- a/packages/server/src/file-logger.test.ts+++ b/packages/server/src/file-logger.test.ts@@ -14,7 +14,7 @@ afterEach(() => {});describe('file logger', () => {- test('pino.destination writes NDJSON to file', () => {+ test('pino.destination writes NDJSON to file', async () => {mkdirSync(TEST_DIR, { recursive: true });const filePath = join(TEST_DIR, 'test.log');const dest = pino.destination({ dest: filePath, sync: true });@@ -25,10 +25,10 @@ describe('file logger', () => {logger.info({ foo: 'bar' }, 'hello');dest.flushSync();const content = Bun.file(filePath).text();- expect(content).resolves.toContain('"msg":"hello"');+ await expect(content).resolves.toContain('"msg":"hello"');});- test('project field is included in records', () => {+ test('project field is included in records', async () => {mkdirSync(TEST_DIR, { recursive: true });const filePath = join(TEST_DIR, 'test-project.log');const dest = pino.destination({ dest: filePath, sync: true });@@ -39,10 +39,10 @@ describe('file logger', () => {logger.info({}, 'check');dest.flushSync();const content = Bun.file(filePath).text();- expect(content).resolves.toContain('"project":"test-slug"');+ await expect(content).resolves.toContain('"project":"test-slug"');});- test('redact config censors sensitive top-level fields', () => {+ test('redact config censors sensitive top-level fields', async () => {mkdirSync(TEST_DIR, { recursive: true });const filePath = join(TEST_DIR, 'test-redact.log');const dest = pino.destination({ dest: filePath, sync: true });@@ -56,7 +56,7 @@ describe('file logger', () => {logger.info({ authorization: 'Bearer sk-secret123' }, 'auth check');dest.flushSync();const content = Bun.file(filePath).text();- expect(content).resolves.toContain('[REDACTED]');+ await expect(content).resolves.toContain('[REDACTED]');});test('rotation renames when file exceeds 5MB', () => {diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e7bc15095..baa2f6503 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -212,8 +212,8 @@ importers:specifier: ~7.29.0version: 7.29.0vitest:- specifier: ^4.1.0- version: 4.1.10(@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected](@noble/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ specifier: ^5.0.3+ version: 5.0.3(@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected](@noble/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))yaml:specifier: ^2.8.3version: 2.9.0@@ -237,19 +237,19 @@ importers:version: 2.0.14'@vercel/microfrontends':specifier: ^2.3.6- version: 2.4.0([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 2.4.0([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))clsx:specifier: ^2.1.1version: 2.1.1fumadocs-core:specifier: ~16.1.0- version: 16.1.0(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 16.1.0(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])fumadocs-mdx:specifier: ~14.0.3- version: 14.0.4([email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 14.0.4([email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))fumadocs-ui:specifier: ~16.1.0- version: 16.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ version: 16.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])katex:specifier: ^0.16.22version: 0.16.47@@ -267,7 +267,7 @@ importers:version: 11.16.1next:specifier: ~16.3.3- version: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])+ version: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])next-themes:specifier: ^0.4.6@@ -334,7 +334,7 @@ importers:version: 0.4.8fumadocs-typescript:specifier: ~4.0.13- version: 4.0.14(@types/[email protected])([email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))([email protected])([email protected])+ version: 4.0.14(@types/[email protected])([email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))([email protected])([email protected])jsdom:specifier: ^29.1.1version: 29.1.1(@noble/[email protected])@@ -689,7 +689,7 @@ importers:devDependencies:'@axe-core/playwright':specifier: ^4.11.1- version: 4.12.1([email protected])+ version: 4.12.1([email protected])'@hocuspocus/server':specifier: 4.0.0-rc.1@@ -712,8 +712,8 @@ importers:specifier: ^2.0.0version: 2.9.0(@opentelemetry/[email protected])'@playwright/test':- specifier: ^1.59.1- version: 1.59.1+ specifier: ^1.63.0+ version: 1.63.0'@rolldown/plugin-babel':specifier: ^0.2.2version: 0.2.2(@babel/[email protected]([email protected]))(@babel/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))@@ -778,8 +778,8 @@ importers:specifier: 2.0.2version: 2.0.2([email protected])([email protected])playwright:- specifier: 1.59.1- version: 1.59.1+ specifier: 1.63.0+ version: 1.63.0remark-mdx:specifier: ^3.1.1version: 3.1.1([email protected])@@ -1202,8 +1202,8 @@ importers:specifier: ^3.1.1version: 3.1.1([email protected])'@playwright/test':- specifier: ^1.59.1- version: 1.59.1+ specifier: ^1.63.0+ version: 1.63.0'@rolldown/plugin-babel':specifier: ^0.2.2version: 0.2.2(@babel/[email protected]([email protected]))(@babel/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))@@ -2764,6 +2764,9 @@ packages:'@jridgewell/[email protected]':resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}+ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==}+'@jridgewell/[email protected]':resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}@@ -4263,9 +4266,9 @@ packages:'@pinojs/[email protected]':resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==}- '@playwright/[email protected]':- resolution: {integrity: sha512-PG6q63nQg5c9rIi4/Z5lR5IVF7yU5MqmKaPOe0HSc0O2cX1fPi96sUQu5j7eo4gKCkB2AnNGoWt7y4/Xx3Kcqg==}- engines: {node: '>=18'}+ '@playwright/[email protected]':+ resolution: {integrity: sha512-oxMK4vllB9RK5NQ2l1pq1IfOf2AvnEuj/vYGDj0H2nMtmtZpKtCwt/l00GEO6xjGfpBNAvjovvYdCm50dRQkpQ==}+ engines: {node: '>=20'}hasBin: true'@polka/[email protected]':@@ -6263,11 +6266,8 @@ packages:babel-plugin-react-compiler:optional: true- '@vitest/[email protected]':- resolution: {integrity: sha512-YsCn+qAk1GWjQOWFEsEcL2gNQ0zmVmQu3T03qP6UyjhtmdtwtbuI+DASn/7iQB3HGTXkdBwGddzxPlmiql5vlA==}-- '@vitest/[email protected]':- resolution: {integrity: sha512-v0xaezt+DKEmKfaxg133ldzADrwLGd7Ze1MfQQTYfvs8OqZIwbxyxaYURivwV7sWy5fqn3rH5uOrSp07bp44Ow==}+ '@vitest/[email protected]':+ resolution: {integrity: sha512-T8sWAIbkSyAjkwTcaEc3Iu0o9A27X1/kdXrizhZkGuSKScRQtRzclfAMpOTcGdXCsqxeWlpGy3XjqaW8CpLORg==}peerDependencies:msw: ^2.4.9vite: ^6.0.0 || ^7.0.0 || ^8.0.0@@ -6277,20 +6277,8 @@ packages:vite:optional: true- '@vitest/[email protected]':- resolution: {integrity: sha512-W1HsjSH4MXQ9YfmmhLAoIYf1HRfekQCGngeIgcei6MP5QQGWUe0gkopdZQaVCFO+JDJMrAJGwa5pRpNpvy4P8Q==}-- '@vitest/[email protected]':- resolution: {integrity: sha512-IKI6kpIH+LmpROplyLwBBaCfMgOZOMsygVa6BARD6ahA04VRuJSa6OaVG7kRvSEMD870Vd91rSSw0eegtWyLGg==}-- '@vitest/[email protected]':- resolution: {integrity: sha512-xRkfOT1qpTAi/Ti4Y1LtfRc3kEuqxGw59eN2jN9pRWMtS/XDevekhcFSqvQqjUNGksfjMJu3Y+oJ+4Ypn2OaJw==}-- '@vitest/[email protected]':- resolution: {integrity: sha512-PLf/Ugvoq5wO/b4rwYCR1h2PSIdXz7wnkQFMiUpLdtM7l6pqVFcQIBEHyT1+l+cj7mNwAfZHzqXqDyjvOuwbDw==}-- '@vitest/[email protected]':- resolution: {integrity: sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA==}+ '@vitest/[email protected]':+ resolution: {integrity: sha512-XhFysQTB8AZ+P4gMi+Lpo99vg2AZi0qKpaB9yXQl37+CaMEAPO3iH/wGVnSyL5MPERiLezpqTVtrR6UZH5GCXg==}'@xmldom/[email protected]':resolution: {integrity: sha512-KRYzxepc14G/CEpEGc3Yn+JKaAeT63smlDr+vjB8jRfgTBBI9wRj/nkQEO+ucV8p8I9bfKLWp37uHgFrbntPvw==}@@ -7762,8 +7750,8 @@ packages:resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-shc1dbU90Yl/xq1QrC7QRtfcwURZuVRfPhZbDoldJ1cn1gzDvBaBWlv0eFolj5+0znnPJz5TXLxsN77X/12KTA==}+ resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==}resolution: {integrity: sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==}@@ -8127,11 +8115,6 @@ packages:resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}- resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}- os: [darwin]-resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}@@ -9196,6 +9179,9 @@ packages:resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}+ resolution: {integrity: sha512-vG+rjFRj1PqdIBozIxAGMjPlOhaVe+GXpbttY/iSK7rGcJRMlwNJO7dcUwmUqkymsFLJiNGI06t4D7Fr7yRC9g==}+resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==}engines: {node: '>=16'}@@ -9950,9 +9936,6 @@ packages:resolution: {integrity: sha512-aXXC6s+1w7otVF9UletFkFcDsJeO7lSZBPUQhtb5O0xJe8LtYhj/GxldoL09bBj9+ZmE2hNoHqQSFMN5fikh4Q==}- resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}-resolution: {integrity: sha512-YxFb+SQcodN2rnX9Tn3dHYlqfb7NjlzzfONPpJd+AKoKtUjEdevTfbC07d5TcczzOK6261auRkP/M8OBHs9vFQ==}engines: {node: '>=22.13.0 || >=24'}@@ -9981,6 +9964,10 @@ packages:resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==}engines: {node: '>=12'}+ resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==}engines: {node: '>=6'}@@ -10011,19 +9998,14 @@ packages:resolution: {integrity: sha512-emEcLuomt2j03vxD54giVB4SxTjnsqkU692xZOZXHDVoYyypEm+b3jpiTcc+Cf+myooc+/Ly0z01jqeNHVgJGw==}engines: {node: '>=16.0.0'}- resolution: {integrity: sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==}- engines: {node: '>=18'}- hasBin: true-- resolution: {integrity: sha512-h7Qlt6m4REp25qvIdvbDtVmD4LqVXfpRxhORv9L0jzETM05p4fuPJ3dKyuSXQxDSbXnmS79HAgi9589lGSpLkg==}- engines: {node: '>=18'}+ resolution: {integrity: sha512-rYCsBF/M5HjUch52bbtVONEFjv6Xu8sm8h72dNlR5bzIE1fvC/bxgspzkjSfU+MweEMmPM8KJebG6nnyxo5mCg==}+ engines: {node: '>=20'}hasBin: true- resolution: {integrity: sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==}- engines: {node: '>=18'}+ resolution: {integrity: sha512-+7ziBLidS4NaNCdt57SUDT+wYmmd5fmiQejUic/kb+YsYSCPyOOE9sebzMjNmQrsnNpDJqd4WHvV/8lfKfUDUg==}+ engines: {node: '>=20'}hasBin: true@@ -10853,9 +10835,6 @@ packages:resolution: {integrity: sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==}-resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}@@ -10972,9 +10951,6 @@ packages:resolution: {integrity: sha512-gcj8zBWU5cFsi9WUP+4bFNXAyF1iRpA3LLyS/DP5xlrNzGmPIizUeBggKa8DbDwdqaKwUcTEnChtd2grWo/x/A==}- resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}-resolution: {integrity: sha512-jH9EhtKIjuXZ2cWxmXS8ZP80XyC3iasQxMDV8jzhNJpfDb7VbQLVW4Wvsxz9QZvzV+G4YoSfBUVKDOyxLzi/sg==}engines: {node: '>= 6'}@@ -11207,8 +11183,9 @@ packages:resolution: {integrity: sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==}- resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==}+ resolution: {integrity: sha512-78U2TlB2CnVenajOFzf3BKSm0J6oz5L0NV7g32LCPccvYc0lbWvys4d3uUUCS2B1N8PAf2+aekR8i1KbC3HO7Q==}+ engines: {node: '>=20.0.0'}resolution: {integrity: sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==}@@ -11217,6 +11194,10 @@ packages:resolution: {integrity: sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==}engines: {node: '>=18'}+ resolution: {integrity: sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==}engines: {node: '>=12.0.0'}@@ -11225,10 +11206,6 @@ packages:resolution: {integrity: sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw==}engines: {node: ^20.0.0 || >=22.0.0}- resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==}- engines: {node: '>=14.0.0'}-resolution: {integrity: sha512-c1P7u0EhACHj7lPy4MJm8iTFEU8+nB0LCtddH0fhP7noaVoXAqafMtOOeX+ulpuPBqnrRgRhw494RICT3mbhnw==}@@ -11635,23 +11612,23 @@ packages:yaml:optional: true- resolution: {integrity: sha512-R9jUTe5S4Qb0HCd4TNqpC7oGcrMssMRGXLW80ubjWsW9VH5GF8y1Y0SFLY9AbqSk6nt0PnOx4H4WNJYZ13GUPw==}- engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}+ resolution: {integrity: sha512-xMw97S3rjdtj5dkVat7jCsqWBpvchs3RlpQctUqwJD0KkERk40vz2fJ77lDwW/Vzh/pk18eItYAzkodhSes3jQ==}+ engines: {node: ^22.12.0 || ^24.0.0 || >=26.0.0}hasBin: truepeerDependencies:'@edge-runtime/vm': '*''@opentelemetry/api': ^1.9.0'@types/node': ^24.7.0- '@vitest/browser-playwright': 4.1.10- '@vitest/browser-preview': 4.1.10- '@vitest/browser-webdriverio': 4.1.10- '@vitest/coverage-istanbul': 4.1.10- '@vitest/coverage-v8': 4.1.10- '@vitest/ui': 4.1.10+ '@vitest/browser-playwright': 5.0.3+ '@vitest/browser-preview': 5.0.3+ '@vitest/browser-webdriverio': ^5.0.0-beta.5 || >=5.0.0+ '@vitest/coverage-istanbul': 5.0.3+ '@vitest/coverage-v8': 5.0.3+ '@vitest/ui': 5.0.3happy-dom: '*'jsdom: '*'- vite: ^6.0.0 || ^7.0.0 || ^8.0.0+ vite: ^6.4.0 || ^7.0.0 || ^8.0.0peerDependenciesMeta:'@edge-runtime/vm':optional: true@@ -11794,9 +11771,9 @@ packages:engines: {node: ^20.17.0 || >=22.9.0}hasBin: true- resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==}- engines: {node: '>=8'}+ resolution: {integrity: sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==}+ engines: {node: '>=20.11'}hasBin: true@@ -12002,10 +11979,10 @@ snapshots:'@asamuzakjp/[email protected]': {}- '@axe-core/[email protected]([email protected])':+ '@axe-core/[email protected]([email protected])':dependencies:axe-core: 4.12.1- playwright-core: 1.61.1+ playwright-core: 1.63.0'@babel/[email protected]':dependencies:@@ -13499,10 +13476,12 @@ snapshots:'@jridgewell/[email protected]': {}+ '@jridgewell/[email protected]': {}+'@jridgewell/[email protected]':dependencies:'@jridgewell/resolve-uri': 3.1.2- '@jridgewell/sourcemap-codec': 1.5.5+ '@jridgewell/sourcemap-codec': 1.6.0'@kwsites/[email protected]([email protected])':dependencies:@@ -14904,9 +14883,9 @@ snapshots:'@pinojs/[email protected]': {}- '@playwright/[email protected]':+ '@playwright/[email protected]':dependencies:- playwright: 1.59.1+ playwright: 1.63.0'@polka/[email protected]': {}@@ -16762,7 +16741,7 @@ snapshots:d3-selection: 3.0.0d3-transition: 3.0.1([email protected])- '@vercel/[email protected]([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vercel/[email protected]([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@next/env': 16.0.10'@types/md5': 2.3.6@@ -16777,7 +16756,7 @@ snapshots:path-to-regexp: 6.3.0semver: 7.8.5optionalDependencies:- next: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])+ next: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])react: 19.2.5react-dom: 19.2.5([email protected])vite: 8.0.8(@types/[email protected])([email protected])([email protected])([email protected])([email protected])@@ -16803,46 +16782,16 @@ snapshots:'@rolldown/plugin-babel': 0.2.2(@babel/[email protected]([email protected]))(@babel/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))babel-plugin-react-compiler: 0.0.0-experimental-a8e64ef-20260402- '@vitest/[email protected]':- dependencies:- '@standard-schema/spec': 1.1.0- '@types/chai': 5.2.3- '@vitest/spy': 4.1.10- '@vitest/utils': 4.1.10- chai: 6.2.2- tinyrainbow: 3.1.0-- '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:- '@vitest/spy': 4.1.10+ '@jridgewell/trace-mapping': 0.3.31+ '@vitest/spy': 5.0.3estree-walker: 3.0.3- magic-string: 0.30.21+ magic-string: 1.4.2optionalDependencies:vite: 8.0.8(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- '@vitest/[email protected]':- dependencies:- tinyrainbow: 3.1.0-- '@vitest/[email protected]':- dependencies:- '@vitest/utils': 4.1.10- pathe: 2.0.3-- '@vitest/[email protected]':- dependencies:- '@vitest/pretty-format': 4.1.10- '@vitest/utils': 4.1.10- magic-string: 0.30.21- pathe: 2.0.3-- '@vitest/[email protected]': {}-- '@vitest/[email protected]':- dependencies:- '@vitest/pretty-format': 4.1.10- convert-source-map: 2.0.0- tinyrainbow: 3.1.0+ '@vitest/[email protected]': {}'@xmldom/[email protected]': {}@@ -18326,7 +18275,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}dependencies:@@ -18854,13 +18803,10 @@ snapshots:- optional: true-optional: true- [email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):dependencies:'@formatjs/intl-localematcher': 0.6.2'@orama/orama': 3.1.18@@ -18883,20 +18829,20 @@ snapshots:optionalDependencies:'@types/react': 19.2.17lucide-react: 0.503.0([email protected])- next: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])+ next: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])react: 19.2.5react-dom: 19.2.5([email protected])transitivePeerDependencies:- supports-color- [email protected]([email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@mdx-js/mdx': 3.1.1([email protected])'@standard-schema/spec': 1.1.0chokidar: 5.0.0esbuild: 0.28.1estree-util-value-to-estree: 3.5.0- fumadocs-core: 16.1.0(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])+ fumadocs-core: 16.1.0(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])js-yaml: 4.3.1lru-cache: 11.5.2mdast-util-to-markdown: 2.1.2@@ -18911,16 +18857,16 @@ snapshots:vfile: 6.0.3zod: 4.4.3optionalDependencies:- next: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])+ next: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])react: 19.2.5vite: 8.0.8(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color- [email protected](@types/[email protected])([email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected](@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]))([email protected])([email protected]):dependencies:estree-util-value-to-estree: 3.5.0- fumadocs-core: 16.1.0(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])+ fumadocs-core: 16.1.0(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])hast-util-to-estree: 3.1.3([email protected])hast-util-to-jsx-runtime: 2.3.6([email protected])remark: 15.0.1([email protected])@@ -18931,11 +18877,11 @@ snapshots:unist-util-visit: 5.1.0optionalDependencies:'@types/react': 19.2.17- fumadocs-ui: 16.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])+ fumadocs-ui: 16.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color- [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])([email protected]):dependencies:'@radix-ui/react-accordion': 1.2.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -18948,7 +18894,7 @@ snapshots:'@radix-ui/react-slot': 1.3.0(@types/[email protected])([email protected])'@radix-ui/react-tabs': 1.1.13(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])class-variance-authority: 0.7.1- fumadocs-core: 16.1.0(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])+ fumadocs-core: 16.1.0(@types/[email protected])([email protected]([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])lodash.merge: 4.6.2postcss-selector-parser: 7.1.4@@ -18959,7 +18905,7 @@ snapshots:tailwind-merge: 3.6.0optionalDependencies:'@types/react': 19.2.17- next: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])+ next: 16.3.3(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])tailwindcss: 4.3.2transitivePeerDependencies:- '@mixedbread/sdk'@@ -20028,6 +19974,10 @@ snapshots:dependencies:'@jridgewell/sourcemap-codec': 1.5.5+ dependencies:+ '@jridgewell/sourcemap-codec': 1.6.0+@@ -20741,7 +20691,7 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):+ [email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]):dependencies:'@next/env': 16.3.3'@swc/helpers': 0.5.23@@ -20761,7 +20711,7 @@ snapshots:'@next/swc-win32-arm64-msvc': 16.3.3'@next/swc-win32-x64-msvc': 16.3.3'@opentelemetry/api': 1.9.1- '@playwright/test': 1.59.1+ '@playwright/test': 1.63.0sass: 1.51.0sharp: 0.35.3(@types/[email protected])transitivePeerDependencies:@@ -21162,8 +21112,6 @@ snapshots:process: 0.11.10util: 0.10.4- [email protected]: {}-optionalDependencies:'@napi-rs/canvas': 1.0.3@@ -21188,6 +21136,8 @@ snapshots:+ [email protected]: {}+@@ -21241,15 +21191,11 @@ snapshots:pvutils: 1.1.5tslib: 2.8.1- [email protected]: {}-- [email protected]: {}+ [email protected]: {}dependencies:- playwright-core: 1.59.1- optionalDependencies:- fsevents: 2.3.2+ playwright-core: 1.63.0dependencies:@@ -22522,8 +22468,6 @@ snapshots:side-channel-map: 1.0.1side-channel-weakmap: 1.0.2- [email protected]: {}-@@ -22641,8 +22585,6 @@ snapshots:- [email protected]: {}-@@ -22926,12 +22868,14 @@ snapshots:- [email protected]: {}+ [email protected]: {}+ [email protected]: {}+dependencies:fdir: 6.5.0([email protected])@@ -22939,8 +22883,6 @@ snapshots:- [email protected]: {}-@@ -23356,28 +23298,22 @@ snapshots:tsx: 4.23.0yaml: 2.9.0- [email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected](@noble/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@opentelemetry/[email protected])(@types/[email protected])([email protected])([email protected](@noble/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:- '@vitest/expect': 4.1.10- '@vitest/mocker': 4.1.10([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))- '@vitest/pretty-format': 4.1.10- '@vitest/runner': 4.1.10- '@vitest/snapshot': 4.1.10- '@vitest/spy': 4.1.10- '@vitest/utils': 4.1.10- es-module-lexer: 2.3.1+ '@types/chai': 5.2.3+ '@vitest/mocker': 5.0.3([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ chai: 6.2.2+ es-module-lexer: 2.3.2expect-type: 1.4.0- magic-string: 0.30.21- obug: 2.1.3- pathe: 2.0.3- picomatch: 4.0.5+ magic-string: 1.4.2+ obug: 2.1.4+ picomatch: 4.0.7std-env: 4.2.0- tinybench: 2.9.0- tinyexec: 1.2.4+ tinybench: 6.2.0+ tinyexec: 1.3.1tinyglobby: 0.2.17- tinyrainbow: 3.1.0vite: 8.0.8(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- why-is-node-running: 2.3.0+ why-is-node-running: 3.2.1optionalDependencies:'@opentelemetry/api': 1.9.1'@types/node': 24.13.3@@ -23513,10 +23449,7 @@ snapshots:dependencies:isexe: 4.0.0- dependencies:- siginfo: 2.0.0- stackback: 0.0.2+ [email protected]: {}dependencies:diff --git a/test-support/no-net-connect-fixture-runner.test.ts b/test-support/no-net-connect-fixture-runner.test.tsindex b24a92a4c..dfd135c49 100644--- a/test-support/no-net-connect-fixture-runner.test.ts+++ b/test-support/no-net-connect-fixture-runner.test.ts@@ -1,5 +1,8 @@import { execFile } from 'node:child_process';-import { dirname, resolve } from 'node:path';+import { randomUUID } from 'node:crypto';+import { readFileSync, rmSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { dirname, join, resolve } from 'node:path';import { fileURLToPath } from 'node:url';import { describe, expect, test } from 'vitest';import { NetConnectBlockedError } from './no-net-connect';@@ -37,6 +40,7 @@ type FixtureResult = {signal: NodeJS.Signals | null;stdout: string;stderr: string;+ report: string | null;};type FixtureRun = {@@ -44,8 +48,21 @@ type FixtureRun = {reporter?: 'json' | 'default';};+function readReport(reportPath: string): string | null {+ try {+ return readFileSync(reportPath, 'utf8');+ } catch (error) {+ if ((error as NodeJS.ErrnoException).code === 'ENOENT') return null;+ throw error;+ } finally {+ rmSync(reportPath, { force: true });+ }+}+function runFixture(testNamePattern: string, run: FixtureRun = {}): Promise<FixtureResult> {- return new Promise((resolveResult) => {+ const reporter = run.reporter ?? 'json';+ const reportPath = join(tmpdir(), `ok-no-net-connect-fixture-${randomUUID()}.json`);+ return new Promise((resolveResult, rejectResult) => {execFile(process.execPath,[@@ -55,7 +72,8 @@ function runFixture(testNamePattern: string, run: FixtureRun = {}): Promise<FixtFIXTURE_CONFIG,'--testNamePattern',testNamePattern,- `--reporter=${run.reporter ?? 'json'}`,+ `--reporter=${reporter}`,+ ...(reporter === 'json' ? [`--outputFile.json=${reportPath}`] : []),'--no-color',],{@@ -70,13 +88,22 @@ function runFixture(testNamePattern: string, run: FixtureRun = {}): Promise<Fixttimeout: FIXTURE_TIMEOUT_MS,},(error, stdout, stderr) => {- resolveResult({- exitCode: error?.code ?? 0,- killed: error?.killed ?? false,- signal: error?.signal ?? null,- stdout,- stderr,- });+ try {+ resolveResult({+ exitCode: error?.code ?? 0,+ killed: error?.killed ?? false,+ signal: error?.signal ?? null,+ stdout,+ stderr,+ report: reporter === 'json' ? readReport(reportPath) : null,+ });+ } catch (readError) {+ rejectResult(+ new Error(`Vitest fixture report ${reportPath} could not be read\n${stderr}`, {+ cause: readError,+ }),+ );+ }},);});@@ -100,10 +127,13 @@ function assertLaunched(function parseReport(result: FixtureResult): VitestJsonReport {assertLaunched(result);+ if (result.report === null) {+ throw new Error(`Vitest fixture wrote no JSON report\n${result.stdout}\n${result.stderr}`);+ }try {- return JSON.parse(result.stdout) as VitestJsonReport;+ return JSON.parse(result.report) as VitestJsonReport;} catch (error) {- throw new Error(`Vitest fixture returned invalid JSON\n${result.stdout}\n${result.stderr}`, {+ throw new Error(`Vitest fixture returned invalid JSON\n${result.report}\n${result.stderr}`, {cause: error,});}diff --git a/test-support/uncached-tier-reconcile.test.ts b/test-support/uncached-tier-reconcile.test.tsindex c6107d242..ed0998995 100644--- a/test-support/uncached-tier-reconcile.test.ts+++ b/test-support/uncached-tier-reconcile.test.ts@@ -181,7 +181,7 @@ describe('reconcile() over the real tier config, as Vitest resolves it under a -const SCRIPTS_PROJECT = 'vitest.scripts.config.ts';async function reconcileUnder(project: string[] | undefined) {- const vitest = await createVitest('test', {+ const vitest = await createVitest({root,config: 'vitest.uncached.config.ts',watch: false,diff --git a/test-support/vitest.base.ts b/test-support/vitest.base.tsindex 7bf6520d5..fb9a77f3b 100644--- a/test-support/vitest.base.ts+++ b/test-support/vitest.base.ts@@ -40,6 +40,7 @@ export const okVitestBase = {testTimeout: 30_000,hookTimeout: 30_000,env: { DO_NOT_TRACK: '1' },+ clearMocks: false,expect: { requireAssertions: true },tags: [{