1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/cli/tests/integration
Bartek Iwańczuk f77c5701f7
feat(compat): integrate import map and classic resolutions in ESM resolution (#12549)
This commit integrates import map and "classic" resolutions in
the "--compat" mode when using ES modules; in effect
"http:", "https:" and "blob:" imports now work in compat mode.

The algorithm works as follows:

1. If there's an import map, try to resolve using it and if succeeded
return the specifier
2. Try to resolve using "Node ESM resolution", and if succeeded return
the specifier
3. Fall back to regular ESM resolution
2021-10-28 10:11:38 +02:00
..
bundle_tests.rs chore: test for bundling export specifier with alias (#12421) 2021-10-13 08:55:28 -04:00
cache_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
compat_tests.rs feat(compat): integrate import map and classic resolutions in ESM resolution (#12549) 2021-10-28 10:11:38 +02:00
compile_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
coverage_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
doc_tests.rs fix(cli): deno doc panics on invalid url (#11536) 2021-07-29 04:07:25 -07:00
eval_tests.rs chore: split up integration_tests.rs into separate files (#11131) 2021-06-27 13:27:36 -04:00
fmt_tests.rs feat(cli/fmt): support more markdown extensions (#12195) 2021-09-23 21:49:25 +05:30
info_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
inspector_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
install_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
lint_tests.rs test: refactor lint tests into directories (#12317) 2021-10-04 18:16:49 +02:00
lsp_tests.rs fix(lsp): lint diagnostics respect config file (#12338) 2021-10-12 00:02:33 +02:00
mod.rs feat: stabilize Deno.resolveDns (#12368) 2021-10-10 15:46:11 +05:30
repl_tests.rs fix(repl): avoid panic when assigned to globalThis (#12273) 2021-10-01 00:25:58 +09:00
run_tests.rs feat(cli): enable useUnknownInCatchVariables by default (#12547) 2021-10-28 08:43:40 +11:00
test_tests.rs feat: provide ops details for ops sanitizer failures (#12188) 2021-10-11 17:00:33 +02:00
upgrade_tests.rs fix(cli/tools/upgrade): check if passed version is valid (#11296) 2021-07-07 14:59:39 -04:00
watcher_tests.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
worker_tests.rs fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00