1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/tests/integration
Andreu Botella 9def44979a
fix(cli): Don't strip shebangs from modules (#13220)
Deno's module loader currently strips a shebang if a module file
starts with one. However, this is no longer necessary, since there is
a stage-3 TC39 that adds support for shebangs (or "hashbangs") to the
language (https://github.com/tc39/proposal-hashbang), and V8, `tsc`
and `swc` all support it.

Furthermore, stripping shebangs causes a correctness bug with JSON
modules, since a JSON file with a shebang should not parse as a JSON
module, yet it does with this stripping. This change fixes this.
2022-01-16 16:48:32 +01:00
..
bundle_tests.rs feat(cli): add ignore directives to bundled code (#13309) 2022-01-12 13:05:06 +01:00
cache_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
compat_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
compile_tests.rs feat(cli): add ignore directives to bundled code (#13309) 2022-01-12 13:05:06 +01:00
coverage_tests.rs fix(coverage): merge coverage ranges (#13334) 2022-01-11 21:17:25 +01:00
doc_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
eval_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
fmt_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
info_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
inspector_tests.rs test: add inspector test with ts files (#13312) 2022-01-09 17:44:36 +01:00
install_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
lint_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
lsp_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
mod.rs test: type check lib.deno_core.d.ts (#13356) 2022-01-14 19:05:16 +01:00
repl_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
run_tests.rs fix(cli): Don't strip shebangs from modules (#13220) 2022-01-16 16:48:32 +01:00
test_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
upgrade_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
watcher_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
worker_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00