We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4defe47 commit 44450efCopy full SHA for 44450ef
lib/internal/worker/io.js
@@ -18,7 +18,7 @@ const {
18
19
const { Readable, Writable } = require('stream');
20
const EventEmitter = require('events');
21
-const util = require('util');
+const { inspect } = require('internal/util/inspect');
22
23
let debuglog;
24
function debug(...args) {
@@ -122,7 +122,7 @@ MessagePort.prototype.close = function(cb) {
122
MessagePortPrototype.close.call(this);
123
};
124
125
-Object.defineProperty(MessagePort.prototype, util.inspect.custom, {
+Object.defineProperty(MessagePort.prototype, inspect.custom, {
126
enumerable: false,
127
writable: false,
128
value: function inspect() { // eslint-disable-line func-name-matching
0 commit comments