Skip to content

Commit

Permalink
doc,lib: remove deprecated domain module
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Dec 13, 2022
1 parent 0429774 commit d530919
Show file tree
Hide file tree
Showing 89 changed files with 18 additions and 4,956 deletions.
3 changes: 1 addition & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ Aborting instead of exiting causes a core file to be generated for post-mortem
analysis using a debugger (such as `lldb`, `gdb`, and `mdb`).

If this flag is passed, the behavior can still be set to not abort through
[`process.setUncaughtExceptionCaptureCallback()`][] (and through usage of the
`node:domain` module that uses it).
[`process.setUncaughtExceptionCaptureCallback()`][].

### `--build-snapshot`

Expand Down
34 changes: 0 additions & 34 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -717,24 +717,6 @@ Type: Documentation-only
The [`ecdh.setPublicKey()`][] method is now deprecated as its inclusion in the
API is not useful.

### DEP0032: `node:domain` module

<!-- YAML
changes:
- version:
- v6.12.0
- v4.8.6
pr-url: https://github.com/nodejs/node/pull/10116
description: A deprecation code has been assigned.
- version: v1.4.2
pr-url: https://github.com/nodejs/node/pull/943
description: Documentation-only deprecation.
-->

Type: Documentation-only

The [`domain`][] module is deprecated and should not be used.

### DEP0033: `EventEmitter.listenerCount()`

<!-- YAML
Expand Down Expand Up @@ -1945,21 +1927,6 @@ Type: Runtime
`timers.unenroll()` is deprecated. Please use the publicly documented
[`clearTimeout()`][] or [`clearInterval()`][] instead.

### DEP0097: `MakeCallback` with `domain` property

<!-- YAML
changes:
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/17417
description: Runtime deprecation.
-->

Type: Runtime

Users of `MakeCallback` that add the `domain` property to carry context,
should start using the `async_context` variant of `MakeCallback` or
`CallbackScope`, or the high-level `AsyncResource` class.

### DEP0098: AsyncHooks embedder `AsyncResource.emitBefore` and `AsyncResource.emitAfter` APIs

<!-- YAML
Expand Down Expand Up @@ -3381,7 +3348,6 @@ In a future version of Node.js, [`message.headers`][],
[`diagnostics_channel.unsubscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelunsubscribename-onmessage
[`dns.lookup()`]: dns.md#dnslookuphostname-options-callback
[`dnsPromises.lookup()`]: dns.md#dnspromiseslookuphostname-options
[`domain`]: domain.md
[`ecdh.setPublicKey()`]: crypto.md#ecdhsetpublickeypublickey-encoding
[`emitter.listenerCount(eventName)`]: events.md#emitterlistenercounteventname
[`events.listenerCount(emitter, eventName)`]: events.md#eventslistenercountemitter-eventname
Expand Down
Loading

0 comments on commit d530919

Please sign in to comment.