1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/tests
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
..
config chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
ffi BREAKING(unstable/ffi): remove callback reentrant flag (#24367) 2024-07-01 09:36:33 +05:30
integration fix(lsp): support npm workspaces and fix some resolution issues (#24627) 2024-07-18 18:16:35 -04:00
napi fix(napi): Read reference ownership before calling finalizer to avoid crash (#24203) 2024-06-13 22:31:42 +00:00
node_compat fix: do not return undefined for missing global properties (#24474) 2024-07-09 10:07:56 -07:00
registry fix(ext/node): do not expose self global in node (#24637) 2024-07-19 12:37:08 +09:00
specs chore: fix ci (#24633) 2024-07-18 04:21:57 +00:00
testdata fix(ext/node): do not expose self global in node (#24637) 2024-07-19 12:37:08 +09:00
unit Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" (#24593) 2024-07-18 01:37:31 +02:00
unit_node fix(node): support tty.hasColors() and tty.getColorDepth() (#24619) 2024-07-19 12:39:05 +02:00
util Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" (#24593) 2024-07-18 01:37:31 +02:00
wpt fix(docs): fix some deno.land/manual broken urls (#24557) 2024-07-15 11:08:45 +00:00
Cargo.toml Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" (#24593) 2024-07-18 01:37:31 +02:00
lib.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests