11cb0ef41Sopenharmony_ci# Deprecated APIs
21cb0ef41Sopenharmony_ci
31cb0ef41Sopenharmony_ci<!--introduced_in=v7.7.0-->
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ci<!-- type=misc -->
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ciNode.js APIs might be deprecated for any of the following reasons:
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ci* Use of the API is unsafe.
101cb0ef41Sopenharmony_ci* An improved alternative API is available.
111cb0ef41Sopenharmony_ci* Breaking changes to the API are expected in a future major release.
121cb0ef41Sopenharmony_ci
131cb0ef41Sopenharmony_ciNode.js uses three kinds of Deprecations:
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ci* Documentation-only
161cb0ef41Sopenharmony_ci* Runtime
171cb0ef41Sopenharmony_ci* End-of-Life
181cb0ef41Sopenharmony_ci
191cb0ef41Sopenharmony_ciA Documentation-only deprecation is one that is expressed only within the
201cb0ef41Sopenharmony_ciNode.js API docs. These generate no side-effects while running Node.js.
211cb0ef41Sopenharmony_ciSome Documentation-only deprecations trigger a runtime warning when launched
221cb0ef41Sopenharmony_ciwith [`--pending-deprecation`][] flag (or its alternative,
231cb0ef41Sopenharmony_ci`NODE_PENDING_DEPRECATION=1` environment variable), similarly to Runtime
241cb0ef41Sopenharmony_cideprecations below. Documentation-only deprecations that support that flag
251cb0ef41Sopenharmony_ciare explicitly labeled as such in the
261cb0ef41Sopenharmony_ci[list of Deprecated APIs](#list-of-deprecated-apis).
271cb0ef41Sopenharmony_ci
281cb0ef41Sopenharmony_ciA Runtime deprecation will, by default, generate a process warning that will
291cb0ef41Sopenharmony_cibe printed to `stderr` the first time the deprecated API is used. When the
301cb0ef41Sopenharmony_ci[`--throw-deprecation`][] command-line flag is used, a Runtime deprecation will
311cb0ef41Sopenharmony_cicause an error to be thrown.
321cb0ef41Sopenharmony_ci
331cb0ef41Sopenharmony_ciAn End-of-Life deprecation is used when functionality is or will soon be removed
341cb0ef41Sopenharmony_cifrom Node.js.
351cb0ef41Sopenharmony_ci
361cb0ef41Sopenharmony_ci## Revoking deprecations
371cb0ef41Sopenharmony_ci
381cb0ef41Sopenharmony_ciOccasionally, the deprecation of an API might be reversed. In such situations,
391cb0ef41Sopenharmony_cithis document will be updated with information relevant to the decision.
401cb0ef41Sopenharmony_ciHowever, the deprecation identifier will not be modified.
411cb0ef41Sopenharmony_ci
421cb0ef41Sopenharmony_ci## List of deprecated APIs
431cb0ef41Sopenharmony_ci
441cb0ef41Sopenharmony_ci### DEP0001: `http.OutgoingMessage.prototype.flush`
451cb0ef41Sopenharmony_ci
461cb0ef41Sopenharmony_ci<!-- YAML
471cb0ef41Sopenharmony_cichanges:
481cb0ef41Sopenharmony_ci  - version: v14.0.0
491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/31164
501cb0ef41Sopenharmony_ci    description: End-of-Life.
511cb0ef41Sopenharmony_ci  - version:
521cb0ef41Sopenharmony_ci    - v6.12.0
531cb0ef41Sopenharmony_ci    - v4.8.6
541cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
551cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
561cb0ef41Sopenharmony_ci  - version: v1.6.0
571cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/1156
581cb0ef41Sopenharmony_ci    description: Runtime deprecation.
591cb0ef41Sopenharmony_ci-->
601cb0ef41Sopenharmony_ci
611cb0ef41Sopenharmony_ciType: End-of-Life
621cb0ef41Sopenharmony_ci
631cb0ef41Sopenharmony_ci`OutgoingMessage.prototype.flush()` has been removed. Use
641cb0ef41Sopenharmony_ci`OutgoingMessage.prototype.flushHeaders()` instead.
651cb0ef41Sopenharmony_ci
661cb0ef41Sopenharmony_ci### DEP0002: `require('_linklist')`
671cb0ef41Sopenharmony_ci
681cb0ef41Sopenharmony_ci<!-- YAML
691cb0ef41Sopenharmony_cichanges:
701cb0ef41Sopenharmony_ci  - version: v8.0.0
711cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/12113
721cb0ef41Sopenharmony_ci    description: End-of-Life.
731cb0ef41Sopenharmony_ci  - version: v6.12.0
741cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
751cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
761cb0ef41Sopenharmony_ci  - version: v5.0.0
771cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/3078
781cb0ef41Sopenharmony_ci    description: Runtime deprecation.
791cb0ef41Sopenharmony_ci-->
801cb0ef41Sopenharmony_ci
811cb0ef41Sopenharmony_ciType: End-of-Life
821cb0ef41Sopenharmony_ci
831cb0ef41Sopenharmony_ciThe `_linklist` module is deprecated. Please use a userland alternative.
841cb0ef41Sopenharmony_ci
851cb0ef41Sopenharmony_ci### DEP0003: `_writableState.buffer`
861cb0ef41Sopenharmony_ci
871cb0ef41Sopenharmony_ci<!-- YAML
881cb0ef41Sopenharmony_cichanges:
891cb0ef41Sopenharmony_ci  - version: v14.0.0
901cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/31165
911cb0ef41Sopenharmony_ci    description: End-of-Life.
921cb0ef41Sopenharmony_ci  - version:
931cb0ef41Sopenharmony_ci    - v6.12.0
941cb0ef41Sopenharmony_ci    - v4.8.6
951cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
961cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
971cb0ef41Sopenharmony_ci  - version: v0.11.15
981cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node-v0.x-archive/pull/8826
991cb0ef41Sopenharmony_ci    description: Runtime deprecation.
1001cb0ef41Sopenharmony_ci-->
1011cb0ef41Sopenharmony_ci
1021cb0ef41Sopenharmony_ciType: End-of-Life
1031cb0ef41Sopenharmony_ci
1041cb0ef41Sopenharmony_ciThe `_writableState.buffer` has been removed. Use `_writableState.getBuffer()`
1051cb0ef41Sopenharmony_ciinstead.
1061cb0ef41Sopenharmony_ci
1071cb0ef41Sopenharmony_ci### DEP0004: `CryptoStream.prototype.readyState`
1081cb0ef41Sopenharmony_ci
1091cb0ef41Sopenharmony_ci<!-- YAML
1101cb0ef41Sopenharmony_cichanges:
1111cb0ef41Sopenharmony_ci  - version: v10.0.0
1121cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/17882
1131cb0ef41Sopenharmony_ci    description: End-of-Life.
1141cb0ef41Sopenharmony_ci  - version:
1151cb0ef41Sopenharmony_ci    - v6.12.0
1161cb0ef41Sopenharmony_ci    - v4.8.6
1171cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
1181cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
1191cb0ef41Sopenharmony_ci  - version: v0.4.0
1201cb0ef41Sopenharmony_ci    commit: 9c7f89bf56abd37a796fea621ad2e47dd33d2b82
1211cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
1221cb0ef41Sopenharmony_ci-->
1231cb0ef41Sopenharmony_ci
1241cb0ef41Sopenharmony_ciType: End-of-Life
1251cb0ef41Sopenharmony_ci
1261cb0ef41Sopenharmony_ciThe `CryptoStream.prototype.readyState` property was removed.
1271cb0ef41Sopenharmony_ci
1281cb0ef41Sopenharmony_ci### DEP0005: `Buffer()` constructor
1291cb0ef41Sopenharmony_ci
1301cb0ef41Sopenharmony_ci<!-- YAML
1311cb0ef41Sopenharmony_cichanges:
1321cb0ef41Sopenharmony_ci  - version: v10.0.0
1331cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/19524
1341cb0ef41Sopenharmony_ci    description: Runtime deprecation.
1351cb0ef41Sopenharmony_ci  - version: v6.12.0
1361cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
1371cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
1381cb0ef41Sopenharmony_ci  - version: v6.0.0
1391cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/4682
1401cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
1411cb0ef41Sopenharmony_ci-->
1421cb0ef41Sopenharmony_ci
1431cb0ef41Sopenharmony_ciType: Runtime (supports [`--pending-deprecation`][])
1441cb0ef41Sopenharmony_ci
1451cb0ef41Sopenharmony_ciThe `Buffer()` function and `new Buffer()` constructor are deprecated due to
1461cb0ef41Sopenharmony_ciAPI usability issues that can lead to accidental security issues.
1471cb0ef41Sopenharmony_ci
1481cb0ef41Sopenharmony_ciAs an alternative, use one of the following methods of constructing `Buffer`
1491cb0ef41Sopenharmony_ciobjects:
1501cb0ef41Sopenharmony_ci
1511cb0ef41Sopenharmony_ci* [`Buffer.alloc(size[, fill[, encoding]])`][alloc]: Create a `Buffer` with
1521cb0ef41Sopenharmony_ci  _initialized_ memory.
1531cb0ef41Sopenharmony_ci* [`Buffer.allocUnsafe(size)`][alloc_unsafe_size]: Create a `Buffer` with
1541cb0ef41Sopenharmony_ci  _uninitialized_ memory.
1551cb0ef41Sopenharmony_ci* [`Buffer.allocUnsafeSlow(size)`][]: Create a `Buffer` with _uninitialized_
1561cb0ef41Sopenharmony_ci  memory.
1571cb0ef41Sopenharmony_ci* [`Buffer.from(array)`][]: Create a `Buffer` with a copy of `array`
1581cb0ef41Sopenharmony_ci* [`Buffer.from(arrayBuffer[, byteOffset[, length]])`][from_arraybuffer] -
1591cb0ef41Sopenharmony_ci  Create a `Buffer` that wraps the given `arrayBuffer`.
1601cb0ef41Sopenharmony_ci* [`Buffer.from(buffer)`][]: Create a `Buffer` that copies `buffer`.
1611cb0ef41Sopenharmony_ci* [`Buffer.from(string[, encoding])`][from_string_encoding]: Create a `Buffer`
1621cb0ef41Sopenharmony_ci  that copies `string`.
1631cb0ef41Sopenharmony_ci
1641cb0ef41Sopenharmony_ciWithout `--pending-deprecation`, runtime warnings occur only for code not in
1651cb0ef41Sopenharmony_ci`node_modules`. This means there will not be deprecation warnings for
1661cb0ef41Sopenharmony_ci`Buffer()` usage in dependencies. With `--pending-deprecation`, a runtime
1671cb0ef41Sopenharmony_ciwarning results no matter where the `Buffer()` usage occurs.
1681cb0ef41Sopenharmony_ci
1691cb0ef41Sopenharmony_ci### DEP0006: `child_process` `options.customFds`
1701cb0ef41Sopenharmony_ci
1711cb0ef41Sopenharmony_ci<!-- YAML
1721cb0ef41Sopenharmony_cichanges:
1731cb0ef41Sopenharmony_ci  - version: v12.0.0
1741cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25279
1751cb0ef41Sopenharmony_ci    description: End-of-Life.
1761cb0ef41Sopenharmony_ci  - version:
1771cb0ef41Sopenharmony_ci    - v6.12.0
1781cb0ef41Sopenharmony_ci    - v4.8.6
1791cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
1801cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
1811cb0ef41Sopenharmony_ci  - version: v0.11.14
1821cb0ef41Sopenharmony_ci    description: Runtime deprecation.
1831cb0ef41Sopenharmony_ci  - version: v0.5.10
1841cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
1851cb0ef41Sopenharmony_ci-->
1861cb0ef41Sopenharmony_ci
1871cb0ef41Sopenharmony_ciType: End-of-Life
1881cb0ef41Sopenharmony_ci
1891cb0ef41Sopenharmony_ciWithin the [`child_process`][] module's `spawn()`, `fork()`, and `exec()`
1901cb0ef41Sopenharmony_cimethods, the `options.customFds` option is deprecated. The `options.stdio`
1911cb0ef41Sopenharmony_cioption should be used instead.
1921cb0ef41Sopenharmony_ci
1931cb0ef41Sopenharmony_ci### DEP0007: Replace `cluster` `worker.suicide` with `worker.exitedAfterDisconnect`
1941cb0ef41Sopenharmony_ci
1951cb0ef41Sopenharmony_ci<!-- YAML
1961cb0ef41Sopenharmony_cichanges:
1971cb0ef41Sopenharmony_ci  - version: v9.0.0
1981cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13702
1991cb0ef41Sopenharmony_ci    description: End-of-Life.
2001cb0ef41Sopenharmony_ci  - version: v7.0.0
2011cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/3747
2021cb0ef41Sopenharmony_ci    description: Runtime deprecation.
2031cb0ef41Sopenharmony_ci  - version: v6.12.0
2041cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
2051cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
2061cb0ef41Sopenharmony_ci  - version: v6.0.0
2071cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/3743
2081cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
2091cb0ef41Sopenharmony_ci-->
2101cb0ef41Sopenharmony_ci
2111cb0ef41Sopenharmony_ciType: End-of-Life
2121cb0ef41Sopenharmony_ci
2131cb0ef41Sopenharmony_ciIn an earlier version of the Node.js `cluster`, a boolean property with the name
2141cb0ef41Sopenharmony_ci`suicide` was added to the `Worker` object. The intent of this property was to
2151cb0ef41Sopenharmony_ciprovide an indication of how and why the `Worker` instance exited. In Node.js
2161cb0ef41Sopenharmony_ci6.0.0, the old property was deprecated and replaced with a new
2171cb0ef41Sopenharmony_ci[`worker.exitedAfterDisconnect`][] property. The old property name did not
2181cb0ef41Sopenharmony_ciprecisely describe the actual semantics and was unnecessarily emotion-laden.
2191cb0ef41Sopenharmony_ci
2201cb0ef41Sopenharmony_ci### DEP0008: `require('node:constants')`
2211cb0ef41Sopenharmony_ci
2221cb0ef41Sopenharmony_ci<!-- YAML
2231cb0ef41Sopenharmony_cichanges:
2241cb0ef41Sopenharmony_ci  - version: v6.12.0
2251cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
2261cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
2271cb0ef41Sopenharmony_ci  - version: v6.3.0
2281cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/6534
2291cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
2301cb0ef41Sopenharmony_ci-->
2311cb0ef41Sopenharmony_ci
2321cb0ef41Sopenharmony_ciType: Documentation-only
2331cb0ef41Sopenharmony_ci
2341cb0ef41Sopenharmony_ciThe `node:constants` module is deprecated. When requiring access to constants
2351cb0ef41Sopenharmony_cirelevant to specific Node.js builtin modules, developers should instead refer
2361cb0ef41Sopenharmony_cito the `constants` property exposed by the relevant module. For instance,
2371cb0ef41Sopenharmony_ci`require('node:fs').constants` and `require('node:os').constants`.
2381cb0ef41Sopenharmony_ci
2391cb0ef41Sopenharmony_ci### DEP0009: `crypto.pbkdf2` without digest
2401cb0ef41Sopenharmony_ci
2411cb0ef41Sopenharmony_ci<!-- YAML
2421cb0ef41Sopenharmony_cichanges:
2431cb0ef41Sopenharmony_ci  - version: v14.0.0
2441cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/31166
2451cb0ef41Sopenharmony_ci    description: End-of-Life (for `digest === null`).
2461cb0ef41Sopenharmony_ci  - version: v11.0.0
2471cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22861
2481cb0ef41Sopenharmony_ci    description: Runtime deprecation (for `digest === null`).
2491cb0ef41Sopenharmony_ci  - version: v8.0.0
2501cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/11305
2511cb0ef41Sopenharmony_ci    description: End-of-Life (for `digest === undefined`).
2521cb0ef41Sopenharmony_ci  - version: v6.12.0
2531cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
2541cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
2551cb0ef41Sopenharmony_ci  - version: v6.0.0
2561cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/4047
2571cb0ef41Sopenharmony_ci    description: Runtime deprecation (for `digest === undefined`).
2581cb0ef41Sopenharmony_ci-->
2591cb0ef41Sopenharmony_ci
2601cb0ef41Sopenharmony_ciType: End-of-Life
2611cb0ef41Sopenharmony_ci
2621cb0ef41Sopenharmony_ciUse of the [`crypto.pbkdf2()`][] API without specifying a digest was deprecated
2631cb0ef41Sopenharmony_ciin Node.js 6.0 because the method defaulted to using the non-recommended
2641cb0ef41Sopenharmony_ci`'SHA1'` digest. Previously, a deprecation warning was printed. Starting in
2651cb0ef41Sopenharmony_ciNode.js 8.0.0, calling `crypto.pbkdf2()` or `crypto.pbkdf2Sync()` with
2661cb0ef41Sopenharmony_ci`digest` set to `undefined` will throw a `TypeError`.
2671cb0ef41Sopenharmony_ci
2681cb0ef41Sopenharmony_ciBeginning in Node.js v11.0.0, calling these functions with `digest` set to
2691cb0ef41Sopenharmony_ci`null` would print a deprecation warning to align with the behavior when `digest`
2701cb0ef41Sopenharmony_ciis `undefined`.
2711cb0ef41Sopenharmony_ci
2721cb0ef41Sopenharmony_ciNow, however, passing either `undefined` or `null` will throw a `TypeError`.
2731cb0ef41Sopenharmony_ci
2741cb0ef41Sopenharmony_ci### DEP0010: `crypto.createCredentials`
2751cb0ef41Sopenharmony_ci
2761cb0ef41Sopenharmony_ci<!-- YAML
2771cb0ef41Sopenharmony_cichanges:
2781cb0ef41Sopenharmony_ci  - version: v11.0.0
2791cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/21153
2801cb0ef41Sopenharmony_ci    description: End-of-Life.
2811cb0ef41Sopenharmony_ci  - version:
2821cb0ef41Sopenharmony_ci    - v6.12.0
2831cb0ef41Sopenharmony_ci    - v4.8.6
2841cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
2851cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
2861cb0ef41Sopenharmony_ci  - version: v0.11.13
2871cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node-v0.x-archive/pull/7265
2881cb0ef41Sopenharmony_ci    description: Runtime deprecation.
2891cb0ef41Sopenharmony_ci-->
2901cb0ef41Sopenharmony_ci
2911cb0ef41Sopenharmony_ciType: End-of-Life
2921cb0ef41Sopenharmony_ci
2931cb0ef41Sopenharmony_ciThe `crypto.createCredentials()` API was removed. Please use
2941cb0ef41Sopenharmony_ci[`tls.createSecureContext()`][] instead.
2951cb0ef41Sopenharmony_ci
2961cb0ef41Sopenharmony_ci### DEP0011: `crypto.Credentials`
2971cb0ef41Sopenharmony_ci
2981cb0ef41Sopenharmony_ci<!-- YAML
2991cb0ef41Sopenharmony_cichanges:
3001cb0ef41Sopenharmony_ci  - version: v11.0.0
3011cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/21153
3021cb0ef41Sopenharmony_ci    description: End-of-Life.
3031cb0ef41Sopenharmony_ci  - version:
3041cb0ef41Sopenharmony_ci    - v6.12.0
3051cb0ef41Sopenharmony_ci    - v4.8.6
3061cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
3071cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
3081cb0ef41Sopenharmony_ci  - version: v0.11.13
3091cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node-v0.x-archive/pull/7265
3101cb0ef41Sopenharmony_ci    description: Runtime deprecation.
3111cb0ef41Sopenharmony_ci-->
3121cb0ef41Sopenharmony_ci
3131cb0ef41Sopenharmony_ciType: End-of-Life
3141cb0ef41Sopenharmony_ci
3151cb0ef41Sopenharmony_ciThe `crypto.Credentials` class was removed. Please use [`tls.SecureContext`][]
3161cb0ef41Sopenharmony_ciinstead.
3171cb0ef41Sopenharmony_ci
3181cb0ef41Sopenharmony_ci### DEP0012: `Domain.dispose`
3191cb0ef41Sopenharmony_ci
3201cb0ef41Sopenharmony_ci<!-- YAML
3211cb0ef41Sopenharmony_cichanges:
3221cb0ef41Sopenharmony_ci  - version: v9.0.0
3231cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/15412
3241cb0ef41Sopenharmony_ci    description: End-of-Life.
3251cb0ef41Sopenharmony_ci  - version:
3261cb0ef41Sopenharmony_ci    - v6.12.0
3271cb0ef41Sopenharmony_ci    - v4.8.6
3281cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
3291cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
3301cb0ef41Sopenharmony_ci  - version: v0.11.7
3311cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node-v0.x-archive/pull/5021
3321cb0ef41Sopenharmony_ci    description: Runtime deprecation.
3331cb0ef41Sopenharmony_ci-->
3341cb0ef41Sopenharmony_ci
3351cb0ef41Sopenharmony_ciType: End-of-Life
3361cb0ef41Sopenharmony_ci
3371cb0ef41Sopenharmony_ci`Domain.dispose()` has been removed. Recover from failed I/O actions
3381cb0ef41Sopenharmony_ciexplicitly via error event handlers set on the domain instead.
3391cb0ef41Sopenharmony_ci
3401cb0ef41Sopenharmony_ci### DEP0013: `fs` asynchronous function without callback
3411cb0ef41Sopenharmony_ci
3421cb0ef41Sopenharmony_ci<!-- YAML
3431cb0ef41Sopenharmony_cichanges:
3441cb0ef41Sopenharmony_ci  - version: v10.0.0
3451cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18668
3461cb0ef41Sopenharmony_ci    description: End-of-Life.
3471cb0ef41Sopenharmony_ci  - version: v7.0.0
3481cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/7897
3491cb0ef41Sopenharmony_ci    description: Runtime deprecation.
3501cb0ef41Sopenharmony_ci-->
3511cb0ef41Sopenharmony_ci
3521cb0ef41Sopenharmony_ciType: End-of-Life
3531cb0ef41Sopenharmony_ci
3541cb0ef41Sopenharmony_ciCalling an asynchronous function without a callback throws a `TypeError`
3551cb0ef41Sopenharmony_ciin Node.js 10.0.0 onwards. See <https://github.com/nodejs/node/pull/12562>.
3561cb0ef41Sopenharmony_ci
3571cb0ef41Sopenharmony_ci### DEP0014: `fs.read` legacy String interface
3581cb0ef41Sopenharmony_ci
3591cb0ef41Sopenharmony_ci<!-- YAML
3601cb0ef41Sopenharmony_cichanges:
3611cb0ef41Sopenharmony_ci  - version: v8.0.0
3621cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/9683
3631cb0ef41Sopenharmony_ci    description: End-of-Life.
3641cb0ef41Sopenharmony_ci  - version:
3651cb0ef41Sopenharmony_ci    - v6.12.0
3661cb0ef41Sopenharmony_ci    - v4.8.6
3671cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
3681cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
3691cb0ef41Sopenharmony_ci  - version: v6.0.0
3701cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/4525
3711cb0ef41Sopenharmony_ci    description: Runtime deprecation.
3721cb0ef41Sopenharmony_ci  - version: v0.1.96
3731cb0ef41Sopenharmony_ci    commit: c93e0aaf062081db3ec40ac45b3e2c979d5759d6
3741cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
3751cb0ef41Sopenharmony_ci-->
3761cb0ef41Sopenharmony_ci
3771cb0ef41Sopenharmony_ciType: End-of-Life
3781cb0ef41Sopenharmony_ci
3791cb0ef41Sopenharmony_ciThe [`fs.read()`][] legacy `String` interface is deprecated. Use the `Buffer`
3801cb0ef41Sopenharmony_ciAPI as mentioned in the documentation instead.
3811cb0ef41Sopenharmony_ci
3821cb0ef41Sopenharmony_ci### DEP0015: `fs.readSync` legacy String interface
3831cb0ef41Sopenharmony_ci
3841cb0ef41Sopenharmony_ci<!-- YAML
3851cb0ef41Sopenharmony_cichanges:
3861cb0ef41Sopenharmony_ci  - version: v8.0.0
3871cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/9683
3881cb0ef41Sopenharmony_ci    description: End-of-Life.
3891cb0ef41Sopenharmony_ci  - version:
3901cb0ef41Sopenharmony_ci    - v6.12.0
3911cb0ef41Sopenharmony_ci    - v4.8.6
3921cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
3931cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
3941cb0ef41Sopenharmony_ci  - version: v6.0.0
3951cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/4525
3961cb0ef41Sopenharmony_ci    description: Runtime deprecation.
3971cb0ef41Sopenharmony_ci  - version: v0.1.96
3981cb0ef41Sopenharmony_ci    commit: c93e0aaf062081db3ec40ac45b3e2c979d5759d6
3991cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
4001cb0ef41Sopenharmony_ci-->
4011cb0ef41Sopenharmony_ci
4021cb0ef41Sopenharmony_ciType: End-of-Life
4031cb0ef41Sopenharmony_ci
4041cb0ef41Sopenharmony_ciThe [`fs.readSync()`][] legacy `String` interface is deprecated. Use the
4051cb0ef41Sopenharmony_ci`Buffer` API as mentioned in the documentation instead.
4061cb0ef41Sopenharmony_ci
4071cb0ef41Sopenharmony_ci### DEP0016: `GLOBAL`/`root`
4081cb0ef41Sopenharmony_ci
4091cb0ef41Sopenharmony_ci<!-- YAML
4101cb0ef41Sopenharmony_cichanges:
4111cb0ef41Sopenharmony_ci  - version: v14.0.0
4121cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/31167
4131cb0ef41Sopenharmony_ci    description: End-of-Life.
4141cb0ef41Sopenharmony_ci  - version: v6.12.0
4151cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
4161cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
4171cb0ef41Sopenharmony_ci  - version: v6.0.0
4181cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/1838
4191cb0ef41Sopenharmony_ci    description: Runtime deprecation.
4201cb0ef41Sopenharmony_ci-->
4211cb0ef41Sopenharmony_ci
4221cb0ef41Sopenharmony_ciType: End-of-Life
4231cb0ef41Sopenharmony_ci
4241cb0ef41Sopenharmony_ciThe `GLOBAL` and `root` aliases for the `global` property were deprecated
4251cb0ef41Sopenharmony_ciin Node.js 6.0.0 and have since been removed.
4261cb0ef41Sopenharmony_ci
4271cb0ef41Sopenharmony_ci### DEP0017: `Intl.v8BreakIterator`
4281cb0ef41Sopenharmony_ci
4291cb0ef41Sopenharmony_ci<!-- YAML
4301cb0ef41Sopenharmony_cichanges:
4311cb0ef41Sopenharmony_ci  - version: v9.0.0
4321cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/15238
4331cb0ef41Sopenharmony_ci    description: End-of-Life.
4341cb0ef41Sopenharmony_ci  - version: v7.0.0
4351cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/8908
4361cb0ef41Sopenharmony_ci    description: Runtime deprecation.
4371cb0ef41Sopenharmony_ci-->
4381cb0ef41Sopenharmony_ci
4391cb0ef41Sopenharmony_ciType: End-of-Life
4401cb0ef41Sopenharmony_ci
4411cb0ef41Sopenharmony_ci`Intl.v8BreakIterator` was a non-standard extension and has been removed.
4421cb0ef41Sopenharmony_ciSee [`Intl.Segmenter`](https://github.com/tc39/proposal-intl-segmenter).
4431cb0ef41Sopenharmony_ci
4441cb0ef41Sopenharmony_ci### DEP0018: Unhandled promise rejections
4451cb0ef41Sopenharmony_ci
4461cb0ef41Sopenharmony_ci<!-- YAML
4471cb0ef41Sopenharmony_cichanges:
4481cb0ef41Sopenharmony_ci  - version: v15.0.0
4491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/35316
4501cb0ef41Sopenharmony_ci    description: End-of-Life.
4511cb0ef41Sopenharmony_ci  - version: v7.0.0
4521cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/8217
4531cb0ef41Sopenharmony_ci    description: Runtime deprecation.
4541cb0ef41Sopenharmony_ci-->
4551cb0ef41Sopenharmony_ci
4561cb0ef41Sopenharmony_ciType: End-of-Life
4571cb0ef41Sopenharmony_ci
4581cb0ef41Sopenharmony_ciUnhandled promise rejections are deprecated. By default, promise rejections
4591cb0ef41Sopenharmony_cithat are not handled terminate the Node.js process with a non-zero exit
4601cb0ef41Sopenharmony_cicode. To change the way Node.js treats unhandled rejections, use the
4611cb0ef41Sopenharmony_ci[`--unhandled-rejections`][] command-line option.
4621cb0ef41Sopenharmony_ci
4631cb0ef41Sopenharmony_ci### DEP0019: `require('.')` resolved outside directory
4641cb0ef41Sopenharmony_ci
4651cb0ef41Sopenharmony_ci<!-- YAML
4661cb0ef41Sopenharmony_cichanges:
4671cb0ef41Sopenharmony_ci  - version: v12.0.0
4681cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26973
4691cb0ef41Sopenharmony_ci    description: Removed functionality.
4701cb0ef41Sopenharmony_ci  - version:
4711cb0ef41Sopenharmony_ci    - v6.12.0
4721cb0ef41Sopenharmony_ci    - v4.8.6
4731cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
4741cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
4751cb0ef41Sopenharmony_ci  - version: v1.8.1
4761cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/1363
4771cb0ef41Sopenharmony_ci    description: Runtime deprecation.
4781cb0ef41Sopenharmony_ci-->
4791cb0ef41Sopenharmony_ci
4801cb0ef41Sopenharmony_ciType: End-of-Life
4811cb0ef41Sopenharmony_ci
4821cb0ef41Sopenharmony_ciIn certain cases, `require('.')` could resolve outside the package directory.
4831cb0ef41Sopenharmony_ciThis behavior has been removed.
4841cb0ef41Sopenharmony_ci
4851cb0ef41Sopenharmony_ci### DEP0020: `Server.connections`
4861cb0ef41Sopenharmony_ci
4871cb0ef41Sopenharmony_ci<!-- YAML
4881cb0ef41Sopenharmony_cichanges:
4891cb0ef41Sopenharmony_ci  - version: v15.0.0
4901cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33647
4911cb0ef41Sopenharmony_ci    description: Server.connections has been removed.
4921cb0ef41Sopenharmony_ci  - version:
4931cb0ef41Sopenharmony_ci    - v6.12.0
4941cb0ef41Sopenharmony_ci    - v4.8.6
4951cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
4961cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
4971cb0ef41Sopenharmony_ci  - version: v0.9.7
4981cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node-v0.x-archive/pull/4595
4991cb0ef41Sopenharmony_ci    description: Runtime deprecation.
5001cb0ef41Sopenharmony_ci-->
5011cb0ef41Sopenharmony_ci
5021cb0ef41Sopenharmony_ciType: End-of-Life
5031cb0ef41Sopenharmony_ci
5041cb0ef41Sopenharmony_ciThe `Server.connections` property was deprecated in Node.js v0.9.7 and has
5051cb0ef41Sopenharmony_cibeen removed. Please use the [`Server.getConnections()`][] method instead.
5061cb0ef41Sopenharmony_ci
5071cb0ef41Sopenharmony_ci### DEP0021: `Server.listenFD`
5081cb0ef41Sopenharmony_ci
5091cb0ef41Sopenharmony_ci<!-- YAML
5101cb0ef41Sopenharmony_cichanges:
5111cb0ef41Sopenharmony_ci  - version: v12.0.0
5121cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/27127
5131cb0ef41Sopenharmony_ci    description: End-of-Life.
5141cb0ef41Sopenharmony_ci  - version:
5151cb0ef41Sopenharmony_ci    - v6.12.0
5161cb0ef41Sopenharmony_ci    - v4.8.6
5171cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
5181cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
5191cb0ef41Sopenharmony_ci  - version: v0.7.12
5201cb0ef41Sopenharmony_ci    commit: 41421ff9da1288aa241a5e9dcf915b685ade1c23
5211cb0ef41Sopenharmony_ci    description: Runtime deprecation.
5221cb0ef41Sopenharmony_ci-->
5231cb0ef41Sopenharmony_ci
5241cb0ef41Sopenharmony_ciType: End-of-Life
5251cb0ef41Sopenharmony_ci
5261cb0ef41Sopenharmony_ciThe `Server.listenFD()` method was deprecated and removed. Please use
5271cb0ef41Sopenharmony_ci[`Server.listen({fd: <number>})`][] instead.
5281cb0ef41Sopenharmony_ci
5291cb0ef41Sopenharmony_ci### DEP0022: `os.tmpDir()`
5301cb0ef41Sopenharmony_ci
5311cb0ef41Sopenharmony_ci<!-- YAML
5321cb0ef41Sopenharmony_cichanges:
5331cb0ef41Sopenharmony_ci  - version: v14.0.0
5341cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/31169
5351cb0ef41Sopenharmony_ci    description: End-of-Life.
5361cb0ef41Sopenharmony_ci  - version: v7.0.0
5371cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/6739
5381cb0ef41Sopenharmony_ci    description: Runtime deprecation.
5391cb0ef41Sopenharmony_ci-->
5401cb0ef41Sopenharmony_ci
5411cb0ef41Sopenharmony_ciType: End-of-Life
5421cb0ef41Sopenharmony_ci
5431cb0ef41Sopenharmony_ciThe `os.tmpDir()` API was deprecated in Node.js 7.0.0 and has since been
5441cb0ef41Sopenharmony_ciremoved. Please use [`os.tmpdir()`][] instead.
5451cb0ef41Sopenharmony_ci
5461cb0ef41Sopenharmony_ci### DEP0023: `os.getNetworkInterfaces()`
5471cb0ef41Sopenharmony_ci
5481cb0ef41Sopenharmony_ci<!-- YAML
5491cb0ef41Sopenharmony_cichanges:
5501cb0ef41Sopenharmony_ci  - version: v12.0.0
5511cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25280
5521cb0ef41Sopenharmony_ci    description: End-of-Life.
5531cb0ef41Sopenharmony_ci  - version:
5541cb0ef41Sopenharmony_ci    - v6.12.0
5551cb0ef41Sopenharmony_ci    - v4.8.6
5561cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
5571cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
5581cb0ef41Sopenharmony_ci  - version: v0.6.0
5591cb0ef41Sopenharmony_ci    commit: 37bb37d151fb6ee4696730e63ff28bb7a4924f97
5601cb0ef41Sopenharmony_ci    description: Runtime deprecation.
5611cb0ef41Sopenharmony_ci-->
5621cb0ef41Sopenharmony_ci
5631cb0ef41Sopenharmony_ciType: End-of-Life
5641cb0ef41Sopenharmony_ci
5651cb0ef41Sopenharmony_ciThe `os.getNetworkInterfaces()` method is deprecated. Please use the
5661cb0ef41Sopenharmony_ci[`os.networkInterfaces()`][] method instead.
5671cb0ef41Sopenharmony_ci
5681cb0ef41Sopenharmony_ci### DEP0024: `REPLServer.prototype.convertToContext()`
5691cb0ef41Sopenharmony_ci
5701cb0ef41Sopenharmony_ci<!-- YAML
5711cb0ef41Sopenharmony_cichanges:
5721cb0ef41Sopenharmony_ci  - version: v9.0.0
5731cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13434
5741cb0ef41Sopenharmony_ci    description: End-of-Life.
5751cb0ef41Sopenharmony_ci  - version: v7.0.0
5761cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/7829
5771cb0ef41Sopenharmony_ci    description: Runtime deprecation.
5781cb0ef41Sopenharmony_ci-->
5791cb0ef41Sopenharmony_ci
5801cb0ef41Sopenharmony_ciType: End-of-Life
5811cb0ef41Sopenharmony_ci
5821cb0ef41Sopenharmony_ciThe `REPLServer.prototype.convertToContext()` API has been removed.
5831cb0ef41Sopenharmony_ci
5841cb0ef41Sopenharmony_ci### DEP0025: `require('node:sys')`
5851cb0ef41Sopenharmony_ci
5861cb0ef41Sopenharmony_ci<!-- YAML
5871cb0ef41Sopenharmony_cichanges:
5881cb0ef41Sopenharmony_ci  - version:
5891cb0ef41Sopenharmony_ci    - v6.12.0
5901cb0ef41Sopenharmony_ci    - v4.8.6
5911cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
5921cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
5931cb0ef41Sopenharmony_ci  - version: v1.0.0
5941cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/317
5951cb0ef41Sopenharmony_ci    description: Runtime deprecation.
5961cb0ef41Sopenharmony_ci-->
5971cb0ef41Sopenharmony_ci
5981cb0ef41Sopenharmony_ciType: Runtime
5991cb0ef41Sopenharmony_ci
6001cb0ef41Sopenharmony_ciThe `node:sys` module is deprecated. Please use the [`util`][] module instead.
6011cb0ef41Sopenharmony_ci
6021cb0ef41Sopenharmony_ci### DEP0026: `util.print()`
6031cb0ef41Sopenharmony_ci
6041cb0ef41Sopenharmony_ci<!-- YAML
6051cb0ef41Sopenharmony_cichanges:
6061cb0ef41Sopenharmony_ci  - version: v12.0.0
6071cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25377
6081cb0ef41Sopenharmony_ci    description: End-of-Life.
6091cb0ef41Sopenharmony_ci  - version:
6101cb0ef41Sopenharmony_ci    - v6.12.0
6111cb0ef41Sopenharmony_ci    - v4.8.6
6121cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
6131cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
6141cb0ef41Sopenharmony_ci  - version: v0.11.3
6151cb0ef41Sopenharmony_ci    commit: 896b2aa7074fc886efd7dd0a397d694763cac7ce
6161cb0ef41Sopenharmony_ci    description: Runtime deprecation.
6171cb0ef41Sopenharmony_ci-->
6181cb0ef41Sopenharmony_ci
6191cb0ef41Sopenharmony_ciType: End-of-Life
6201cb0ef41Sopenharmony_ci
6211cb0ef41Sopenharmony_ci`util.print()` has been removed. Please use [`console.log()`][] instead.
6221cb0ef41Sopenharmony_ci
6231cb0ef41Sopenharmony_ci### DEP0027: `util.puts()`
6241cb0ef41Sopenharmony_ci
6251cb0ef41Sopenharmony_ci<!-- YAML
6261cb0ef41Sopenharmony_cichanges:
6271cb0ef41Sopenharmony_ci  - version: v12.0.0
6281cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25377
6291cb0ef41Sopenharmony_ci    description: End-of-Life.
6301cb0ef41Sopenharmony_ci  - version:
6311cb0ef41Sopenharmony_ci    - v6.12.0
6321cb0ef41Sopenharmony_ci    - v4.8.6
6331cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
6341cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
6351cb0ef41Sopenharmony_ci  - version: v0.11.3
6361cb0ef41Sopenharmony_ci    commit: 896b2aa7074fc886efd7dd0a397d694763cac7ce
6371cb0ef41Sopenharmony_ci    description: Runtime deprecation.
6381cb0ef41Sopenharmony_ci-->
6391cb0ef41Sopenharmony_ci
6401cb0ef41Sopenharmony_ciType: End-of-Life
6411cb0ef41Sopenharmony_ci
6421cb0ef41Sopenharmony_ci`util.puts()` has been removed. Please use [`console.log()`][] instead.
6431cb0ef41Sopenharmony_ci
6441cb0ef41Sopenharmony_ci### DEP0028: `util.debug()`
6451cb0ef41Sopenharmony_ci
6461cb0ef41Sopenharmony_ci<!-- YAML
6471cb0ef41Sopenharmony_cichanges:
6481cb0ef41Sopenharmony_ci  - version: v12.0.0
6491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25377
6501cb0ef41Sopenharmony_ci    description: End-of-Life.
6511cb0ef41Sopenharmony_ci  - version:
6521cb0ef41Sopenharmony_ci    - v6.12.0
6531cb0ef41Sopenharmony_ci    - v4.8.6
6541cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
6551cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
6561cb0ef41Sopenharmony_ci  - version: v0.11.3
6571cb0ef41Sopenharmony_ci    commit: 896b2aa7074fc886efd7dd0a397d694763cac7ce
6581cb0ef41Sopenharmony_ci    description: Runtime deprecation.
6591cb0ef41Sopenharmony_ci-->
6601cb0ef41Sopenharmony_ci
6611cb0ef41Sopenharmony_ciType: End-of-Life
6621cb0ef41Sopenharmony_ci
6631cb0ef41Sopenharmony_ci`util.debug()` has been removed. Please use [`console.error()`][] instead.
6641cb0ef41Sopenharmony_ci
6651cb0ef41Sopenharmony_ci### DEP0029: `util.error()`
6661cb0ef41Sopenharmony_ci
6671cb0ef41Sopenharmony_ci<!-- YAML
6681cb0ef41Sopenharmony_cichanges:
6691cb0ef41Sopenharmony_ci  - version: v12.0.0
6701cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25377
6711cb0ef41Sopenharmony_ci    description: End-of-Life.
6721cb0ef41Sopenharmony_ci  - version:
6731cb0ef41Sopenharmony_ci    - v6.12.0
6741cb0ef41Sopenharmony_ci    - v4.8.6
6751cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
6761cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
6771cb0ef41Sopenharmony_ci  - version: v0.11.3
6781cb0ef41Sopenharmony_ci    commit: 896b2aa7074fc886efd7dd0a397d694763cac7ce
6791cb0ef41Sopenharmony_ci    description: Runtime deprecation.
6801cb0ef41Sopenharmony_ci-->
6811cb0ef41Sopenharmony_ci
6821cb0ef41Sopenharmony_ciType: End-of-Life
6831cb0ef41Sopenharmony_ci
6841cb0ef41Sopenharmony_ci`util.error()` has been removed. Please use [`console.error()`][] instead.
6851cb0ef41Sopenharmony_ci
6861cb0ef41Sopenharmony_ci### DEP0030: `SlowBuffer`
6871cb0ef41Sopenharmony_ci
6881cb0ef41Sopenharmony_ci<!-- YAML
6891cb0ef41Sopenharmony_cichanges:
6901cb0ef41Sopenharmony_ci  - version: v6.12.0
6911cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
6921cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
6931cb0ef41Sopenharmony_ci  - version: v6.0.0
6941cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/5833
6951cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
6961cb0ef41Sopenharmony_ci-->
6971cb0ef41Sopenharmony_ci
6981cb0ef41Sopenharmony_ciType: Documentation-only
6991cb0ef41Sopenharmony_ci
7001cb0ef41Sopenharmony_ciThe [`SlowBuffer`][] class is deprecated. Please use
7011cb0ef41Sopenharmony_ci[`Buffer.allocUnsafeSlow(size)`][] instead.
7021cb0ef41Sopenharmony_ci
7031cb0ef41Sopenharmony_ci### DEP0031: `ecdh.setPublicKey()`
7041cb0ef41Sopenharmony_ci
7051cb0ef41Sopenharmony_ci<!-- YAML
7061cb0ef41Sopenharmony_cichanges:
7071cb0ef41Sopenharmony_ci  - version: v6.12.0
7081cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
7091cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
7101cb0ef41Sopenharmony_ci  - version: v5.2.0
7111cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/3511
7121cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
7131cb0ef41Sopenharmony_ci-->
7141cb0ef41Sopenharmony_ci
7151cb0ef41Sopenharmony_ciType: Documentation-only
7161cb0ef41Sopenharmony_ci
7171cb0ef41Sopenharmony_ciThe [`ecdh.setPublicKey()`][] method is now deprecated as its inclusion in the
7181cb0ef41Sopenharmony_ciAPI is not useful.
7191cb0ef41Sopenharmony_ci
7201cb0ef41Sopenharmony_ci### DEP0032: `node:domain` module
7211cb0ef41Sopenharmony_ci
7221cb0ef41Sopenharmony_ci<!-- YAML
7231cb0ef41Sopenharmony_cichanges:
7241cb0ef41Sopenharmony_ci  - version:
7251cb0ef41Sopenharmony_ci    - v6.12.0
7261cb0ef41Sopenharmony_ci    - v4.8.6
7271cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
7281cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
7291cb0ef41Sopenharmony_ci  - version: v1.4.2
7301cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/943
7311cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
7321cb0ef41Sopenharmony_ci-->
7331cb0ef41Sopenharmony_ci
7341cb0ef41Sopenharmony_ciType: Documentation-only
7351cb0ef41Sopenharmony_ci
7361cb0ef41Sopenharmony_ciThe [`domain`][] module is deprecated and should not be used.
7371cb0ef41Sopenharmony_ci
7381cb0ef41Sopenharmony_ci### DEP0033: `EventEmitter.listenerCount()`
7391cb0ef41Sopenharmony_ci
7401cb0ef41Sopenharmony_ci<!-- YAML
7411cb0ef41Sopenharmony_cichanges:
7421cb0ef41Sopenharmony_ci  - version:
7431cb0ef41Sopenharmony_ci    - v6.12.0
7441cb0ef41Sopenharmony_ci    - v4.8.6
7451cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
7461cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
7471cb0ef41Sopenharmony_ci  - version: v3.2.0
7481cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2349
7491cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
7501cb0ef41Sopenharmony_ci-->
7511cb0ef41Sopenharmony_ci
7521cb0ef41Sopenharmony_ciType: Documentation-only
7531cb0ef41Sopenharmony_ci
7541cb0ef41Sopenharmony_ciThe [`events.listenerCount(emitter, eventName)`][] API is
7551cb0ef41Sopenharmony_cideprecated. Please use [`emitter.listenerCount(eventName)`][] instead.
7561cb0ef41Sopenharmony_ci
7571cb0ef41Sopenharmony_ci### DEP0034: `fs.exists(path, callback)`
7581cb0ef41Sopenharmony_ci
7591cb0ef41Sopenharmony_ci<!-- YAML
7601cb0ef41Sopenharmony_cichanges:
7611cb0ef41Sopenharmony_ci  - version:
7621cb0ef41Sopenharmony_ci    - v6.12.0
7631cb0ef41Sopenharmony_ci    - v4.8.6
7641cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
7651cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
7661cb0ef41Sopenharmony_ci  - version: v1.0.0
7671cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/166
7681cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
7691cb0ef41Sopenharmony_ci-->
7701cb0ef41Sopenharmony_ci
7711cb0ef41Sopenharmony_ciType: Documentation-only
7721cb0ef41Sopenharmony_ci
7731cb0ef41Sopenharmony_ciThe [`fs.exists(path, callback)`][] API is deprecated. Please use
7741cb0ef41Sopenharmony_ci[`fs.stat()`][] or [`fs.access()`][] instead.
7751cb0ef41Sopenharmony_ci
7761cb0ef41Sopenharmony_ci### DEP0035: `fs.lchmod(path, mode, callback)`
7771cb0ef41Sopenharmony_ci
7781cb0ef41Sopenharmony_ci<!-- YAML
7791cb0ef41Sopenharmony_cichanges:
7801cb0ef41Sopenharmony_ci  - version:
7811cb0ef41Sopenharmony_ci    - v6.12.0
7821cb0ef41Sopenharmony_ci    - v4.8.6
7831cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
7841cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
7851cb0ef41Sopenharmony_ci  - version: v0.4.7
7861cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
7871cb0ef41Sopenharmony_ci-->
7881cb0ef41Sopenharmony_ci
7891cb0ef41Sopenharmony_ciType: Documentation-only
7901cb0ef41Sopenharmony_ci
7911cb0ef41Sopenharmony_ciThe [`fs.lchmod(path, mode, callback)`][] API is deprecated.
7921cb0ef41Sopenharmony_ci
7931cb0ef41Sopenharmony_ci### DEP0036: `fs.lchmodSync(path, mode)`
7941cb0ef41Sopenharmony_ci
7951cb0ef41Sopenharmony_ci<!-- YAML
7961cb0ef41Sopenharmony_cichanges:
7971cb0ef41Sopenharmony_ci  - version:
7981cb0ef41Sopenharmony_ci    - v6.12.0
7991cb0ef41Sopenharmony_ci    - v4.8.6
8001cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
8011cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
8021cb0ef41Sopenharmony_ci  - version: v0.4.7
8031cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
8041cb0ef41Sopenharmony_ci-->
8051cb0ef41Sopenharmony_ci
8061cb0ef41Sopenharmony_ciType: Documentation-only
8071cb0ef41Sopenharmony_ci
8081cb0ef41Sopenharmony_ciThe [`fs.lchmodSync(path, mode)`][] API is deprecated.
8091cb0ef41Sopenharmony_ci
8101cb0ef41Sopenharmony_ci### DEP0037: `fs.lchown(path, uid, gid, callback)`
8111cb0ef41Sopenharmony_ci
8121cb0ef41Sopenharmony_ci<!-- YAML
8131cb0ef41Sopenharmony_cichanges:
8141cb0ef41Sopenharmony_ci  - version: v10.6.0
8151cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/21498
8161cb0ef41Sopenharmony_ci    description: Deprecation revoked.
8171cb0ef41Sopenharmony_ci  - version:
8181cb0ef41Sopenharmony_ci    - v6.12.0
8191cb0ef41Sopenharmony_ci    - v4.8.6
8201cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
8211cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
8221cb0ef41Sopenharmony_ci  - version: v0.4.7
8231cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
8241cb0ef41Sopenharmony_ci-->
8251cb0ef41Sopenharmony_ci
8261cb0ef41Sopenharmony_ciType: Deprecation revoked
8271cb0ef41Sopenharmony_ci
8281cb0ef41Sopenharmony_ciThe [`fs.lchown(path, uid, gid, callback)`][] API was deprecated. The
8291cb0ef41Sopenharmony_cideprecation was revoked because the requisite supporting APIs were added in
8301cb0ef41Sopenharmony_cilibuv.
8311cb0ef41Sopenharmony_ci
8321cb0ef41Sopenharmony_ci### DEP0038: `fs.lchownSync(path, uid, gid)`
8331cb0ef41Sopenharmony_ci
8341cb0ef41Sopenharmony_ci<!-- YAML
8351cb0ef41Sopenharmony_cichanges:
8361cb0ef41Sopenharmony_ci  - version: v10.6.0
8371cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/21498
8381cb0ef41Sopenharmony_ci    description: Deprecation revoked.
8391cb0ef41Sopenharmony_ci  - version:
8401cb0ef41Sopenharmony_ci    - v6.12.0
8411cb0ef41Sopenharmony_ci    - v4.8.6
8421cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
8431cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
8441cb0ef41Sopenharmony_ci  - version: v0.4.7
8451cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
8461cb0ef41Sopenharmony_ci-->
8471cb0ef41Sopenharmony_ci
8481cb0ef41Sopenharmony_ciType: Deprecation revoked
8491cb0ef41Sopenharmony_ci
8501cb0ef41Sopenharmony_ciThe [`fs.lchownSync(path, uid, gid)`][] API was deprecated. The deprecation was
8511cb0ef41Sopenharmony_cirevoked because the requisite supporting APIs were added in libuv.
8521cb0ef41Sopenharmony_ci
8531cb0ef41Sopenharmony_ci### DEP0039: `require.extensions`
8541cb0ef41Sopenharmony_ci
8551cb0ef41Sopenharmony_ci<!-- YAML
8561cb0ef41Sopenharmony_cichanges:
8571cb0ef41Sopenharmony_ci  - version:
8581cb0ef41Sopenharmony_ci    - v6.12.0
8591cb0ef41Sopenharmony_ci    - v4.8.6
8601cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
8611cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
8621cb0ef41Sopenharmony_ci  - version: v0.10.6
8631cb0ef41Sopenharmony_ci    commit: 7bd8a5a2a60b75266f89f9a32877d55294a3881c
8641cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
8651cb0ef41Sopenharmony_ci-->
8661cb0ef41Sopenharmony_ci
8671cb0ef41Sopenharmony_ciType: Documentation-only
8681cb0ef41Sopenharmony_ci
8691cb0ef41Sopenharmony_ciThe [`require.extensions`][] property is deprecated.
8701cb0ef41Sopenharmony_ci
8711cb0ef41Sopenharmony_ci### DEP0040: `node:punycode` module
8721cb0ef41Sopenharmony_ci
8731cb0ef41Sopenharmony_ci<!-- YAML
8741cb0ef41Sopenharmony_cichanges:
8751cb0ef41Sopenharmony_ci  - version: v16.6.0
8761cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/38444
8771cb0ef41Sopenharmony_ci    description: Added support for `--pending-deprecation`.
8781cb0ef41Sopenharmony_ci  - version: v7.0.0
8791cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/7941
8801cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
8811cb0ef41Sopenharmony_ci-->
8821cb0ef41Sopenharmony_ci
8831cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
8841cb0ef41Sopenharmony_ci
8851cb0ef41Sopenharmony_ciThe [`punycode`][] module is deprecated. Please use a userland alternative
8861cb0ef41Sopenharmony_ciinstead.
8871cb0ef41Sopenharmony_ci
8881cb0ef41Sopenharmony_ci### DEP0041: `NODE_REPL_HISTORY_FILE` environment variable
8891cb0ef41Sopenharmony_ci
8901cb0ef41Sopenharmony_ci<!-- YAML
8911cb0ef41Sopenharmony_cichanges:
8921cb0ef41Sopenharmony_ci  - version: v10.0.0
8931cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13876
8941cb0ef41Sopenharmony_ci    description: End-of-Life.
8951cb0ef41Sopenharmony_ci  - version:
8961cb0ef41Sopenharmony_ci    - v6.12.0
8971cb0ef41Sopenharmony_ci    - v4.8.6
8981cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
8991cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
9001cb0ef41Sopenharmony_ci  - version: v3.0.0
9011cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2224
9021cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
9031cb0ef41Sopenharmony_ci-->
9041cb0ef41Sopenharmony_ci
9051cb0ef41Sopenharmony_ciType: End-of-Life
9061cb0ef41Sopenharmony_ci
9071cb0ef41Sopenharmony_ciThe `NODE_REPL_HISTORY_FILE` environment variable was removed. Please use
9081cb0ef41Sopenharmony_ci`NODE_REPL_HISTORY` instead.
9091cb0ef41Sopenharmony_ci
9101cb0ef41Sopenharmony_ci### DEP0042: `tls.CryptoStream`
9111cb0ef41Sopenharmony_ci
9121cb0ef41Sopenharmony_ci<!-- YAML
9131cb0ef41Sopenharmony_cichanges:
9141cb0ef41Sopenharmony_ci  - version: v10.0.0
9151cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/17882
9161cb0ef41Sopenharmony_ci    description: End-of-Life.
9171cb0ef41Sopenharmony_ci  - version:
9181cb0ef41Sopenharmony_ci    - v6.12.0
9191cb0ef41Sopenharmony_ci    - v4.8.6
9201cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
9211cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
9221cb0ef41Sopenharmony_ci  - version: v0.11.3
9231cb0ef41Sopenharmony_ci    commit: af80e7bc6e6f33c582eb1f7d37c7f5bbe9f910f7
9241cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
9251cb0ef41Sopenharmony_ci-->
9261cb0ef41Sopenharmony_ci
9271cb0ef41Sopenharmony_ciType: End-of-Life
9281cb0ef41Sopenharmony_ci
9291cb0ef41Sopenharmony_ciThe [`tls.CryptoStream`][] class was removed. Please use
9301cb0ef41Sopenharmony_ci[`tls.TLSSocket`][] instead.
9311cb0ef41Sopenharmony_ci
9321cb0ef41Sopenharmony_ci### DEP0043: `tls.SecurePair`
9331cb0ef41Sopenharmony_ci
9341cb0ef41Sopenharmony_ci<!-- YAML
9351cb0ef41Sopenharmony_cichanges:
9361cb0ef41Sopenharmony_ci  - version: v8.0.0
9371cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/11349
9381cb0ef41Sopenharmony_ci    description: Runtime deprecation.
9391cb0ef41Sopenharmony_ci  - version: v6.12.0
9401cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
9411cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
9421cb0ef41Sopenharmony_ci  - version: v6.0.0
9431cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/6063
9441cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
9451cb0ef41Sopenharmony_ci  - version: v0.11.15
9461cb0ef41Sopenharmony_ci    pr-url:
9471cb0ef41Sopenharmony_ci      - https://github.com/nodejs/node-v0.x-archive/pull/8695
9481cb0ef41Sopenharmony_ci      - https://github.com/nodejs/node-v0.x-archive/pull/8700
9491cb0ef41Sopenharmony_ci    description: Deprecation revoked.
9501cb0ef41Sopenharmony_ci  - version: v0.11.3
9511cb0ef41Sopenharmony_ci    commit: af80e7bc6e6f33c582eb1f7d37c7f5bbe9f910f7
9521cb0ef41Sopenharmony_ci    description: Runtime deprecation.
9531cb0ef41Sopenharmony_ci-->
9541cb0ef41Sopenharmony_ci
9551cb0ef41Sopenharmony_ciType: Documentation-only
9561cb0ef41Sopenharmony_ci
9571cb0ef41Sopenharmony_ciThe [`tls.SecurePair`][] class is deprecated. Please use
9581cb0ef41Sopenharmony_ci[`tls.TLSSocket`][] instead.
9591cb0ef41Sopenharmony_ci
9601cb0ef41Sopenharmony_ci### DEP0044: `util.isArray()`
9611cb0ef41Sopenharmony_ci
9621cb0ef41Sopenharmony_ci<!-- YAML
9631cb0ef41Sopenharmony_cichanges:
9641cb0ef41Sopenharmony_ci  - version:
9651cb0ef41Sopenharmony_ci    - v6.12.0
9661cb0ef41Sopenharmony_ci    - v4.8.6
9671cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
9681cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
9691cb0ef41Sopenharmony_ci  - version:
9701cb0ef41Sopenharmony_ci    - v4.0.0
9711cb0ef41Sopenharmony_ci    - v3.3.1
9721cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
9731cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
9741cb0ef41Sopenharmony_ci-->
9751cb0ef41Sopenharmony_ci
9761cb0ef41Sopenharmony_ciType: Documentation-only
9771cb0ef41Sopenharmony_ci
9781cb0ef41Sopenharmony_ciThe [`util.isArray()`][] API is deprecated. Please use `Array.isArray()`
9791cb0ef41Sopenharmony_ciinstead.
9801cb0ef41Sopenharmony_ci
9811cb0ef41Sopenharmony_ci### DEP0045: `util.isBoolean()`
9821cb0ef41Sopenharmony_ci
9831cb0ef41Sopenharmony_ci<!-- YAML
9841cb0ef41Sopenharmony_cichanges:
9851cb0ef41Sopenharmony_ci  - version:
9861cb0ef41Sopenharmony_ci    - v6.12.0
9871cb0ef41Sopenharmony_ci    - v4.8.6
9881cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
9891cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
9901cb0ef41Sopenharmony_ci  - version:
9911cb0ef41Sopenharmony_ci    - v4.0.0
9921cb0ef41Sopenharmony_ci    - v3.3.1
9931cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
9941cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
9951cb0ef41Sopenharmony_ci-->
9961cb0ef41Sopenharmony_ci
9971cb0ef41Sopenharmony_ciType: Documentation-only
9981cb0ef41Sopenharmony_ci
9991cb0ef41Sopenharmony_ciThe [`util.isBoolean()`][] API is deprecated.
10001cb0ef41Sopenharmony_ci
10011cb0ef41Sopenharmony_ci### DEP0046: `util.isBuffer()`
10021cb0ef41Sopenharmony_ci
10031cb0ef41Sopenharmony_ci<!-- YAML
10041cb0ef41Sopenharmony_cichanges:
10051cb0ef41Sopenharmony_ci  - version:
10061cb0ef41Sopenharmony_ci    - v6.12.0
10071cb0ef41Sopenharmony_ci    - v4.8.6
10081cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
10091cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
10101cb0ef41Sopenharmony_ci  - version:
10111cb0ef41Sopenharmony_ci    - v4.0.0
10121cb0ef41Sopenharmony_ci    - v3.3.1
10131cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
10141cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
10151cb0ef41Sopenharmony_ci-->
10161cb0ef41Sopenharmony_ci
10171cb0ef41Sopenharmony_ciType: Documentation-only
10181cb0ef41Sopenharmony_ci
10191cb0ef41Sopenharmony_ciThe [`util.isBuffer()`][] API is deprecated. Please use
10201cb0ef41Sopenharmony_ci[`Buffer.isBuffer()`][] instead.
10211cb0ef41Sopenharmony_ci
10221cb0ef41Sopenharmony_ci### DEP0047: `util.isDate()`
10231cb0ef41Sopenharmony_ci
10241cb0ef41Sopenharmony_ci<!-- YAML
10251cb0ef41Sopenharmony_cichanges:
10261cb0ef41Sopenharmony_ci  - version:
10271cb0ef41Sopenharmony_ci    - v6.12.0
10281cb0ef41Sopenharmony_ci    - v4.8.6
10291cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
10301cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
10311cb0ef41Sopenharmony_ci  - version:
10321cb0ef41Sopenharmony_ci    - v4.0.0
10331cb0ef41Sopenharmony_ci    - v3.3.1
10341cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
10351cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
10361cb0ef41Sopenharmony_ci-->
10371cb0ef41Sopenharmony_ci
10381cb0ef41Sopenharmony_ciType: Documentation-only
10391cb0ef41Sopenharmony_ci
10401cb0ef41Sopenharmony_ciThe [`util.isDate()`][] API is deprecated.
10411cb0ef41Sopenharmony_ci
10421cb0ef41Sopenharmony_ci### DEP0048: `util.isError()`
10431cb0ef41Sopenharmony_ci
10441cb0ef41Sopenharmony_ci<!-- YAML
10451cb0ef41Sopenharmony_cichanges:
10461cb0ef41Sopenharmony_ci  - version:
10471cb0ef41Sopenharmony_ci    - v6.12.0
10481cb0ef41Sopenharmony_ci    - v4.8.6
10491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
10501cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
10511cb0ef41Sopenharmony_ci  - version:
10521cb0ef41Sopenharmony_ci    - v4.0.0
10531cb0ef41Sopenharmony_ci    - v3.3.1
10541cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
10551cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
10561cb0ef41Sopenharmony_ci-->
10571cb0ef41Sopenharmony_ci
10581cb0ef41Sopenharmony_ciType: Documentation-only
10591cb0ef41Sopenharmony_ci
10601cb0ef41Sopenharmony_ciThe [`util.isError()`][] API is deprecated.
10611cb0ef41Sopenharmony_ci
10621cb0ef41Sopenharmony_ci### DEP0049: `util.isFunction()`
10631cb0ef41Sopenharmony_ci
10641cb0ef41Sopenharmony_ci<!-- YAML
10651cb0ef41Sopenharmony_cichanges:
10661cb0ef41Sopenharmony_ci  - version:
10671cb0ef41Sopenharmony_ci    - v6.12.0
10681cb0ef41Sopenharmony_ci    - v4.8.6
10691cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
10701cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
10711cb0ef41Sopenharmony_ci  - version:
10721cb0ef41Sopenharmony_ci    - v4.0.0
10731cb0ef41Sopenharmony_ci    - v3.3.1
10741cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
10751cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
10761cb0ef41Sopenharmony_ci-->
10771cb0ef41Sopenharmony_ci
10781cb0ef41Sopenharmony_ciType: Documentation-only
10791cb0ef41Sopenharmony_ci
10801cb0ef41Sopenharmony_ciThe [`util.isFunction()`][] API is deprecated.
10811cb0ef41Sopenharmony_ci
10821cb0ef41Sopenharmony_ci### DEP0050: `util.isNull()`
10831cb0ef41Sopenharmony_ci
10841cb0ef41Sopenharmony_ci<!-- YAML
10851cb0ef41Sopenharmony_cichanges:
10861cb0ef41Sopenharmony_ci  - version:
10871cb0ef41Sopenharmony_ci    - v6.12.0
10881cb0ef41Sopenharmony_ci    - v4.8.6
10891cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
10901cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
10911cb0ef41Sopenharmony_ci  - version:
10921cb0ef41Sopenharmony_ci    - v4.0.0
10931cb0ef41Sopenharmony_ci    - v3.3.1
10941cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
10951cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
10961cb0ef41Sopenharmony_ci-->
10971cb0ef41Sopenharmony_ci
10981cb0ef41Sopenharmony_ciType: Documentation-only
10991cb0ef41Sopenharmony_ci
11001cb0ef41Sopenharmony_ciThe [`util.isNull()`][] API is deprecated.
11011cb0ef41Sopenharmony_ci
11021cb0ef41Sopenharmony_ci### DEP0051: `util.isNullOrUndefined()`
11031cb0ef41Sopenharmony_ci
11041cb0ef41Sopenharmony_ci<!-- YAML
11051cb0ef41Sopenharmony_cichanges:
11061cb0ef41Sopenharmony_ci  - version:
11071cb0ef41Sopenharmony_ci    - v6.12.0
11081cb0ef41Sopenharmony_ci    - v4.8.6
11091cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
11101cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
11111cb0ef41Sopenharmony_ci  - version:
11121cb0ef41Sopenharmony_ci    - v4.0.0
11131cb0ef41Sopenharmony_ci    - v3.3.1
11141cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
11151cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
11161cb0ef41Sopenharmony_ci-->
11171cb0ef41Sopenharmony_ci
11181cb0ef41Sopenharmony_ciType: Documentation-only
11191cb0ef41Sopenharmony_ci
11201cb0ef41Sopenharmony_ciThe [`util.isNullOrUndefined()`][] API is deprecated.
11211cb0ef41Sopenharmony_ci
11221cb0ef41Sopenharmony_ci### DEP0052: `util.isNumber()`
11231cb0ef41Sopenharmony_ci
11241cb0ef41Sopenharmony_ci<!-- YAML
11251cb0ef41Sopenharmony_cichanges:
11261cb0ef41Sopenharmony_ci  - version:
11271cb0ef41Sopenharmony_ci    - v6.12.0
11281cb0ef41Sopenharmony_ci    - v4.8.6
11291cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
11301cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
11311cb0ef41Sopenharmony_ci  - version:
11321cb0ef41Sopenharmony_ci    - v4.0.0
11331cb0ef41Sopenharmony_ci    - v3.3.1
11341cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
11351cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
11361cb0ef41Sopenharmony_ci-->
11371cb0ef41Sopenharmony_ci
11381cb0ef41Sopenharmony_ciType: Documentation-only
11391cb0ef41Sopenharmony_ci
11401cb0ef41Sopenharmony_ciThe [`util.isNumber()`][] API is deprecated.
11411cb0ef41Sopenharmony_ci
11421cb0ef41Sopenharmony_ci### DEP0053: `util.isObject()`
11431cb0ef41Sopenharmony_ci
11441cb0ef41Sopenharmony_ci<!-- YAML
11451cb0ef41Sopenharmony_cichanges:
11461cb0ef41Sopenharmony_ci  - version:
11471cb0ef41Sopenharmony_ci    - v6.12.0
11481cb0ef41Sopenharmony_ci    - v4.8.6
11491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
11501cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
11511cb0ef41Sopenharmony_ci  - version:
11521cb0ef41Sopenharmony_ci    - v4.0.0
11531cb0ef41Sopenharmony_ci    - v3.3.1
11541cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
11551cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
11561cb0ef41Sopenharmony_ci-->
11571cb0ef41Sopenharmony_ci
11581cb0ef41Sopenharmony_ciType: Documentation-only
11591cb0ef41Sopenharmony_ci
11601cb0ef41Sopenharmony_ciThe [`util.isObject()`][] API is deprecated.
11611cb0ef41Sopenharmony_ci
11621cb0ef41Sopenharmony_ci### DEP0054: `util.isPrimitive()`
11631cb0ef41Sopenharmony_ci
11641cb0ef41Sopenharmony_ci<!-- YAML
11651cb0ef41Sopenharmony_cichanges:
11661cb0ef41Sopenharmony_ci  - version:
11671cb0ef41Sopenharmony_ci    - v6.12.0
11681cb0ef41Sopenharmony_ci    - v4.8.6
11691cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
11701cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
11711cb0ef41Sopenharmony_ci  - version:
11721cb0ef41Sopenharmony_ci    - v4.0.0
11731cb0ef41Sopenharmony_ci    - v3.3.1
11741cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
11751cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
11761cb0ef41Sopenharmony_ci-->
11771cb0ef41Sopenharmony_ci
11781cb0ef41Sopenharmony_ciType: Documentation-only
11791cb0ef41Sopenharmony_ci
11801cb0ef41Sopenharmony_ciThe [`util.isPrimitive()`][] API is deprecated.
11811cb0ef41Sopenharmony_ci
11821cb0ef41Sopenharmony_ci### DEP0055: `util.isRegExp()`
11831cb0ef41Sopenharmony_ci
11841cb0ef41Sopenharmony_ci<!-- YAML
11851cb0ef41Sopenharmony_cichanges:
11861cb0ef41Sopenharmony_ci  - version:
11871cb0ef41Sopenharmony_ci    - v6.12.0
11881cb0ef41Sopenharmony_ci    - v4.8.6
11891cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
11901cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
11911cb0ef41Sopenharmony_ci  - version:
11921cb0ef41Sopenharmony_ci    - v4.0.0
11931cb0ef41Sopenharmony_ci    - v3.3.1
11941cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
11951cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
11961cb0ef41Sopenharmony_ci-->
11971cb0ef41Sopenharmony_ci
11981cb0ef41Sopenharmony_ciType: Documentation-only
11991cb0ef41Sopenharmony_ci
12001cb0ef41Sopenharmony_ciThe [`util.isRegExp()`][] API is deprecated.
12011cb0ef41Sopenharmony_ci
12021cb0ef41Sopenharmony_ci### DEP0056: `util.isString()`
12031cb0ef41Sopenharmony_ci
12041cb0ef41Sopenharmony_ci<!-- YAML
12051cb0ef41Sopenharmony_cichanges:
12061cb0ef41Sopenharmony_ci  - version:
12071cb0ef41Sopenharmony_ci    - v6.12.0
12081cb0ef41Sopenharmony_ci    - v4.8.6
12091cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
12101cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
12111cb0ef41Sopenharmony_ci  - version:
12121cb0ef41Sopenharmony_ci    - v4.0.0
12131cb0ef41Sopenharmony_ci    - v3.3.1
12141cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
12151cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
12161cb0ef41Sopenharmony_ci-->
12171cb0ef41Sopenharmony_ci
12181cb0ef41Sopenharmony_ciType: Documentation-only
12191cb0ef41Sopenharmony_ci
12201cb0ef41Sopenharmony_ciThe [`util.isString()`][] API is deprecated.
12211cb0ef41Sopenharmony_ci
12221cb0ef41Sopenharmony_ci### DEP0057: `util.isSymbol()`
12231cb0ef41Sopenharmony_ci
12241cb0ef41Sopenharmony_ci<!-- YAML
12251cb0ef41Sopenharmony_cichanges:
12261cb0ef41Sopenharmony_ci  - version:
12271cb0ef41Sopenharmony_ci    - v6.12.0
12281cb0ef41Sopenharmony_ci    - v4.8.6
12291cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
12301cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
12311cb0ef41Sopenharmony_ci  - version:
12321cb0ef41Sopenharmony_ci    - v4.0.0
12331cb0ef41Sopenharmony_ci    - v3.3.1
12341cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
12351cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
12361cb0ef41Sopenharmony_ci-->
12371cb0ef41Sopenharmony_ci
12381cb0ef41Sopenharmony_ciType: Documentation-only
12391cb0ef41Sopenharmony_ci
12401cb0ef41Sopenharmony_ciThe [`util.isSymbol()`][] API is deprecated.
12411cb0ef41Sopenharmony_ci
12421cb0ef41Sopenharmony_ci### DEP0058: `util.isUndefined()`
12431cb0ef41Sopenharmony_ci
12441cb0ef41Sopenharmony_ci<!-- YAML
12451cb0ef41Sopenharmony_cichanges:
12461cb0ef41Sopenharmony_ci  - version:
12471cb0ef41Sopenharmony_ci    - v6.12.0
12481cb0ef41Sopenharmony_ci    - v4.8.6
12491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
12501cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
12511cb0ef41Sopenharmony_ci  - version:
12521cb0ef41Sopenharmony_ci    - v4.0.0
12531cb0ef41Sopenharmony_ci    - v3.3.1
12541cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/2447
12551cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
12561cb0ef41Sopenharmony_ci-->
12571cb0ef41Sopenharmony_ci
12581cb0ef41Sopenharmony_ciType: Documentation-only
12591cb0ef41Sopenharmony_ci
12601cb0ef41Sopenharmony_ciThe [`util.isUndefined()`][] API is deprecated.
12611cb0ef41Sopenharmony_ci
12621cb0ef41Sopenharmony_ci### DEP0059: `util.log()`
12631cb0ef41Sopenharmony_ci
12641cb0ef41Sopenharmony_ci<!-- YAML
12651cb0ef41Sopenharmony_cichanges:
12661cb0ef41Sopenharmony_ci  - version: v6.12.0
12671cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
12681cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
12691cb0ef41Sopenharmony_ci  - version: v6.0.0
12701cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/6161
12711cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
12721cb0ef41Sopenharmony_ci-->
12731cb0ef41Sopenharmony_ci
12741cb0ef41Sopenharmony_ciType: Documentation-only
12751cb0ef41Sopenharmony_ci
12761cb0ef41Sopenharmony_ciThe [`util.log()`][] API is deprecated.
12771cb0ef41Sopenharmony_ci
12781cb0ef41Sopenharmony_ci### DEP0060: `util._extend()`
12791cb0ef41Sopenharmony_ci
12801cb0ef41Sopenharmony_ci<!-- YAML
12811cb0ef41Sopenharmony_cichanges:
12821cb0ef41Sopenharmony_ci  - version: v6.12.0
12831cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
12841cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
12851cb0ef41Sopenharmony_ci  - version: v6.0.0
12861cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/4903
12871cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
12881cb0ef41Sopenharmony_ci-->
12891cb0ef41Sopenharmony_ci
12901cb0ef41Sopenharmony_ciType: Documentation-only
12911cb0ef41Sopenharmony_ci
12921cb0ef41Sopenharmony_ciThe [`util._extend()`][] API is deprecated.
12931cb0ef41Sopenharmony_ci
12941cb0ef41Sopenharmony_ci### DEP0061: `fs.SyncWriteStream`
12951cb0ef41Sopenharmony_ci
12961cb0ef41Sopenharmony_ci<!-- YAML
12971cb0ef41Sopenharmony_cichanges:
12981cb0ef41Sopenharmony_ci  - version: v11.0.0
12991cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/20735
13001cb0ef41Sopenharmony_ci    description: End-of-Life.
13011cb0ef41Sopenharmony_ci  - version: v8.0.0
13021cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10467
13031cb0ef41Sopenharmony_ci    description: Runtime deprecation.
13041cb0ef41Sopenharmony_ci  - version: v7.0.0
13051cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/6749
13061cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
13071cb0ef41Sopenharmony_ci-->
13081cb0ef41Sopenharmony_ci
13091cb0ef41Sopenharmony_ciType: End-of-Life
13101cb0ef41Sopenharmony_ci
13111cb0ef41Sopenharmony_ciThe `fs.SyncWriteStream` class was never intended to be a publicly accessible
13121cb0ef41Sopenharmony_ciAPI and has been removed. No alternative API is available. Please use a userland
13131cb0ef41Sopenharmony_cialternative.
13141cb0ef41Sopenharmony_ci
13151cb0ef41Sopenharmony_ci### DEP0062: `node --debug`
13161cb0ef41Sopenharmony_ci
13171cb0ef41Sopenharmony_ci<!-- YAML
13181cb0ef41Sopenharmony_cichanges:
13191cb0ef41Sopenharmony_ci  - version: v12.0.0
13201cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25828
13211cb0ef41Sopenharmony_ci    description: End-of-Life.
13221cb0ef41Sopenharmony_ci  - version: v8.0.0
13231cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10970
13241cb0ef41Sopenharmony_ci    description: Runtime deprecation.
13251cb0ef41Sopenharmony_ci-->
13261cb0ef41Sopenharmony_ci
13271cb0ef41Sopenharmony_ciType: End-of-Life
13281cb0ef41Sopenharmony_ci
13291cb0ef41Sopenharmony_ci`--debug` activates the legacy V8 debugger interface, which was removed as
13301cb0ef41Sopenharmony_ciof V8 5.8. It is replaced by Inspector which is activated with `--inspect`
13311cb0ef41Sopenharmony_ciinstead.
13321cb0ef41Sopenharmony_ci
13331cb0ef41Sopenharmony_ci### DEP0063: `ServerResponse.prototype.writeHeader()`
13341cb0ef41Sopenharmony_ci
13351cb0ef41Sopenharmony_ci<!-- YAML
13361cb0ef41Sopenharmony_cichanges:
13371cb0ef41Sopenharmony_ci  - version: v8.0.0
13381cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/11355
13391cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
13401cb0ef41Sopenharmony_ci-->
13411cb0ef41Sopenharmony_ci
13421cb0ef41Sopenharmony_ciType: Documentation-only
13431cb0ef41Sopenharmony_ci
13441cb0ef41Sopenharmony_ciThe `node:http` module `ServerResponse.prototype.writeHeader()` API is
13451cb0ef41Sopenharmony_cideprecated. Please use `ServerResponse.prototype.writeHead()` instead.
13461cb0ef41Sopenharmony_ci
13471cb0ef41Sopenharmony_ciThe `ServerResponse.prototype.writeHeader()` method was never documented as an
13481cb0ef41Sopenharmony_ciofficially supported API.
13491cb0ef41Sopenharmony_ci
13501cb0ef41Sopenharmony_ci### DEP0064: `tls.createSecurePair()`
13511cb0ef41Sopenharmony_ci
13521cb0ef41Sopenharmony_ci<!-- YAML
13531cb0ef41Sopenharmony_cichanges:
13541cb0ef41Sopenharmony_ci  - version: v8.0.0
13551cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/11349
13561cb0ef41Sopenharmony_ci    description: Runtime deprecation.
13571cb0ef41Sopenharmony_ci  - version: v6.12.0
13581cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10116
13591cb0ef41Sopenharmony_ci    description: A deprecation code has been assigned.
13601cb0ef41Sopenharmony_ci  - version: v6.0.0
13611cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/6063
13621cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
13631cb0ef41Sopenharmony_ci  - version: v0.11.15
13641cb0ef41Sopenharmony_ci    pr-url:
13651cb0ef41Sopenharmony_ci      - https://github.com/nodejs/node-v0.x-archive/pull/8695
13661cb0ef41Sopenharmony_ci      - https://github.com/nodejs/node-v0.x-archive/pull/8700
13671cb0ef41Sopenharmony_ci    description: Deprecation revoked.
13681cb0ef41Sopenharmony_ci  - version: v0.11.3
13691cb0ef41Sopenharmony_ci    commit: af80e7bc6e6f33c582eb1f7d37c7f5bbe9f910f7
13701cb0ef41Sopenharmony_ci    description: Runtime deprecation.
13711cb0ef41Sopenharmony_ci-->
13721cb0ef41Sopenharmony_ci
13731cb0ef41Sopenharmony_ciType: Runtime
13741cb0ef41Sopenharmony_ci
13751cb0ef41Sopenharmony_ciThe `tls.createSecurePair()` API was deprecated in documentation in Node.js
13761cb0ef41Sopenharmony_ci0.11.3. Users should use `tls.Socket` instead.
13771cb0ef41Sopenharmony_ci
13781cb0ef41Sopenharmony_ci### DEP0065: `repl.REPL_MODE_MAGIC` and `NODE_REPL_MODE=magic`
13791cb0ef41Sopenharmony_ci
13801cb0ef41Sopenharmony_ci<!-- YAML
13811cb0ef41Sopenharmony_cichanges:
13821cb0ef41Sopenharmony_ci  - version: v10.0.0
13831cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/19187
13841cb0ef41Sopenharmony_ci    description: End-of-Life.
13851cb0ef41Sopenharmony_ci  - version: v8.0.0
13861cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/11599
13871cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
13881cb0ef41Sopenharmony_ci-->
13891cb0ef41Sopenharmony_ci
13901cb0ef41Sopenharmony_ciType: End-of-Life
13911cb0ef41Sopenharmony_ci
13921cb0ef41Sopenharmony_ciThe `node:repl` module's `REPL_MODE_MAGIC` constant, used for `replMode` option,
13931cb0ef41Sopenharmony_cihas been removed. Its behavior has been functionally identical to that of
13941cb0ef41Sopenharmony_ci`REPL_MODE_SLOPPY` since Node.js 6.0.0, when V8 5.0 was imported. Please use
13951cb0ef41Sopenharmony_ci`REPL_MODE_SLOPPY` instead.
13961cb0ef41Sopenharmony_ci
13971cb0ef41Sopenharmony_ciThe `NODE_REPL_MODE` environment variable is used to set the underlying
13981cb0ef41Sopenharmony_ci`replMode` of an interactive `node` session. Its value, `magic`, is also
13991cb0ef41Sopenharmony_ciremoved. Please use `sloppy` instead.
14001cb0ef41Sopenharmony_ci
14011cb0ef41Sopenharmony_ci### DEP0066: `OutgoingMessage.prototype._headers, OutgoingMessage.prototype._headerNames`
14021cb0ef41Sopenharmony_ci
14031cb0ef41Sopenharmony_ci<!-- YAML
14041cb0ef41Sopenharmony_cichanges:
14051cb0ef41Sopenharmony_ci  - version: v12.0.0
14061cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/24167
14071cb0ef41Sopenharmony_ci    description: Runtime deprecation.
14081cb0ef41Sopenharmony_ci  - version: v8.0.0
14091cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10941
14101cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
14111cb0ef41Sopenharmony_ci-->
14121cb0ef41Sopenharmony_ci
14131cb0ef41Sopenharmony_ciType: Runtime
14141cb0ef41Sopenharmony_ci
14151cb0ef41Sopenharmony_ciThe `node:http` module `OutgoingMessage.prototype._headers` and
14161cb0ef41Sopenharmony_ci`OutgoingMessage.prototype._headerNames` properties are deprecated. Use one of
14171cb0ef41Sopenharmony_cithe public methods (e.g. `OutgoingMessage.prototype.getHeader()`,
14181cb0ef41Sopenharmony_ci`OutgoingMessage.prototype.getHeaders()`,
14191cb0ef41Sopenharmony_ci`OutgoingMessage.prototype.getHeaderNames()`,
14201cb0ef41Sopenharmony_ci`OutgoingMessage.prototype.getRawHeaderNames()`,
14211cb0ef41Sopenharmony_ci`OutgoingMessage.prototype.hasHeader()`,
14221cb0ef41Sopenharmony_ci`OutgoingMessage.prototype.removeHeader()`,
14231cb0ef41Sopenharmony_ci`OutgoingMessage.prototype.setHeader()`) for working with outgoing headers.
14241cb0ef41Sopenharmony_ci
14251cb0ef41Sopenharmony_ciThe `OutgoingMessage.prototype._headers` and
14261cb0ef41Sopenharmony_ci`OutgoingMessage.prototype._headerNames` properties were never documented as
14271cb0ef41Sopenharmony_ciofficially supported properties.
14281cb0ef41Sopenharmony_ci
14291cb0ef41Sopenharmony_ci### DEP0067: `OutgoingMessage.prototype._renderHeaders`
14301cb0ef41Sopenharmony_ci
14311cb0ef41Sopenharmony_ci<!-- YAML
14321cb0ef41Sopenharmony_cichanges:
14331cb0ef41Sopenharmony_ci  - version: v8.0.0
14341cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/10941
14351cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
14361cb0ef41Sopenharmony_ci-->
14371cb0ef41Sopenharmony_ci
14381cb0ef41Sopenharmony_ciType: Documentation-only
14391cb0ef41Sopenharmony_ci
14401cb0ef41Sopenharmony_ciThe `node:http` module `OutgoingMessage.prototype._renderHeaders()` API is
14411cb0ef41Sopenharmony_cideprecated.
14421cb0ef41Sopenharmony_ci
14431cb0ef41Sopenharmony_ciThe `OutgoingMessage.prototype._renderHeaders` property was never documented as
14441cb0ef41Sopenharmony_cian officially supported API.
14451cb0ef41Sopenharmony_ci
14461cb0ef41Sopenharmony_ci### DEP0068: `node debug`
14471cb0ef41Sopenharmony_ci
14481cb0ef41Sopenharmony_ci<!-- YAML
14491cb0ef41Sopenharmony_cichanges:
14501cb0ef41Sopenharmony_ci  - version: v15.0.0
14511cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33648
14521cb0ef41Sopenharmony_ci    description: The legacy `node debug` command was removed.
14531cb0ef41Sopenharmony_ci  - version: v8.0.0
14541cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/11441
14551cb0ef41Sopenharmony_ci    description: Runtime deprecation.
14561cb0ef41Sopenharmony_ci-->
14571cb0ef41Sopenharmony_ci
14581cb0ef41Sopenharmony_ciType: End-of-Life
14591cb0ef41Sopenharmony_ci
14601cb0ef41Sopenharmony_ci`node debug` corresponds to the legacy CLI debugger which has been replaced with
14611cb0ef41Sopenharmony_cia V8-inspector based CLI debugger available through `node inspect`.
14621cb0ef41Sopenharmony_ci
14631cb0ef41Sopenharmony_ci### DEP0069: `vm.runInDebugContext(string)`
14641cb0ef41Sopenharmony_ci
14651cb0ef41Sopenharmony_ci<!-- YAML
14661cb0ef41Sopenharmony_cichanges:
14671cb0ef41Sopenharmony_ci  - version: v10.0.0
14681cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13295
14691cb0ef41Sopenharmony_ci    description: End-of-Life.
14701cb0ef41Sopenharmony_ci  - version: v9.0.0
14711cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/12815
14721cb0ef41Sopenharmony_ci    description: Runtime deprecation.
14731cb0ef41Sopenharmony_ci  - version: v8.0.0
14741cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/12243
14751cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
14761cb0ef41Sopenharmony_ci-->
14771cb0ef41Sopenharmony_ci
14781cb0ef41Sopenharmony_ciType: End-of-Life
14791cb0ef41Sopenharmony_ci
14801cb0ef41Sopenharmony_ciDebugContext has been removed in V8 and is not available in Node.js 10+.
14811cb0ef41Sopenharmony_ci
14821cb0ef41Sopenharmony_ciDebugContext was an experimental API.
14831cb0ef41Sopenharmony_ci
14841cb0ef41Sopenharmony_ci### DEP0070: `async_hooks.currentId()`
14851cb0ef41Sopenharmony_ci
14861cb0ef41Sopenharmony_ci<!-- YAML
14871cb0ef41Sopenharmony_cichanges:
14881cb0ef41Sopenharmony_ci  - version: v9.0.0
14891cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/14414
14901cb0ef41Sopenharmony_ci    description: End-of-Life.
14911cb0ef41Sopenharmony_ci  - version: v8.2.0
14921cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13490
14931cb0ef41Sopenharmony_ci    description: Runtime deprecation.
14941cb0ef41Sopenharmony_ci-->
14951cb0ef41Sopenharmony_ci
14961cb0ef41Sopenharmony_ciType: End-of-Life
14971cb0ef41Sopenharmony_ci
14981cb0ef41Sopenharmony_ci`async_hooks.currentId()` was renamed to `async_hooks.executionAsyncId()` for
14991cb0ef41Sopenharmony_ciclarity.
15001cb0ef41Sopenharmony_ci
15011cb0ef41Sopenharmony_ciThis change was made while `async_hooks` was an experimental API.
15021cb0ef41Sopenharmony_ci
15031cb0ef41Sopenharmony_ci### DEP0071: `async_hooks.triggerId()`
15041cb0ef41Sopenharmony_ci
15051cb0ef41Sopenharmony_ci<!-- YAML
15061cb0ef41Sopenharmony_cichanges:
15071cb0ef41Sopenharmony_ci  - version: v9.0.0
15081cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/14414
15091cb0ef41Sopenharmony_ci    description: End-of-Life.
15101cb0ef41Sopenharmony_ci  - version: v8.2.0
15111cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13490
15121cb0ef41Sopenharmony_ci    description: Runtime deprecation.
15131cb0ef41Sopenharmony_ci-->
15141cb0ef41Sopenharmony_ci
15151cb0ef41Sopenharmony_ciType: End-of-Life
15161cb0ef41Sopenharmony_ci
15171cb0ef41Sopenharmony_ci`async_hooks.triggerId()` was renamed to `async_hooks.triggerAsyncId()` for
15181cb0ef41Sopenharmony_ciclarity.
15191cb0ef41Sopenharmony_ci
15201cb0ef41Sopenharmony_ciThis change was made while `async_hooks` was an experimental API.
15211cb0ef41Sopenharmony_ci
15221cb0ef41Sopenharmony_ci### DEP0072: `async_hooks.AsyncResource.triggerId()`
15231cb0ef41Sopenharmony_ci
15241cb0ef41Sopenharmony_ci<!-- YAML
15251cb0ef41Sopenharmony_cichanges:
15261cb0ef41Sopenharmony_ci  - version: v9.0.0
15271cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/14414
15281cb0ef41Sopenharmony_ci    description: End-of-Life.
15291cb0ef41Sopenharmony_ci  - version: v8.2.0
15301cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13490
15311cb0ef41Sopenharmony_ci    description: Runtime deprecation.
15321cb0ef41Sopenharmony_ci-->
15331cb0ef41Sopenharmony_ci
15341cb0ef41Sopenharmony_ciType: End-of-Life
15351cb0ef41Sopenharmony_ci
15361cb0ef41Sopenharmony_ci`async_hooks.AsyncResource.triggerId()` was renamed to
15371cb0ef41Sopenharmony_ci`async_hooks.AsyncResource.triggerAsyncId()` for clarity.
15381cb0ef41Sopenharmony_ci
15391cb0ef41Sopenharmony_ciThis change was made while `async_hooks` was an experimental API.
15401cb0ef41Sopenharmony_ci
15411cb0ef41Sopenharmony_ci### DEP0073: Several internal properties of `net.Server`
15421cb0ef41Sopenharmony_ci
15431cb0ef41Sopenharmony_ci<!-- YAML
15441cb0ef41Sopenharmony_cichanges:
15451cb0ef41Sopenharmony_ci  - version: v10.0.0
15461cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/17141
15471cb0ef41Sopenharmony_ci    description: End-of-Life.
15481cb0ef41Sopenharmony_ci  - version: v9.0.0
15491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/14449
15501cb0ef41Sopenharmony_ci    description: Runtime deprecation.
15511cb0ef41Sopenharmony_ci-->
15521cb0ef41Sopenharmony_ci
15531cb0ef41Sopenharmony_ciType: End-of-Life
15541cb0ef41Sopenharmony_ci
15551cb0ef41Sopenharmony_ciAccessing several internal, undocumented properties of `net.Server` instances
15561cb0ef41Sopenharmony_ciwith inappropriate names is deprecated.
15571cb0ef41Sopenharmony_ci
15581cb0ef41Sopenharmony_ciAs the original API was undocumented and not generally useful for non-internal
15591cb0ef41Sopenharmony_cicode, no replacement API is provided.
15601cb0ef41Sopenharmony_ci
15611cb0ef41Sopenharmony_ci### DEP0074: `REPLServer.bufferedCommand`
15621cb0ef41Sopenharmony_ci
15631cb0ef41Sopenharmony_ci<!-- YAML
15641cb0ef41Sopenharmony_cichanges:
15651cb0ef41Sopenharmony_ci  - version: v15.0.0
15661cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33286
15671cb0ef41Sopenharmony_ci    description: End-of-Life.
15681cb0ef41Sopenharmony_ci  - version: v9.0.0
15691cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13687
15701cb0ef41Sopenharmony_ci    description: Runtime deprecation.
15711cb0ef41Sopenharmony_ci-->
15721cb0ef41Sopenharmony_ci
15731cb0ef41Sopenharmony_ciType: End-of-Life
15741cb0ef41Sopenharmony_ci
15751cb0ef41Sopenharmony_ciThe `REPLServer.bufferedCommand` property was deprecated in favor of
15761cb0ef41Sopenharmony_ci[`REPLServer.clearBufferedCommand()`][].
15771cb0ef41Sopenharmony_ci
15781cb0ef41Sopenharmony_ci### DEP0075: `REPLServer.parseREPLKeyword()`
15791cb0ef41Sopenharmony_ci
15801cb0ef41Sopenharmony_ci<!-- YAML
15811cb0ef41Sopenharmony_cichanges:
15821cb0ef41Sopenharmony_ci  - version: v15.0.0
15831cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33286
15841cb0ef41Sopenharmony_ci    description: End-of-Life.
15851cb0ef41Sopenharmony_ci  - version: v9.0.0
15861cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/14223
15871cb0ef41Sopenharmony_ci    description: Runtime deprecation.
15881cb0ef41Sopenharmony_ci-->
15891cb0ef41Sopenharmony_ci
15901cb0ef41Sopenharmony_ciType: End-of-Life
15911cb0ef41Sopenharmony_ci
15921cb0ef41Sopenharmony_ci`REPLServer.parseREPLKeyword()` was removed from userland visibility.
15931cb0ef41Sopenharmony_ci
15941cb0ef41Sopenharmony_ci### DEP0076: `tls.parseCertString()`
15951cb0ef41Sopenharmony_ci
15961cb0ef41Sopenharmony_ci<!-- YAML
15971cb0ef41Sopenharmony_cichanges:
15981cb0ef41Sopenharmony_ci  - version: v18.0.0
15991cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/41479
16001cb0ef41Sopenharmony_ci    description: End-of-Life.
16011cb0ef41Sopenharmony_ci  - version: v9.0.0
16021cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/14249
16031cb0ef41Sopenharmony_ci    description: Runtime deprecation.
16041cb0ef41Sopenharmony_ci  - version: v8.6.0
16051cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/14245
16061cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
16071cb0ef41Sopenharmony_ci-->
16081cb0ef41Sopenharmony_ci
16091cb0ef41Sopenharmony_ciType: End-of-Life
16101cb0ef41Sopenharmony_ci
16111cb0ef41Sopenharmony_ci`tls.parseCertString()` was a trivial parsing helper that was made public by
16121cb0ef41Sopenharmony_cimistake. While it was supposed to parse certificate subject and issuer strings,
16131cb0ef41Sopenharmony_ciit never handled multi-value Relative Distinguished Names correctly.
16141cb0ef41Sopenharmony_ci
16151cb0ef41Sopenharmony_ciEarlier versions of this document suggested using `querystring.parse()` as an
16161cb0ef41Sopenharmony_cialternative to `tls.parseCertString()`. However, `querystring.parse()` also does
16171cb0ef41Sopenharmony_cinot handle all certificate subjects correctly and should not be used.
16181cb0ef41Sopenharmony_ci
16191cb0ef41Sopenharmony_ci### DEP0077: `Module._debug()`
16201cb0ef41Sopenharmony_ci
16211cb0ef41Sopenharmony_ci<!-- YAML
16221cb0ef41Sopenharmony_cichanges:
16231cb0ef41Sopenharmony_ci  - version: v9.0.0
16241cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/13948
16251cb0ef41Sopenharmony_ci    description: Runtime deprecation.
16261cb0ef41Sopenharmony_ci-->
16271cb0ef41Sopenharmony_ci
16281cb0ef41Sopenharmony_ciType: Runtime
16291cb0ef41Sopenharmony_ci
16301cb0ef41Sopenharmony_ci`Module._debug()` is deprecated.
16311cb0ef41Sopenharmony_ci
16321cb0ef41Sopenharmony_ciThe `Module._debug()` function was never documented as an officially
16331cb0ef41Sopenharmony_cisupported API.
16341cb0ef41Sopenharmony_ci
16351cb0ef41Sopenharmony_ci### DEP0078: `REPLServer.turnOffEditorMode()`
16361cb0ef41Sopenharmony_ci
16371cb0ef41Sopenharmony_ci<!-- YAML
16381cb0ef41Sopenharmony_cichanges:
16391cb0ef41Sopenharmony_ci  - version: v15.0.0
16401cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33286
16411cb0ef41Sopenharmony_ci    description: End-of-Life.
16421cb0ef41Sopenharmony_ci  - version: v9.0.0
16431cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/15136
16441cb0ef41Sopenharmony_ci    description: Runtime deprecation.
16451cb0ef41Sopenharmony_ci-->
16461cb0ef41Sopenharmony_ci
16471cb0ef41Sopenharmony_ciType: End-of-Life
16481cb0ef41Sopenharmony_ci
16491cb0ef41Sopenharmony_ci`REPLServer.turnOffEditorMode()` was removed from userland visibility.
16501cb0ef41Sopenharmony_ci
16511cb0ef41Sopenharmony_ci### DEP0079: Custom inspection function on objects via `.inspect()`
16521cb0ef41Sopenharmony_ci
16531cb0ef41Sopenharmony_ci<!-- YAML
16541cb0ef41Sopenharmony_cichanges:
16551cb0ef41Sopenharmony_ci  - version: v11.0.0
16561cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/20722
16571cb0ef41Sopenharmony_ci    description: End-of-Life.
16581cb0ef41Sopenharmony_ci  - version: v10.0.0
16591cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/16393
16601cb0ef41Sopenharmony_ci    description: Runtime deprecation.
16611cb0ef41Sopenharmony_ci  - version: v8.7.0
16621cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/15631
16631cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
16641cb0ef41Sopenharmony_ci-->
16651cb0ef41Sopenharmony_ci
16661cb0ef41Sopenharmony_ciType: End-of-Life
16671cb0ef41Sopenharmony_ci
16681cb0ef41Sopenharmony_ciUsing a property named `inspect` on an object to specify a custom inspection
16691cb0ef41Sopenharmony_cifunction for [`util.inspect()`][] is deprecated. Use [`util.inspect.custom`][]
16701cb0ef41Sopenharmony_ciinstead. For backward compatibility with Node.js prior to version 6.4.0, both
16711cb0ef41Sopenharmony_cican be specified.
16721cb0ef41Sopenharmony_ci
16731cb0ef41Sopenharmony_ci### DEP0080: `path._makeLong()`
16741cb0ef41Sopenharmony_ci
16751cb0ef41Sopenharmony_ci<!-- YAML
16761cb0ef41Sopenharmony_cichanges:
16771cb0ef41Sopenharmony_ci  - version: v9.0.0
16781cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/14956
16791cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
16801cb0ef41Sopenharmony_ci-->
16811cb0ef41Sopenharmony_ci
16821cb0ef41Sopenharmony_ciType: Documentation-only
16831cb0ef41Sopenharmony_ci
16841cb0ef41Sopenharmony_ciThe internal `path._makeLong()` was not intended for public use. However,
16851cb0ef41Sopenharmony_ciuserland modules have found it useful. The internal API is deprecated
16861cb0ef41Sopenharmony_ciand replaced with an identical, public `path.toNamespacedPath()` method.
16871cb0ef41Sopenharmony_ci
16881cb0ef41Sopenharmony_ci### DEP0081: `fs.truncate()` using a file descriptor
16891cb0ef41Sopenharmony_ci
16901cb0ef41Sopenharmony_ci<!-- YAML
16911cb0ef41Sopenharmony_cichanges:
16921cb0ef41Sopenharmony_ci  - version: v9.0.0
16931cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/15990
16941cb0ef41Sopenharmony_ci    description: Runtime deprecation.
16951cb0ef41Sopenharmony_ci-->
16961cb0ef41Sopenharmony_ci
16971cb0ef41Sopenharmony_ciType: Runtime
16981cb0ef41Sopenharmony_ci
16991cb0ef41Sopenharmony_ci`fs.truncate()` `fs.truncateSync()` usage with a file descriptor is
17001cb0ef41Sopenharmony_cideprecated. Please use `fs.ftruncate()` or `fs.ftruncateSync()` to work with
17011cb0ef41Sopenharmony_cifile descriptors.
17021cb0ef41Sopenharmony_ci
17031cb0ef41Sopenharmony_ci### DEP0082: `REPLServer.prototype.memory()`
17041cb0ef41Sopenharmony_ci
17051cb0ef41Sopenharmony_ci<!-- YAML
17061cb0ef41Sopenharmony_cichanges:
17071cb0ef41Sopenharmony_ci  - version: v15.0.0
17081cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33286
17091cb0ef41Sopenharmony_ci    description: End-of-Life.
17101cb0ef41Sopenharmony_ci  - version: v9.0.0
17111cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/16242
17121cb0ef41Sopenharmony_ci    description: Runtime deprecation.
17131cb0ef41Sopenharmony_ci-->
17141cb0ef41Sopenharmony_ci
17151cb0ef41Sopenharmony_ciType: End-of-Life
17161cb0ef41Sopenharmony_ci
17171cb0ef41Sopenharmony_ci`REPLServer.prototype.memory()` is only necessary for the internal mechanics of
17181cb0ef41Sopenharmony_cithe `REPLServer` itself. Do not use this function.
17191cb0ef41Sopenharmony_ci
17201cb0ef41Sopenharmony_ci### DEP0083: Disabling ECDH by setting `ecdhCurve` to `false`
17211cb0ef41Sopenharmony_ci
17221cb0ef41Sopenharmony_ci<!-- YAML
17231cb0ef41Sopenharmony_cichanges:
17241cb0ef41Sopenharmony_ci  - version: v10.0.0
17251cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/19794
17261cb0ef41Sopenharmony_ci    description: End-of-Life.
17271cb0ef41Sopenharmony_ci  - version: v9.2.0
17281cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/16130
17291cb0ef41Sopenharmony_ci    description: Runtime deprecation.
17301cb0ef41Sopenharmony_ci-->
17311cb0ef41Sopenharmony_ci
17321cb0ef41Sopenharmony_ciType: End-of-Life.
17331cb0ef41Sopenharmony_ci
17341cb0ef41Sopenharmony_ciThe `ecdhCurve` option to `tls.createSecureContext()` and `tls.TLSSocket` could
17351cb0ef41Sopenharmony_cibe set to `false` to disable ECDH entirely on the server only. This mode was
17361cb0ef41Sopenharmony_cideprecated in preparation for migrating to OpenSSL 1.1.0 and consistency with
17371cb0ef41Sopenharmony_cithe client and is now unsupported. Use the `ciphers` parameter instead.
17381cb0ef41Sopenharmony_ci
17391cb0ef41Sopenharmony_ci### DEP0084: requiring bundled internal dependencies
17401cb0ef41Sopenharmony_ci
17411cb0ef41Sopenharmony_ci<!-- YAML
17421cb0ef41Sopenharmony_cichanges:
17431cb0ef41Sopenharmony_ci  - version: v12.0.0
17441cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25138
17451cb0ef41Sopenharmony_ci    description: This functionality has been removed.
17461cb0ef41Sopenharmony_ci  - version: v10.0.0
17471cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/16392
17481cb0ef41Sopenharmony_ci    description: Runtime deprecation.
17491cb0ef41Sopenharmony_ci-->
17501cb0ef41Sopenharmony_ci
17511cb0ef41Sopenharmony_ciType: End-of-Life
17521cb0ef41Sopenharmony_ci
17531cb0ef41Sopenharmony_ciSince Node.js versions 4.4.0 and 5.2.0, several modules only intended for
17541cb0ef41Sopenharmony_ciinternal usage were mistakenly exposed to user code through `require()`. These
17551cb0ef41Sopenharmony_cimodules were:
17561cb0ef41Sopenharmony_ci
17571cb0ef41Sopenharmony_ci* `v8/tools/codemap`
17581cb0ef41Sopenharmony_ci* `v8/tools/consarray`
17591cb0ef41Sopenharmony_ci* `v8/tools/csvparser`
17601cb0ef41Sopenharmony_ci* `v8/tools/logreader`
17611cb0ef41Sopenharmony_ci* `v8/tools/profile_view`
17621cb0ef41Sopenharmony_ci* `v8/tools/profile`
17631cb0ef41Sopenharmony_ci* `v8/tools/SourceMap`
17641cb0ef41Sopenharmony_ci* `v8/tools/splaytree`
17651cb0ef41Sopenharmony_ci* `v8/tools/tickprocessor-driver`
17661cb0ef41Sopenharmony_ci* `v8/tools/tickprocessor`
17671cb0ef41Sopenharmony_ci* `node-inspect/lib/_inspect` (from 7.6.0)
17681cb0ef41Sopenharmony_ci* `node-inspect/lib/internal/inspect_client` (from 7.6.0)
17691cb0ef41Sopenharmony_ci* `node-inspect/lib/internal/inspect_repl` (from 7.6.0)
17701cb0ef41Sopenharmony_ci
17711cb0ef41Sopenharmony_ciThe `v8/*` modules do not have any exports, and if not imported in a specific
17721cb0ef41Sopenharmony_ciorder would in fact throw errors. As such there are virtually no legitimate use
17731cb0ef41Sopenharmony_cicases for importing them through `require()`.
17741cb0ef41Sopenharmony_ci
17751cb0ef41Sopenharmony_ciOn the other hand, `node-inspect` can be installed locally through a package
17761cb0ef41Sopenharmony_cimanager, as it is published on the npm registry under the same name. No source
17771cb0ef41Sopenharmony_cicode modification is necessary if that is done.
17781cb0ef41Sopenharmony_ci
17791cb0ef41Sopenharmony_ci### DEP0085: AsyncHooks sensitive API
17801cb0ef41Sopenharmony_ci
17811cb0ef41Sopenharmony_ci<!-- YAML
17821cb0ef41Sopenharmony_cichanges:
17831cb0ef41Sopenharmony_ci  - version: v10.0.0
17841cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/17147
17851cb0ef41Sopenharmony_ci    description: End-of-Life.
17861cb0ef41Sopenharmony_ci  - version:
17871cb0ef41Sopenharmony_ci    - v9.4.0
17881cb0ef41Sopenharmony_ci    - v8.10.0
17891cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/16972
17901cb0ef41Sopenharmony_ci    description: Runtime deprecation.
17911cb0ef41Sopenharmony_ci-->
17921cb0ef41Sopenharmony_ci
17931cb0ef41Sopenharmony_ciType: End-of-Life
17941cb0ef41Sopenharmony_ci
17951cb0ef41Sopenharmony_ciThe AsyncHooks sensitive API was never documented and had various minor issues.
17961cb0ef41Sopenharmony_ciUse the `AsyncResource` API instead. See
17971cb0ef41Sopenharmony_ci<https://github.com/nodejs/node/issues/15572>.
17981cb0ef41Sopenharmony_ci
17991cb0ef41Sopenharmony_ci### DEP0086: Remove `runInAsyncIdScope`
18001cb0ef41Sopenharmony_ci
18011cb0ef41Sopenharmony_ci<!-- YAML
18021cb0ef41Sopenharmony_cichanges:
18031cb0ef41Sopenharmony_ci  - version: v10.0.0
18041cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/17147
18051cb0ef41Sopenharmony_ci    description: End-of-Life.
18061cb0ef41Sopenharmony_ci  - version:
18071cb0ef41Sopenharmony_ci    - v9.4.0
18081cb0ef41Sopenharmony_ci    - v8.10.0
18091cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/16972
18101cb0ef41Sopenharmony_ci    description: Runtime deprecation.
18111cb0ef41Sopenharmony_ci-->
18121cb0ef41Sopenharmony_ci
18131cb0ef41Sopenharmony_ciType: End-of-Life
18141cb0ef41Sopenharmony_ci
18151cb0ef41Sopenharmony_ci`runInAsyncIdScope` doesn't emit the `'before'` or `'after'` event and can thus
18161cb0ef41Sopenharmony_cicause a lot of issues. See <https://github.com/nodejs/node/issues/14328>.
18171cb0ef41Sopenharmony_ci
18181cb0ef41Sopenharmony_ci<!-- md-lint skip-deprecation DEP0087 -->
18191cb0ef41Sopenharmony_ci
18201cb0ef41Sopenharmony_ci<!-- md-lint skip-deprecation DEP0088 -->
18211cb0ef41Sopenharmony_ci
18221cb0ef41Sopenharmony_ci### DEP0089: `require('node:assert')`
18231cb0ef41Sopenharmony_ci
18241cb0ef41Sopenharmony_ci<!-- YAML
18251cb0ef41Sopenharmony_cichanges:
18261cb0ef41Sopenharmony_ci  - version: v12.8.0
18271cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/28892
18281cb0ef41Sopenharmony_ci    description: Deprecation revoked.
18291cb0ef41Sopenharmony_ci  - version:
18301cb0ef41Sopenharmony_ci      - v9.9.0
18311cb0ef41Sopenharmony_ci      - v8.13.0
18321cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/17002
18331cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
18341cb0ef41Sopenharmony_ci-->
18351cb0ef41Sopenharmony_ci
18361cb0ef41Sopenharmony_ciType: Deprecation revoked
18371cb0ef41Sopenharmony_ci
18381cb0ef41Sopenharmony_ciImporting assert directly was not recommended as the exposed functions use
18391cb0ef41Sopenharmony_ciloose equality checks. The deprecation was revoked because use of the
18401cb0ef41Sopenharmony_ci`node:assert` module is not discouraged, and the deprecation caused developer
18411cb0ef41Sopenharmony_ciconfusion.
18421cb0ef41Sopenharmony_ci
18431cb0ef41Sopenharmony_ci### DEP0090: Invalid GCM authentication tag lengths
18441cb0ef41Sopenharmony_ci
18451cb0ef41Sopenharmony_ci<!-- YAML
18461cb0ef41Sopenharmony_cichanges:
18471cb0ef41Sopenharmony_ci  - version: v11.0.0
18481cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/17825
18491cb0ef41Sopenharmony_ci    description: End-of-Life.
18501cb0ef41Sopenharmony_ci  - version: v10.0.0
18511cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18017
18521cb0ef41Sopenharmony_ci    description: Runtime deprecation.
18531cb0ef41Sopenharmony_ci-->
18541cb0ef41Sopenharmony_ci
18551cb0ef41Sopenharmony_ciType: End-of-Life
18561cb0ef41Sopenharmony_ci
18571cb0ef41Sopenharmony_ciNode.js used to support all GCM authentication tag lengths which are accepted by
18581cb0ef41Sopenharmony_ciOpenSSL when calling [`decipher.setAuthTag()`][]. Beginning with Node.js
18591cb0ef41Sopenharmony_civ11.0.0, only authentication tag lengths of 128, 120, 112, 104, 96, 64, and 32
18601cb0ef41Sopenharmony_cibits are allowed. Authentication tags of other lengths are invalid per
18611cb0ef41Sopenharmony_ci[NIST SP 800-38D][].
18621cb0ef41Sopenharmony_ci
18631cb0ef41Sopenharmony_ci### DEP0091: `crypto.DEFAULT_ENCODING`
18641cb0ef41Sopenharmony_ci
18651cb0ef41Sopenharmony_ci<!-- YAML
18661cb0ef41Sopenharmony_cichanges:
18671cb0ef41Sopenharmony_ci  - version: v10.0.0
18681cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18333
18691cb0ef41Sopenharmony_ci    description: Runtime deprecation.
18701cb0ef41Sopenharmony_ci-->
18711cb0ef41Sopenharmony_ci
18721cb0ef41Sopenharmony_ciType: Runtime
18731cb0ef41Sopenharmony_ci
18741cb0ef41Sopenharmony_ciThe [`crypto.DEFAULT_ENCODING`][] property is deprecated.
18751cb0ef41Sopenharmony_ci
18761cb0ef41Sopenharmony_ci### DEP0092: Top-level `this` bound to `module.exports`
18771cb0ef41Sopenharmony_ci
18781cb0ef41Sopenharmony_ci<!-- YAML
18791cb0ef41Sopenharmony_cichanges:
18801cb0ef41Sopenharmony_ci  - version: v10.0.0
18811cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/16878
18821cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
18831cb0ef41Sopenharmony_ci-->
18841cb0ef41Sopenharmony_ci
18851cb0ef41Sopenharmony_ciType: Documentation-only
18861cb0ef41Sopenharmony_ci
18871cb0ef41Sopenharmony_ciAssigning properties to the top-level `this` as an alternative
18881cb0ef41Sopenharmony_cito `module.exports` is deprecated. Developers should use `exports`
18891cb0ef41Sopenharmony_cior `module.exports` instead.
18901cb0ef41Sopenharmony_ci
18911cb0ef41Sopenharmony_ci### DEP0093: `crypto.fips` is deprecated and replaced
18921cb0ef41Sopenharmony_ci
18931cb0ef41Sopenharmony_ci<!-- YAML
18941cb0ef41Sopenharmony_cichanges:
18951cb0ef41Sopenharmony_ci  - version: v10.0.0
18961cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18335
18971cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
18981cb0ef41Sopenharmony_ci-->
18991cb0ef41Sopenharmony_ci
19001cb0ef41Sopenharmony_ciType: Documentation-only
19011cb0ef41Sopenharmony_ci
19021cb0ef41Sopenharmony_ciThe [`crypto.fips`][] property is deprecated. Please use `crypto.setFips()`
19031cb0ef41Sopenharmony_ciand `crypto.getFips()` instead.
19041cb0ef41Sopenharmony_ci
19051cb0ef41Sopenharmony_ci### DEP0094: Using `assert.fail()` with more than one argument
19061cb0ef41Sopenharmony_ci
19071cb0ef41Sopenharmony_ci<!-- YAML
19081cb0ef41Sopenharmony_cichanges:
19091cb0ef41Sopenharmony_ci  - version: v10.0.0
19101cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18418
19111cb0ef41Sopenharmony_ci    description: Runtime deprecation.
19121cb0ef41Sopenharmony_ci-->
19131cb0ef41Sopenharmony_ci
19141cb0ef41Sopenharmony_ciType: Runtime
19151cb0ef41Sopenharmony_ci
19161cb0ef41Sopenharmony_ciUsing `assert.fail()` with more than one argument is deprecated. Use
19171cb0ef41Sopenharmony_ci`assert.fail()` with only one argument or use a different `node:assert` module
19181cb0ef41Sopenharmony_cimethod.
19191cb0ef41Sopenharmony_ci
19201cb0ef41Sopenharmony_ci### DEP0095: `timers.enroll()`
19211cb0ef41Sopenharmony_ci
19221cb0ef41Sopenharmony_ci<!-- YAML
19231cb0ef41Sopenharmony_cichanges:
19241cb0ef41Sopenharmony_ci  - version: v10.0.0
19251cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18066
19261cb0ef41Sopenharmony_ci    description: Runtime deprecation.
19271cb0ef41Sopenharmony_ci-->
19281cb0ef41Sopenharmony_ci
19291cb0ef41Sopenharmony_ciType: Runtime
19301cb0ef41Sopenharmony_ci
19311cb0ef41Sopenharmony_ci`timers.enroll()` is deprecated. Please use the publicly documented
19321cb0ef41Sopenharmony_ci[`setTimeout()`][] or [`setInterval()`][] instead.
19331cb0ef41Sopenharmony_ci
19341cb0ef41Sopenharmony_ci### DEP0096: `timers.unenroll()`
19351cb0ef41Sopenharmony_ci
19361cb0ef41Sopenharmony_ci<!-- YAML
19371cb0ef41Sopenharmony_cichanges:
19381cb0ef41Sopenharmony_ci  - version: v10.0.0
19391cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18066
19401cb0ef41Sopenharmony_ci    description: Runtime deprecation.
19411cb0ef41Sopenharmony_ci-->
19421cb0ef41Sopenharmony_ci
19431cb0ef41Sopenharmony_ciType: Runtime
19441cb0ef41Sopenharmony_ci
19451cb0ef41Sopenharmony_ci`timers.unenroll()` is deprecated. Please use the publicly documented
19461cb0ef41Sopenharmony_ci[`clearTimeout()`][] or [`clearInterval()`][] instead.
19471cb0ef41Sopenharmony_ci
19481cb0ef41Sopenharmony_ci### DEP0097: `MakeCallback` with `domain` property
19491cb0ef41Sopenharmony_ci
19501cb0ef41Sopenharmony_ci<!-- YAML
19511cb0ef41Sopenharmony_cichanges:
19521cb0ef41Sopenharmony_ci  - version: v10.0.0
19531cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/17417
19541cb0ef41Sopenharmony_ci    description: Runtime deprecation.
19551cb0ef41Sopenharmony_ci-->
19561cb0ef41Sopenharmony_ci
19571cb0ef41Sopenharmony_ciType: Runtime
19581cb0ef41Sopenharmony_ci
19591cb0ef41Sopenharmony_ciUsers of `MakeCallback` that add the `domain` property to carry context,
19601cb0ef41Sopenharmony_cishould start using the `async_context` variant of `MakeCallback` or
19611cb0ef41Sopenharmony_ci`CallbackScope`, or the high-level `AsyncResource` class.
19621cb0ef41Sopenharmony_ci
19631cb0ef41Sopenharmony_ci### DEP0098: AsyncHooks embedder `AsyncResource.emitBefore` and `AsyncResource.emitAfter` APIs
19641cb0ef41Sopenharmony_ci
19651cb0ef41Sopenharmony_ci<!-- YAML
19661cb0ef41Sopenharmony_cichanges:
19671cb0ef41Sopenharmony_ci  - version: v12.0.0
19681cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26530
19691cb0ef41Sopenharmony_ci    description: End-of-Life.
19701cb0ef41Sopenharmony_ci  - version:
19711cb0ef41Sopenharmony_ci    - v10.0.0
19721cb0ef41Sopenharmony_ci    - v9.6.0
19731cb0ef41Sopenharmony_ci    - v8.12.0
19741cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18632
19751cb0ef41Sopenharmony_ci    description: Runtime deprecation.
19761cb0ef41Sopenharmony_ci-->
19771cb0ef41Sopenharmony_ci
19781cb0ef41Sopenharmony_ciType: End-of-Life
19791cb0ef41Sopenharmony_ci
19801cb0ef41Sopenharmony_ciThe embedded API provided by AsyncHooks exposes `.emitBefore()` and
19811cb0ef41Sopenharmony_ci`.emitAfter()` methods which are very easy to use incorrectly which can lead
19821cb0ef41Sopenharmony_cito unrecoverable errors.
19831cb0ef41Sopenharmony_ci
19841cb0ef41Sopenharmony_ciUse [`asyncResource.runInAsyncScope()`][] API instead which provides a much
19851cb0ef41Sopenharmony_cisafer, and more convenient, alternative. See
19861cb0ef41Sopenharmony_ci<https://github.com/nodejs/node/pull/18513>.
19871cb0ef41Sopenharmony_ci
19881cb0ef41Sopenharmony_ci### DEP0099: Async context-unaware `node::MakeCallback` C++ APIs
19891cb0ef41Sopenharmony_ci
19901cb0ef41Sopenharmony_ci<!-- YAML
19911cb0ef41Sopenharmony_cichanges:
19921cb0ef41Sopenharmony_ci  - version: v10.0.0
19931cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18632
19941cb0ef41Sopenharmony_ci    description: Compile-time deprecation.
19951cb0ef41Sopenharmony_ci-->
19961cb0ef41Sopenharmony_ci
19971cb0ef41Sopenharmony_ciType: Compile-time
19981cb0ef41Sopenharmony_ci
19991cb0ef41Sopenharmony_ciCertain versions of `node::MakeCallback` APIs available to native addons are
20001cb0ef41Sopenharmony_cideprecated. Please use the versions of the API that accept an `async_context`
20011cb0ef41Sopenharmony_ciparameter.
20021cb0ef41Sopenharmony_ci
20031cb0ef41Sopenharmony_ci### DEP0100: `process.assert()`
20041cb0ef41Sopenharmony_ci
20051cb0ef41Sopenharmony_ci<!-- YAML
20061cb0ef41Sopenharmony_cichanges:
20071cb0ef41Sopenharmony_ci  - version: v10.0.0
20081cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18666
20091cb0ef41Sopenharmony_ci    description: Runtime deprecation.
20101cb0ef41Sopenharmony_ci  - version: v0.3.7
20111cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
20121cb0ef41Sopenharmony_ci-->
20131cb0ef41Sopenharmony_ci
20141cb0ef41Sopenharmony_ciType: Runtime
20151cb0ef41Sopenharmony_ci
20161cb0ef41Sopenharmony_ci`process.assert()` is deprecated. Please use the [`assert`][] module instead.
20171cb0ef41Sopenharmony_ci
20181cb0ef41Sopenharmony_ciThis was never a documented feature.
20191cb0ef41Sopenharmony_ci
20201cb0ef41Sopenharmony_ci### DEP0101: `--with-lttng`
20211cb0ef41Sopenharmony_ci
20221cb0ef41Sopenharmony_ci<!-- YAML
20231cb0ef41Sopenharmony_cichanges:
20241cb0ef41Sopenharmony_ci  - version: v10.0.0
20251cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18982
20261cb0ef41Sopenharmony_ci    description: End-of-Life.
20271cb0ef41Sopenharmony_ci-->
20281cb0ef41Sopenharmony_ci
20291cb0ef41Sopenharmony_ciType: End-of-Life
20301cb0ef41Sopenharmony_ci
20311cb0ef41Sopenharmony_ciThe `--with-lttng` compile-time option has been removed.
20321cb0ef41Sopenharmony_ci
20331cb0ef41Sopenharmony_ci### DEP0102: Using `noAssert` in `Buffer#(read|write)` operations
20341cb0ef41Sopenharmony_ci
20351cb0ef41Sopenharmony_ci<!-- YAML
20361cb0ef41Sopenharmony_cichanges:
20371cb0ef41Sopenharmony_ci  - version: v10.0.0
20381cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18395
20391cb0ef41Sopenharmony_ci    description: End-of-Life.
20401cb0ef41Sopenharmony_ci-->
20411cb0ef41Sopenharmony_ci
20421cb0ef41Sopenharmony_ciType: End-of-Life
20431cb0ef41Sopenharmony_ci
20441cb0ef41Sopenharmony_ciUsing the `noAssert` argument has no functionality anymore. All input is
20451cb0ef41Sopenharmony_civerified regardless of the value of `noAssert`. Skipping the verification
20461cb0ef41Sopenharmony_cicould lead to hard-to-find errors and crashes.
20471cb0ef41Sopenharmony_ci
20481cb0ef41Sopenharmony_ci### DEP0103: `process.binding('util').is[...]` typechecks
20491cb0ef41Sopenharmony_ci
20501cb0ef41Sopenharmony_ci<!-- YAML
20511cb0ef41Sopenharmony_cichanges:
20521cb0ef41Sopenharmony_ci  - version: v10.9.0
20531cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22004
20541cb0ef41Sopenharmony_ci    description: Superseded by [DEP0111](#DEP0111).
20551cb0ef41Sopenharmony_ci  - version: v10.0.0
20561cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18415
20571cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
20581cb0ef41Sopenharmony_ci-->
20591cb0ef41Sopenharmony_ci
20601cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
20611cb0ef41Sopenharmony_ci
20621cb0ef41Sopenharmony_ciUsing `process.binding()` in general should be avoided. The type checking
20631cb0ef41Sopenharmony_cimethods in particular can be replaced by using [`util.types`][].
20641cb0ef41Sopenharmony_ci
20651cb0ef41Sopenharmony_ciThis deprecation has been superseded by the deprecation of the
20661cb0ef41Sopenharmony_ci`process.binding()` API ([DEP0111](#DEP0111)).
20671cb0ef41Sopenharmony_ci
20681cb0ef41Sopenharmony_ci### DEP0104: `process.env` string coercion
20691cb0ef41Sopenharmony_ci
20701cb0ef41Sopenharmony_ci<!-- YAML
20711cb0ef41Sopenharmony_cichanges:
20721cb0ef41Sopenharmony_ci  - version: v10.0.0
20731cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/18990
20741cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
20751cb0ef41Sopenharmony_ci-->
20761cb0ef41Sopenharmony_ci
20771cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
20781cb0ef41Sopenharmony_ci
20791cb0ef41Sopenharmony_ciWhen assigning a non-string property to [`process.env`][], the assigned value is
20801cb0ef41Sopenharmony_ciimplicitly converted to a string. This behavior is deprecated if the assigned
20811cb0ef41Sopenharmony_civalue is not a string, boolean, or number. In the future, such assignment might
20821cb0ef41Sopenharmony_ciresult in a thrown error. Please convert the property to a string before
20831cb0ef41Sopenharmony_ciassigning it to `process.env`.
20841cb0ef41Sopenharmony_ci
20851cb0ef41Sopenharmony_ci### DEP0105: `decipher.finaltol`
20861cb0ef41Sopenharmony_ci
20871cb0ef41Sopenharmony_ci<!-- YAML
20881cb0ef41Sopenharmony_cichanges:
20891cb0ef41Sopenharmony_ci  - version: v11.0.0
20901cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/19941
20911cb0ef41Sopenharmony_ci    description: End-of-Life.
20921cb0ef41Sopenharmony_ci  - version: v10.0.0
20931cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/19353
20941cb0ef41Sopenharmony_ci    description: Runtime deprecation.
20951cb0ef41Sopenharmony_ci-->
20961cb0ef41Sopenharmony_ci
20971cb0ef41Sopenharmony_ciType: End-of-Life
20981cb0ef41Sopenharmony_ci
20991cb0ef41Sopenharmony_ci`decipher.finaltol()` has never been documented and was an alias for
21001cb0ef41Sopenharmony_ci[`decipher.final()`][]. This API has been removed, and it is recommended to use
21011cb0ef41Sopenharmony_ci[`decipher.final()`][] instead.
21021cb0ef41Sopenharmony_ci
21031cb0ef41Sopenharmony_ci### DEP0106: `crypto.createCipher` and `crypto.createDecipher`
21041cb0ef41Sopenharmony_ci
21051cb0ef41Sopenharmony_ci<!-- YAML
21061cb0ef41Sopenharmony_cichanges:
21071cb0ef41Sopenharmony_ci  - version: v11.0.0
21081cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22089
21091cb0ef41Sopenharmony_ci    description: Runtime deprecation.
21101cb0ef41Sopenharmony_ci  - version: v10.0.0
21111cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/19343
21121cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
21131cb0ef41Sopenharmony_ci-->
21141cb0ef41Sopenharmony_ci
21151cb0ef41Sopenharmony_ciType: Runtime
21161cb0ef41Sopenharmony_ci
21171cb0ef41Sopenharmony_ciUsing [`crypto.createCipher()`][] and [`crypto.createDecipher()`][] must be
21181cb0ef41Sopenharmony_ciavoided as they use a weak key derivation function (MD5 with no salt) and static
21191cb0ef41Sopenharmony_ciinitialization vectors. It is recommended to derive a key using
21201cb0ef41Sopenharmony_ci[`crypto.pbkdf2()`][] or [`crypto.scrypt()`][] with random salts and to use
21211cb0ef41Sopenharmony_ci[`crypto.createCipheriv()`][] and [`crypto.createDecipheriv()`][] to obtain the
21221cb0ef41Sopenharmony_ci[`Cipher`][] and [`Decipher`][] objects respectively.
21231cb0ef41Sopenharmony_ci
21241cb0ef41Sopenharmony_ci### DEP0107: `tls.convertNPNProtocols()`
21251cb0ef41Sopenharmony_ci
21261cb0ef41Sopenharmony_ci<!-- YAML
21271cb0ef41Sopenharmony_cichanges:
21281cb0ef41Sopenharmony_ci  - version: v11.0.0
21291cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/20736
21301cb0ef41Sopenharmony_ci    description: End-of-Life.
21311cb0ef41Sopenharmony_ci  - version: v10.0.0
21321cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/19403
21331cb0ef41Sopenharmony_ci    description: Runtime deprecation.
21341cb0ef41Sopenharmony_ci-->
21351cb0ef41Sopenharmony_ci
21361cb0ef41Sopenharmony_ciType: End-of-Life
21371cb0ef41Sopenharmony_ci
21381cb0ef41Sopenharmony_ciThis was an undocumented helper function not intended for use outside Node.js
21391cb0ef41Sopenharmony_cicore and obsoleted by the removal of NPN (Next Protocol Negotiation) support.
21401cb0ef41Sopenharmony_ci
21411cb0ef41Sopenharmony_ci### DEP0108: `zlib.bytesRead`
21421cb0ef41Sopenharmony_ci
21431cb0ef41Sopenharmony_ci<!-- YAML
21441cb0ef41Sopenharmony_cichanges:
21451cb0ef41Sopenharmony_ci  - version: v11.0.0
21461cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/23308
21471cb0ef41Sopenharmony_ci    description: Runtime deprecation.
21481cb0ef41Sopenharmony_ci  - version: v10.0.0
21491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/19414
21501cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
21511cb0ef41Sopenharmony_ci-->
21521cb0ef41Sopenharmony_ci
21531cb0ef41Sopenharmony_ciType: Runtime
21541cb0ef41Sopenharmony_ci
21551cb0ef41Sopenharmony_ciDeprecated alias for [`zlib.bytesWritten`][]. This original name was chosen
21561cb0ef41Sopenharmony_cibecause it also made sense to interpret the value as the number of bytes
21571cb0ef41Sopenharmony_ciread by the engine, but is inconsistent with other streams in Node.js that
21581cb0ef41Sopenharmony_ciexpose values under these names.
21591cb0ef41Sopenharmony_ci
21601cb0ef41Sopenharmony_ci### DEP0109: `http`, `https`, and `tls` support for invalid URLs
21611cb0ef41Sopenharmony_ci
21621cb0ef41Sopenharmony_ci<!-- YAML
21631cb0ef41Sopenharmony_cichanges:
21641cb0ef41Sopenharmony_ci  - version: v16.0.0
21651cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/36853
21661cb0ef41Sopenharmony_ci    description: End-of-Life.
21671cb0ef41Sopenharmony_ci  - version: v11.0.0
21681cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/20270
21691cb0ef41Sopenharmony_ci    description: Runtime deprecation.
21701cb0ef41Sopenharmony_ci-->
21711cb0ef41Sopenharmony_ci
21721cb0ef41Sopenharmony_ciType: End-of-Life
21731cb0ef41Sopenharmony_ci
21741cb0ef41Sopenharmony_ciSome previously supported (but strictly invalid) URLs were accepted through the
21751cb0ef41Sopenharmony_ci[`http.request()`][], [`http.get()`][], [`https.request()`][],
21761cb0ef41Sopenharmony_ci[`https.get()`][], and [`tls.checkServerIdentity()`][] APIs because those were
21771cb0ef41Sopenharmony_ciaccepted by the legacy `url.parse()` API. The mentioned APIs now use the WHATWG
21781cb0ef41Sopenharmony_ciURL parser that requires strictly valid URLs. Passing an invalid URL is
21791cb0ef41Sopenharmony_cideprecated and support will be removed in the future.
21801cb0ef41Sopenharmony_ci
21811cb0ef41Sopenharmony_ci### DEP0110: `vm.Script` cached data
21821cb0ef41Sopenharmony_ci
21831cb0ef41Sopenharmony_ci<!-- YAML
21841cb0ef41Sopenharmony_cichanges:
21851cb0ef41Sopenharmony_ci  - version: v10.6.0
21861cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/20300
21871cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
21881cb0ef41Sopenharmony_ci-->
21891cb0ef41Sopenharmony_ci
21901cb0ef41Sopenharmony_ciType: Documentation-only
21911cb0ef41Sopenharmony_ci
21921cb0ef41Sopenharmony_ciThe `produceCachedData` option is deprecated. Use
21931cb0ef41Sopenharmony_ci[`script.createCachedData()`][] instead.
21941cb0ef41Sopenharmony_ci
21951cb0ef41Sopenharmony_ci### DEP0111: `process.binding()`
21961cb0ef41Sopenharmony_ci
21971cb0ef41Sopenharmony_ci<!-- YAML
21981cb0ef41Sopenharmony_cichanges:
21991cb0ef41Sopenharmony_ci  - version: v11.12.0
22001cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26500
22011cb0ef41Sopenharmony_ci    description: Added support for `--pending-deprecation`.
22021cb0ef41Sopenharmony_ci  - version: v10.9.0
22031cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22004
22041cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
22051cb0ef41Sopenharmony_ci-->
22061cb0ef41Sopenharmony_ci
22071cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
22081cb0ef41Sopenharmony_ci
22091cb0ef41Sopenharmony_ci`process.binding()` is for use by Node.js internal code only.
22101cb0ef41Sopenharmony_ci
22111cb0ef41Sopenharmony_ciWhile `process.binding()` has not reached End-of-Life status in general, it is
22121cb0ef41Sopenharmony_ciunavailable when [policies][] are enabled.
22131cb0ef41Sopenharmony_ci
22141cb0ef41Sopenharmony_ci### DEP0112: `dgram` private APIs
22151cb0ef41Sopenharmony_ci
22161cb0ef41Sopenharmony_ci<!-- YAML
22171cb0ef41Sopenharmony_cichanges:
22181cb0ef41Sopenharmony_ci  - version: v11.0.0
22191cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22011
22201cb0ef41Sopenharmony_ci    description: Runtime deprecation.
22211cb0ef41Sopenharmony_ci-->
22221cb0ef41Sopenharmony_ci
22231cb0ef41Sopenharmony_ciType: Runtime
22241cb0ef41Sopenharmony_ci
22251cb0ef41Sopenharmony_ciThe `node:dgram` module previously contained several APIs that were never meant
22261cb0ef41Sopenharmony_cito accessed outside of Node.js core: `Socket.prototype._handle`,
22271cb0ef41Sopenharmony_ci`Socket.prototype._receiving`, `Socket.prototype._bindState`,
22281cb0ef41Sopenharmony_ci`Socket.prototype._queue`, `Socket.prototype._reuseAddr`,
22291cb0ef41Sopenharmony_ci`Socket.prototype._healthCheck()`, `Socket.prototype._stopReceiving()`, and
22301cb0ef41Sopenharmony_ci`dgram._createSocketHandle()`.
22311cb0ef41Sopenharmony_ci
22321cb0ef41Sopenharmony_ci### DEP0113: `Cipher.setAuthTag()`, `Decipher.getAuthTag()`
22331cb0ef41Sopenharmony_ci
22341cb0ef41Sopenharmony_ci<!-- YAML
22351cb0ef41Sopenharmony_cichanges:
22361cb0ef41Sopenharmony_ci  - version: v12.0.0
22371cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26249
22381cb0ef41Sopenharmony_ci    description: End-of-Life.
22391cb0ef41Sopenharmony_ci  - version: v11.0.0
22401cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22126
22411cb0ef41Sopenharmony_ci    description: Runtime deprecation.
22421cb0ef41Sopenharmony_ci-->
22431cb0ef41Sopenharmony_ci
22441cb0ef41Sopenharmony_ciType: End-of-Life
22451cb0ef41Sopenharmony_ci
22461cb0ef41Sopenharmony_ci`Cipher.setAuthTag()` and `Decipher.getAuthTag()` are no longer available. They
22471cb0ef41Sopenharmony_ciwere never documented and would throw when called.
22481cb0ef41Sopenharmony_ci
22491cb0ef41Sopenharmony_ci### DEP0114: `crypto._toBuf()`
22501cb0ef41Sopenharmony_ci
22511cb0ef41Sopenharmony_ci<!-- YAML
22521cb0ef41Sopenharmony_cichanges:
22531cb0ef41Sopenharmony_ci  - version: v12.0.0
22541cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/25338
22551cb0ef41Sopenharmony_ci    description: End-of-Life.
22561cb0ef41Sopenharmony_ci  - version: v11.0.0
22571cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22501
22581cb0ef41Sopenharmony_ci    description: Runtime deprecation.
22591cb0ef41Sopenharmony_ci-->
22601cb0ef41Sopenharmony_ci
22611cb0ef41Sopenharmony_ciType: End-of-Life
22621cb0ef41Sopenharmony_ci
22631cb0ef41Sopenharmony_ciThe `crypto._toBuf()` function was not designed to be used by modules outside
22641cb0ef41Sopenharmony_ciof Node.js core and was removed.
22651cb0ef41Sopenharmony_ci
22661cb0ef41Sopenharmony_ci<!--lint disable nodejs-yaml-comments -->
22671cb0ef41Sopenharmony_ci
22681cb0ef41Sopenharmony_ci### DEP0115: `crypto.prng()`, `crypto.pseudoRandomBytes()`, `crypto.rng()`
22691cb0ef41Sopenharmony_ci
22701cb0ef41Sopenharmony_ci<!-- YAML
22711cb0ef41Sopenharmony_cichanges:
22721cb0ef41Sopenharmony_ci  - version: v11.0.0
22731cb0ef41Sopenharmony_ci    pr-url:
22741cb0ef41Sopenharmony_ci      - https://github.com/nodejs/node/pull/22519
22751cb0ef41Sopenharmony_ci      - https://github.com/nodejs/node/pull/23017
22761cb0ef41Sopenharmony_ci    description: Added documentation-only deprecation
22771cb0ef41Sopenharmony_ci                 with `--pending-deprecation` support.
22781cb0ef41Sopenharmony_ci-->
22791cb0ef41Sopenharmony_ci
22801cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
22811cb0ef41Sopenharmony_ci
22821cb0ef41Sopenharmony_ci<!--lint enable nodejs-yaml-comments -->
22831cb0ef41Sopenharmony_ci
22841cb0ef41Sopenharmony_ciIn recent versions of Node.js, there is no difference between
22851cb0ef41Sopenharmony_ci[`crypto.randomBytes()`][] and `crypto.pseudoRandomBytes()`. The latter is
22861cb0ef41Sopenharmony_cideprecated along with the undocumented aliases `crypto.prng()` and
22871cb0ef41Sopenharmony_ci`crypto.rng()` in favor of [`crypto.randomBytes()`][] and might be removed in a
22881cb0ef41Sopenharmony_cifuture release.
22891cb0ef41Sopenharmony_ci
22901cb0ef41Sopenharmony_ci### DEP0116: Legacy URL API
22911cb0ef41Sopenharmony_ci
22921cb0ef41Sopenharmony_ci<!-- YAML
22931cb0ef41Sopenharmony_cichanges:
22941cb0ef41Sopenharmony_ci  - version: v18.13.0
22951cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/44919
22961cb0ef41Sopenharmony_ci    description: \`url.parse()` is deprecated again in DEP0169.
22971cb0ef41Sopenharmony_ci  - version:
22981cb0ef41Sopenharmony_ci      - v15.13.0
22991cb0ef41Sopenharmony_ci      - v14.17.0
23001cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/37784
23011cb0ef41Sopenharmony_ci    description: Deprecation revoked. Status changed to "Legacy".
23021cb0ef41Sopenharmony_ci  - version: v11.0.0
23031cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22715
23041cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
23051cb0ef41Sopenharmony_ci-->
23061cb0ef41Sopenharmony_ci
23071cb0ef41Sopenharmony_ciType: Deprecation revoked
23081cb0ef41Sopenharmony_ci
23091cb0ef41Sopenharmony_ciThe [legacy URL API][] is deprecated. This includes [`url.format()`][],
23101cb0ef41Sopenharmony_ci[`url.parse()`][], [`url.resolve()`][], and the [legacy `urlObject`][]. Please
23111cb0ef41Sopenharmony_ciuse the [WHATWG URL API][] instead.
23121cb0ef41Sopenharmony_ci
23131cb0ef41Sopenharmony_ci### DEP0117: Native crypto handles
23141cb0ef41Sopenharmony_ci
23151cb0ef41Sopenharmony_ci<!-- YAML
23161cb0ef41Sopenharmony_cichanges:
23171cb0ef41Sopenharmony_ci  - version: v12.0.0
23181cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/27011
23191cb0ef41Sopenharmony_ci    description: End-of-Life.
23201cb0ef41Sopenharmony_ci  - version: v11.0.0
23211cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22747
23221cb0ef41Sopenharmony_ci    description: Runtime deprecation.
23231cb0ef41Sopenharmony_ci-->
23241cb0ef41Sopenharmony_ci
23251cb0ef41Sopenharmony_ciType: End-of-Life
23261cb0ef41Sopenharmony_ci
23271cb0ef41Sopenharmony_ciPrevious versions of Node.js exposed handles to internal native objects through
23281cb0ef41Sopenharmony_cithe `_handle` property of the `Cipher`, `Decipher`, `DiffieHellman`,
23291cb0ef41Sopenharmony_ci`DiffieHellmanGroup`, `ECDH`, `Hash`, `Hmac`, `Sign`, and `Verify` classes.
23301cb0ef41Sopenharmony_ciThe `_handle` property has been removed because improper use of the native
23311cb0ef41Sopenharmony_ciobject can lead to crashing the application.
23321cb0ef41Sopenharmony_ci
23331cb0ef41Sopenharmony_ci### DEP0118: `dns.lookup()` support for a falsy host name
23341cb0ef41Sopenharmony_ci
23351cb0ef41Sopenharmony_ci<!-- YAML
23361cb0ef41Sopenharmony_cichanges:
23371cb0ef41Sopenharmony_ci  - version: v11.0.0
23381cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/23173
23391cb0ef41Sopenharmony_ci    description: Runtime deprecation.
23401cb0ef41Sopenharmony_ci-->
23411cb0ef41Sopenharmony_ci
23421cb0ef41Sopenharmony_ciType: Runtime
23431cb0ef41Sopenharmony_ci
23441cb0ef41Sopenharmony_ciPrevious versions of Node.js supported `dns.lookup()` with a falsy host name
23451cb0ef41Sopenharmony_cilike `dns.lookup(false)` due to backward compatibility.
23461cb0ef41Sopenharmony_ciThis behavior is undocumented and is thought to be unused in real world apps.
23471cb0ef41Sopenharmony_ciIt will become an error in future versions of Node.js.
23481cb0ef41Sopenharmony_ci
23491cb0ef41Sopenharmony_ci### DEP0119: `process.binding('uv').errname()` private API
23501cb0ef41Sopenharmony_ci
23511cb0ef41Sopenharmony_ci<!-- YAML
23521cb0ef41Sopenharmony_cichanges:
23531cb0ef41Sopenharmony_ci  - version: v11.0.0
23541cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/23597
23551cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
23561cb0ef41Sopenharmony_ci-->
23571cb0ef41Sopenharmony_ci
23581cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
23591cb0ef41Sopenharmony_ci
23601cb0ef41Sopenharmony_ci`process.binding('uv').errname()` is deprecated. Please use
23611cb0ef41Sopenharmony_ci[`util.getSystemErrorName()`][] instead.
23621cb0ef41Sopenharmony_ci
23631cb0ef41Sopenharmony_ci### DEP0120: Windows Performance Counter support
23641cb0ef41Sopenharmony_ci
23651cb0ef41Sopenharmony_ci<!-- YAML
23661cb0ef41Sopenharmony_cichanges:
23671cb0ef41Sopenharmony_ci  - version: v12.0.0
23681cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/24862
23691cb0ef41Sopenharmony_ci    description: End-of-Life.
23701cb0ef41Sopenharmony_ci  - version: v11.0.0
23711cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/22485
23721cb0ef41Sopenharmony_ci    description: Runtime deprecation.
23731cb0ef41Sopenharmony_ci-->
23741cb0ef41Sopenharmony_ci
23751cb0ef41Sopenharmony_ciType: End-of-Life
23761cb0ef41Sopenharmony_ci
23771cb0ef41Sopenharmony_ciWindows Performance Counter support has been removed from Node.js. The
23781cb0ef41Sopenharmony_ciundocumented `COUNTER_NET_SERVER_CONNECTION()`,
23791cb0ef41Sopenharmony_ci`COUNTER_NET_SERVER_CONNECTION_CLOSE()`, `COUNTER_HTTP_SERVER_REQUEST()`,
23801cb0ef41Sopenharmony_ci`COUNTER_HTTP_SERVER_RESPONSE()`, `COUNTER_HTTP_CLIENT_REQUEST()`, and
23811cb0ef41Sopenharmony_ci`COUNTER_HTTP_CLIENT_RESPONSE()` functions have been deprecated.
23821cb0ef41Sopenharmony_ci
23831cb0ef41Sopenharmony_ci### DEP0121: `net._setSimultaneousAccepts()`
23841cb0ef41Sopenharmony_ci
23851cb0ef41Sopenharmony_ci<!-- YAML
23861cb0ef41Sopenharmony_cichanges:
23871cb0ef41Sopenharmony_ci  - version: v12.0.0
23881cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/23760
23891cb0ef41Sopenharmony_ci    description: Runtime deprecation.
23901cb0ef41Sopenharmony_ci-->
23911cb0ef41Sopenharmony_ci
23921cb0ef41Sopenharmony_ciType: Runtime
23931cb0ef41Sopenharmony_ci
23941cb0ef41Sopenharmony_ciThe undocumented `net._setSimultaneousAccepts()` function was originally
23951cb0ef41Sopenharmony_ciintended for debugging and performance tuning when using the
23961cb0ef41Sopenharmony_ci`node:child_process` and `node:cluster` modules on Windows. The function is not
23971cb0ef41Sopenharmony_cigenerally useful and is being removed. See discussion here:
23981cb0ef41Sopenharmony_ci<https://github.com/nodejs/node/issues/18391>
23991cb0ef41Sopenharmony_ci
24001cb0ef41Sopenharmony_ci### DEP0122: `tls` `Server.prototype.setOptions()`
24011cb0ef41Sopenharmony_ci
24021cb0ef41Sopenharmony_ci<!-- YAML
24031cb0ef41Sopenharmony_cichanges:
24041cb0ef41Sopenharmony_ci  - version: v12.0.0
24051cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/23820
24061cb0ef41Sopenharmony_ci    description: Runtime deprecation.
24071cb0ef41Sopenharmony_ci-->
24081cb0ef41Sopenharmony_ci
24091cb0ef41Sopenharmony_ciType: Runtime
24101cb0ef41Sopenharmony_ci
24111cb0ef41Sopenharmony_ciPlease use `Server.prototype.setSecureContext()` instead.
24121cb0ef41Sopenharmony_ci
24131cb0ef41Sopenharmony_ci### DEP0123: setting the TLS ServerName to an IP address
24141cb0ef41Sopenharmony_ci
24151cb0ef41Sopenharmony_ci<!-- YAML
24161cb0ef41Sopenharmony_cichanges:
24171cb0ef41Sopenharmony_ci  - version: v12.0.0
24181cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/23329
24191cb0ef41Sopenharmony_ci    description: Runtime deprecation.
24201cb0ef41Sopenharmony_ci-->
24211cb0ef41Sopenharmony_ci
24221cb0ef41Sopenharmony_ciType: Runtime
24231cb0ef41Sopenharmony_ci
24241cb0ef41Sopenharmony_ciSetting the TLS ServerName to an IP address is not permitted by
24251cb0ef41Sopenharmony_ci[RFC 6066][]. This will be ignored in a future version.
24261cb0ef41Sopenharmony_ci
24271cb0ef41Sopenharmony_ci### DEP0124: using `REPLServer.rli`
24281cb0ef41Sopenharmony_ci
24291cb0ef41Sopenharmony_ci<!-- YAML
24301cb0ef41Sopenharmony_cichanges:
24311cb0ef41Sopenharmony_ci  - version: v15.0.0
24321cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33286
24331cb0ef41Sopenharmony_ci    description: End-of-Life.
24341cb0ef41Sopenharmony_ci  - version: v12.0.0
24351cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26260
24361cb0ef41Sopenharmony_ci    description: Runtime deprecation.
24371cb0ef41Sopenharmony_ci-->
24381cb0ef41Sopenharmony_ci
24391cb0ef41Sopenharmony_ciType: End-of-Life
24401cb0ef41Sopenharmony_ci
24411cb0ef41Sopenharmony_ciThis property is a reference to the instance itself.
24421cb0ef41Sopenharmony_ci
24431cb0ef41Sopenharmony_ci### DEP0125: `require('node:_stream_wrap')`
24441cb0ef41Sopenharmony_ci
24451cb0ef41Sopenharmony_ci<!-- YAML
24461cb0ef41Sopenharmony_cichanges:
24471cb0ef41Sopenharmony_ci  - version: v12.0.0
24481cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26245
24491cb0ef41Sopenharmony_ci    description: Runtime deprecation.
24501cb0ef41Sopenharmony_ci-->
24511cb0ef41Sopenharmony_ci
24521cb0ef41Sopenharmony_ciType: Runtime
24531cb0ef41Sopenharmony_ci
24541cb0ef41Sopenharmony_ciThe `node:_stream_wrap` module is deprecated.
24551cb0ef41Sopenharmony_ci
24561cb0ef41Sopenharmony_ci### DEP0126: `timers.active()`
24571cb0ef41Sopenharmony_ci
24581cb0ef41Sopenharmony_ci<!-- YAML
24591cb0ef41Sopenharmony_cichanges:
24601cb0ef41Sopenharmony_ci  - version: v11.14.0
24611cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26760
24621cb0ef41Sopenharmony_ci    description: Runtime deprecation.
24631cb0ef41Sopenharmony_ci-->
24641cb0ef41Sopenharmony_ci
24651cb0ef41Sopenharmony_ciType: Runtime
24661cb0ef41Sopenharmony_ci
24671cb0ef41Sopenharmony_ciThe previously undocumented `timers.active()` is deprecated.
24681cb0ef41Sopenharmony_ciPlease use the publicly documented [`timeout.refresh()`][] instead.
24691cb0ef41Sopenharmony_ciIf re-referencing the timeout is necessary, [`timeout.ref()`][] can be used
24701cb0ef41Sopenharmony_ciwith no performance impact since Node.js 10.
24711cb0ef41Sopenharmony_ci
24721cb0ef41Sopenharmony_ci### DEP0127: `timers._unrefActive()`
24731cb0ef41Sopenharmony_ci
24741cb0ef41Sopenharmony_ci<!-- YAML
24751cb0ef41Sopenharmony_cichanges:
24761cb0ef41Sopenharmony_ci  - version: v11.14.0
24771cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26760
24781cb0ef41Sopenharmony_ci    description: Runtime deprecation.
24791cb0ef41Sopenharmony_ci-->
24801cb0ef41Sopenharmony_ci
24811cb0ef41Sopenharmony_ciType: Runtime
24821cb0ef41Sopenharmony_ci
24831cb0ef41Sopenharmony_ciThe previously undocumented and "private" `timers._unrefActive()` is deprecated.
24841cb0ef41Sopenharmony_ciPlease use the publicly documented [`timeout.refresh()`][] instead.
24851cb0ef41Sopenharmony_ciIf unreferencing the timeout is necessary, [`timeout.unref()`][] can be used
24861cb0ef41Sopenharmony_ciwith no performance impact since Node.js 10.
24871cb0ef41Sopenharmony_ci
24881cb0ef41Sopenharmony_ci### DEP0128: modules with an invalid `main` entry and an `index.js` file
24891cb0ef41Sopenharmony_ci
24901cb0ef41Sopenharmony_ci<!-- YAML
24911cb0ef41Sopenharmony_cichanges:
24921cb0ef41Sopenharmony_ci  - version: v16.0.0
24931cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/37204
24941cb0ef41Sopenharmony_ci    description: Runtime deprecation.
24951cb0ef41Sopenharmony_ci  - version: v12.0.0
24961cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26823
24971cb0ef41Sopenharmony_ci    description: Documentation-only.
24981cb0ef41Sopenharmony_ci-->
24991cb0ef41Sopenharmony_ci
25001cb0ef41Sopenharmony_ciType: Runtime
25011cb0ef41Sopenharmony_ci
25021cb0ef41Sopenharmony_ciModules that have an invalid `main` entry (e.g., `./does-not-exist.js`) and
25031cb0ef41Sopenharmony_cialso have an `index.js` file in the top level directory will resolve the
25041cb0ef41Sopenharmony_ci`index.js` file. That is deprecated and is going to throw an error in future
25051cb0ef41Sopenharmony_ciNode.js versions.
25061cb0ef41Sopenharmony_ci
25071cb0ef41Sopenharmony_ci### DEP0129: `ChildProcess._channel`
25081cb0ef41Sopenharmony_ci
25091cb0ef41Sopenharmony_ci<!-- YAML
25101cb0ef41Sopenharmony_cichanges:
25111cb0ef41Sopenharmony_ci  - version: v13.0.0
25121cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/27949
25131cb0ef41Sopenharmony_ci    description: Runtime deprecation.
25141cb0ef41Sopenharmony_ci  - version: v11.14.0
25151cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/26982
25161cb0ef41Sopenharmony_ci    description: Documentation-only.
25171cb0ef41Sopenharmony_ci-->
25181cb0ef41Sopenharmony_ci
25191cb0ef41Sopenharmony_ciType: Runtime
25201cb0ef41Sopenharmony_ci
25211cb0ef41Sopenharmony_ciThe `_channel` property of child process objects returned by `spawn()` and
25221cb0ef41Sopenharmony_cisimilar functions is not intended for public use. Use `ChildProcess.channel`
25231cb0ef41Sopenharmony_ciinstead.
25241cb0ef41Sopenharmony_ci
25251cb0ef41Sopenharmony_ci### DEP0130: `Module.createRequireFromPath()`
25261cb0ef41Sopenharmony_ci
25271cb0ef41Sopenharmony_ci<!-- YAML
25281cb0ef41Sopenharmony_cichanges:
25291cb0ef41Sopenharmony_ci  - version: v16.0.0
25301cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/37201
25311cb0ef41Sopenharmony_ci    description: End-of-life.
25321cb0ef41Sopenharmony_ci  - version: v13.0.0
25331cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/27951
25341cb0ef41Sopenharmony_ci    description: Runtime deprecation.
25351cb0ef41Sopenharmony_ci  - version: v12.2.0
25361cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/27405
25371cb0ef41Sopenharmony_ci    description: Documentation-only.
25381cb0ef41Sopenharmony_ci-->
25391cb0ef41Sopenharmony_ci
25401cb0ef41Sopenharmony_ciType: End-of-Life
25411cb0ef41Sopenharmony_ci
25421cb0ef41Sopenharmony_ciUse [`module.createRequire()`][] instead.
25431cb0ef41Sopenharmony_ci
25441cb0ef41Sopenharmony_ci### DEP0131: Legacy HTTP parser
25451cb0ef41Sopenharmony_ci
25461cb0ef41Sopenharmony_ci<!-- YAML
25471cb0ef41Sopenharmony_cichanges:
25481cb0ef41Sopenharmony_ci  - version: v13.0.0
25491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/29589
25501cb0ef41Sopenharmony_ci    description: This feature has been removed.
25511cb0ef41Sopenharmony_ci  - version: v12.22.0
25521cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/37603
25531cb0ef41Sopenharmony_ci    description: Runtime deprecation.
25541cb0ef41Sopenharmony_ci  - version: v12.3.0
25551cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/27498
25561cb0ef41Sopenharmony_ci    description: Documentation-only.
25571cb0ef41Sopenharmony_ci-->
25581cb0ef41Sopenharmony_ci
25591cb0ef41Sopenharmony_ciType: End-of-Life
25601cb0ef41Sopenharmony_ci
25611cb0ef41Sopenharmony_ciThe legacy HTTP parser, used by default in versions of Node.js prior to 12.0.0,
25621cb0ef41Sopenharmony_ciis deprecated and has been removed in v13.0.0. Prior to v13.0.0, the
25631cb0ef41Sopenharmony_ci`--http-parser=legacy` command-line flag could be used to revert to using the
25641cb0ef41Sopenharmony_cilegacy parser.
25651cb0ef41Sopenharmony_ci
25661cb0ef41Sopenharmony_ci### DEP0132: `worker.terminate()` with callback
25671cb0ef41Sopenharmony_ci
25681cb0ef41Sopenharmony_ci<!-- YAML
25691cb0ef41Sopenharmony_cichanges:
25701cb0ef41Sopenharmony_ci  - version: v12.5.0
25711cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/28021
25721cb0ef41Sopenharmony_ci    description: Runtime deprecation.
25731cb0ef41Sopenharmony_ci-->
25741cb0ef41Sopenharmony_ci
25751cb0ef41Sopenharmony_ciType: Runtime
25761cb0ef41Sopenharmony_ci
25771cb0ef41Sopenharmony_ciPassing a callback to [`worker.terminate()`][] is deprecated. Use the returned
25781cb0ef41Sopenharmony_ci`Promise` instead, or a listener to the worker's `'exit'` event.
25791cb0ef41Sopenharmony_ci
25801cb0ef41Sopenharmony_ci### DEP0133: `http` `connection`
25811cb0ef41Sopenharmony_ci
25821cb0ef41Sopenharmony_ci<!-- YAML
25831cb0ef41Sopenharmony_cichanges:
25841cb0ef41Sopenharmony_ci  - version: v12.12.0
25851cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/29015
25861cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
25871cb0ef41Sopenharmony_ci-->
25881cb0ef41Sopenharmony_ci
25891cb0ef41Sopenharmony_ciType: Documentation-only
25901cb0ef41Sopenharmony_ci
25911cb0ef41Sopenharmony_ciPrefer [`response.socket`][] over [`response.connection`][] and
25921cb0ef41Sopenharmony_ci[`request.socket`][] over [`request.connection`][].
25931cb0ef41Sopenharmony_ci
25941cb0ef41Sopenharmony_ci### DEP0134: `process._tickCallback`
25951cb0ef41Sopenharmony_ci
25961cb0ef41Sopenharmony_ci<!-- YAML
25971cb0ef41Sopenharmony_cichanges:
25981cb0ef41Sopenharmony_ci  - version: v12.12.0
25991cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/29781
26001cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
26011cb0ef41Sopenharmony_ci-->
26021cb0ef41Sopenharmony_ci
26031cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
26041cb0ef41Sopenharmony_ci
26051cb0ef41Sopenharmony_ciThe `process._tickCallback` property was never documented as
26061cb0ef41Sopenharmony_cian officially supported API.
26071cb0ef41Sopenharmony_ci
26081cb0ef41Sopenharmony_ci### DEP0135: `WriteStream.open()` and `ReadStream.open()` are internal
26091cb0ef41Sopenharmony_ci
26101cb0ef41Sopenharmony_ci<!-- YAML
26111cb0ef41Sopenharmony_cichanges:
26121cb0ef41Sopenharmony_ci  - version: v13.0.0
26131cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/29061
26141cb0ef41Sopenharmony_ci    description: Runtime deprecation.
26151cb0ef41Sopenharmony_ci-->
26161cb0ef41Sopenharmony_ci
26171cb0ef41Sopenharmony_ciType: Runtime
26181cb0ef41Sopenharmony_ci
26191cb0ef41Sopenharmony_ci[`WriteStream.open()`][] and [`ReadStream.open()`][] are undocumented internal
26201cb0ef41Sopenharmony_ciAPIs that do not make sense to use in userland. File streams should always be
26211cb0ef41Sopenharmony_ciopened through their corresponding factory methods [`fs.createWriteStream()`][]
26221cb0ef41Sopenharmony_ciand [`fs.createReadStream()`][]) or by passing a file descriptor in options.
26231cb0ef41Sopenharmony_ci
26241cb0ef41Sopenharmony_ci### DEP0136: `http` `finished`
26251cb0ef41Sopenharmony_ci
26261cb0ef41Sopenharmony_ci<!-- YAML
26271cb0ef41Sopenharmony_cichanges:
26281cb0ef41Sopenharmony_ci  - version:
26291cb0ef41Sopenharmony_ci     - v13.4.0
26301cb0ef41Sopenharmony_ci     - v12.16.0
26311cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/28679
26321cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
26331cb0ef41Sopenharmony_ci-->
26341cb0ef41Sopenharmony_ci
26351cb0ef41Sopenharmony_ciType: Documentation-only
26361cb0ef41Sopenharmony_ci
26371cb0ef41Sopenharmony_ci[`response.finished`][] indicates whether [`response.end()`][] has been
26381cb0ef41Sopenharmony_cicalled, not whether `'finish'` has been emitted and the underlying data
26391cb0ef41Sopenharmony_ciis flushed.
26401cb0ef41Sopenharmony_ci
26411cb0ef41Sopenharmony_ciUse [`response.writableFinished`][] or [`response.writableEnded`][]
26421cb0ef41Sopenharmony_ciaccordingly instead to avoid the ambiguity.
26431cb0ef41Sopenharmony_ci
26441cb0ef41Sopenharmony_ciTo maintain existing behavior `response.finished` should be replaced with
26451cb0ef41Sopenharmony_ci`response.writableEnded`.
26461cb0ef41Sopenharmony_ci
26471cb0ef41Sopenharmony_ci### DEP0137: Closing fs.FileHandle on garbage collection
26481cb0ef41Sopenharmony_ci
26491cb0ef41Sopenharmony_ci<!-- YAML
26501cb0ef41Sopenharmony_cichanges:
26511cb0ef41Sopenharmony_ci  - version: v14.0.0
26521cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/28396
26531cb0ef41Sopenharmony_ci    description: Runtime deprecation.
26541cb0ef41Sopenharmony_ci-->
26551cb0ef41Sopenharmony_ci
26561cb0ef41Sopenharmony_ciType: Runtime
26571cb0ef41Sopenharmony_ci
26581cb0ef41Sopenharmony_ciAllowing a [`fs.FileHandle`][] object to be closed on garbage collection is
26591cb0ef41Sopenharmony_cideprecated. In the future, doing so might result in a thrown error that will
26601cb0ef41Sopenharmony_citerminate the process.
26611cb0ef41Sopenharmony_ci
26621cb0ef41Sopenharmony_ciPlease ensure that all `fs.FileHandle` objects are explicitly closed using
26631cb0ef41Sopenharmony_ci`FileHandle.prototype.close()` when the `fs.FileHandle` is no longer needed:
26641cb0ef41Sopenharmony_ci
26651cb0ef41Sopenharmony_ci```js
26661cb0ef41Sopenharmony_ciconst fsPromises = require('node:fs').promises;
26671cb0ef41Sopenharmony_ciasync function openAndClose() {
26681cb0ef41Sopenharmony_ci  let filehandle;
26691cb0ef41Sopenharmony_ci  try {
26701cb0ef41Sopenharmony_ci    filehandle = await fsPromises.open('thefile.txt', 'r');
26711cb0ef41Sopenharmony_ci  } finally {
26721cb0ef41Sopenharmony_ci    if (filehandle !== undefined)
26731cb0ef41Sopenharmony_ci      await filehandle.close();
26741cb0ef41Sopenharmony_ci  }
26751cb0ef41Sopenharmony_ci}
26761cb0ef41Sopenharmony_ci```
26771cb0ef41Sopenharmony_ci
26781cb0ef41Sopenharmony_ci### DEP0138: `process.mainModule`
26791cb0ef41Sopenharmony_ci
26801cb0ef41Sopenharmony_ci<!-- YAML
26811cb0ef41Sopenharmony_cichanges:
26821cb0ef41Sopenharmony_ci  - version: v14.0.0
26831cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/32232
26841cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
26851cb0ef41Sopenharmony_ci-->
26861cb0ef41Sopenharmony_ci
26871cb0ef41Sopenharmony_ciType: Documentation-only
26881cb0ef41Sopenharmony_ci
26891cb0ef41Sopenharmony_ci[`process.mainModule`][] is a CommonJS-only feature while `process` global
26901cb0ef41Sopenharmony_ciobject is shared with non-CommonJS environment. Its use within ECMAScript
26911cb0ef41Sopenharmony_cimodules is unsupported.
26921cb0ef41Sopenharmony_ci
26931cb0ef41Sopenharmony_ciIt is deprecated in favor of [`require.main`][], because it serves the same
26941cb0ef41Sopenharmony_cipurpose and is only available on CommonJS environment.
26951cb0ef41Sopenharmony_ci
26961cb0ef41Sopenharmony_ci### DEP0139: `process.umask()` with no arguments
26971cb0ef41Sopenharmony_ci
26981cb0ef41Sopenharmony_ci<!-- YAML
26991cb0ef41Sopenharmony_cichanges:
27001cb0ef41Sopenharmony_ci  - version:
27011cb0ef41Sopenharmony_ci    - v14.0.0
27021cb0ef41Sopenharmony_ci    - v12.19.0
27031cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/32499
27041cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
27051cb0ef41Sopenharmony_ci-->
27061cb0ef41Sopenharmony_ci
27071cb0ef41Sopenharmony_ciType: Documentation-only
27081cb0ef41Sopenharmony_ci
27091cb0ef41Sopenharmony_ciCalling `process.umask()` with no argument causes the process-wide umask to be
27101cb0ef41Sopenharmony_ciwritten twice. This introduces a race condition between threads, and is a
27111cb0ef41Sopenharmony_cipotential security vulnerability. There is no safe, cross-platform alternative
27121cb0ef41Sopenharmony_ciAPI.
27131cb0ef41Sopenharmony_ci
27141cb0ef41Sopenharmony_ci### DEP0140: Use `request.destroy()` instead of `request.abort()`
27151cb0ef41Sopenharmony_ci
27161cb0ef41Sopenharmony_ci<!-- YAML
27171cb0ef41Sopenharmony_cichanges:
27181cb0ef41Sopenharmony_ci  - version:
27191cb0ef41Sopenharmony_ci    - v14.1.0
27201cb0ef41Sopenharmony_ci    - v13.14.0
27211cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/32807
27221cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
27231cb0ef41Sopenharmony_ci-->
27241cb0ef41Sopenharmony_ci
27251cb0ef41Sopenharmony_ciType: Documentation-only
27261cb0ef41Sopenharmony_ci
27271cb0ef41Sopenharmony_ciUse [`request.destroy()`][] instead of [`request.abort()`][].
27281cb0ef41Sopenharmony_ci
27291cb0ef41Sopenharmony_ci### DEP0141: `repl.inputStream` and `repl.outputStream`
27301cb0ef41Sopenharmony_ci
27311cb0ef41Sopenharmony_ci<!-- YAML
27321cb0ef41Sopenharmony_cichanges:
27331cb0ef41Sopenharmony_ci  - version: v14.3.0
27341cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33294
27351cb0ef41Sopenharmony_ci    description: Documentation-only (supports [`--pending-deprecation`][]).
27361cb0ef41Sopenharmony_ci-->
27371cb0ef41Sopenharmony_ci
27381cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
27391cb0ef41Sopenharmony_ci
27401cb0ef41Sopenharmony_ciThe `node:repl` module exported the input and output stream twice. Use `.input`
27411cb0ef41Sopenharmony_ciinstead of `.inputStream` and `.output` instead of `.outputStream`.
27421cb0ef41Sopenharmony_ci
27431cb0ef41Sopenharmony_ci### DEP0142: `repl._builtinLibs`
27441cb0ef41Sopenharmony_ci
27451cb0ef41Sopenharmony_ci<!-- YAML
27461cb0ef41Sopenharmony_cichanges:
27471cb0ef41Sopenharmony_ci  - version: v14.3.0
27481cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33294
27491cb0ef41Sopenharmony_ci    description: Documentation-only (supports [`--pending-deprecation`][]).
27501cb0ef41Sopenharmony_ci-->
27511cb0ef41Sopenharmony_ci
27521cb0ef41Sopenharmony_ciType: Documentation-only
27531cb0ef41Sopenharmony_ci
27541cb0ef41Sopenharmony_ciThe `node:repl` module exports a `_builtinLibs` property that contains an array
27551cb0ef41Sopenharmony_ciof built-in modules. It was incomplete so far and instead it's better to rely
27561cb0ef41Sopenharmony_ciupon `require('node:module').builtinModules`.
27571cb0ef41Sopenharmony_ci
27581cb0ef41Sopenharmony_ci### DEP0143: `Transform._transformState`
27591cb0ef41Sopenharmony_ci
27601cb0ef41Sopenharmony_ci<!-- YAML
27611cb0ef41Sopenharmony_cichanges:
27621cb0ef41Sopenharmony_ci  - version: v14.5.0
27631cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33126
27641cb0ef41Sopenharmony_ci    description: Runtime deprecation.
27651cb0ef41Sopenharmony_ci-->
27661cb0ef41Sopenharmony_ci
27671cb0ef41Sopenharmony_ciType: Runtime
27681cb0ef41Sopenharmony_ci`Transform._transformState` will be removed in future versions where it is
27691cb0ef41Sopenharmony_cino longer required due to simplification of the implementation.
27701cb0ef41Sopenharmony_ci
27711cb0ef41Sopenharmony_ci### DEP0144: `module.parent`
27721cb0ef41Sopenharmony_ci
27731cb0ef41Sopenharmony_ci<!-- YAML
27741cb0ef41Sopenharmony_cichanges:
27751cb0ef41Sopenharmony_ci  - version:
27761cb0ef41Sopenharmony_ci    - v14.6.0
27771cb0ef41Sopenharmony_ci    - v12.19.0
27781cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/32217
27791cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
27801cb0ef41Sopenharmony_ci-->
27811cb0ef41Sopenharmony_ci
27821cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
27831cb0ef41Sopenharmony_ci
27841cb0ef41Sopenharmony_ciA CommonJS module can access the first module that required it using
27851cb0ef41Sopenharmony_ci`module.parent`. This feature is deprecated because it does not work
27861cb0ef41Sopenharmony_ciconsistently in the presence of ECMAScript modules and because it gives an
27871cb0ef41Sopenharmony_ciinaccurate representation of the CommonJS module graph.
27881cb0ef41Sopenharmony_ci
27891cb0ef41Sopenharmony_ciSome modules use it to check if they are the entry point of the current process.
27901cb0ef41Sopenharmony_ciInstead, it is recommended to compare `require.main` and `module`:
27911cb0ef41Sopenharmony_ci
27921cb0ef41Sopenharmony_ci```js
27931cb0ef41Sopenharmony_ciif (require.main === module) {
27941cb0ef41Sopenharmony_ci  // Code section that will run only if current file is the entry point.
27951cb0ef41Sopenharmony_ci}
27961cb0ef41Sopenharmony_ci```
27971cb0ef41Sopenharmony_ci
27981cb0ef41Sopenharmony_ciWhen looking for the CommonJS modules that have required the current one,
27991cb0ef41Sopenharmony_ci`require.cache` and `module.children` can be used:
28001cb0ef41Sopenharmony_ci
28011cb0ef41Sopenharmony_ci```js
28021cb0ef41Sopenharmony_ciconst moduleParents = Object.values(require.cache)
28031cb0ef41Sopenharmony_ci  .filter((m) => m.children.includes(module));
28041cb0ef41Sopenharmony_ci```
28051cb0ef41Sopenharmony_ci
28061cb0ef41Sopenharmony_ci### DEP0145: `socket.bufferSize`
28071cb0ef41Sopenharmony_ci
28081cb0ef41Sopenharmony_ci<!-- YAML
28091cb0ef41Sopenharmony_cichanges:
28101cb0ef41Sopenharmony_ci  - version: v14.6.0
28111cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/34088
28121cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
28131cb0ef41Sopenharmony_ci-->
28141cb0ef41Sopenharmony_ci
28151cb0ef41Sopenharmony_ciType: Documentation-only
28161cb0ef41Sopenharmony_ci
28171cb0ef41Sopenharmony_ci[`socket.bufferSize`][] is just an alias for [`writable.writableLength`][].
28181cb0ef41Sopenharmony_ci
28191cb0ef41Sopenharmony_ci### DEP0146: `new crypto.Certificate()`
28201cb0ef41Sopenharmony_ci
28211cb0ef41Sopenharmony_ci<!-- YAML
28221cb0ef41Sopenharmony_cichanges:
28231cb0ef41Sopenharmony_ci  - version: v14.9.0
28241cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/34697
28251cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
28261cb0ef41Sopenharmony_ci-->
28271cb0ef41Sopenharmony_ci
28281cb0ef41Sopenharmony_ciType: Documentation-only
28291cb0ef41Sopenharmony_ci
28301cb0ef41Sopenharmony_ciThe [`crypto.Certificate()` constructor][] is deprecated. Use
28311cb0ef41Sopenharmony_ci[static methods of `crypto.Certificate()`][] instead.
28321cb0ef41Sopenharmony_ci
28331cb0ef41Sopenharmony_ci### DEP0147: `fs.rmdir(path, { recursive: true })`
28341cb0ef41Sopenharmony_ci
28351cb0ef41Sopenharmony_ci<!-- YAML
28361cb0ef41Sopenharmony_cichanges:
28371cb0ef41Sopenharmony_ci  - version: v16.0.0
28381cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/37302
28391cb0ef41Sopenharmony_ci    description: Runtime deprecation.
28401cb0ef41Sopenharmony_ci  - version: v15.0.0
28411cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/35562
28421cb0ef41Sopenharmony_ci    description: Runtime deprecation for permissive behavior.
28431cb0ef41Sopenharmony_ci  - version: v14.14.0
28441cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/35579
28451cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
28461cb0ef41Sopenharmony_ci-->
28471cb0ef41Sopenharmony_ci
28481cb0ef41Sopenharmony_ciType: Runtime
28491cb0ef41Sopenharmony_ci
28501cb0ef41Sopenharmony_ciIn future versions of Node.js, `recursive` option will be ignored for
28511cb0ef41Sopenharmony_ci`fs.rmdir`, `fs.rmdirSync`, and `fs.promises.rmdir`.
28521cb0ef41Sopenharmony_ci
28531cb0ef41Sopenharmony_ciUse `fs.rm(path, { recursive: true, force: true })`,
28541cb0ef41Sopenharmony_ci`fs.rmSync(path, { recursive: true, force: true })` or
28551cb0ef41Sopenharmony_ci`fs.promises.rm(path, { recursive: true, force: true })` instead.
28561cb0ef41Sopenharmony_ci
28571cb0ef41Sopenharmony_ci### DEP0148: Folder mappings in `"exports"` (trailing `"/"`)
28581cb0ef41Sopenharmony_ci
28591cb0ef41Sopenharmony_ci<!-- YAML
28601cb0ef41Sopenharmony_cichanges:
28611cb0ef41Sopenharmony_ci  - version: v17.0.0
28621cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/40121
28631cb0ef41Sopenharmony_ci    description: End-of-Life.
28641cb0ef41Sopenharmony_ci  - version: v16.0.0
28651cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/37215
28661cb0ef41Sopenharmony_ci    description: Runtime deprecation.
28671cb0ef41Sopenharmony_ci  - version: v15.1.0
28681cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/35747
28691cb0ef41Sopenharmony_ci    description: Runtime deprecation for self-referencing imports.
28701cb0ef41Sopenharmony_ci  - version: v14.13.0
28711cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/34718
28721cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
28731cb0ef41Sopenharmony_ci-->
28741cb0ef41Sopenharmony_ci
28751cb0ef41Sopenharmony_ciType: Runtime
28761cb0ef41Sopenharmony_ci
28771cb0ef41Sopenharmony_ciUsing a trailing `"/"` to define subpath folder mappings in the
28781cb0ef41Sopenharmony_ci[subpath exports][] or [subpath imports][] fields is deprecated. Use
28791cb0ef41Sopenharmony_ci[subpath patterns][] instead.
28801cb0ef41Sopenharmony_ci
28811cb0ef41Sopenharmony_ci### DEP0149: `http.IncomingMessage#connection`
28821cb0ef41Sopenharmony_ci
28831cb0ef41Sopenharmony_ci<!-- YAML
28841cb0ef41Sopenharmony_cichanges:
28851cb0ef41Sopenharmony_ci  - version: v16.0.0
28861cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/33768
28871cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
28881cb0ef41Sopenharmony_ci -->
28891cb0ef41Sopenharmony_ci
28901cb0ef41Sopenharmony_ciType: Documentation-only.
28911cb0ef41Sopenharmony_ci
28921cb0ef41Sopenharmony_ciPrefer [`message.socket`][] over [`message.connection`][].
28931cb0ef41Sopenharmony_ci
28941cb0ef41Sopenharmony_ci### DEP0150: Changing the value of `process.config`
28951cb0ef41Sopenharmony_ci
28961cb0ef41Sopenharmony_ci<!-- YAML
28971cb0ef41Sopenharmony_cichanges:
28981cb0ef41Sopenharmony_ci  - version: v19.0.0
28991cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/43627
29001cb0ef41Sopenharmony_ci    description: End-of-Life.
29011cb0ef41Sopenharmony_ci  - version: v16.0.0
29021cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/36902
29031cb0ef41Sopenharmony_ci    description: Runtime deprecation.
29041cb0ef41Sopenharmony_ci-->
29051cb0ef41Sopenharmony_ci
29061cb0ef41Sopenharmony_ciType: End-of-Life
29071cb0ef41Sopenharmony_ci
29081cb0ef41Sopenharmony_ciThe `process.config` property provides access to Node.js compile-time settings.
29091cb0ef41Sopenharmony_ciHowever, the property is mutable and therefore subject to tampering. The ability
29101cb0ef41Sopenharmony_cito change the value will be removed in a future version of Node.js.
29111cb0ef41Sopenharmony_ci
29121cb0ef41Sopenharmony_ci### DEP0151: Main index lookup and extension searching
29131cb0ef41Sopenharmony_ci
29141cb0ef41Sopenharmony_ci<!-- YAML
29151cb0ef41Sopenharmony_cichanges:
29161cb0ef41Sopenharmony_ci  - version: v16.0.0
29171cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/37206
29181cb0ef41Sopenharmony_ci    description: Runtime deprecation.
29191cb0ef41Sopenharmony_ci  - version:
29201cb0ef41Sopenharmony_ci      - v15.8.0
29211cb0ef41Sopenharmony_ci      - v14.18.0
29221cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/36918
29231cb0ef41Sopenharmony_ci    description: Documentation-only deprecation
29241cb0ef41Sopenharmony_ci                 with `--pending-deprecation` support.
29251cb0ef41Sopenharmony_ci-->
29261cb0ef41Sopenharmony_ci
29271cb0ef41Sopenharmony_ciType: Runtime
29281cb0ef41Sopenharmony_ci
29291cb0ef41Sopenharmony_ciPreviously, `index.js` and extension searching lookups would apply to
29301cb0ef41Sopenharmony_ci`import 'pkg'` main entry point resolution, even when resolving ES modules.
29311cb0ef41Sopenharmony_ci
29321cb0ef41Sopenharmony_ciWith this deprecation, all ES module main entry point resolutions require
29331cb0ef41Sopenharmony_cian explicit [`"exports"` or `"main"` entry][] with the exact file extension.
29341cb0ef41Sopenharmony_ci
29351cb0ef41Sopenharmony_ci### DEP0152: Extension PerformanceEntry properties
29361cb0ef41Sopenharmony_ci
29371cb0ef41Sopenharmony_ci<!-- YAML
29381cb0ef41Sopenharmony_cichanges:
29391cb0ef41Sopenharmony_ci  - version: v16.0.0
29401cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/37136
29411cb0ef41Sopenharmony_ci    description: Runtime deprecation.
29421cb0ef41Sopenharmony_ci-->
29431cb0ef41Sopenharmony_ci
29441cb0ef41Sopenharmony_ciType: Runtime
29451cb0ef41Sopenharmony_ci
29461cb0ef41Sopenharmony_ciThe `'gc'`, `'http2'`, and `'http'` {PerformanceEntry} object types have
29471cb0ef41Sopenharmony_ciadditional properties assigned to them that provide additional information.
29481cb0ef41Sopenharmony_ciThese properties are now available within the standard `detail` property
29491cb0ef41Sopenharmony_ciof the `PerformanceEntry` object. The existing accessors have been
29501cb0ef41Sopenharmony_cideprecated and should no longer be used.
29511cb0ef41Sopenharmony_ci
29521cb0ef41Sopenharmony_ci### DEP0153: `dns.lookup` and `dnsPromises.lookup` options type coercion
29531cb0ef41Sopenharmony_ci
29541cb0ef41Sopenharmony_ci<!-- YAML
29551cb0ef41Sopenharmony_cichanges:
29561cb0ef41Sopenharmony_ci  - version: v18.0.0
29571cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/41431
29581cb0ef41Sopenharmony_ci    description: End-of-Life.
29591cb0ef41Sopenharmony_ci  - version: v17.0.0
29601cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/39793
29611cb0ef41Sopenharmony_ci    description: Runtime deprecation.
29621cb0ef41Sopenharmony_ci  - version: v16.8.0
29631cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/38906
29641cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
29651cb0ef41Sopenharmony_ci-->
29661cb0ef41Sopenharmony_ci
29671cb0ef41Sopenharmony_ciType: End-of-Life
29681cb0ef41Sopenharmony_ci
29691cb0ef41Sopenharmony_ciUsing a non-nullish non-integer value for `family` option, a non-nullish
29701cb0ef41Sopenharmony_cinon-number value for `hints` option, a non-nullish non-boolean value for `all`
29711cb0ef41Sopenharmony_cioption, or a non-nullish non-boolean value for `verbatim` option in
29721cb0ef41Sopenharmony_ci[`dns.lookup()`][] and [`dnsPromises.lookup()`][] throws an
29731cb0ef41Sopenharmony_ci`ERR_INVALID_ARG_TYPE` error.
29741cb0ef41Sopenharmony_ci
29751cb0ef41Sopenharmony_ci### DEP0154: RSA-PSS generate key pair options
29761cb0ef41Sopenharmony_ci
29771cb0ef41Sopenharmony_ci<!-- YAML
29781cb0ef41Sopenharmony_cichanges:
29791cb0ef41Sopenharmony_ci  - version: v16.10.0
29801cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/39927
29811cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
29821cb0ef41Sopenharmony_ci-->
29831cb0ef41Sopenharmony_ci
29841cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
29851cb0ef41Sopenharmony_ci
29861cb0ef41Sopenharmony_ciThe `'hash'` and `'mgf1Hash'` options are replaced with `'hashAlgorithm'`
29871cb0ef41Sopenharmony_ciand `'mgf1HashAlgorithm'`.
29881cb0ef41Sopenharmony_ci
29891cb0ef41Sopenharmony_ci### DEP0155: Trailing slashes in pattern specifier resolutions
29901cb0ef41Sopenharmony_ci
29911cb0ef41Sopenharmony_ci<!-- YAML
29921cb0ef41Sopenharmony_cichanges:
29931cb0ef41Sopenharmony_ci  - version: v17.0.0
29941cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/40117
29951cb0ef41Sopenharmony_ci    description: Runtime deprecation.
29961cb0ef41Sopenharmony_ci  - version: v16.10.0
29971cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/40039
29981cb0ef41Sopenharmony_ci    description: Documentation-only deprecation
29991cb0ef41Sopenharmony_ci                 with `--pending-deprecation` support.
30001cb0ef41Sopenharmony_ci-->
30011cb0ef41Sopenharmony_ci
30021cb0ef41Sopenharmony_ciType: Runtime
30031cb0ef41Sopenharmony_ci
30041cb0ef41Sopenharmony_ciThe remapping of specifiers ending in `"/"` like `import 'pkg/x/'` is deprecated
30051cb0ef41Sopenharmony_cifor package `"exports"` and `"imports"` pattern resolutions.
30061cb0ef41Sopenharmony_ci
30071cb0ef41Sopenharmony_ci### DEP0156: `.aborted` property and `'abort'`, `'aborted'` event in `http`
30081cb0ef41Sopenharmony_ci
30091cb0ef41Sopenharmony_ci<!-- YAML
30101cb0ef41Sopenharmony_cichanges:
30111cb0ef41Sopenharmony_ci  - version:
30121cb0ef41Sopenharmony_ci    - v17.0.0
30131cb0ef41Sopenharmony_ci    - v16.12.0
30141cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/36670
30151cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
30161cb0ef41Sopenharmony_ci-->
30171cb0ef41Sopenharmony_ci
30181cb0ef41Sopenharmony_ciType: Documentation-only
30191cb0ef41Sopenharmony_ci
30201cb0ef41Sopenharmony_ciMove to {Stream} API instead, as the [`http.ClientRequest`][],
30211cb0ef41Sopenharmony_ci[`http.ServerResponse`][], and [`http.IncomingMessage`][] are all stream-based.
30221cb0ef41Sopenharmony_ciCheck `stream.destroyed` instead of the `.aborted` property, and listen for
30231cb0ef41Sopenharmony_ci`'close'` instead of `'abort'`, `'aborted'` event.
30241cb0ef41Sopenharmony_ci
30251cb0ef41Sopenharmony_ciThe `.aborted` property and `'abort'` event are only useful for detecting
30261cb0ef41Sopenharmony_ci`.abort()` calls. For closing a request early, use the Stream
30271cb0ef41Sopenharmony_ci`.destroy([error])` then check the `.destroyed` property and `'close'` event
30281cb0ef41Sopenharmony_cishould have the same effect. The receiving end should also check the
30291cb0ef41Sopenharmony_ci[`readable.readableEnded`][] value on [`http.IncomingMessage`][] to get whether
30301cb0ef41Sopenharmony_ciit was an aborted or graceful destroy.
30311cb0ef41Sopenharmony_ci
30321cb0ef41Sopenharmony_ci### DEP0157: Thenable support in streams
30331cb0ef41Sopenharmony_ci
30341cb0ef41Sopenharmony_ci<!-- YAML
30351cb0ef41Sopenharmony_cichanges:
30361cb0ef41Sopenharmony_ci  - version: v18.0.0
30371cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/40773
30381cb0ef41Sopenharmony_ci    description: End-of-life.
30391cb0ef41Sopenharmony_ci  - version:
30401cb0ef41Sopenharmony_ci      - v17.2.0
30411cb0ef41Sopenharmony_ci      - v16.14.0
30421cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/40860
30431cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
30441cb0ef41Sopenharmony_ci-->
30451cb0ef41Sopenharmony_ci
30461cb0ef41Sopenharmony_ciType: End-of-Life
30471cb0ef41Sopenharmony_ci
30481cb0ef41Sopenharmony_ciAn undocumented feature of Node.js streams was to support thenables in
30491cb0ef41Sopenharmony_ciimplementation methods. This is now deprecated, use callbacks instead and avoid
30501cb0ef41Sopenharmony_ciuse of async function for streams implementation methods.
30511cb0ef41Sopenharmony_ci
30521cb0ef41Sopenharmony_ciThis feature caused users to encounter unexpected problems where the user
30531cb0ef41Sopenharmony_ciimplements the function in callback style but uses e.g. an async method which
30541cb0ef41Sopenharmony_ciwould cause an error since mixing promise and callback semantics is not valid.
30551cb0ef41Sopenharmony_ci
30561cb0ef41Sopenharmony_ci```js
30571cb0ef41Sopenharmony_ciconst w = new Writable({
30581cb0ef41Sopenharmony_ci  async final(callback) {
30591cb0ef41Sopenharmony_ci    await someOp();
30601cb0ef41Sopenharmony_ci    callback();
30611cb0ef41Sopenharmony_ci  },
30621cb0ef41Sopenharmony_ci});
30631cb0ef41Sopenharmony_ci```
30641cb0ef41Sopenharmony_ci
30651cb0ef41Sopenharmony_ci### DEP0158: `buffer.slice(start, end)`
30661cb0ef41Sopenharmony_ci
30671cb0ef41Sopenharmony_ci<!-- YAML
30681cb0ef41Sopenharmony_cichanges:
30691cb0ef41Sopenharmony_ci  - version:
30701cb0ef41Sopenharmony_ci    - v17.5.0
30711cb0ef41Sopenharmony_ci    - v16.15.0
30721cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/41596
30731cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
30741cb0ef41Sopenharmony_ci-->
30751cb0ef41Sopenharmony_ci
30761cb0ef41Sopenharmony_ciType: Documentation-only
30771cb0ef41Sopenharmony_ci
30781cb0ef41Sopenharmony_ciThis method was deprecated because it is not compatible with
30791cb0ef41Sopenharmony_ci`Uint8Array.prototype.slice()`, which is a superclass of `Buffer`.
30801cb0ef41Sopenharmony_ci
30811cb0ef41Sopenharmony_ciUse [`buffer.subarray`][] which does the same thing instead.
30821cb0ef41Sopenharmony_ci
30831cb0ef41Sopenharmony_ci### DEP0159: `ERR_INVALID_CALLBACK`
30841cb0ef41Sopenharmony_ci
30851cb0ef41Sopenharmony_ci<!-- YAML
30861cb0ef41Sopenharmony_cichanges:
30871cb0ef41Sopenharmony_ci  - version: v18.0.0
30881cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/41678
30891cb0ef41Sopenharmony_ci    description: End-of-Life.
30901cb0ef41Sopenharmony_ci-->
30911cb0ef41Sopenharmony_ci
30921cb0ef41Sopenharmony_ciType: End-of-Life
30931cb0ef41Sopenharmony_ci
30941cb0ef41Sopenharmony_ciThis error code was removed due to adding more confusion to
30951cb0ef41Sopenharmony_cithe errors used for value type validation.
30961cb0ef41Sopenharmony_ci
30971cb0ef41Sopenharmony_ci### DEP0160: `process.on('multipleResolves', handler)`
30981cb0ef41Sopenharmony_ci
30991cb0ef41Sopenharmony_ci<!-- YAML
31001cb0ef41Sopenharmony_cichanges:
31011cb0ef41Sopenharmony_ci  - version: v18.0.0
31021cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/41896
31031cb0ef41Sopenharmony_ci    description: Runtime deprecation.
31041cb0ef41Sopenharmony_ci  - version:
31051cb0ef41Sopenharmony_ci    - v17.6.0
31061cb0ef41Sopenharmony_ci    - v16.15.0
31071cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/41872
31081cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
31091cb0ef41Sopenharmony_ci-->
31101cb0ef41Sopenharmony_ci
31111cb0ef41Sopenharmony_ciType: Runtime.
31121cb0ef41Sopenharmony_ci
31131cb0ef41Sopenharmony_ciThis event was deprecated because it did not work with V8 promise combinators
31141cb0ef41Sopenharmony_ciwhich diminished its usefulness.
31151cb0ef41Sopenharmony_ci
31161cb0ef41Sopenharmony_ci### DEP0161: `process._getActiveRequests()` and `process._getActiveHandles()`
31171cb0ef41Sopenharmony_ci
31181cb0ef41Sopenharmony_ci<!-- YAML
31191cb0ef41Sopenharmony_cichanges:
31201cb0ef41Sopenharmony_ci  - version:
31211cb0ef41Sopenharmony_ci    - v17.6.0
31221cb0ef41Sopenharmony_ci    - v16.15.0
31231cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/41587
31241cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
31251cb0ef41Sopenharmony_ci-->
31261cb0ef41Sopenharmony_ci
31271cb0ef41Sopenharmony_ciType: Documentation-only
31281cb0ef41Sopenharmony_ci
31291cb0ef41Sopenharmony_ciThe `process._getActiveHandles()` and `process._getActiveRequests()`
31301cb0ef41Sopenharmony_cifunctions are not intended for public use and can be removed in future
31311cb0ef41Sopenharmony_cireleases.
31321cb0ef41Sopenharmony_ci
31331cb0ef41Sopenharmony_ciUse [`process.getActiveResourcesInfo()`][] to get a list of types of active
31341cb0ef41Sopenharmony_ciresources and not the actual references.
31351cb0ef41Sopenharmony_ci
31361cb0ef41Sopenharmony_ci### DEP0162: `fs.write()`, `fs.writeFileSync()` coercion to string
31371cb0ef41Sopenharmony_ci
31381cb0ef41Sopenharmony_ci<!-- YAML
31391cb0ef41Sopenharmony_cichanges:
31401cb0ef41Sopenharmony_ci  - version: v19.0.0
31411cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/42796
31421cb0ef41Sopenharmony_ci    description: End-of-Life.
31431cb0ef41Sopenharmony_ci  - version: v18.0.0
31441cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/42607
31451cb0ef41Sopenharmony_ci    description: Runtime deprecation.
31461cb0ef41Sopenharmony_ci  - version:
31471cb0ef41Sopenharmony_ci    - v17.8.0
31481cb0ef41Sopenharmony_ci    - v16.15.0
31491cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/42149
31501cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
31511cb0ef41Sopenharmony_ci-->
31521cb0ef41Sopenharmony_ci
31531cb0ef41Sopenharmony_ciType: End-of-Life
31541cb0ef41Sopenharmony_ci
31551cb0ef41Sopenharmony_ciImplicit coercion of objects with own `toString` property, passed as second
31561cb0ef41Sopenharmony_ciparameter in [`fs.write()`][], [`fs.writeFile()`][], [`fs.appendFile()`][],
31571cb0ef41Sopenharmony_ci[`fs.writeFileSync()`][], and [`fs.appendFileSync()`][] is deprecated.
31581cb0ef41Sopenharmony_ciConvert them to primitive strings.
31591cb0ef41Sopenharmony_ci
31601cb0ef41Sopenharmony_ci### DEP0163: `channel.subscribe(onMessage)`, `channel.unsubscribe(onMessage)`
31611cb0ef41Sopenharmony_ci
31621cb0ef41Sopenharmony_ci<!-- YAML
31631cb0ef41Sopenharmony_cichanges:
31641cb0ef41Sopenharmony_ci  - version:
31651cb0ef41Sopenharmony_ci    - v18.7.0
31661cb0ef41Sopenharmony_ci    - v16.17.0
31671cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/42714
31681cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
31691cb0ef41Sopenharmony_ci-->
31701cb0ef41Sopenharmony_ci
31711cb0ef41Sopenharmony_ciType: Documentation-only
31721cb0ef41Sopenharmony_ci
31731cb0ef41Sopenharmony_ciThese methods were deprecated because they can be used in a way which does not
31741cb0ef41Sopenharmony_cihold the channel reference alive long enough to receive the events.
31751cb0ef41Sopenharmony_ci
31761cb0ef41Sopenharmony_ciUse [`diagnostics_channel.subscribe(name, onMessage)`][] or
31771cb0ef41Sopenharmony_ci[`diagnostics_channel.unsubscribe(name, onMessage)`][] which does the same
31781cb0ef41Sopenharmony_cithing instead.
31791cb0ef41Sopenharmony_ci
31801cb0ef41Sopenharmony_ci### DEP0164: `process.exit(code)`, `process.exitCode` coercion to integer
31811cb0ef41Sopenharmony_ci
31821cb0ef41Sopenharmony_ci<!-- YAML
31831cb0ef41Sopenharmony_cichanges:
31841cb0ef41Sopenharmony_ci  - version: v18.10.0
31851cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/44714
31861cb0ef41Sopenharmony_ci    description: Documentation-only deprecation of `process.exitCode` integer
31871cb0ef41Sopenharmony_ci                 coercion.
31881cb0ef41Sopenharmony_ci  - version:
31891cb0ef41Sopenharmony_ci    - v18.7.0
31901cb0ef41Sopenharmony_ci    - v16.17.0
31911cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/43738
31921cb0ef41Sopenharmony_ci    description: Documentation-only deprecation of `process.exit(code)` integer
31931cb0ef41Sopenharmony_ci                 coercion.
31941cb0ef41Sopenharmony_ci-->
31951cb0ef41Sopenharmony_ci
31961cb0ef41Sopenharmony_ciType: Documentation-only
31971cb0ef41Sopenharmony_ci
31981cb0ef41Sopenharmony_ciValues other than `undefined`, `null`, integer numbers, and integer strings
31991cb0ef41Sopenharmony_ci(e.g., `'1'`) are deprecated as value for the `code` parameter in
32001cb0ef41Sopenharmony_ci[`process.exit()`][] and as value to assign to [`process.exitCode`][].
32011cb0ef41Sopenharmony_ci
32021cb0ef41Sopenharmony_ci### DEP0165: `--trace-atomics-wait`
32031cb0ef41Sopenharmony_ci
32041cb0ef41Sopenharmony_ci<!-- YAML
32051cb0ef41Sopenharmony_cichanges:
32061cb0ef41Sopenharmony_ci  - version: v18.8.0
32071cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/44093
32081cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
32091cb0ef41Sopenharmony_ci-->
32101cb0ef41Sopenharmony_ci
32111cb0ef41Sopenharmony_ciType: Documentation-only
32121cb0ef41Sopenharmony_ci
32131cb0ef41Sopenharmony_ciThe [`--trace-atomics-wait`][] flag is deprecated.
32141cb0ef41Sopenharmony_ci
32151cb0ef41Sopenharmony_ci### DEP0166: Double slashes in imports and exports targets
32161cb0ef41Sopenharmony_ci
32171cb0ef41Sopenharmony_ci<!-- YAML
32181cb0ef41Sopenharmony_cichanges:
32191cb0ef41Sopenharmony_ci  - version: v19.0.0
32201cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/44495
32211cb0ef41Sopenharmony_ci    description: Runtime deprecation.
32221cb0ef41Sopenharmony_ci  - version: v18.10.0
32231cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/44477
32241cb0ef41Sopenharmony_ci    description: Documentation-only deprecation
32251cb0ef41Sopenharmony_ci                 with `--pending-deprecation` support.
32261cb0ef41Sopenharmony_ci-->
32271cb0ef41Sopenharmony_ci
32281cb0ef41Sopenharmony_ciType: Runtime
32291cb0ef41Sopenharmony_ci
32301cb0ef41Sopenharmony_ciPackage imports and exports targets mapping into paths including a double slash
32311cb0ef41Sopenharmony_ci(of _"/"_ or _"\\"_) are deprecated and will fail with a resolution validation
32321cb0ef41Sopenharmony_cierror in a future release. This same deprecation also applies to pattern matches
32331cb0ef41Sopenharmony_cistarting or ending in a slash.
32341cb0ef41Sopenharmony_ci
32351cb0ef41Sopenharmony_ci### DEP0167: Weak `DiffieHellmanGroup` instances (`modp1`, `modp2`, `modp5`)
32361cb0ef41Sopenharmony_ci
32371cb0ef41Sopenharmony_ci<!-- YAML
32381cb0ef41Sopenharmony_cichanges:
32391cb0ef41Sopenharmony_ci  - version: v18.10.0
32401cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/44588
32411cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
32421cb0ef41Sopenharmony_ci-->
32431cb0ef41Sopenharmony_ci
32441cb0ef41Sopenharmony_ciType: Documentation-only
32451cb0ef41Sopenharmony_ci
32461cb0ef41Sopenharmony_ciThe well-known MODP groups `modp1`, `modp2`, and `modp5` are deprecated because
32471cb0ef41Sopenharmony_cithey are not secure against practical attacks. See [RFC 8247 Section 2.4][] for
32481cb0ef41Sopenharmony_cidetails.
32491cb0ef41Sopenharmony_ci
32501cb0ef41Sopenharmony_ciThese groups might be removed in future versions of Node.js. Applications that
32511cb0ef41Sopenharmony_cirely on these groups should evaluate using stronger MODP groups instead.
32521cb0ef41Sopenharmony_ci
32531cb0ef41Sopenharmony_ci### DEP0168: Unhandled exception in Node-API callbacks
32541cb0ef41Sopenharmony_ci
32551cb0ef41Sopenharmony_ci<!-- YAML
32561cb0ef41Sopenharmony_cichanges:
32571cb0ef41Sopenharmony_ci  - version:
32581cb0ef41Sopenharmony_ci    - v18.3.0
32591cb0ef41Sopenharmony_ci    - v16.17.0
32601cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/36510
32611cb0ef41Sopenharmony_ci    description: Runtime deprecation.
32621cb0ef41Sopenharmony_ci-->
32631cb0ef41Sopenharmony_ci
32641cb0ef41Sopenharmony_ciType: Runtime
32651cb0ef41Sopenharmony_ci
32661cb0ef41Sopenharmony_ciThe implicit suppression of uncaught exceptions in Node-API callbacks is now
32671cb0ef41Sopenharmony_cideprecated.
32681cb0ef41Sopenharmony_ci
32691cb0ef41Sopenharmony_ciSet the flag [`--force-node-api-uncaught-exceptions-policy`][] to force Node.js
32701cb0ef41Sopenharmony_cito emit an [`'uncaughtException'`][] event if the exception is not handled in
32711cb0ef41Sopenharmony_ciNode-API callbacks.
32721cb0ef41Sopenharmony_ci
32731cb0ef41Sopenharmony_ci### DEP0169: Insecure url.parse()
32741cb0ef41Sopenharmony_ci
32751cb0ef41Sopenharmony_ci<!-- YAML
32761cb0ef41Sopenharmony_cichanges:
32771cb0ef41Sopenharmony_ci  - version: v18.17.0
32781cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/47203
32791cb0ef41Sopenharmony_ci    description: Added support for `--pending-deprecation`.
32801cb0ef41Sopenharmony_ci  - version:
32811cb0ef41Sopenharmony_ci      - v18.13.0
32821cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/44919
32831cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
32841cb0ef41Sopenharmony_ci-->
32851cb0ef41Sopenharmony_ci
32861cb0ef41Sopenharmony_ciType: Documentation-only (supports [`--pending-deprecation`][])
32871cb0ef41Sopenharmony_ci
32881cb0ef41Sopenharmony_ci[`url.parse()`][] behavior is not standardized and prone to errors that
32891cb0ef41Sopenharmony_cihave security implications. Use the [WHATWG URL API][] instead. CVEs are not
32901cb0ef41Sopenharmony_ciissued for `url.parse()` vulnerabilities.
32911cb0ef41Sopenharmony_ci
32921cb0ef41Sopenharmony_ci### DEP0170: Invalid port when using `url.parse()`
32931cb0ef41Sopenharmony_ci
32941cb0ef41Sopenharmony_ci<!-- YAML
32951cb0ef41Sopenharmony_cichanges:
32961cb0ef41Sopenharmony_ci  - version:
32971cb0ef41Sopenharmony_ci    - v18.13.0
32981cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/45576
32991cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
33001cb0ef41Sopenharmony_ci-->
33011cb0ef41Sopenharmony_ci
33021cb0ef41Sopenharmony_ciType: Documentation-only
33031cb0ef41Sopenharmony_ci
33041cb0ef41Sopenharmony_ci[`url.parse()`][] accepts URLs with ports that are not numbers. This behavior
33051cb0ef41Sopenharmony_cimight result in host name spoofing with unexpected input. These URLs will throw
33061cb0ef41Sopenharmony_cian error in future versions of Node.js, as the [WHATWG URL API][] does already.
33071cb0ef41Sopenharmony_ci
33081cb0ef41Sopenharmony_ci### DEP0171: Setters for `http.IncomingMessage` headers and trailers
33091cb0ef41Sopenharmony_ci
33101cb0ef41Sopenharmony_ci<!-- YAML
33111cb0ef41Sopenharmony_cichanges:
33121cb0ef41Sopenharmony_ci  - version:
33131cb0ef41Sopenharmony_ci      - v18.13.0
33141cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/45697
33151cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
33161cb0ef41Sopenharmony_ci-->
33171cb0ef41Sopenharmony_ci
33181cb0ef41Sopenharmony_ciType: Documentation-only
33191cb0ef41Sopenharmony_ci
33201cb0ef41Sopenharmony_ciIn a future version of Node.js, [`message.headers`][],
33211cb0ef41Sopenharmony_ci[`message.headersDistinct`][], [`message.trailers`][], and
33221cb0ef41Sopenharmony_ci[`message.trailersDistinct`][] will be read-only.
33231cb0ef41Sopenharmony_ci
33241cb0ef41Sopenharmony_ci<!-- md-lint skip-deprecation DEP0172 -->
33251cb0ef41Sopenharmony_ci
33261cb0ef41Sopenharmony_ci<!-- md-lint skip-deprecation DEP0173 -->
33271cb0ef41Sopenharmony_ci
33281cb0ef41Sopenharmony_ci<!-- md-lint skip-deprecation DEP0174 -->
33291cb0ef41Sopenharmony_ci
33301cb0ef41Sopenharmony_ci<!-- md-lint skip-deprecation DEP0175 -->
33311cb0ef41Sopenharmony_ci
33321cb0ef41Sopenharmony_ci<!-- md-lint skip-deprecation DEP0176 -->
33331cb0ef41Sopenharmony_ci
33341cb0ef41Sopenharmony_ci<!-- md-lint skip-deprecation DEP0177 -->
33351cb0ef41Sopenharmony_ci
33361cb0ef41Sopenharmony_ci### DEP0178: `dirent.path`
33371cb0ef41Sopenharmony_ci
33381cb0ef41Sopenharmony_ci<!-- YAML
33391cb0ef41Sopenharmony_cichanges:
33401cb0ef41Sopenharmony_ci  - version: v18.20.0
33411cb0ef41Sopenharmony_ci    pr-url: https://github.com/nodejs/node/pull/51020
33421cb0ef41Sopenharmony_ci    description: Documentation-only deprecation.
33431cb0ef41Sopenharmony_ci-->
33441cb0ef41Sopenharmony_ci
33451cb0ef41Sopenharmony_ciType: Documentation-only
33461cb0ef41Sopenharmony_ci
33471cb0ef41Sopenharmony_ciThe [`dirent.path`][] is deprecated due to its lack of consistency across
33481cb0ef41Sopenharmony_cirelease lines. Please use [`dirent.parentPath`][] instead.
33491cb0ef41Sopenharmony_ci
33501cb0ef41Sopenharmony_ci[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
33511cb0ef41Sopenharmony_ci[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
33521cb0ef41Sopenharmony_ci[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
33531cb0ef41Sopenharmony_ci[WHATWG URL API]: url.md#the-whatwg-url-api
33541cb0ef41Sopenharmony_ci[`"exports"` or `"main"` entry]: packages.md#main-entry-point-export
33551cb0ef41Sopenharmony_ci[`'uncaughtException'`]: process.md#event-uncaughtexception
33561cb0ef41Sopenharmony_ci[`--force-node-api-uncaught-exceptions-policy`]: cli.md#--force-node-api-uncaught-exceptions-policy
33571cb0ef41Sopenharmony_ci[`--pending-deprecation`]: cli.md#--pending-deprecation
33581cb0ef41Sopenharmony_ci[`--throw-deprecation`]: cli.md#--throw-deprecation
33591cb0ef41Sopenharmony_ci[`--trace-atomics-wait`]: cli.md#--trace-atomics-wait
33601cb0ef41Sopenharmony_ci[`--unhandled-rejections`]: cli.md#--unhandled-rejectionsmode
33611cb0ef41Sopenharmony_ci[`Buffer.allocUnsafeSlow(size)`]: buffer.md#static-method-bufferallocunsafeslowsize
33621cb0ef41Sopenharmony_ci[`Buffer.from(array)`]: buffer.md#static-method-bufferfromarray
33631cb0ef41Sopenharmony_ci[`Buffer.from(buffer)`]: buffer.md#static-method-bufferfrombuffer
33641cb0ef41Sopenharmony_ci[`Buffer.isBuffer()`]: buffer.md#static-method-bufferisbufferobj
33651cb0ef41Sopenharmony_ci[`Cipher`]: crypto.md#class-cipher
33661cb0ef41Sopenharmony_ci[`Decipher`]: crypto.md#class-decipher
33671cb0ef41Sopenharmony_ci[`REPLServer.clearBufferedCommand()`]: repl.md#replserverclearbufferedcommand
33681cb0ef41Sopenharmony_ci[`ReadStream.open()`]: fs.md#class-fsreadstream
33691cb0ef41Sopenharmony_ci[`Server.getConnections()`]: net.md#servergetconnectionscallback
33701cb0ef41Sopenharmony_ci[`Server.listen({fd: <number>})`]: net.md#serverlistenhandle-backlog-callback
33711cb0ef41Sopenharmony_ci[`SlowBuffer`]: buffer.md#class-slowbuffer
33721cb0ef41Sopenharmony_ci[`WriteStream.open()`]: fs.md#class-fswritestream
33731cb0ef41Sopenharmony_ci[`assert`]: assert.md
33741cb0ef41Sopenharmony_ci[`asyncResource.runInAsyncScope()`]: async_context.md#asyncresourceruninasyncscopefn-thisarg-args
33751cb0ef41Sopenharmony_ci[`buffer.subarray`]: buffer.md#bufsubarraystart-end
33761cb0ef41Sopenharmony_ci[`child_process`]: child_process.md
33771cb0ef41Sopenharmony_ci[`clearInterval()`]: timers.md#clearintervaltimeout
33781cb0ef41Sopenharmony_ci[`clearTimeout()`]: timers.md#cleartimeouttimeout
33791cb0ef41Sopenharmony_ci[`console.error()`]: console.md#consoleerrordata-args
33801cb0ef41Sopenharmony_ci[`console.log()`]: console.md#consolelogdata-args
33811cb0ef41Sopenharmony_ci[`crypto.Certificate()` constructor]: crypto.md#legacy-api
33821cb0ef41Sopenharmony_ci[`crypto.DEFAULT_ENCODING`]: crypto.md#cryptodefault_encoding
33831cb0ef41Sopenharmony_ci[`crypto.createCipher()`]: crypto.md#cryptocreatecipheralgorithm-password-options
33841cb0ef41Sopenharmony_ci[`crypto.createCipheriv()`]: crypto.md#cryptocreatecipherivalgorithm-key-iv-options
33851cb0ef41Sopenharmony_ci[`crypto.createDecipher()`]: crypto.md#cryptocreatedecipheralgorithm-password-options
33861cb0ef41Sopenharmony_ci[`crypto.createDecipheriv()`]: crypto.md#cryptocreatedecipherivalgorithm-key-iv-options
33871cb0ef41Sopenharmony_ci[`crypto.fips`]: crypto.md#cryptofips
33881cb0ef41Sopenharmony_ci[`crypto.pbkdf2()`]: crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback
33891cb0ef41Sopenharmony_ci[`crypto.randomBytes()`]: crypto.md#cryptorandombytessize-callback
33901cb0ef41Sopenharmony_ci[`crypto.scrypt()`]: crypto.md#cryptoscryptpassword-salt-keylen-options-callback
33911cb0ef41Sopenharmony_ci[`decipher.final()`]: crypto.md#decipherfinaloutputencoding
33921cb0ef41Sopenharmony_ci[`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding
33931cb0ef41Sopenharmony_ci[`diagnostics_channel.subscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelsubscribename-onmessage
33941cb0ef41Sopenharmony_ci[`diagnostics_channel.unsubscribe(name, onMessage)`]: diagnostics_channel.md#diagnostics_channelunsubscribename-onmessage
33951cb0ef41Sopenharmony_ci[`dirent.parentPath`]: fs.md#direntparentpath
33961cb0ef41Sopenharmony_ci[`dirent.path`]: fs.md#direntpath
33971cb0ef41Sopenharmony_ci[`dns.lookup()`]: dns.md#dnslookuphostname-options-callback
33981cb0ef41Sopenharmony_ci[`dnsPromises.lookup()`]: dns.md#dnspromiseslookuphostname-options
33991cb0ef41Sopenharmony_ci[`domain`]: domain.md
34001cb0ef41Sopenharmony_ci[`ecdh.setPublicKey()`]: crypto.md#ecdhsetpublickeypublickey-encoding
34011cb0ef41Sopenharmony_ci[`emitter.listenerCount(eventName)`]: events.md#emitterlistenercounteventname-listener
34021cb0ef41Sopenharmony_ci[`events.listenerCount(emitter, eventName)`]: events.md#eventslistenercountemitter-eventname
34031cb0ef41Sopenharmony_ci[`fs.FileHandle`]: fs.md#class-filehandle
34041cb0ef41Sopenharmony_ci[`fs.access()`]: fs.md#fsaccesspath-mode-callback
34051cb0ef41Sopenharmony_ci[`fs.appendFile()`]: fs.md#fsappendfilepath-data-options-callback
34061cb0ef41Sopenharmony_ci[`fs.appendFileSync()`]: fs.md#fsappendfilesyncpath-data-options
34071cb0ef41Sopenharmony_ci[`fs.createReadStream()`]: fs.md#fscreatereadstreampath-options
34081cb0ef41Sopenharmony_ci[`fs.createWriteStream()`]: fs.md#fscreatewritestreampath-options
34091cb0ef41Sopenharmony_ci[`fs.exists(path, callback)`]: fs.md#fsexistspath-callback
34101cb0ef41Sopenharmony_ci[`fs.lchmod(path, mode, callback)`]: fs.md#fslchmodpath-mode-callback
34111cb0ef41Sopenharmony_ci[`fs.lchmodSync(path, mode)`]: fs.md#fslchmodsyncpath-mode
34121cb0ef41Sopenharmony_ci[`fs.lchown(path, uid, gid, callback)`]: fs.md#fslchownpath-uid-gid-callback
34131cb0ef41Sopenharmony_ci[`fs.lchownSync(path, uid, gid)`]: fs.md#fslchownsyncpath-uid-gid
34141cb0ef41Sopenharmony_ci[`fs.read()`]: fs.md#fsreadfd-buffer-offset-length-position-callback
34151cb0ef41Sopenharmony_ci[`fs.readSync()`]: fs.md#fsreadsyncfd-buffer-offset-length-position
34161cb0ef41Sopenharmony_ci[`fs.stat()`]: fs.md#fsstatpath-options-callback
34171cb0ef41Sopenharmony_ci[`fs.write()`]: fs.md#fswritefd-buffer-offset-length-position-callback
34181cb0ef41Sopenharmony_ci[`fs.writeFile()`]: fs.md#fswritefilefile-data-options-callback
34191cb0ef41Sopenharmony_ci[`fs.writeFileSync()`]: fs.md#fswritefilesyncfile-data-options
34201cb0ef41Sopenharmony_ci[`http.ClientRequest`]: http.md#class-httpclientrequest
34211cb0ef41Sopenharmony_ci[`http.IncomingMessage`]: http.md#class-httpincomingmessage
34221cb0ef41Sopenharmony_ci[`http.ServerResponse`]: http.md#class-httpserverresponse
34231cb0ef41Sopenharmony_ci[`http.get()`]: http.md#httpgetoptions-callback
34241cb0ef41Sopenharmony_ci[`http.request()`]: http.md#httprequestoptions-callback
34251cb0ef41Sopenharmony_ci[`https.get()`]: https.md#httpsgetoptions-callback
34261cb0ef41Sopenharmony_ci[`https.request()`]: https.md#httpsrequestoptions-callback
34271cb0ef41Sopenharmony_ci[`message.connection`]: http.md#messageconnection
34281cb0ef41Sopenharmony_ci[`message.headersDistinct`]: http.md#messageheadersdistinct
34291cb0ef41Sopenharmony_ci[`message.headers`]: http.md#messageheaders
34301cb0ef41Sopenharmony_ci[`message.socket`]: http.md#messagesocket
34311cb0ef41Sopenharmony_ci[`message.trailersDistinct`]: http.md#messagetrailersdistinct
34321cb0ef41Sopenharmony_ci[`message.trailers`]: http.md#messagetrailers
34331cb0ef41Sopenharmony_ci[`module.createRequire()`]: module.md#modulecreaterequirefilename
34341cb0ef41Sopenharmony_ci[`os.networkInterfaces()`]: os.md#osnetworkinterfaces
34351cb0ef41Sopenharmony_ci[`os.tmpdir()`]: os.md#ostmpdir
34361cb0ef41Sopenharmony_ci[`process.env`]: process.md#processenv
34371cb0ef41Sopenharmony_ci[`process.exit()`]: process.md#processexitcode
34381cb0ef41Sopenharmony_ci[`process.exitCode`]: process.md#processexitcode_1
34391cb0ef41Sopenharmony_ci[`process.getActiveResourcesInfo()`]: process.md#processgetactiveresourcesinfo
34401cb0ef41Sopenharmony_ci[`process.mainModule`]: process.md#processmainmodule
34411cb0ef41Sopenharmony_ci[`punycode`]: punycode.md
34421cb0ef41Sopenharmony_ci[`readable.readableEnded`]: stream.md#readablereadableended
34431cb0ef41Sopenharmony_ci[`request.abort()`]: http.md#requestabort
34441cb0ef41Sopenharmony_ci[`request.connection`]: http.md#requestconnection
34451cb0ef41Sopenharmony_ci[`request.destroy()`]: http.md#requestdestroyerror
34461cb0ef41Sopenharmony_ci[`request.socket`]: http.md#requestsocket
34471cb0ef41Sopenharmony_ci[`require.extensions`]: modules.md#requireextensions
34481cb0ef41Sopenharmony_ci[`require.main`]: modules.md#accessing-the-main-module
34491cb0ef41Sopenharmony_ci[`response.connection`]: http.md#responseconnection
34501cb0ef41Sopenharmony_ci[`response.end()`]: http.md#responseenddata-encoding-callback
34511cb0ef41Sopenharmony_ci[`response.finished`]: http.md#responsefinished
34521cb0ef41Sopenharmony_ci[`response.socket`]: http.md#responsesocket
34531cb0ef41Sopenharmony_ci[`response.writableEnded`]: http.md#responsewritableended
34541cb0ef41Sopenharmony_ci[`response.writableFinished`]: http.md#responsewritablefinished
34551cb0ef41Sopenharmony_ci[`script.createCachedData()`]: vm.md#scriptcreatecacheddata
34561cb0ef41Sopenharmony_ci[`setInterval()`]: timers.md#setintervalcallback-delay-args
34571cb0ef41Sopenharmony_ci[`setTimeout()`]: timers.md#settimeoutcallback-delay-args
34581cb0ef41Sopenharmony_ci[`socket.bufferSize`]: net.md#socketbuffersize
34591cb0ef41Sopenharmony_ci[`timeout.ref()`]: timers.md#timeoutref
34601cb0ef41Sopenharmony_ci[`timeout.refresh()`]: timers.md#timeoutrefresh
34611cb0ef41Sopenharmony_ci[`timeout.unref()`]: timers.md#timeoutunref
34621cb0ef41Sopenharmony_ci[`tls.CryptoStream`]: tls.md#class-tlscryptostream
34631cb0ef41Sopenharmony_ci[`tls.SecureContext`]: tls.md#tlscreatesecurecontextoptions
34641cb0ef41Sopenharmony_ci[`tls.SecurePair`]: tls.md#class-tlssecurepair
34651cb0ef41Sopenharmony_ci[`tls.TLSSocket`]: tls.md#class-tlstlssocket
34661cb0ef41Sopenharmony_ci[`tls.checkServerIdentity()`]: tls.md#tlscheckserveridentityhostname-cert
34671cb0ef41Sopenharmony_ci[`tls.createSecureContext()`]: tls.md#tlscreatesecurecontextoptions
34681cb0ef41Sopenharmony_ci[`url.format()`]: url.md#urlformaturlobject
34691cb0ef41Sopenharmony_ci[`url.parse()`]: url.md#urlparseurlstring-parsequerystring-slashesdenotehost
34701cb0ef41Sopenharmony_ci[`url.resolve()`]: url.md#urlresolvefrom-to
34711cb0ef41Sopenharmony_ci[`util._extend()`]: util.md#util_extendtarget-source
34721cb0ef41Sopenharmony_ci[`util.getSystemErrorName()`]: util.md#utilgetsystemerrornameerr
34731cb0ef41Sopenharmony_ci[`util.inspect()`]: util.md#utilinspectobject-options
34741cb0ef41Sopenharmony_ci[`util.inspect.custom`]: util.md#utilinspectcustom
34751cb0ef41Sopenharmony_ci[`util.isArray()`]: util.md#utilisarrayobject
34761cb0ef41Sopenharmony_ci[`util.isBoolean()`]: util.md#utilisbooleanobject
34771cb0ef41Sopenharmony_ci[`util.isBuffer()`]: util.md#utilisbufferobject
34781cb0ef41Sopenharmony_ci[`util.isDate()`]: util.md#utilisdateobject
34791cb0ef41Sopenharmony_ci[`util.isError()`]: util.md#utiliserrorobject
34801cb0ef41Sopenharmony_ci[`util.isFunction()`]: util.md#utilisfunctionobject
34811cb0ef41Sopenharmony_ci[`util.isNull()`]: util.md#utilisnullobject
34821cb0ef41Sopenharmony_ci[`util.isNullOrUndefined()`]: util.md#utilisnullorundefinedobject
34831cb0ef41Sopenharmony_ci[`util.isNumber()`]: util.md#utilisnumberobject
34841cb0ef41Sopenharmony_ci[`util.isObject()`]: util.md#utilisobjectobject
34851cb0ef41Sopenharmony_ci[`util.isPrimitive()`]: util.md#utilisprimitiveobject
34861cb0ef41Sopenharmony_ci[`util.isRegExp()`]: util.md#utilisregexpobject
34871cb0ef41Sopenharmony_ci[`util.isString()`]: util.md#utilisstringobject
34881cb0ef41Sopenharmony_ci[`util.isSymbol()`]: util.md#utilissymbolobject
34891cb0ef41Sopenharmony_ci[`util.isUndefined()`]: util.md#utilisundefinedobject
34901cb0ef41Sopenharmony_ci[`util.log()`]: util.md#utillogstring
34911cb0ef41Sopenharmony_ci[`util.types`]: util.md#utiltypes
34921cb0ef41Sopenharmony_ci[`util`]: util.md
34931cb0ef41Sopenharmony_ci[`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect
34941cb0ef41Sopenharmony_ci[`worker.terminate()`]: worker_threads.md#workerterminate
34951cb0ef41Sopenharmony_ci[`writable.writableLength`]: stream.md#writablewritablelength
34961cb0ef41Sopenharmony_ci[`zlib.bytesWritten`]: zlib.md#zlibbyteswritten
34971cb0ef41Sopenharmony_ci[alloc]: buffer.md#static-method-bufferallocsize-fill-encoding
34981cb0ef41Sopenharmony_ci[alloc_unsafe_size]: buffer.md#static-method-bufferallocunsafesize
34991cb0ef41Sopenharmony_ci[from_arraybuffer]: buffer.md#static-method-bufferfromarraybuffer-byteoffset-length
35001cb0ef41Sopenharmony_ci[from_string_encoding]: buffer.md#static-method-bufferfromstring-encoding
35011cb0ef41Sopenharmony_ci[legacy URL API]: url.md#legacy-url-api
35021cb0ef41Sopenharmony_ci[legacy `urlObject`]: url.md#legacy-urlobject
35031cb0ef41Sopenharmony_ci[policies]: permissions.md#policies
35041cb0ef41Sopenharmony_ci[static methods of `crypto.Certificate()`]: crypto.md#class-certificate
35051cb0ef41Sopenharmony_ci[subpath exports]: packages.md#subpath-exports
35061cb0ef41Sopenharmony_ci[subpath imports]: packages.md#subpath-imports
35071cb0ef41Sopenharmony_ci[subpath patterns]: packages.md#subpath-patterns
3508