Files
node/lib
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
..
2015-10-08 17:32:08 -07:00
2016-03-21 15:48:51 -07:00
2016-08-08 21:37:37 +02:00
2016-07-05 22:09:12 +02:00
2016-06-02 22:37:00 +10:00
2016-07-05 22:10:22 +02:00
2016-06-02 22:42:04 +10:00
2016-07-05 22:36:51 +02:00