module: improve error message for top-level await in CommonJS #65421
Annotations
2 errors and 1 notice
test/es-module/test-esm-detect-ambiguous.mjs#L434
--- stdout ---
βΆ Module syntax detection
βΆ string input
β permits ESM syntax in --eval input without requiring --input-type=module (39.542529ms)
::debug::starting to run Module syntax detection
::debug::starting to run string input
::debug::starting to run permits ESM syntax in --eval input without requiring --input-type=module
::debug::completed running permits ESM syntax in --eval input without requiring --input-type=module
β permits ESM syntax in STDIN input without requiring --input-type=module (34.377574ms)
::debug::starting to run permits ESM syntax in STDIN input without requiring --input-type=module
::debug::completed running permits ESM syntax in STDIN input without requiring --input-type=module
β should be overridden by --input-type (25.125889ms)
::debug::starting to run should be overridden by --input-type
::debug::completed running should be overridden by --input-type
β should not switch to module if code is parsable as script (30.369825ms)
::debug::starting to run should not switch to module if code is parsable as script
::debug::completed running should not switch to module if code is parsable as script
β does not trigger detection via source code `eval()` (32.701295ms)
β string input (164.497465ms)
::debug::starting to run does not trigger detection via source code `eval()`
::debug::completed running does not trigger detection via source code `eval()`
::debug::completed running string input
βΆ .js file input in a typeless package
β permits CommonJS syntax in a .js entry point (31.709529ms)
::debug::starting to run .js file input in a typeless package
::debug::starting to run permits CommonJS syntax in a .js entry point
::debug::completed running permits CommonJS syntax in a .js entry point
β permits ESM syntax in a .js entry point (38.432449ms)
::debug::starting to run permits ESM syntax in a .js entry point
::debug::completed running permits ESM syntax in a .js entry point
β permits CommonJS syntax in a .js file imported by a CommonJS entry point (50.856509ms)
::debug::starting to run permits CommonJS syntax in a .js file imported by a CommonJS entry point
::debug::completed running permits CommonJS syntax in a .js file imported by a CommonJS entry point
β permits ESM syntax in a .js file imported by a CommonJS entry point (44.115696ms)
::debug::starting to run permits ESM syntax in a .js file imported by a CommonJS entry point
::debug::completed running permits ESM syntax in a .js file imported by a CommonJS entry point
β permits CommonJS syntax in a .js file imported by an ESM entry point (58.487506ms)
::debug::starting to run permits CommonJS syntax in a .js file imported by an ESM entry point
::debug::completed running permits CommonJS syntax in a .js file imported by an ESM entry point
β permits ESM syntax in a .js file imported by an ESM entry point (56.131345ms)
β .js file input in a typeless package (281.123088ms)
::debug::starting to run permits ESM syntax in a .js file imported by an ESM entry point
::debug::completed running permits ESM syntax in a .js file imported by an ESM entry point
::debug::completed running .js file input in a typeless package
βΆ extensionless file input in a typeless package
β permits CommonJS syntax in an extensionless entry point (37.546042ms)
::debug::starting to run extensionless file input in a typeless package
::debug::starting to run permits CommonJS syntax in an extensionless entry point
::debug::completed running permits CommonJS syntax in an extensionless entry point
β permits ESM syntax in an extensionless entry point (61.05543ms)
::debug::starting to run permits ESM syntax in an extensionless entry point
::debug::completed running permits ESM syntax in an extensionless entry point
β permits CommonJS syntax in an extensionless file imported by a CommonJS entry point (42.614799ms)
::debug::starting to run permits CommonJS syntax in an extensionless file imported by a CommonJS entry point
::debug::completed running permits CommonJS syntax in an extensionless file imported by a CommonJS entry point
|
|
|
The logs for this run have expired and are no longer available.
Loading