We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64a9229 commit bf2b57eCopy full SHA for bf2b57e
lib/internal/encoding.js
@@ -327,7 +327,7 @@ class TextEncoder {
327
});
328
obj.encoding = this.encoding;
329
// Lazy to avoid circular dependency
330
- return require('util').inspect(obj, opts);
+ return require('internal/util/inspect').inspect(obj, opts);
331
}
332
333
@@ -528,7 +528,7 @@ function makeTextDecoderJS() {
528
obj[kHandle] = this[kHandle];
529
530
531
532
533
}));
534
Object.defineProperties(TextDecoder.prototype, {
0 commit comments