1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/runtime/js
Asher Gomez 63ca68d058
fix(permissions): process URL in Deno.FfiPermissionDescriptor.path for revoke() and request() (#17094)
Previously, `Deno.permissions.[revoke|request]()` wouldn't correctly
process the `path: URL` when `name` was `ffi`. This change fixes that
behaviour and adds a new function, `formDescriptor()`, to ensure `URL`
arguments are consistently handled across
`Deno.permissions.[query|revoke|request]()`.
2023-01-05 13:06:21 +01:00
..
01_build.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
01_errors.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
01_version.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
01_web_util.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
06_util.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
10_permissions.js fix(permissions): process URL in Deno.FfiPermissionDescriptor.path for revoke() and request() (#17094) 2023-01-05 13:06:21 +01:00
11_workers.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
12_io.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
13_buffer.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
30_fs.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
30_os.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_diagnostics.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_files.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_fs_events.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_http.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_process.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_read_file.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_signals.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_spawn.js chore: Update dlint (#17031) 2023-01-05 13:04:38 +01:00
40_tty.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
40_write_file.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
41_prompt.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
90_deno_ns.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
98_global_scope.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
99_main.js chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
README.md feat: add --location=<href> and globalThis.location (#7369) 2021-01-07 19:06:08 +01:00

Runtime JavaScript Code

This directory contains Deno runtime code written in plain JavaScript.

Each file is a plain, old script, not ES modules. The reason is that snapshotting ES modules is much harder, especially if one needs to manipulate global scope (like in case of Deno).

Each file is prefixed with a number, telling in which order scripts should be loaded into V8 isolate. This is temporary solution and we're striving not to require specific order (though it's not 100% obvious if that's feasible).

Deno Web APIs

This directory facilities Web APIs that are available in Deno.

Please note, that some implementations might not be completely aligned with specification.

Some Web APIs are using ops under the hood, eg. console, performance.

Implemented Web APIs