1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 04:48:52 -05:00
denoland-deno/runtime/js
Bartek Iwańczuk 9e0495baa7
fix: make deprecation warnings less verbose (#22128)
This commit makes deprecation warnings less verbose by default.

Only a single warnings is issued per deprecated API use.

`DENO_VERBOSE_WARNINGS` env var can be provided to enable more detailed
logging for each use of API including a stack trace.

https://github.com/denoland/deno/assets/13602871/9c036c84-0044-4cb6-9c8e-deb641f43712
2024-01-26 16:41:16 +01:00
..
01_errors.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
01_version.ts refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
06_util.js refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
10_permissions.js refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
11_workers.js refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
13_buffer.js feat: Add warnings for more deprecated APIs (#21992) 2024-01-24 14:57:54 +01:00
30_os.js refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
40_fs_events.js fix: don't call .rid in Deno.FsWatcher.close() (#22090) 2024-01-24 23:05:22 +00:00
40_http.js fix: don't use public rid accessors in internal APIs (#22091) 2024-01-25 00:45:19 +01:00
40_process.js fix(fs): instanceof check for Deno.FsFile (#22121) 2024-01-25 23:51:29 +01:00
40_signals.js refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
40_tty.js chore: improve deprecation hint for Deno.isatty() (#22086) 2024-01-24 20:09:19 +00:00
41_prompt.js feat: Deno.{stdin,stdout,stderr}.isTerminal(), deprecate Deno.isatty() (#22011) 2024-01-24 00:01:56 +01:00
90_deno_ns.js fix(fs): instanceof check for Deno.FsFile (#22121) 2024-01-25 23:51:29 +01:00
98_global_scope_shared.js feat(web): ImageBitmap (#21898) 2024-01-22 12:08:01 +01:00
98_global_scope_window.js Revert "feat: deprecate window global (#22057)" (#22084) 2024-01-24 20:43:31 +01:00
98_global_scope_worker.js refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
99_main.js fix: make deprecation warnings less verbose (#22128) 2024-01-26 16:41:16 +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