1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli
Steven Guerrero adc2f08c17
feat: Add configurable permissions for Workers (#8215)
This commit adds new option to "Worker" Web API that allows to 
configure permissions.

New "Worker.deno.permissions" option can be used to define limited
permissions to the worker thread by either:
- inherit set of parent thread permissions
- use limited subset of parent thread permissions
- revoke all permissions (full sandbox)

In order to achieve this functionality "CliModuleLoader"
was modified to accept "initial permissions", which are used
for top module loading (ie. uses parent thread permission set
to load top level module of a worker).
2021-01-06 21:31:16 +01:00
..
bench Add rlib size benchmarks (#9005) 2021-01-05 16:28:51 -05:00
dts feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
lsp refactor(cli): remove 'js' module, simplify compiler snapshot (#9020) 2021-01-06 02:38:23 +01:00
ops fix: use inline source maps when present in js (#8995) 2021-01-06 00:10:36 +01:00
tests feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
tools feat(installer): Add support for MSYS on Windows (#8932) 2021-01-04 08:52:43 -08:00
tsc refactor(core): simplify Deno.core initialisation, remove stale TODO (#8847) 2021-01-05 22:10:50 +01:00
ast.rs upgrade: deno_doc, deno_lint, dprint, swc (#8849) 2020-12-22 00:57:03 +01:00
build.rs refactor: move WebSocket API to an op_crate (#9026) 2021-01-06 16:57:28 +01:00
Cargo.toml refactor: move WebSocket API to an op_crate (#9026) 2021-01-06 16:57:28 +01: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
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 chore: clippy future cleanups (#8514) 2020-11-28 06:47:35 +11:00
diagnostics.rs refactor(cli): runtime compiler APIs consolidated to Deno.emit() (#8799) 2021-01-01 08:43:54 +11:00
diff.rs refactor(cli+core): various cleanups in Rust (#8336) 2020-11-13 09:17:31 +11:00
disk_cache.rs feat(cli): support data urls (#8866) 2021-01-06 13:22:38 +11:00
errors.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
file_fetcher.rs feat(cli): support data urls (#8866) 2021-01-06 13:22:38 +11:00
file_watcher.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
flags.rs feat(cli/standalone): support runtime flags for deno compile (#8738) 2021-01-05 00:15:52 +01:00
flags_allow_net.rs chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
fmt_errors.rs refactor: Rename runtime/rt to runtime/js (#8806) 2020-12-17 17:37:57 +01:00
fs_util.rs fix: atomically write files to $DENO_DIR (#8822) 2020-12-18 19:30:49 +01:00
http_cache.rs feat(cli): support data urls (#8866) 2021-01-06 13:22:38 +11:00
http_util.rs feat(cli/standalone): support runtime flags for deno compile (#8738) 2021-01-05 00:15:52 +01: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): remove unnecessary format! calls (#8315) 2020-11-09 15:38:29 +01:00
lockfile.rs refactor(cli): Remove unnecessary conversion into BTreeMap (#8498) 2020-11-26 13:16:48 +01:00
main.rs feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
media_type.rs chore: clippy future cleanups (#8514) 2020-11-28 06:47:35 +11:00
module_graph.rs refactor(cli): remove 'js' module, simplify compiler snapshot (#9020) 2021-01-06 02:38:23 +01:00
module_loader.rs feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00
program_state.rs feat(cli): support data urls (#8866) 2021-01-06 13:22:38 +11:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
source_maps.rs fix: use inline source maps when present in js (#8995) 2021-01-06 00:10:36 +01:00
specifier_handler.rs feat(cli): support data urls (#8866) 2021-01-06 13:22:38 +11:00
standalone.rs feat(cli/standalone): support runtime flags for deno compile (#8738) 2021-01-05 00:15:52 +01: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: move WebSocket API to an op_crate (#9026) 2021-01-06 16:57:28 +01:00
tsc_config.rs refactor(cli): runtime compiler APIs consolidated to Deno.emit() (#8799) 2021-01-01 08:43:54 +11:00
version.rs refactor(cli): remove 'js' module, simplify compiler snapshot (#9020) 2021-01-06 02:38:23 +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.