1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/cli/cache
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
..
check.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
common.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
deno_dir.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
disk_cache.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
emit.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
http_cache.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
incremental.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
mod.rs feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
node.rs refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
parsed_source.rs perf: module info cache - avoid MediaType.to_string() allocation (#17699) 2023-02-09 09:17:48 -05:00