1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/tests/unit_node
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
..
_fs fix(ext/node): fix no arg call of fs.promises.readFile (#22030) 2024-01-23 12:59:39 +09:00
crypto chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
internal chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
testdata fix(ext/node): sign with PEM private keys (#21287) 2023-12-03 09:58:13 +05:30
_test_utils.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
assertion_error_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
async_hooks_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
buffer_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
child_process_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
console_test.ts fix(ci): copyright year for console_test.ts (#21787) 2024-01-04 00:57:13 -05:00
dgram_test.ts fix(ext/node): UdpSocket ref and unref (#21777) 2024-01-04 08:51:39 +05:30
events_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
fs_test.ts fix(node/fs): promises not exporting fs constants (#21997) 2024-01-21 21:48:48 +01:00
http2_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
http_test.ts fix(node/http): remoteAddress and remotePort not being set (#21998) 2024-01-19 13:09:37 +01:00
module_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
net_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
os_test.ts fix(ext/node): implement os.machine (#21751) 2024-01-02 14:57:54 +01:00
path_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
perf_hooks_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
process_test.ts feat: Deno.{stdin,stdout,stderr}.isTerminal(), deprecate Deno.isatty() (#22011) 2024-01-24 00:01:56 +01:00
querystring_test.ts fix(ext/node): querystring stringify without encode callback (#21740) 2024-01-02 04:54:11 +00:00
readline_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
repl_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
stream_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
string_decoder_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
timers_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
tls_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
tty_test.ts feat: Deno.{stdin,stdout,stderr}.isTerminal(), deprecate Deno.isatty() (#22011) 2024-01-24 00:01:56 +01:00
util_test.ts fix: strict type check for cross realms (#21669) 2024-01-04 09:42:38 +05:30
v8_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
vm_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
worker_threads_test.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
zlib_test.ts fix(node/zlib): accept dataview and buffer in zlib bindings (#21756) 2024-01-03 19:03:51 +05:30