Files
node/lib
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-02-18 22:15:50 -08:00
2019-12-17 08:11:13 -05:00
2020-02-08 21:40:49 -05:00
2020-01-21 10:49:20 -04:00
2020-03-11 16:47:29 +01:00
2018-11-20 10:42:31 -08:00
2019-11-25 10:28:15 +01:00
2020-03-09 12:44:16 +01:00
2020-02-26 21:10:36 -08:00
2019-12-11 16:38:06 -06:00
2020-03-08 11:05:23 -04:00