Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! Review suggestion
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
erights and ljharb authored Jun 19, 2025
commit e57c53b12e9a7b0b1dcdf6b616f95a13ef67c093
2 changes: 2 additions & 0 deletions lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ EventEmitter.init = function(opts) {

ObjectDefineProperty(this, '_maxListeners', {
__proto__: null,
configurable: true,
value: this._maxListeners || undefined,
Comment thread
erights marked this conversation as resolved.
writable: true,
});

if (opts?.captureRejections) {
Expand Down
Loading