1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/cli
Casper Beyer f3751e498f
feat(cli): add test permissions to Deno.test (#10188)
This commits adds adds "permissions" option to the test definitions 
which allows tests to run with different permission sets than 
the process's permission.

The change will only be in effect within the test function, once the 
test has completed the original process permission set is restored.

Test permissions cannot exceed the process's permission.
You can only narrow or drop permissions, failure to acquire a 
permission results in an error being thrown and the test case will fail.
2021-04-25 23:38:59 +02:00
..
bench chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
dts feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00
lsp fix(#10362): include range for export statements (#10369) 2021-04-26 06:59:18 +10:00
ops feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00
tests feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00
tools feat(cli/upgrade): add download progress (#10343) 2021-04-24 13:37:43 -04:00
tsc refactor(core): move op cache sync responsibility to rust space (#10340) 2021-04-25 22:00:05 +02:00
ast.rs feat: set useDefineForClassFields to true (#10119) 2021-04-11 07:56:40 +10:00
auth_tokens.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
build.rs refactor(core): move op cache sync responsibility to rust space (#10340) 2021-04-25 22:00:05 +02:00
Cargo.toml feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00
checksum.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
colors.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04: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: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
diagnostics.rs feat(runtime): stabilize Deno.fstat and Deno.fstatSync (#10108) 2021-04-12 11:27:38 +02:00
diff.rs chore: make all tests annotated with #[cfg(test)] (#9347) 2021-02-01 10:55:23 -05:00
disk_cache.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
errors.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
file_fetcher.rs refactor: use 'data-url' crate to process data URLs in lsp & file_fetcher (#10196) 2021-04-23 20:43:13 +02:00
file_watcher.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
flags.rs chore: improve help text (#10186) 2021-04-18 15:12:55 +02:00
flags_allow_net.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
fmt_errors.rs fix(#10292): Don't gray-out internal frames (#10293) 2021-04-22 08:30:03 -04:00
fs_util.rs fix: do not panic on not found cwd (#10238) 2021-04-21 17:52:00 +02:00
http_cache.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
http_util.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
import_map.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
info.rs feat(cli): represent type dependencies in info (#9630) 2021-03-01 22:49:58 +11:00
lockfile.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
main.rs feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00
main_runtime.rs feat(cli): raise file descriptor limit on startup (#10162) 2021-04-13 10:24:45 -04:00
media_type.rs upgrade: Rust 1.51.0 (#9895) 2021-03-25 19:17:37 +01:00
module_graph.rs refactor(cli): rename Deno.emit() bundle options to "module" and "classic" (#10332) 2021-04-26 06:54:57 +10:00
module_loader.rs Make ModuleSpecifier a type alias, not wrapper struct (#9531) 2021-02-17 13:47:18 -05:00
program_state.rs feat(runtime/permissions): prompt fallback (#9376) 2021-04-12 11:15:43 +09:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
source_maps.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
specifier_handler.rs feat(runtime/permissions): prompt fallback (#9376) 2021-04-12 11:15:43 +09:00
standalone.rs feat: blob URL support (#10045) 2021-04-07 15:22:14 +02:00
text_encoding.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
tokio_util.rs feat: native HTTP bindings (#9935) 2021-04-08 18:34:15 -04:00
tsc.rs refactor(core): move op cache sync responsibility to rust space (#10340) 2021-04-25 22:00:05 +02:00
tsc_config.rs feat: set useDefineForClassFields to true (#10119) 2021-04-11 07:56:40 +10:00
unix_util.rs chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
version.rs fix: full commit hash in canary compile download (#9166) 2021-01-19 13:53: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.