1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli
Bartek Iwańczuk c3dd19c5d3
refactor(cli): remove ProgramState::permissions (#8228)
This commit removes ProgramState::permissions field.

Having permissions parsed from CLI flags stored on globally
accessible state object made it easy to mistakenly use these
permissions in situations which required "runtime" permissions.
2020-11-02 23:37:55 +01:00
..
bench chore: add bundle_no_check benchmark (#8130) 2020-10-26 19:57:29 +01:00
dts refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) 2020-11-02 13:51:56 +11:00
ops refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) 2020-11-03 06:41:20 +11:00
rt refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) 2020-11-02 13:51:56 +11:00
tests fix(op_crates/web): fix URLSearchParams, malformed url handling (#8092) 2020-11-02 18:58:29 +01:00
tsc refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) 2020-11-03 06:41:20 +11:00
ast.rs fix(cli): inject helpers when transpiling via swc (#8221) 2020-11-02 22:33:43 +11:00
build.rs refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) 2020-11-03 06:41:20 +11:00
Cargo.toml refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) 2020-11-03 06:41:20 +11:00
checksum.rs refactor(cli): add tsc2 (#7942) 2020-10-14 10:52:49 +11:00
colors.rs chore(cli): remove dead code (#7941) 2020-10-12 22:25:25 +11:00
coverage.rs reland JsRuntime/Worker is not a Future (#7924) 2020-10-11 13:20:40 +02:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_dir.rs Move JSON ops to deno_core (#7336) 2020-09-06 02:34:02 +02:00
diagnostics.rs refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) 2020-11-02 13:51:56 +11:00
diff.rs fix(cli/fmt): make fmt output more readable (#7534) 2020-09-17 21:48:08 -04:00
disk_cache.rs fix: Use -rw-r--r-- for cache files (#8132) 2020-10-26 12:58:58 -04:00
errors.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
file_fetcher.rs refactor(cli): migrate run and cache to new infrastructure (#7996) 2020-10-23 11:50:15 +11:00
file_watcher.rs refactor(watch): create single watcher for whole process (#8083) 2020-10-28 12:41:18 +01:00
flags.rs add commit hash and target to long_version output (#8133) 2020-11-02 12:40:33 -05:00
flags_allow_net.rs chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
fmt.rs fix(cli/fmt): Strip "\\?\" prefix when displaying Windows paths (#8135) 2020-10-30 03:19:03 +01:00
fmt_errors.rs refactor(cli): migrate run and cache to new infrastructure (#7996) 2020-10-23 11:50:15 +11:00
fs.rs fix(cli/fmt): Strip "\\?\" prefix when displaying Windows paths (#8135) 2020-10-30 03:19:03 +01:00
global_timer.rs refactor: remove CliState, use OpState, add CliModuleLoader (#7588) 2020-09-20 01:17:35 +02:00
http_cache.rs fix: Use -rw-r--r-- for cache files (#8132) 2020-10-26 12:58:58 -04:00
http_util.rs chore(cli): remove dead code (#7941) 2020-10-12 22:25:25 +11:00
import_map.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
info.rs refactor(cli): move info subcommand over to new module graph (#7892) 2020-10-12 13:25:27 +11:00
inspector.rs refactor(cli/repl): get context id from notification (#7864) 2020-10-11 19:49:55 +02:00
installer.rs fix(cli/fmt): Strip "\\?\" prefix when displaying Windows paths (#8135) 2020-10-30 03:19:03 +01:00
js.rs refactor(cli): add tsc2 (#7942) 2020-10-14 10:52:49 +11:00
lint.rs upgrade: deno_doc, deno_lint, dprint, swc (#8197) 2020-10-30 20:39:53 +01:00
lockfile.rs feat(cli/installer): Add missing flags for deno install (#7601) 2020-10-19 21:19:20 +02:00
main.rs refactor(cli): remove ProgramState::permissions (#8228) 2020-11-02 23:37:55 +01:00
media_type.rs refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) 2020-11-02 13:51:56 +11:00
metrics.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
module_graph.rs refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) 2020-11-03 06:41:20 +11:00
module_loader.rs refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) 2020-11-03 06:41:20 +11:00
permissions.rs refactor(cli/permissions): Cleanup Flags to Permissions conversion (#8213) 2020-10-31 23:44:42 +01:00
program_state.rs refactor(cli): remove ProgramState::permissions (#8228) 2020-11-02 23:37:55 +01:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
repl.rs fix(repl): don't hang on unpaired braces (#8151) 2020-10-28 06:03:17 -04:00
resolve_addr.rs refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476) 2020-09-15 01:50:52 +02:00
signal.rs refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476) 2020-09-15 01:50:52 +02:00
source_maps.rs refactor(cli): migrate run and cache to new infrastructure (#7996) 2020-10-23 11:50:15 +11:00
specifier_handler.rs refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) 2020-11-02 13:51:56 +11:00
system_loader.js fix: bundle loader returns exported value (#7764) 2020-09-30 18:51:19 +10:00
system_loader_es5.js fix: bundle loader returns exported value (#7764) 2020-09-30 18:51:19 +10:00
test_runner.rs fix(test): return error when awaiting unresolved promise (#7968) 2020-10-14 15:19:13 +02:00
text_encoding.rs Move JSON ops to deno_core (#7336) 2020-09-06 02:34:02 +02:00
tokio_util.rs set maximum size of thread pool to 31 (#7290) 2020-08-31 17:38:25 -04:00
tsc.rs refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) 2020-11-03 06:41:20 +11:00
tsc_config.rs refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) 2020-11-02 13:51:56 +11:00
upgrade.rs refactor: use futures and serde_json from deno_core (#7614) 2020-09-21 18:36:37 +02:00
version.rs add commit hash and target to long_version output (#8133) 2020-11-02 12:40:33 -05:00
worker.rs refactor(cli): remove ProgramState::permissions (#8228) 2020-11-02 23:37:55 +01:00

Deno CLI Crate

crates docs

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

The deno crate uses the deno_core to provide the executable.