1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/ext
Marvin Hagemeister ee2e693340
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-19 12:39:05 +02:00
..
broadcast_channel chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
cache chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
canvas chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
console chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
cron fix(cron): improve error message for invalid cron names (#24644) 2024-07-18 22:52:17 +02:00
crypto chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
fetch Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" (#24593) 2024-07-18 01:37:31 +02:00
ffi chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
fs fix(ext/node): stat.mode on windows (#24434) 2024-07-17 19:43:40 -07:00
http chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
io chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
kv Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" (#24593) 2024-07-18 01:37:31 +02:00
napi chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
net chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
node fix(node): support tty.hasColors() and tty.getColorDepth() (#24619) 2024-07-19 12:39:05 +02:00
tls chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
url chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
web chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
webgpu chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
webidl chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
websocket chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00
webstorage chore: forward v1.45.2 release commit to main (#24564) 2024-07-12 18:05:45 -04:00