We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b38dfb commit 799aecaCopy full SHA for 799aeca
lib/internal/http2/core.js
@@ -1073,6 +1073,9 @@ class Http2Session extends EventEmitter {
1073
}
1074
1075
[kInspect](depth, opts) {
1076
+ if (typeof depth === 'number' && depth < 0)
1077
+ return this;
1078
+
1079
const obj = {
1080
type: this[kType],
1081
closed: this.closed,
@@ -1649,6 +1652,9 @@ class Http2Stream extends Duplex {
1649
1652
1650
1653
1651
1654
1655
1656
1657
1658
1659
id: this[kID] || '<pending>',
1660
0 commit comments