1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/test_util
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
..
src feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
std@0170bc2455 chore: update std submodule to 0.176.0 (#17668) 2023-02-06 23:22:52 +01:00
wpt@9f9c1d83e3 test(wpt): add mimesniff tests (#16225) 2022-10-24 16:11:24 +02:00
Cargo.toml refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00