0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 09:57:11 -05:00
deno/tests/testdata
Bartek Iwańczuk dfc5eec43c
feat: Allow importing .cjs files (#25426)
This commit adds support for executing top-level `.cjs` files, 
as well as import `.cjs` files from within npm packages.

This works only for `.cjs` files, the contents of sibling `package.json`
are not consulted for the `"type"` field.

Closes https://github.com/denoland/deno/issues/25384

---------

Signed-off-by: David Sherret <dsherret@users.noreply.github.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-09-05 07:59:12 +00:00
..
assets
bench refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
benches
cache chore: migrate bench, publish, and more itests to spec tests (#23584) 2024-04-29 10:08:27 -04:00
cert chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
check BREAKING: remove deno bundle (#25339) 2024-09-02 17:27:37 +02:00
commonjs
compile chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
coverage BREAKING(types): soft-remove Deno.run() (#25403) 2024-09-05 08:45:55 +10:00
doc perf: update deno_doc (#24700) 2024-07-24 12:23:16 -07:00
dynamic_import fix(permissions): handle ipv6 addresses correctly (#24397) 2024-07-05 23:45:06 +01:00
encoding
file_extensions
fmt feat(fmt): support HTML, Svelte, Vue, Astro and Angular (#25019) 2024-08-14 22:58:48 +02:00
image fix(ext/web): properly handle Blob case for createImageBitmap (#23518) 2024-05-07 04:47:42 -07:00
import_attributes feat: deprecate import assertions (#25281) 2024-08-29 01:06:09 +00:00
import_maps
info test: fix info::info_import_map test (#25389) 2024-09-03 13:18:51 +00:00
inspector chore: enable clippy::print_stdout and clippy::print_stderr (#23732) 2024-05-08 22:45:06 -04:00
install
jsx
jupyter
lint chore: migrate bench, publish, and more itests to spec tests (#23584) 2024-04-29 10:08:27 -04:00
lockfile feat: lockfile v4 by default (#25165) 2024-08-26 23:01:50 +00:00
lsp
malformed_config
module_graph
node chore: fix flaky rejection_handled_web_process (#23817) 2024-05-14 23:51:51 +00:00
npm feat(cli): give access to process global everywhere (#25291) 2024-09-04 11:04:06 +02:00
package_json feat: improve lockfile v4 to store normalized version constraints and be more terse (#25247) 2024-08-28 14:17:47 -04:00
publish fix(publish): workspace included license file had incorrect path (#24747) 2024-07-26 15:35:29 +00:00
repl
run feat: Allow importing .cjs files (#25426) 2024-09-05 07:59:12 +00:00
runtime
serve feat(serve): Opt-in parallelism for deno serve (#24920) 2024-08-14 22:26:21 +00:00
subdir FUTURE: remove import assertions support for JavaScript (#23541) 2024-04-29 22:43:05 +02:00
task chore: Fix failing task_npx_non_existent test (#23945) 2024-05-22 18:57:57 +00:00
test BREAKING(permissions): remove --allow-hrtime (#25367) 2024-09-03 11:24:25 +02:00
tls
tsc
tsc2
type_definitions
unfurl
webcrypto
webgpu fix(ext/webgpu): assign missing constants property of shader about GPUDevice.createRenderPipeline[Async] (#24803) 2024-08-01 11:19:25 -07:00
workers BREAKING(permissions): remove --allow-hrtime (#25367) 2024-09-03 11:24:25 +02:00
cat.ts
echo.ts
echo_server.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
env
env_unparsable fix: --env flag confusing message on syntax error (#23915) 2024-05-27 15:06:18 +02:00
error_cause_recursive_aggregate.ts
error_cause_recursive_aggregate.ts.out
error_cause_recursive_tail.ts
error_cause_recursive_tail.ts.out
navigator_language.ts
navigator_languages.ts
spawn_kill_permissions.ts
symlink_to_subdir
welcome.ts