mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
ba684805b6
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> |
||
---|---|---|
.. | ||
api | ||
api_assets | ||
changelogs | ||
guides | ||
.eslintrc.yaml | ||
abi_version_registry.json | ||
first_timer_badge.png | ||
full-white-stripe.jpg | ||
node.1 | ||
osx_installer_logo.png | ||
template.html | ||
thin-white-stripe.jpg |