node/lib/internal
bcoe 458677f5ef
errors: print original exception context
When --enable-source-maps is set, the error context displayed
above the stack trace now shows original source rather than
transpiled.

PR-URL: https://github.com/nodejs/node/pull/33491
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2020-05-24 22:03:34 -07:00
..
assert assert: port common.mustCall() to assert 2020-04-23 10:11:47 -07:00
bootstrap errors: print original exception context 2020-05-24 22:03:34 -07:00
child_process lib: remove unnecesary else block 2020-04-18 16:33:34 -05:00
cluster lib: refactored scheduling policy assignment 2020-05-09 07:50:11 +02:00
console console: support console constructor groupIndentation option 2020-04-29 03:51:03 +02:00
crypto tools: enable no-else-return lint rule 2020-05-16 06:42:16 +02:00
dns dns: use ternary operator simplify statement 2020-05-23 21:38:44 +02:00
fs fs: unify style in preprocessSymlinkDestination 2020-05-23 17:07:45 +02:00
http2 http2: reuse ._onTimeout() in Http2Session and Http2Stream classes 2020-05-23 21:57:09 +02:00
main worker: perform initial port.unref() before preload modules 2020-05-21 17:50:04 -07:00
modules errors: print original exception context 2020-05-24 22:03:34 -07:00
per_context worker: improve MessagePort performance 2020-02-07 11:01:59 -10:00
policy tools: enable no-else-return lint rule 2020-05-16 06:42:16 +02:00
process process: delay throwing an error using `throwDeprecation` 2020-05-23 21:48:27 +02:00
readline util: improve unicode support 2020-01-22 15:33:03 +01:00
repl repl: show reference errors during preview 2020-05-15 01:48:13 +02:00
source_map errors: print original exception context 2020-05-24 22:03:34 -07:00
streams tools: enable no-else-return lint rule 2020-05-16 06:42:16 +02:00
test src: replace heap_utils.createHeapSnapshot with v8.getHeapSnapshot 2019-03-19 01:04:51 +08:00
util util: mark classes while inspecting them 2020-05-20 12:32:22 +02:00
vm src: add support for TLA 2020-05-14 12:39:23 -05:00
worker worker: use _writev in internal communication 2020-05-20 12:37:25 +02:00
assert.js benchmark,doc,lib,test: prepare for padding lint rule 2019-11-30 06:28:29 -08:00
async_hooks.js src: use symbol to store `AsyncWrap` resource 2020-05-21 17:45:09 -07:00
buffer.js lib: replace Float32Array global by the primordials 2020-01-07 15:09:59 -08:00
child_process.js child_process: remove unnecessary use of inner state 2020-01-11 19:27:54 -08:00
cli_table.js util: improve unicode support 2020-01-22 15:33:03 +01:00
constants.js os: lazy loaded 2018-05-18 15:25:41 +02:00
dgram.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
dtrace.js lib: move DTRACE_* probes out of global scope 2019-03-12 14:19:36 +00:00
encoding.js util: text decoding allows SharedArrayBuffer 2020-03-13 17:33:41 +01:00
error-serdes.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
errors.js inspector: throw error when activating an already active inspector 2020-05-24 03:43:05 +02:00
fixed_queue.js lib: unnecessary const assignment for class 2020-04-24 22:53:36 +03:00
freelist.js http: remove unused hasItems() from freelist 2019-12-03 15:00:45 -08:00
freeze_intrinsics.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
heap_utils.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
histogram.js perf,src: add HistogramBase and internal/histogram.js 2020-03-02 11:01:00 -08:00
http.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
idna.js lib: convert legacy process.binding to internalBinding 2019-02-18 07:21:48 +01:00
inspector_async_hook.js lib: replace Set global by the primordials 2020-01-04 12:41:09 -08:00
js_stream_socket.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
linkedlist.js linkedlist: correct grammar in comments 2017-07-31 08:03:19 +08:00
net.js lib: move isLegalPort to validators, refactor 2020-03-05 11:52:53 -08:00
options.js tls: move getAllowUnauthorized to internal/options 2020-04-21 17:21:45 -07:00
priority_queue.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
querystring.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
readme.md doc: clarify text about internal module changes 2018-07-31 08:28:40 +03:00
repl.js lib: enforce use of primordial Number 2019-11-30 13:58:25 +01:00
socket_list.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
stream_base_commons.js lib: fix return type of setTimeout in net.Socket 2020-04-11 12:22:12 +08:00
timers.js lib: fix typo in timers insert function comment 2020-05-10 14:09:39 +02:00
tls.js tls: for...of in _tls_common.js 2019-12-17 08:11:13 -05:00
trace_events_async_hooks.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
tty.js tty: do not end in an infinite warning recursion 2020-02-09 13:39:56 +01:00
url.js tools: enable no-else-return lint rule 2020-05-16 06:42:16 +02:00
util.js util: use a global symbol for `util.promisify.custom` 2020-03-12 19:51:25 +01:00
v8_prof_polyfill.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
v8_prof_processor.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
validators.js lib: fix validateport error message when allowZero is false 2020-04-28 19:15:03 +02:00
watchdog.js src,lib: make ^C print a JS stack trace 2020-01-28 13:52:27 +08:00
worker.js worker: fix variable referencing in template string 2020-05-23 21:27:30 +02:00

readme.md

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.