Tim Caswell
|
3aca908db3
|
Document the changes to sys.inspect's API.
It now takes an optional showHidden argument that shows hidden/non-enumerable properties of objects.
Also cleanup the lib/sys.js file a bit.
|
15 years ago |
Tim Caswell
|
e33c66654a
|
Rewrite sys.inspect to be more reliable and handle crazy edge cases.
|
15 years ago |
Ryan Dahl
|
70293a43c9
|
API: Move Promise and EventEmitter into 'events' module
|
15 years ago |
Tim Caswell
|
fd184ee2fa
|
Rename "Dynamic Property" to "Getter/Setter" in sys.inspect.
|
15 years ago |
Tim Caswell
|
6c68a9679b
|
Fix inspect to not trigger dynamic properties
but to display them as special. Add unit tests to match
|
15 years ago |
Tim Caswell
|
732c6f2036
|
Fix inspect for the special case of an Object that inherits from Array, but has other properties.
|
15 years ago |
Xavier Shay
|
756544fd28
|
sys.inspect prints out special chars correctly (\n, \u0001, etc...)
|
15 years ago |
Xavier Shay
|
34c02357ff
|
sys.inspect is totally more awesome now
- No longer relies on JSON.stringify, so it can output nulls and functions
- Handles circular references better
- Has tests
|
15 years ago |
Ryan Dahl
|
4d818f1fd3
|
Implement promises entirely in JS
|
15 years ago |
Friedemann Altrock
|
1107a1bd1e
|
sys.puts should not kill the process when giving it undefined
|
15 years ago |
Felix Geisendörfer
|
6e9e61b9df
|
Format JSON for inspecting objects
This patch enables formatting for inspecting JSON objects. Example:
p({foo: "bar", deep: {foo: "bar"}})
becomes:
{
"foo": "bar",
"deep": {
"foo": "bar"
}
}
|
15 years ago |
Ryan Dahl
|
43121c15be
|
API: rename process.inherits to sys.inherits
|
15 years ago |
Ryan Dahl
|
b3b3cfe007
|
Move memoryUsage() into C on Linux
|
15 years ago |
Ryan Dahl
|
3a70129a9c
|
Add sys.memoryUsage()
|
15 years ago |
Ryan Dahl
|
ad0a4cefb8
|
Namespace EVERYTHING under process; introduce GLOBAL
http://groups.google.com/group/nodejs/browse_thread/thread/1034fd2ad2cd93e8
|
15 years ago |
Ryan Dahl
|
2b8ab7e24f
|
utils.js links to sys.js instead of other way around
|
15 years ago |
Ryan Dahl
|
349200bd1c
|
symlink sys.js to utils.js
|
15 years ago |