Skip to content

domain: improve DEP0097 warning

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/anonymous into master

There are two issues here:

  1. Anonymous functions, whose name is the empty string were not being displayed properly. This is addressed by the first commit.
  2. The domain module monkey patches EventEmitter.prototype.emit(), but that function's name was not being inferred. This is addressed by the second commit.

Merge request reports

Loading