1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/tests/specs/bench
Bartek Iwańczuk 5504acea67
feat: add --allow-import flag (#25469)
This replaces `--allow-net` for import permissions and makes the
security sandbox stricter by also checking permissions for statically
analyzable imports.

By default, this has a value of
`--allow-import=deno.land:443,jsr.io:443,esm.sh:443,raw.githubusercontent.com:443,gist.githubusercontent.com:443`,
but that can be overridden by providing a different set of hosts.

Additionally, when no value is provided, import permissions are inferred
from the CLI arguments so the following works because
`fresh.deno.dev:443` will be added to the list of allowed imports:

```ts
deno run -A -r https://fresh.deno.dev
```

---------

Co-authored-by: David Sherret <dsherret@gmail.com>
2024-09-26 01:50:54 +00:00
..
allow_all BREAKING(permissions): remove --allow-hrtime (#25367) 2024-09-03 11:24:25 +02:00
allow_none feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
before_unload_prevent_default fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
bench_explicit_start_end refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
bench_formatting fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
check_local_by_default feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
check_local_by_default2 feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
clear_timeout fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
collect fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
default_ts feat: default to TS for file extension and support ext flag in more scenarios (#25472) 2024-09-18 21:15:13 +02:00
exit_sanitizer fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
explicit_start_and_end_low_precision fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
fail fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
filter fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
filter_group_header fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
finally_timeout fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
group_baseline fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
ignore fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
ignore_permissions BREAKING(permissions): remove --allow-hrtime (#25367) 2024-09-03 11:24:25 +02:00
interval fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
json_output feat: include version number in all --json based outputs (#25335) 2024-09-05 08:51:40 +00:00
load_unload fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
meta fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
multifile_summary fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
no_check chore: migrate bench, publish, and more itests to spec tests (#23584) 2024-04-29 10:08:27 -04:00
no_prompt_by_default feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
no_prompt_with_denied_perms feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
no_run chore: migrate bench, publish, and more itests to spec tests (#23584) 2024-04-29 10:08:27 -04:00
only fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
overloads fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
package_json BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00
pass fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
quiet fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
test_and_bench fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00
unhandled_rejection chore: migrate bench, publish, and more itests to spec tests (#23584) 2024-04-29 10:08:27 -04:00
unresolved_promise chore: migrate bench, publish, and more itests to spec tests (#23584) 2024-04-29 10:08:27 -04:00
workspace fix(bench): Fix table column alignments and NO_COLOR=1 (#25190) 2024-08-26 11:56:04 +02:00