1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext
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
..
broadcast_channel refactor: remove prefix from include_js_files & use extension name (#17683) 2023-02-07 21:09:50 +00:00
cache refactor: remove prefix from include_js_files & use extension name (#17683) 2023-02-07 21:09:50 +00:00
console fix(ext/console): Only right-align integers in console.table() (#17389) 2023-02-08 18:14:40 +09:00
crypto refactor: remove prefix from include_js_files & use extension name (#17683) 2023-02-07 21:09:50 +00:00
fetch refactor: remove prefix from include_js_files & use extension name (#17683) 2023-02-07 21:09:50 +00:00
ffi fix(ext/ffi): improve error messages in FFI module (#17786) 2023-02-15 09:41:59 +05:30
flash feat(flash): add 2nd param to handler to get remote address (#17633) 2023-02-15 16:37:41 +01:00
http perf(http): remove allocations checking upgrade and connection header values (#17727) 2023-02-12 20:51:07 +00:00
napi feat(node): stabilize Node-API (#17553) 2023-02-14 15:53:00 +01:00
net feat: add signal option to Deno.resolveDns (#17384) 2023-02-11 14:14:02 +00:00
node feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
tls chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00:00
url refactor(core): change SourcePair to ExtensionFileSource (#17686) 2023-02-08 00:21:43 +01:00
web feat(ext/node): embed std/node into the snapshot (#17724) 2023-02-14 17:38:45 +01:00
webgpu fix(webgpu): use correct op for GPUDevice.createSampler (#17729) 2023-02-11 05:40:51 +00:00
webidl refactor(ext/webidl): use TypedArrayPrototypeGetSymbolToStringTag (#17602) 2023-02-09 22:45:47 +01:00
websocket fix(ext/websocket): extra ws pongs sent (#17762) 2023-02-13 14:58:32 +00:00
webstorage refactor: remove prefix from include_js_files & use extension name (#17683) 2023-02-07 21:09:50 +00:00