Files
node/lib/internal
Ruben Bridgewater 5518664d41 util: if present, fallback to toString using the %s formatter
This makes sure that `util.format` uses `String` to stringify an object
in case the object has an own property named `toString` with type
`function`. That way objects that do not have such function are still
inspected using `util.inspect` and the old behavior is preserved as
well.

PR-URL: https://github.com/nodejs/node/pull/27621
Refs: https://github.com/facebook/jest/issues/8443
Reviewed-By: Roman Reiss <me@silverwind.io>
2019-05-20 14:18:18 +02:00
..
2019-05-16 12:58:38 +02:00
2018-05-18 15:25:41 +02:00
2019-04-11 05:40:59 +02:00
2018-11-16 21:56:29 +09:00
2019-03-25 16:28:07 +01:00
2019-04-10 20:35:54 -04:00
2019-04-26 18:43:11 +02: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.