summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-07 08:37:35 +1000
committerGitHub <noreply@github.com>2024-09-07 08:37:35 +1000
commit5bac4075c38c34ba53ce86e8ce6912d3be38c4bb (patch)
treee01bc5bd1d19f21b388244c4821718b3c9d34933 /ext/io
parent292344af42cbeaf6698c7f2cedf2e7e1ce861544 (diff)
chore: soft-remove `Deno.{stdin,stderr,stdout}.rid` (#25479)
Towards #22079
Diffstat (limited to 'ext/io')
-rw-r--r--ext/io/12_io.js17
1 files changed, 1 insertions, 16 deletions
diff --git a/ext/io/12_io.js b/ext/io/12_io.js
index 1caf6fe06..3cdcb113b 100644
--- a/ext/io/12_io.js
+++ b/ext/io/12_io.js
@@ -4,7 +4,7 @@
// Documentation liberally lifted from them too.
// Thank you! We love Go! <3
-import { core, internals, primordials } from "ext:core/mod.js";
+import { core, primordials } from "ext:core/mod.js";
import { op_set_raw } from "ext:core/ops";
const {
Uint8Array,
@@ -121,11 +121,6 @@ class Stdin {
}
get rid() {
- internals.warnOnDeprecatedApi(
- "Deno.stdin.rid",
- new Error().stack,
- "Use `Deno.stdin` instance methods instead.",
- );
return this.#rid;
}
@@ -186,11 +181,6 @@ class Stdout {
}
get rid() {
- internals.warnOnDeprecatedApi(
- "Deno.stdout.rid",
- new Error().stack,
- "Use `Deno.stdout` instance methods instead.",
- );
return this.#rid;
}
@@ -226,11 +216,6 @@ class Stderr {
}
get rid() {
- internals.warnOnDeprecatedApi(
- "Deno.stderr.rid",
- new Error().stack,
- "Use `Deno.stderr` instance methods instead.",
- );
return this.#rid;
}