diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-01-25 06:09:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 20:09:49 +0100 |
commit | 300eeb343efa00d9572d3befa47ca88fb51c7ac6 (patch) | |
tree | 419963878caaa24bfacaa9e9950931cb6cb2d4e8 /runtime/js/98_global_scope_window.js | |
parent | 547468e625a7b040690a6f26901597b5672ac413 (diff) |
feat: deprecate `Deno.{stdin,stdout,stderr}.rid` (#22073)
For removal in Deno v2. There are two issues:
1. Any script being run causes the output of `warnOnDeprecatedApi()` to
be printed, even when none of the `rid` properties are called.
2. `.rid` of these classes is used in multiple tests. I'm not sure how
to account for that. I thought of having `STDIN_RID`, and friends,
constants, whose values can be shared between the tests and the classes
themselves. Should we go with that or do something else?
---------
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/js/98_global_scope_window.js')
0 files changed, 0 insertions, 0 deletions