Files
node/doc/api
vladimir 320f433dcd 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-04 11:44:40 -04:00
..
2016-04-20 16:34:27 -07:00
2016-08-01 09:14:28 -04:00
2016-04-20 16:34:27 -07:00
2016-07-15 13:51:58 -04:00
2016-07-15 13:51:58 -04:00
2016-04-20 16:34:27 -07:00
2016-06-21 11:17:05 -07:00
2016-08-01 11:21:17 -04:00
2016-07-27 13:42:58 +02:00
2016-07-20 17:55:37 +02:00