summaryrefslogtreecommitdiff
path: root/extensions/web/06_streams.js
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2021-06-25 16:19:18 +0900
committerGitHub <noreply@github.com>2021-06-25 16:19:18 +0900
commitd832d2bfd1f0487181f96bdecd7a28968a150fac (patch)
treeb4e40fa8689bf97434470cfce9f303f8ddeacf9a /extensions/web/06_streams.js
parent606611708c4351e9f5e0e3b975f9331d95168efb (diff)
chore(ext/console): deprecate Deno.customInspect (#10035)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'extensions/web/06_streams.js')
-rw-r--r--extensions/web/06_streams.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/web/06_streams.js b/extensions/web/06_streams.js
index 127436d43..d26a1a412 100644
--- a/extensions/web/06_streams.js
+++ b/extensions/web/06_streams.js
@@ -3304,7 +3304,7 @@
return iterator;
}
- [Symbol.for("Deno.customInspect")](inspect) {
+ [Symbol.for("Deno.privateCustomInspect")](inspect) {
return `${this.constructor.name} ${inspect({ locked: this.locked })}`;
}
@@ -3424,7 +3424,7 @@
return readableStreamReaderGenericCancel(this, reason);
}
- [Symbol.for("Deno.customInspect")](inspect) {
+ [Symbol.for("Deno.privateCustomInspect")](inspect) {
return `${this.constructor.name} ${inspect({ closed: this.closed })}`;
}
@@ -3821,7 +3821,7 @@
return this[_writable];
}
- [Symbol.for("Deno.customInspect")](inspect) {
+ [Symbol.for("Deno.privateCustomInspect")](inspect) {
return `${this.constructor.name} ${
inspect({ readable: this.readable, writable: this.writable })
}`;
@@ -4022,7 +4022,7 @@
return acquireWritableStreamDefaultWriter(this);
}
- [Symbol.for("Deno.customInspect")](inspect) {
+ [Symbol.for("Deno.privateCustomInspect")](inspect) {
return `${this.constructor.name} ${inspect({ locked: this.locked })}`;
}