Files
node/doc/api
Adrián Estrada 54bdc2e383 doc: document REPL DEP0185 throws and uncaught-exception behavior
Two doc-only improvements to `doc/api/repl.md`, both filling gaps left
by recent semver-major REPL changes:

1. `repl.REPLServer` is an ES class; calling it without `new` is
   End-of-Life (DEP0185) and throws a native V8 `TypeError`. The
   "Class: REPLServer" section now notes this and links to the DEP0185
   entry in `doc/api/deprecations.md`. No `Stability: 0` banner is
   added because the class itself is not deprecated — only the
   `new`-less invocation is — matching the parallel DEP0184/DEP0195
   "classes without `new`" convention.

2. PR #64034 ("repl: use inspector over vm") removed the old
   "Global uncaught exceptions" subsection because the `domain`-based
   restrictions it documented no longer exist. A new top-level
   `### Error handling` section documents the current model (mirroring
   the `### Error handling` convention in async_hooks/http2/quic),
   anchored to the existing `Uncaught Error: REPL await` example.

Refs: https://github.com/nodejs/node/pull/59495
Refs: https://github.com/nodejs/node/pull/54869
Refs: https://github.com/nodejs/node/pull/54842
Refs: https://github.com/nodejs/node/pull/64034
Signed-off-by: Adrian Estrada <edsadr@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/64993
Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2026-08-13 17:26:22 +00:00
..
2026-08-06 13:17:12 +00:00
2026-08-09 19:06:22 -04:00
2026-08-01 06:15:08 +00:00
2026-07-18 10:18:51 +00:00
2026-08-03 11:44:23 +00:00
2026-08-07 05:19:08 +00:00
2026-08-04 14:01:33 +00:00
2026-08-05 18:21:40 +02:00
2026-05-23 18:43:31 +00:00
2025-12-16 20:31:28 +00:00
2026-07-13 12:34:05 +02:00
2026-08-03 11:44:23 +00:00
2026-08-03 11:44:23 +00:00
2026-08-07 11:29:48 +02:00
2026-08-11 19:34:44 +00:00
2025-06-09 23:45:29 +02:00
2026-08-05 13:57:32 +00:00
2026-08-05 18:21:40 +02:00