deno/cli/tools
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
..
coverage refactor: rename deno specifiers to internal (#17655) 2023-02-05 17:49:20 +01:00
init chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
repl feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
vendor refactor: make resolver required (#17783) 2023-02-15 11:30:54 -05:00
bench.rs feat(bench): Add JSON reporter for "deno bench" subcommand (#17595) 2023-02-12 17:40:45 +00:00
bundle.rs feat: Deprecate 'deno bundle' subcommand (#17695) 2023-02-14 02:13:44 +01:00
check.rs refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -05:00
doc.rs refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -05:00
fmt.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
info.rs refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
installer.rs refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
lint.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
mod.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
run.rs refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
standalone.rs feat(install): follow redirects for urls with no path (#17449) 2023-02-10 10:11:11 -05:00
task.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
test.rs refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -05:00
upgrade.rs refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00