Closed rustdevbtw closed 4 months ago
Prepares for migration to Deno 2.0
Deno.isatty(*.rid) -> Deno.*.isTerminal() clicolor(*.rid) -> clicolor(*)
Deno.isatty(*.rid)
Deno.*.isTerminal()
clicolor(*.rid)
clicolor(*)
I also removed the isatty test and removed isatty fom $_internals. I also replaced --unstable flag with --unstable-ffi and --unstable-fs.
isatty
$_internals
--unstable
--unstable-ffi
--unstable-fs
It'll require us to use latest Deno (>=1.40). I'm not sure whether this migration is worth changing minimum required Deno version. @mxcl what do you think?
It's a duplicate of #953 ig
Prepares for migration to Deno 2.0
Changes
Deno.isatty(*.rid)
->Deno.*.isTerminal()
clicolor(*.rid)
->clicolor(*)
I also removed the
isatty
test and removedisatty
fom$_internals
. I also replaced--unstable
flag with--unstable-ffi
and--unstable-fs
.