Files
node/doc/api
vladimir 295d1ea016 util: support classes in util.deprecate()
Classes cannot be instantiated without new, but util.deprecate()
uses Function.prototype.apply(). This commit uses new.target to
detect constructor calls, allowing classes to be deprecated.

PR-URL: https://github.com/nodejs/node/pull/7690
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-08-10 12:31:02 -04:00
..
2016-04-26 12:16:28 -07:00
2016-08-10 12:14:08 -04:00
2016-04-26 12:16:28 -07:00
2016-04-26 12:16:28 -07:00
2016-07-05 22:11:40 +02:00
2016-08-10 12:14:09 -04:00
2016-08-10 11:20:08 -04:00