1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/cli/tests
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
..
integration feat(compat): integrate import map and classic resolutions in ESM resolution (#12549) 2021-10-28 10:11:38 +02:00
testdata feat(compat): integrate import map and classic resolutions in ESM resolution (#12549) 2021-10-28 10:11:38 +02:00
unit feat(cli): enable useUnknownInCatchVariables by default (#12547) 2021-10-28 08:43:40 +11:00
integration_tests.rs chore: split up integration_tests.rs into separate files (#11131) 2021-06-27 13:27:36 -04:00