From afa87af01c79a9baa539f2992d32154d2a4739bd Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 14:46:37 -0800 Subject: task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq --- .../node_modules/@vitest/utils/dist/helpers.d.ts | 73 ---------------------- 1 file changed, 73 deletions(-) delete mode 100644 vanilla/node_modules/@vitest/utils/dist/helpers.d.ts (limited to 'vanilla/node_modules/@vitest/utils/dist/helpers.d.ts') diff --git a/vanilla/node_modules/@vitest/utils/dist/helpers.d.ts b/vanilla/node_modules/@vitest/utils/dist/helpers.d.ts deleted file mode 100644 index 493817b..0000000 --- a/vanilla/node_modules/@vitest/utils/dist/helpers.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Nullable, Arrayable } from './types.js'; - -declare function nanoid(size?: number): string; - -declare function shuffle(array: T[], seed?: number): T[]; - -interface CloneOptions { - forceWritable?: boolean; -} -interface ErrorOptions { - message?: string; - stackTraceLimit?: number; -} - -/** -* Get original stacktrace without source map support the most performant way. -* - Create only 1 stack frame. -* - Rewrite prepareStackTrace to bypass "support-stack-trace" (usually takes ~250ms). -*/ -declare function createSimpleStackTrace(options?: ErrorOptions): string; -declare function notNullish(v: T | null | undefined): v is NonNullable; -declare function assertTypes(value: unknown, name: string, types: string[]): void; -declare function isPrimitive(value: unknown): boolean; -declare function slash(path: string): string; -declare function cleanUrl(url: string): string; -declare const isExternalUrl: (url: string) => boolean; -/** -* Prepend `/@id/` and replace null byte so the id is URL-safe. -* This is prepended to resolved ids that are not valid browser -* import specifiers by the importAnalysis plugin. -*/ -declare function wrapId(id: string): string; -/** -* Undo {@link wrapId}'s `/@id/` and null byte replacements. -*/ -declare function unwrapId(id: string): string; -declare function withTrailingSlash(path: string): string; -declare function isBareImport(id: string): boolean; -declare function toArray(array?: Nullable>): Array; -declare function isObject(item: unknown): boolean; -declare function getType(value: unknown): string; -declare function getOwnProperties(obj: any): (string | symbol)[]; -declare function deepClone(val: T, options?: CloneOptions): T; -declare function clone(val: T, seen: WeakMap, options?: CloneOptions): T; -declare function noop(): void; -declare function objectAttr(source: any, path: string, defaultValue?: undefined): any; -type DeferPromise = Promise & { - resolve: (value: T | PromiseLike) => void; - reject: (reason?: any) => void; -}; -declare function createDefer(): DeferPromise; -/** -* If code starts with a function call, will return its last index, respecting arguments. -* This will return 25 - last ending character of toMatch ")" -* Also works with callbacks -* ``` -* toMatch({ test: '123' }); -* toBeAliased('123') -* ``` -*/ -declare function getCallLastIndex(code: string): number | null; -declare function isNegativeNaN(val: number): boolean; -/** -* Deep merge :P -* -* Will merge objects only if they are plain -* -* Do not merge types - it is very expensive and usually it's better to case a type here -*/ -declare function deepMerge(target: T, ...sources: any[]): T; - -export { assertTypes, cleanUrl, clone, createDefer, createSimpleStackTrace, deepClone, deepMerge, getCallLastIndex, getOwnProperties, getType, isBareImport, isExternalUrl, isNegativeNaN, isObject, isPrimitive, nanoid, noop, notNullish, objectAttr, shuffle, slash, toArray, unwrapId, withTrailingSlash, wrapId }; -export type { DeferPromise }; -- cgit v1.2.3