-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
* Adds process.versions.cldr, .tz, and .unicode * Changes how process.versions.icu is loaded * Lazy loads the process.versions.* values for these * add an exception to util.js to cause 'node -p process.versions' to still work * update process.version docs Fixes: #9237
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1049,3 +1049,7 @@ exports._exceptionWithHostPort = function(err, | |
} | ||
return ex; | ||
}; | ||
|
||
// process.versions needs a custom function as some values are lazy-evaluated. | ||
process.versions[exports.inspect.custom] = | ||
This comment has been minimized.
Sorry, something went wrong.
thefourtheye
Contributor
|
||
(depth) => exports.format(JSON.parse(JSON.stringify(process.versions))); |
1 comment
on commit 4fb27d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@srl295 is there a scenario that makes this change in runtime?