Files
node/lib
chocolateboy dadd6e1688 util: use a shared symbol for util.inspect.custom
Define `util.inspect.custom` as
`Symbol.for("nodejs.util.inspect.custom")` rather than
`Symbol("util.inspect.custom")`. This allows `inspect` hooks to
easily/safely be defined in non-Node.js environments.

Fixes: https://github.com/nodejs/node/issues/20821
Refs: https://github.com/nodejs/node/pull/22684

PR-URL: https://github.com/nodejs/node/pull/20857
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
2018-09-15 13:15:15 +02:00
..
2018-09-03 22:16:49 +02:00
2018-09-11 23:45:07 +02:00
2018-09-05 21:53:11 -04:00
2018-08-22 17:27:16 -04:00
2018-08-30 17:27:09 +02:00
…
…
2018-08-24 18:37:35 -07:00
…
2018-09-05 21:53:11 -04:00
…
2018-07-16 15:55:15 -07:00
2018-09-05 21:53:43 -04:00
2018-09-05 21:53:11 -04:00
…
2018-09-14 18:27:57 +02:00