Files
node/lib/internal/util
Ruben Bridgewater a2d2003daa util: fix error's namespaced node_modules highlighting using inspect
When inspecting errors, node_modules are highlighted with an
underscore. So far namespaced modules only highlighted the namespace
but not the rest of the module name. This is fixed by matching the
full name.
As drive-by it improves the performance slightly by removing the
regular expression in favor of indexOf to identify the right spot.

PR-URL: https://github.com/nodejs/node/pull/59446
Reviewed-By: Jordan Harband <ljharb@gmail.com>
2025-09-20 03:33:55 +00:00
..
2025-08-26 11:22:42 +02:00
2025-05-19 12:13:58 +02:00