0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-02 12:50:43 -05:00
denoland-deno/cli/tests/integration
Bartek Iwańczuk 75209e12f1
feat: wire up ext/node to the Node compatibility layer (#17785)
This PR changes Node.js/npm compatibility layer to use polyfills for
built-in Node.js
embedded in the snapshot (that are coming from "ext/node" extension).

As a result loading `std/node`, either from
"https://deno.land/std@<latest>/" or
from "DENO_NODE_COMPAT_URL" env variable were removed. All code that is
imported via "npm:" specifiers now uses code embedded in the snapshot.

Several fixes were applied to various modules in "ext/node" to make
tests pass.

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2023-02-15 19:44:52 +01:00
..
bench_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
bundle_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
cache_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
cert_tests.rs chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00:00
check_tests.rs feat: support node built-in module imports (#17264) 2023-01-24 09:05:54 -05:00
compile_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
coverage_tests.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
doc_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
eval_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
flags_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
fmt_tests.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
info_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
init_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
inspector_tests.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
install_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
js_unit_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
lint_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
lsp_tests.rs fix: revert lsp related internal specifiers (#17673) 2023-02-06 22:49:49 +01:00
mod.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
npm_tests.rs fix(lockfile): emit trailing newline (#17618) 2023-02-01 15:57:02 -05:00
repl_tests.rs refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -05:00
run_tests.rs feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
task_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
test_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
upgrade_tests.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
vendor_tests.rs refactor: make resolver required (#17783) 2023-02-15 11:30:54 -05:00
watcher_tests.rs feat: Deprecate 'deno bundle' subcommand (#17695) 2023-02-14 02:13:44 +01:00
worker_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00