1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/cli
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
..
args feat: Deprecate 'deno bundle' subcommand (#17695) 2023-02-14 02:13:44 +01:00
bench refactor: deno_graph 0.43 upgrade (#17692) 2023-02-09 22:00:23 -05:00
cache feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
js refactor: remove prefix from include_js_files & use extension name (#17683) 2023-02-07 21:09:50 +00:00
lsp refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
napi fix(cli/napi): correct name handling in napi property descriptor (#17716) 2023-02-10 21:46:56 +05:30
node feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
npm refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
ops chore: add copyright_checker tool and add the missing copyright (#17285) 2023-01-13 16:51:32 +09:00
schemas feat: embed import map in the config file (#17478) 2023-01-25 21:13:40 +01:00
tests feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
tools feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
tsc refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
util refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs feat(ext/node): embed std/node into the snapshot (#17724) 2023-02-14 17:38:45 +01:00
Cargo.toml refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00:00
emit.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
errors.rs refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
file_fetcher.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
graph_util.rs refactor: make resolver required (#17783) 2023-02-15 11:30:54 -05:00
http_util.rs feat(install): follow redirects for urls with no path (#17449) 2023-02-10 10:11:11 -05:00
js.rs chore: add copyright_checker tool and add the missing copyright (#17285) 2023-01-13 16:51:32 +09:00
main.rs refactor: use deno_graph's semver and npm structs (#17791) 2023-02-15 13:20:40 -05:00
module_loader.rs feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
proc_state.rs feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor: make resolver required (#17783) 2023-02-15 11:30:54 -05:00
standalone.rs refactor: make resolver required (#17783) 2023-02-15 11:30:54 -05:00
version.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
worker.rs feat: wire up ext/node to the Node compatibility layer (#17785) 2023-02-15 19:44:52 +01:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.