1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext
Marvin Hagemeister a2ca399227
fix(node): support tty.hasColors() and tty.getColorDepth() (#24619)
This PR adds support for
[`tty.WriteStream.prototype.hasColors()`](https://nodejs.org/api/tty.html#writestreamhascolorscount-env)
and
[`tty.WriteStream.prototype.getColorDepth()`](https://nodejs.org/api/tty.html#writestreamgetcolordepthenv).

I couldn't find any usage on GitHub which passes parameters to it.
Therefore I've skipped adding support for the `env` parameter to keep
our snapshot size small.

Based on https://github.com/denoland/deno_terminal/pull/3

Fixes https://github.com/denoland/deno/issues/24616
2024-07-22 22:47:58 +02:00
..
broadcast_channel 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
cache 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
canvas 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
console 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
cron fix(cron): improve error message for invalid cron names (#24644) 2024-07-22 22:47:58 +02:00
crypto 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
fetch Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" (#24593) 2024-07-22 22:47:57 +02:00
ffi 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
fs fix(ext/node): stat.mode on windows (#24434) 2024-07-22 22:47:57 +02:00
http 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
io 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
kv Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" (#24593) 2024-07-22 22:47:57 +02:00
napi 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
net 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
node fix(node): support tty.hasColors() and tty.getColorDepth() (#24619) 2024-07-22 22:47:58 +02:00
tls 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
url 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
web 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
webgpu 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
webidl 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
websocket 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00
webstorage 1.45.2 (#24561) 2024-07-12 16:04:46 -04:00