Files
node/lib/internal
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-29 09:34:43 +01:00
2020-01-07 19:26:15 -08:00
2020-01-22 15:33:03 +01:00
2020-01-22 15:33:03 +01:00
2020-01-22 15:33:03 +01:00
2018-05-18 15:25:41 +02:00
2019-11-30 13:58:25 +01:00
2019-12-17 08:11:13 -05:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.