1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/runtime/ops
Asher Gomez 4eedac3604
feat: Deno.{stdin,stdout,stderr}.isTerminal(), deprecate Deno.isatty() (#22011)
This change:
1. Implements `Deno.stdin.isTerminal()`, `Deno.stdout.isTerminal()` and
`Deno.stderr.isTerminal()`.
2. Deprecates `Deno.isatty()` for removal in Deno v2, in favour of the
above instance methods.
3. Replaces use of `Deno.isatty()` with the above instance methods.

Related #21995

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2024-01-24 00:01:56 +01:00
..
os chore: upgrade deno_core to 0.249.0 (#22058) 2024-01-23 22:56:56 +01:00
web_worker chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
bootstrap.rs feat: warn when using --unstable, prefer granular flags (#21452) 2024-01-23 15:33:07 +01:00
fs_events.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
http.rs feat(unstable): remove Deno.upgradeHttp API (#21856) 2024-01-22 21:35:39 +00:00
mod.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
permissions.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
process.rs chore: update to Rust 1.75 (#21731) 2024-01-01 23:22:48 +01:00
runtime.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
signal.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
tty.rs feat: Deno.{stdin,stdout,stderr}.isTerminal(), deprecate Deno.isatty() (#22011) 2024-01-24 00:01:56 +01:00
utils.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
web_worker.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
worker_host.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00