mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -05:00
a01dce3a25
Fixes cjs modules being loaded as esm.
13 lines
735 B
Text
13 lines
735 B
Text
[Module: null prototype] { sync_js: 1 }
|
|
[Module: null prototype] { sync_mjs: 1 }
|
|
error: Uncaught Error: Top-level await is not allowed in synchronous evaluation
|
|
at loadESMFromCJS (node:module:[WILDCARD])
|
|
at Module._compile (node:module:[WILDCARD])
|
|
at Object.Module._extensions..js (node:module:[WILDCARD])
|
|
at Module.load (node:module:[WILDCARD])
|
|
at Function.Module._load (node:module:[WILDCARD])
|
|
at Module.require (node:module:[WILDCARD])
|
|
at require (node:module:[WILDCARD])
|
|
at Object.<anonymous> (file:[WILDCARD]/tests/specs/run/require_esm/main.cjs:[WILDCARD])
|
|
at Object.<anonymous> (file:[WILDCARD]/tests/specs/run/require_esm/main.cjs:[WILDCARD])
|
|
at Module._compile (node:module:[WILDCARD])
|