1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
denoland-deno/cli/tests/testdata/compat
Bartek Iwańczuk f1d3a17043
feat: add --compat flag to provide built-in Node modules (#12293)
This commit adds "--compat" flag. When the flag is passed a set of mappings for
built-in Node modules is injected into the import map. If user doesn't
explicitly provide an import map (using "--import-map" flag) then a map is
created on the fly. If there are already existing mappings in import map that
would clash with built-in Node modules a set of diagnostics is printed to the
terminal with suggestions how to proceed.
2021-10-05 01:35:55 +02:00
..
existing_import_map.json feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00
existing_import_map.out feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00
fs_promises.js feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00
fs_promises.out feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00
test.txt feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00