From 57a06745a48093c25d0f4729ccea41a918d6427d Mon Sep 17 00:00:00 2001 From: dave caruso Date: Thu, 7 Sep 2023 04:58:44 -0700 Subject: Progress for Next.js (#4468) * L * ipc * asdfghjkl * dfghjk * it works! * types * patches for next.js * sdfghj * wsdfgn,./ * this * yolo * okay loser * asdfghjk * add some more APIs * MESS * sdfghjkl * remove native events from streams * stuff * remove lazy(primordials) test * debugging * okay * less fake extensions object * fix `Buffer.toString()` args logic * fix deserialize * make tests work * add test for `Buffer.toString` args * Update server.zig * remove test * update test * Update spawn-streaming-stdin.test.ts * fix linux build * Update fs.test.ts * cli message improvements * dfshaj * Fix fs.watch bug maybe? * remove --------- Co-authored-by: Dylan Conway --- src/js/builtins/Module.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/js/builtins/Module.ts') diff --git a/src/js/builtins/Module.ts b/src/js/builtins/Module.ts index d6ebc8578..dfaf7acf2 100644 --- a/src/js/builtins/Module.ts +++ b/src/js/builtins/Module.ts @@ -86,7 +86,6 @@ export function requireResolve(this: string | { path: string }, id: string) { } export function requireNativeModule(id: string) { - // There might be a race condition here? let esm = Loader.registry.$get(id); if (esm?.evaluated && (esm.state ?? 0) >= $ModuleReady) { const exports = Loader.getModuleNamespaceObject(esm.module); -- cgit v1.2.3