0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
Ruben Bridgewater 3b044962c4
errors: add more information in case of invalid callbacks
This adds the actual callback that is passed through to the error
message in case an ERR_INVALID_CALLBACK error is thrown.

PR-URL: https://github.com/nodejs/node/pull/27048
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
2019-04-04 12:51:03 +02:00
..
assert lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
bootstrap src: port bootstrap/cache.js to C++ 2019-04-04 11:16:10 +08:00
cluster lib: use Array#includes instead of Array#indexOf 2019-03-21 21:38:02 +08:00
console lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
crypto errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
dns dns: refactor lib/internal/dns/utils.js 2019-04-01 16:58:22 -07:00
fs lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
http2 errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
main process: patch more process properties during pre-execution 2019-04-04 05:14:54 +08:00
modules lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
per_context lib: remove Atomics.wake 2019-04-03 16:55:59 -05:00
policy policy: reduce internal usage of public util for manifest.js 2019-03-23 13:25:42 +08:00
process errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
repl repl: remove usage of require('util') in repl/history 2019-03-23 00:16:02 +08:00
streams errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
test src: replace heap_utils.createHeapSnapshot with v8.getHeapSnapshot 2019-03-19 01:04:51 +08:00
util util: use minimal object inspection with %s specifier 2019-04-04 12:48:57 +02:00
vm lib: save primordials during bootstrap and use it in builtins 2019-02-02 05:40:47 +08:00
worker worker: remove usage of require('util') 2019-03-23 00:09:48 +08:00
assert.js assert: add internal assert.fail() 2019-02-14 00:00:50 +01:00
async_hooks.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
buffer.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
child_process.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
cli_table.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
constants.js
dgram.js dgram: add support for UDP connected sockets 2019-04-03 06:48:13 +02:00
dtrace.js lib: move DTRACE_* probes out of global scope 2019-03-12 14:19:36 +00:00
encoding.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
error-serdes.js errors: remove usage of require('util') 2019-03-26 07:26:08 +01:00
errors.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
fixed_queue.js
freelist.js
freeze_intrinsics.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
http.js http,https: protect against slow headers attack 2018-11-28 11:36:34 +11:00
idna.js lib: convert legacy process.binding to internalBinding 2019-02-18 07:21:48 +01:00
inspector_async_hook.js process: register the inspector async hooks in bootstrap/node.js 2019-01-16 16:19:22 +08:00
js_stream_socket.js stream: reduce internal usage of public require of util 2019-03-22 00:48:32 +01:00
linkedlist.js
net.js
options.js
priority_queue.js
profiler.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
querystring.js lib: move encodeStr function to internal for reusable 2018-11-20 18:24:02 -08:00
readline.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
readme.md
repl.js repl: fix terminal default setting 2019-03-25 16:28:07 +01:00
socket_list.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
stream_base_commons.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
timers.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
tls.js
trace_events_async_hooks.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
tty.js repl: fix terminal default setting 2019-03-25 16:28:07 +01:00
url.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
util.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
v8_prof_polyfill.js
v8_prof_processor.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
validators.js lib: consolidate arrayBufferView validation 2019-03-27 17:05:19 +01:00
worker.js worker: use copy of process.env 2019-03-30 22:25:35 +01: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.