Files
node/doc/api
ExE Boss ba684805b6 util: use a global symbol for util.promisify.custom
Define `util.promisify.custom`
as `Symbol.for("nodejs.util.inspect.custom")`, rather than
as `Symbol("util.inspect.custom")`.

This allows custom `promisify` wrappers to easily/safely be defined
in non‑Node.js environments.

Fixes: https://github.com/nodejs/node/issues/31647

PR-URL: https://github.com/nodejs/node/pull/31672
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2020-03-12 19:51:25 +01:00
..
2020-03-11 17:07:39 +01:00
2019-12-27 06:14:41 -08:00
2020-03-02 04:07:33 +00:00
2020-03-11 23:54:53 -04:00
2020-03-07 20:51:12 +01:00
2020-02-16 16:58:39 +01:00
2019-11-30 18:06:39 +01:00
2020-03-09 11:58:51 -07:00
2020-03-05 22:25:42 -08:00
2020-03-11 23:54:53 -04:00
2020-03-05 22:25:42 -08:00
2020-02-18 12:40:21 -08:00
2020-03-04 09:53:11 -08:00
2020-03-04 09:53:11 -08:00
2020-03-05 22:25:42 -08:00
2020-03-04 09:53:11 -08:00
2020-03-08 11:05:23 -04:00
2020-02-26 16:56:16 -08:00