Skip to content

Commit 10918f4

Browse files
targoswwwzbwcom
authored andcommitted
2021-08-25, Version 16.8.0 (Current)
Notable changes: doc: * deprecate type coercion for `dns.lookup` options (Antoine du Hamel) nodejs#38906 stream: * (SEMVER-MINOR) add `stream.Duplex.from` utility (Robert Nagy) nodejs#39519 * (SEMVER-MINOR) add `isDisturbed` helper (Robert Nagy) nodejs#39628 util: * (SEMVER-MINOR) expose `toUSVString` (Robert Nagy) nodejs#39814 PR-URL: nodejs#39875
1 parent 31772a4 commit 10918f4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/events.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const {
5050
SymbolAsyncIterator,
5151
} = primordials;
5252
const kRejection = SymbolFor('nodejs.rejection');
53+
const { inspect } = require('internal/util/inspect');
5354

5455
let spliceOne;
5556

@@ -63,10 +64,6 @@ const {
6364
},
6465
} = require('internal/errors');
6566

66-
const {
67-
inspect
68-
} = require('internal/util/inspect');
69-
7067
const {
7168
validateAbortSignal,
7269
validateBoolean,
@@ -372,7 +369,6 @@ EventEmitter.prototype.emit = function emit(type, ...args) {
372369
}
373370

374371
let stringifiedEr;
375-
const { inspect } = require('internal/util/inspect');
376372
try {
377373
stringifiedEr = inspect(er);
378374
} catch {

0 commit comments

Comments
 (0)