1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/cli
Nayeem Rahman ceb03cfb03
refactor(core): cleanup feature flags for js source inclusion (#19463)
Remove `ExtensionFileSourceCode::LoadedFromFsDuringSnapshot` and feature
`include_js_for_snapshotting` since they leak paths that are only
applicable in this repo to embedders. Replace with feature
`exclude_js_sources`. Additionally the feature
`force_include_js_sources` allows negating it, if both features are set.
We need both of these because features are additive and there must be a
way of force including sources for snapshot creation while still having
the `exclude_js_sources` feature. `force_include_js_sources` is only set
for build deps, so sources are still excluded from the final binary.

You can also specify `force_include_js_sources` on any extension to
override the above features for that extension. Towards #19398.

But there was still the snapshot-from-snapshot situation where code
could be executed twice, I addressed that by making `mod_evaluate()` and
scripts like `core/01_core.js` behave idempotently. This allowed
unifying `ext::init_ops()` and `ext::init_ops_and_esm()` into
`ext::init()`.
2023-06-13 09:45:06 -06:00
..
args chore: update clap (#19467) 2023-06-12 13:54:04 +02:00
bench chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
cache chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
js fix(ext/web): improve timers resolution for 0ms timeouts (#19212) 2023-05-22 14:09:31 +02:00
lsp refactor(core): cleanup feature flags for js source inclusion (#19463) 2023-06-13 09:45:06 -06:00
napi chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
npm fix(npm): warn when tarball contains hardlink or symlink (#19474) 2023-06-13 09:48:13 -04:00
ops refactor(core): cleanup feature flags for js source inclusion (#19463) 2023-06-13 09:45:06 -06:00
schemas feat: add support for globs in the config file and CLI arguments for files (#19102) 2023-05-23 03:39:59 +02:00
standalone chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
tests chore(repl): mark some tests as flaky (#19475) 2023-06-13 09:36:21 -04:00
tools refactor(core): cleanup feature flags for js source inclusion (#19463) 2023-06-13 09:45:06 -06:00
tsc refactor(core): cleanup feature flags for js source inclusion (#19463) 2023-06-13 09:45:06 -06:00
util chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs refactor(core): cleanup feature flags for js source inclusion (#19463) 2023-06-13 09:45:06 -06:00
Cargo.toml refactor(core): cleanup feature flags for js source inclusion (#19463) 2023-06-13 09:45:06 -06: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.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
emit.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
errors.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
factory.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
file_fetcher.rs chore(tests): test_util - Add PathRef (#19450) 2023-06-10 11:09:45 -04:00
graph_util.rs refactor: helpers methods on TypeCheckMode (#19393) 2023-06-07 10:09:10 -04:00
http_util.rs feat(unstable): add more options to Deno.createHttpClient (#17385) 2023-05-21 03:43:54 +02:00
js.rs refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
main.rs perf: add Tokio runtime monitor (#19415) 2023-06-09 11:52:51 +00:00
module_loader.rs refactor: helpers methods on TypeCheckMode (#19393) 2023-06-07 10:09:10 -04:00
node.rs refactor(ext/node): allow injecting NodeFs from CLI (#18829) 2023-04-24 19:44:35 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs feat: top level package.json install when node_modules dir is explicitly opted into (#19233) 2023-05-23 18:51:48 -04:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
watcher.rs refactor(cli): remove ProcState - add CliFactory (#18900) 2023-05-01 14:35:23 -04:00
worker.rs feat(runtime): support creating workers using custom v8 params (#19339) 2023-06-05 09:22:32 +00: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.