aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
commitafa87af01c79a9baa539f2992d32154d2a4739bd (patch)
tree92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js
parent3b927e84d200402281f68181cd4253bc77e5528d (diff)
downloadneko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip
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
Diffstat (limited to 'vanilla/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js')
-rw-r--r--vanilla/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/vanilla/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js b/vanilla/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js
deleted file mode 100644
index 3156848..0000000
--- a/vanilla/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js
+++ /dev/null
@@ -1,36 +0,0 @@
-import { builtinModules } from 'node:module';
-
-// copied from vite
-// https://github.com/vitejs/vite/blob/814120f2ad387ca3d1e16c7dd403b04ca4b97f75/packages/vite/src/node/utils.ts#L106
-// Supported by Node, Deno, Bun
-const NODE_BUILTIN_NAMESPACE = "node:";
-// Supported by Deno
-const NPM_BUILTIN_NAMESPACE = "npm:";
-// Supported by Bun
-const BUN_BUILTIN_NAMESPACE = "bun:";
-// Some runtimes like Bun injects namespaced modules here, which is not a node builtin
-const nodeBuiltins = builtinModules.filter((id) => !id.includes(":"));
-const { bun: isBun, deno: isDeno } = process.versions;
-// TODO: Use `isBuiltin` from `node:module`, but Deno doesn't support it
-function isBuiltin(id) {
- if (isDeno && id.startsWith(NPM_BUILTIN_NAMESPACE)) return true;
- if (isBun && id.startsWith(BUN_BUILTIN_NAMESPACE)) return true;
- return isNodeBuiltin(id);
-}
-function isNodeBuiltin(id) {
- if (id.startsWith(NODE_BUILTIN_NAMESPACE)) return true;
- return nodeBuiltins.includes(id);
-}
-const browserExternalId = "__vite-browser-external";
-const browserExternalLength = 24;
-function isBrowserExternal(id) {
- return id.startsWith(browserExternalId);
-}
-function toBuiltin(id) {
- if (id.startsWith(browserExternalId)) id = id.slice(browserExternalLength);
- if (id.startsWith(NPM_BUILTIN_NAMESPACE) || id.startsWith(BUN_BUILTIN_NAMESPACE) || id.startsWith(NODE_BUILTIN_NAMESPACE)) return id;
- if (isDeno || isBun) return id;
- return `node:${id}`;
-}
-
-export { isBrowserExternal as a, isBuiltin as i, toBuiltin as t };