diff options
author | Rich Trott <rtrott@gmail.com> | 2019-12-24 04:21:47 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2020-01-03 18:21:50 +0300 |
commit | 7afe69cee01d3009e3d699eb02c198e1729de581 (patch) | |
tree | 8ee4bd19098d0f92579da39d5f6c0f39d13de5c2 /doc/api | |
parent | df5ec4e7b13a47f5a39899f8b2df409a4478bef7 (diff) |
doc: use code markup/markdown in headers in deprecations documentation
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/deprecations.md | 242 |
1 files changed, 121 insertions, 121 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index a73d1849936..d246eaabb61 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -41,7 +41,7 @@ However, the deprecation identifier will not be modified. ## List of Deprecated APIs <a id="DEP0001"></a> -### DEP0001: http.OutgoingMessage.prototype.flush +### DEP0001: `http.OutgoingMessage.prototype.flush` <!-- YAML changes: - version: @@ -60,7 +60,7 @@ The `OutgoingMessage.prototype.flush()` method is deprecated. Use `OutgoingMessage.prototype.flushHeaders()` instead. <a id="DEP0002"></a> -### DEP0002: require('\_linklist') +### DEP0002: `require('_linklist')` <!-- YAML changes: - version: v8.0.0 @@ -79,7 +79,7 @@ Type: End-of-Life The `_linklist` module is deprecated. Please use a userland alternative. <a id="DEP0003"></a> -### DEP0003: \_writableState.buffer +### DEP0003: `_writableState.buffer` <!-- YAML changes: - version: @@ -98,7 +98,7 @@ The `_writableState.buffer` property is deprecated. Use the `_writableState.getBuffer()` method instead. <a id="DEP0004"></a> -### DEP0004: CryptoStream.prototype.readyState +### DEP0004: `CryptoStream.prototype.readyState` <!-- YAML changes: - version: v10.0.0 @@ -119,7 +119,7 @@ Type: End-of-Life The `CryptoStream.prototype.readyState` property was removed. <a id="DEP0005"></a> -### DEP0005: Buffer() constructor +### DEP0005: `Buffer()` constructor <!-- YAML changes: - version: v10.0.0 @@ -160,7 +160,7 @@ Without `--pending-deprecation`, runtime warnings occur only for code not in warning results no matter where the `Buffer()` usage occurs. <a id="DEP0006"></a> -### DEP0006: child\_process options.customFds +### DEP0006: `child_process` `options.customFds` <!-- YAML changes: - version: v12.0.0 @@ -184,7 +184,7 @@ methods, the `options.customFds` option is deprecated. The `options.stdio` option should be used instead. <a id="DEP0007"></a> -### DEP0007: Replace cluster worker.suicide with worker.exitedAfterDisconnect +### DEP0007: Replace `cluster` `worker.suicide` with `worker.exitedAfterDisconnect` <!-- YAML changes: - version: v9.0.0 @@ -211,7 +211,7 @@ provide an indication of how and why the `Worker` instance exited. In Node.js precisely describe the actual semantics and was unnecessarily emotion-laden. <a id="DEP0008"></a> -### DEP0008: require('constants') +### DEP0008: `require('constants')` <!-- YAML changes: - version: v6.12.0 @@ -230,7 +230,7 @@ to the `constants` property exposed by the relevant module. For instance, `require('fs').constants` and `require('os').constants`. <a id="DEP0009"></a> -### DEP0009: crypto.pbkdf2 without digest +### DEP0009: `crypto.pbkdf2` without digest <!-- YAML changes: - version: v11.0.0 @@ -260,7 +260,7 @@ Beginning in Node.js v11.0.0, calling these functions with `digest` set to is `undefined`. <a id="DEP0010"></a> -### DEP0010: crypto.createCredentials +### DEP0010: `crypto.createCredentials` <!-- YAML changes: - version: v11.0.0 @@ -282,7 +282,7 @@ The `crypto.createCredentials()` API was removed. Please use [`tls.createSecureContext()`][] instead. <a id="DEP0011"></a> -### DEP0011: crypto.Credentials +### DEP0011: `crypto.Credentials` <!-- YAML changes: - version: v11.0.0 @@ -304,7 +304,7 @@ The `crypto.Credentials` class was removed. Please use [`tls.SecureContext`][] instead. <a id="DEP0012"></a> -### DEP0012: Domain.dispose +### DEP0012: `Domain.dispose` <!-- YAML changes: - version: v9.0.0 @@ -326,7 +326,7 @@ Type: End-of-Life explicitly via error event handlers set on the domain instead. <a id="DEP0013"></a> -### DEP0013: fs asynchronous function without callback +### DEP0013: `fs` asynchronous function without callback <!-- YAML changes: - version: v10.0.0 @@ -343,7 +343,7 @@ Calling an asynchronous function without a callback throws a `TypeError` in Node.js 10.0.0 onwards. See <https://github.com/nodejs/node/pull/12562>. <a id="DEP0014"></a> -### DEP0014: fs.read legacy String interface +### DEP0014: `fs.read` legacy String interface <!-- YAML changes: - version: v8.0.0 @@ -368,7 +368,7 @@ The [`fs.read()`][] legacy `String` interface is deprecated. Use the `Buffer` API as mentioned in the documentation instead. <a id="DEP0015"></a> -### DEP0015: fs.readSync legacy String interface +### DEP0015: `fs.readSync` legacy String interface <!-- YAML changes: - version: v8.0.0 @@ -393,7 +393,7 @@ The [`fs.readSync()`][] legacy `String` interface is deprecated. Use the `Buffer` API as mentioned in the documentation instead. <a id="DEP0016"></a> -### DEP0016: GLOBAL/root +### DEP0016: `GLOBAL`/`root` <!-- YAML changes: - version: v6.12.0 @@ -410,7 +410,7 @@ The `GLOBAL` and `root` aliases for the `global` property are deprecated and should no longer be used. <a id="DEP0017"></a> -### DEP0017: Intl.v8BreakIterator +### DEP0017: `Intl.v8BreakIterator` <!-- YAML changes: - version: v9.0.0 @@ -442,7 +442,7 @@ that are not handled will terminate the Node.js process with a non-zero exit code. <a id="DEP0019"></a> -### DEP0019: require('.') resolved outside directory +### DEP0019: `require('.')` resolved outside directory <!-- YAML changes: - version: v12.0.0 @@ -464,7 +464,7 @@ In certain cases, `require('.')` could resolve outside the package directory. This behavior has been removed. <a id="DEP0020"></a> -### DEP0020: Server.connections +### DEP0020: `Server.connections` <!-- YAML changes: - version: @@ -483,7 +483,7 @@ The [`Server.connections`][] property is deprecated. Please use the [`Server.getConnections()`][] method instead. <a id="DEP0021"></a> -### DEP0021: Server.listenFD +### DEP0021: `Server.listenFD` <!-- YAML changes: - version: v12.0.0 @@ -505,7 +505,7 @@ The `Server.listenFD()` method was deprecated and removed. Please use [`Server.listen({fd: <number>})`][] instead. <a id="DEP0022"></a> -### DEP0022: os.tmpDir() +### DEP0022: `os.tmpDir()` <!-- YAML changes: - version: v7.0.0 @@ -518,7 +518,7 @@ Type: Runtime The `os.tmpDir()` API is deprecated. Please use [`os.tmpdir()`][] instead. <a id="DEP0023"></a> -### DEP0023: os.getNetworkInterfaces() +### DEP0023: `os.getNetworkInterfaces()` <!-- YAML changes: - version: v12.0.0 @@ -540,7 +540,7 @@ The `os.getNetworkInterfaces()` method is deprecated. Please use the [`os.networkInterfaces()`][] method instead. <a id="DEP0024"></a> -### DEP0024: REPLServer.prototype.convertToContext() +### DEP0024: `REPLServer.prototype.convertToContext()` <!-- YAML changes: - version: v9.0.0 @@ -556,7 +556,7 @@ Type: End-of-Life The `REPLServer.prototype.convertToContext()` API has been removed. <a id="DEP0025"></a> -### DEP0025: require('sys') +### DEP0025: `require('sys')` <!-- YAML changes: - version: @@ -574,7 +574,7 @@ Type: Runtime The `sys` module is deprecated. Please use the [`util`][] module instead. <a id="DEP0026"></a> -### DEP0026: util.print() +### DEP0026: `util.print()` <!-- YAML changes: - version: v12.0.0 @@ -595,7 +595,7 @@ Type: End-of-Life `util.print()` has been removed. Please use [`console.log()`][] instead. <a id="DEP0027"></a> -### DEP0027: util.puts() +### DEP0027: `util.puts()` <!-- YAML changes: - version: v12.0.0 @@ -616,7 +616,7 @@ Type: End-of-Life `util.puts()` has been removed. Please use [`console.log()`][] instead. <a id="DEP0028"></a> -### DEP0028: util.debug() +### DEP0028: `util.debug()` <!-- YAML changes: - version: v12.0.0 @@ -637,7 +637,7 @@ Type: End-of-Life `util.debug()` has been removed. Please use [`console.error()`][] instead. <a id="DEP0029"></a> -### DEP0029: util.error() +### DEP0029: `util.error()` <!-- YAML changes: - version: v12.0.0 @@ -658,7 +658,7 @@ Type: End-of-Life `util.error()` has been removed. Please use [`console.error()`][] instead. <a id="DEP0030"></a> -### DEP0030: SlowBuffer +### DEP0030: `SlowBuffer` <!-- YAML changes: - version: v6.12.0 @@ -675,7 +675,7 @@ The [`SlowBuffer`][] class is deprecated. Please use [`Buffer.allocUnsafeSlow(size)`][] instead. <a id="DEP0031"></a> -### DEP0031: ecdh.setPublicKey() +### DEP0031: `ecdh.setPublicKey()` <!-- YAML changes: - version: v6.12.0 @@ -692,7 +692,7 @@ The [`ecdh.setPublicKey()`][] method is now deprecated as its inclusion in the API is not useful. <a id="DEP0032"></a> -### DEP0032: domain module +### DEP0032: `domain` module <!-- YAML changes: - version: @@ -710,7 +710,7 @@ Type: Documentation-only The [`domain`][] module is deprecated and should not be used. <a id="DEP0033"></a> -### DEP0033: EventEmitter.listenerCount() +### DEP0033: `EventEmitter.listenerCount()` <!-- YAML changes: - version: @@ -729,7 +729,7 @@ The [`EventEmitter.listenerCount(emitter, eventName)`][] API is deprecated. Please use [`emitter.listenerCount(eventName)`][] instead. <a id="DEP0034"></a> -### DEP0034: fs.exists(path, callback) +### DEP0034: `fs.exists(path, callback)` <!-- YAML changes: - version: @@ -748,7 +748,7 @@ The [`fs.exists(path, callback)`][] API is deprecated. Please use [`fs.stat()`][] or [`fs.access()`][] instead. <a id="DEP0035"></a> -### DEP0035: fs.lchmod(path, mode, callback) +### DEP0035: `fs.lchmod(path, mode, callback)` <!-- YAML changes: - version: @@ -765,7 +765,7 @@ Type: Documentation-only The [`fs.lchmod(path, mode, callback)`][] API is deprecated. <a id="DEP0036"></a> -### DEP0036: fs.lchmodSync(path, mode) +### DEP0036: `fs.lchmodSync(path, mode)` <!-- YAML changes: - version: @@ -782,7 +782,7 @@ Type: Documentation-only The [`fs.lchmodSync(path, mode)`][] API is deprecated. <a id="DEP0037"></a> -### DEP0037: fs.lchown(path, uid, gid, callback) +### DEP0037: `fs.lchown(path, uid, gid, callback)` <!-- YAML changes: - version: v10.6.0 @@ -804,7 +804,7 @@ deprecation was revoked because the requisite supporting APIs were added in libuv. <a id="DEP0038"></a> -### DEP0038: fs.lchownSync(path, uid, gid) +### DEP0038: `fs.lchownSync(path, uid, gid)` <!-- YAML changes: - version: v10.6.0 @@ -825,7 +825,7 @@ The [`fs.lchownSync(path, uid, gid)`][] API was deprecated. The deprecation was revoked because the requisite supporting APIs were added in libuv. <a id="DEP0039"></a> -### DEP0039: require.extensions +### DEP0039: `require.extensions` <!-- YAML changes: - version: @@ -843,7 +843,7 @@ Type: Documentation-only The [`require.extensions`][] property is deprecated. <a id="DEP0040"></a> -### DEP0040: punycode module +### DEP0040: `punycode` module <!-- YAML changes: - version: v7.0.0 @@ -857,7 +857,7 @@ The [`punycode`][] module is deprecated. Please use a userland alternative instead. <a id="DEP0041"></a> -### DEP0041: NODE\_REPL\_HISTORY\_FILE environment variable +### DEP0041: `NODE_REPL_HISTORY_FILE` environment variable <!-- YAML changes: - version: v10.0.0 @@ -879,7 +879,7 @@ The `NODE_REPL_HISTORY_FILE` environment variable was removed. Please use `NODE_REPL_HISTORY` instead. <a id="DEP0042"></a> -### DEP0042: tls.CryptoStream +### DEP0042: `tls.CryptoStream` <!-- YAML changes: - version: v10.0.0 @@ -901,7 +901,7 @@ The [`tls.CryptoStream`][] class was removed. Please use [`tls.TLSSocket`][] instead. <a id="DEP0043"></a> -### DEP0043: tls.SecurePair +### DEP0043: `tls.SecurePair` <!-- YAML changes: - version: v8.0.0 @@ -929,7 +929,7 @@ The [`tls.SecurePair`][] class is deprecated. Please use [`tls.TLSSocket`][] instead. <a id="DEP0044"></a> -### DEP0044: util.isArray() +### DEP0044: `util.isArray()` <!-- YAML changes: - version: @@ -950,7 +950,7 @@ The [`util.isArray()`][] API is deprecated. Please use `Array.isArray()` instead. <a id="DEP0045"></a> -### DEP0045: util.isBoolean() +### DEP0045: `util.isBoolean()` <!-- YAML changes: - version: @@ -970,7 +970,7 @@ Type: Documentation-only The [`util.isBoolean()`][] API is deprecated. <a id="DEP0046"></a> -### DEP0046: util.isBuffer() +### DEP0046: `util.isBuffer()` <!-- YAML changes: - version: @@ -991,7 +991,7 @@ The [`util.isBuffer()`][] API is deprecated. Please use [`Buffer.isBuffer()`][] instead. <a id="DEP0047"></a> -### DEP0047: util.isDate() +### DEP0047: `util.isDate()` <!-- YAML changes: - version: @@ -1011,7 +1011,7 @@ Type: Documentation-only The [`util.isDate()`][] API is deprecated. <a id="DEP0048"></a> -### DEP0048: util.isError() +### DEP0048: `util.isError()` <!-- YAML changes: - version: @@ -1031,7 +1031,7 @@ Type: Documentation-only The [`util.isError()`][] API is deprecated. <a id="DEP0049"></a> -### DEP0049: util.isFunction() +### DEP0049: `util.isFunction()` <!-- YAML changes: - version: @@ -1051,7 +1051,7 @@ Type: Documentation-only The [`util.isFunction()`][] API is deprecated. <a id="DEP0050"></a> -### DEP0050: util.isNull() +### DEP0050: `util.isNull()` <!-- YAML changes: - version: @@ -1071,7 +1071,7 @@ Type: Documentation-only The [`util.isNull()`][] API is deprecated. <a id="DEP0051"></a> -### DEP0051: util.isNullOrUndefined() +### DEP0051: `util.isNullOrUndefined()` <!-- YAML changes: - version: @@ -1091,7 +1091,7 @@ Type: Documentation-only The [`util.isNullOrUndefined()`][] API is deprecated. <a id="DEP0052"></a> -### DEP0052: util.isNumber() +### DEP0052: `util.isNumber()` <!-- YAML changes: - version: @@ -1111,7 +1111,7 @@ Type: Documentation-only The [`util.isNumber()`][] API is deprecated. <a id="DEP0053"></a> -### DEP0053 util.isObject() +### DEP0053 `util.isObject()` <!-- YAML changes: - version: @@ -1131,7 +1131,7 @@ Type: Documentation-only The [`util.isObject()`][] API is deprecated. <a id="DEP0054"></a> -### DEP0054: util.isPrimitive() +### DEP0054: `util.isPrimitive()` <!-- YAML changes: - version: @@ -1151,7 +1151,7 @@ Type: Documentation-only The [`util.isPrimitive()`][] API is deprecated. <a id="DEP0055"></a> -### DEP0055: util.isRegExp() +### DEP0055: `util.isRegExp()` <!-- YAML changes: - version: @@ -1171,7 +1171,7 @@ Type: Documentation-only The [`util.isRegExp()`][] API is deprecated. <a id="DEP0056"></a> -### DEP0056: util.isString() +### DEP0056: `util.isString()` <!-- YAML changes: - version: @@ -1191,7 +1191,7 @@ Type: Documentation-only The [`util.isString()`][] API is deprecated. <a id="DEP0057"></a> -### DEP0057: util.isSymbol() +### DEP0057: `util.isSymbol()` <!-- YAML changes: - version: @@ -1211,7 +1211,7 @@ Type: Documentation-only The [`util.isSymbol()`][] API is deprecated. <a id="DEP0058"></a> -### DEP0058: util.isUndefined() +### DEP0058: `util.isUndefined()` <!-- YAML changes: - version: @@ -1231,7 +1231,7 @@ Type: Documentation-only The [`util.isUndefined()`][] API is deprecated. <a id="DEP0059"></a> -### DEP0059: util.log() +### DEP0059: `util.log()` <!-- YAML changes: - version: v6.12.0 @@ -1247,7 +1247,7 @@ Type: Documentation-only The [`util.log()`][] API is deprecated. <a id="DEP0060"></a> -### DEP0060: util.\_extend() +### DEP0060: `util._extend()` <!-- YAML changes: - version: v6.12.0 @@ -1263,7 +1263,7 @@ Type: Documentation-only The [`util._extend()`][] API is deprecated. <a id="DEP0061"></a> -### DEP0061: fs.SyncWriteStream +### DEP0061: `fs.SyncWriteStream` <!-- YAML changes: - version: v11.0.0 @@ -1284,7 +1284,7 @@ API and has been removed. No alternative API is available. Please use a userland alternative. <a id="DEP0062"></a> -### DEP0062: node --debug +### DEP0062: `node --debug` <!-- YAML changes: - version: v8.0.0 @@ -1302,7 +1302,7 @@ of V8 5.8. It is replaced by Inspector which is activated with `--inspect` instead. <a id="DEP0063"></a> -### DEP0063: ServerResponse.prototype.writeHeader() +### DEP0063: `ServerResponse.prototype.writeHeader()` <!-- YAML changes: - version: v8.0.0 @@ -1319,7 +1319,7 @@ The `ServerResponse.prototype.writeHeader()` method was never documented as an officially supported API. <a id="DEP0064"></a> -### DEP0064: tls.createSecurePair() +### DEP0064: `tls.createSecurePair()` <!-- YAML changes: - version: v8.0.0 @@ -1347,7 +1347,7 @@ The `tls.createSecurePair()` API was deprecated in documentation in Node.js 0.11.3. Users should use `tls.Socket` instead. <a id="DEP0065"></a> -### DEP0065: repl.REPL_MODE_MAGIC and NODE_REPL_MODE=magic +### DEP0065: `repl.REPL_MODE_MAGIC` and `NODE_REPL_MODE=magic` <!-- YAML changes: - version: v10.0.0 @@ -1370,7 +1370,7 @@ The `NODE_REPL_MODE` environment variable is used to set the underlying removed. Please use `sloppy` instead. <a id="DEP0066"></a> -### DEP0066: OutgoingMessage.prototype.\_headers, OutgoingMessage.prototype.\_headerNames +### DEP0066: `OutgoingMessage.prototype._headers, OutgoingMessage.prototype._headerNames` <!-- YAML changes: - version: v12.0.0 @@ -1397,7 +1397,7 @@ The `OutgoingMessage.prototype._headers` and officially supported properties. <a id="DEP0067"></a> -### DEP0067: OutgoingMessage.prototype.\_renderHeaders +### DEP0067: `OutgoingMessage.prototype._renderHeaders` <!-- YAML changes: - version: v8.0.0 @@ -1414,7 +1414,7 @@ The `OutgoingMessage.prototype._renderHeaders` property was never documented as an officially supported API. <a id="DEP0068"></a> -### DEP0068: node debug +### DEP0068: `node debug` <!-- YAML changes: - version: v8.0.0 @@ -1428,7 +1428,7 @@ Type: Runtime a V8-inspector based CLI debugger available through `node inspect`. <a id="DEP0069"></a> -### DEP0069: vm.runInDebugContext(string) +### DEP0069: `vm.runInDebugContext(string)` <!-- YAML changes: - version: v10.0.0 @@ -1449,7 +1449,7 @@ DebugContext has been removed in V8 and is not available in Node.js 10+. DebugContext was an experimental API. <a id="DEP0070"></a> -### DEP0070: async_hooks.currentId() +### DEP0070: `async_hooks.currentId()` <!-- YAML changes: - version: v9.0.0 @@ -1468,7 +1468,7 @@ clarity. This change was made while `async_hooks` was an experimental API. <a id="DEP0071"></a> -### DEP0071: async_hooks.triggerId() +### DEP0071: `async_hooks.triggerId()` <!-- YAML changes: - version: v9.0.0 @@ -1487,7 +1487,7 @@ clarity. This change was made while `async_hooks` was an experimental API. <a id="DEP0072"></a> -### DEP0072: async_hooks.AsyncResource.triggerId() +### DEP0072: `async_hooks.AsyncResource.triggerId()` <!-- YAML changes: - version: v9.0.0 @@ -1506,7 +1506,7 @@ Type: End-of-Life This change was made while `async_hooks` was an experimental API. <a id="DEP0073"></a> -### DEP0073: Several internal properties of net.Server +### DEP0073: Several internal properties of `net.Server` <!-- YAML changes: - version: v10.0.0 @@ -1526,7 +1526,7 @@ As the original API was undocumented and not generally useful for non-internal code, no replacement API is provided. <a id="DEP0074"></a> -### DEP0074: REPLServer.bufferedCommand +### DEP0074: `REPLServer.bufferedCommand` <!-- YAML changes: - version: v9.0.0 @@ -1540,7 +1540,7 @@ The `REPLServer.bufferedCommand` property was deprecated in favor of [`REPLServer.clearBufferedCommand()`][]. <a id="DEP0075"></a> -### DEP0075: REPLServer.parseREPLKeyword() +### DEP0075: `REPLServer.parseREPLKeyword()` <!-- YAML changes: - version: v9.0.0 @@ -1553,7 +1553,7 @@ Type: Runtime `REPLServer.parseREPLKeyword()` was removed from userland visibility. <a id="DEP0076"></a> -### DEP0076: tls.parseCertString() +### DEP0076: `tls.parseCertString()` <!-- YAML changes: - version: v9.0.0 @@ -1585,7 +1585,7 @@ difference is that `querystring.parse()` does url decoding: ``` <a id="DEP0077"></a> -### DEP0077: Module.\_debug() +### DEP0077: `Module._debug()` <!-- YAML changes: - version: v9.0.0 @@ -1601,7 +1601,7 @@ The `Module._debug()` function was never documented as an officially supported API. <a id="DEP0078"></a> -### DEP0078: REPLServer.turnOffEditorMode() +### DEP0078: `REPLServer.turnOffEditorMode()` <!-- YAML changes: - version: v9.0.0 @@ -1614,7 +1614,7 @@ Type: Runtime `REPLServer.turnOffEditorMode()` was removed from userland visibility. <a id="DEP0079"></a> -### DEP0079: Custom inspection function on Objects via .inspect() +### DEP0079: Custom inspection function on Objects via `.inspect()` <!-- YAML changes: - version: v11.0.0 @@ -1636,7 +1636,7 @@ instead. For backward compatibility with Node.js prior to version 6.4.0, both may be specified. <a id="DEP0080"></a> -### DEP0080: path.\_makeLong() +### DEP0080: `path._makeLong()` <!-- YAML changes: - version: v9.0.0 @@ -1651,7 +1651,7 @@ userland modules have found it useful. The internal API is deprecated and replaced with an identical, public `path.toNamespacedPath()` method. <a id="DEP0081"></a> -### DEP0081: fs.truncate() using a file descriptor +### DEP0081: `fs.truncate()` using a file descriptor <!-- YAML changes: - version: v9.0.0 @@ -1666,7 +1666,7 @@ deprecated. Please use `fs.ftruncate()` or `fs.ftruncateSync()` to work with file descriptors. <a id="DEP0082"></a> -### DEP0082: REPLServer.prototype.memory() +### DEP0082: `REPLServer.prototype.memory()` <!-- YAML changes: - version: v9.0.0 @@ -1680,7 +1680,7 @@ Type: Runtime the `REPLServer` itself. Do not use this function. <a id="DEP0083"></a> -### DEP0083: Disabling ECDH by setting ecdhCurve to false +### DEP0083: Disabling ECDH by setting `ecdhCurve` to `false` <!-- YAML changes: - version: v10.0.0 @@ -1759,7 +1759,7 @@ Use the `AsyncResource` API instead. See <https://github.com/nodejs/node/issues/15572>. <a id="DEP0086"></a> -### DEP0086: Remove runInAsyncIdScope +### DEP0086: Remove `runInAsyncIdScope` <!-- YAML changes: - version: 10.0.0 @@ -1778,7 +1778,7 @@ Type: End-of-Life cause a lot of issues. See <https://github.com/nodejs/node/issues/14328>. <a id="DEP0089"></a> -### DEP0089: require('assert') +### DEP0089: `require('assert')` <!-- YAML changes: - version: v12.8.0 @@ -1818,7 +1818,7 @@ bits are allowed. Authentication tags of other lengths are invalid per [NIST SP 800-38D][]. <a id="DEP0091"></a> -### DEP0091: crypto.DEFAULT_ENCODING +### DEP0091: `crypto.DEFAULT_ENCODING` <!-- YAML changes: - version: v10.0.0 @@ -1846,7 +1846,7 @@ to `module.exports` is deprecated. Developers should use `exports` or `module.exports` instead. <a id="DEP0093"></a> -### DEP0093: crypto.fips is deprecated and replaced. +### DEP0093: `crypto.fips` is deprecated and replaced. <!-- YAML changes: - version: v10.0.0 @@ -1875,7 +1875,7 @@ Using `assert.fail()` with more than one argument is deprecated. Use method. <a id="DEP0095"></a> -### DEP0095: timers.enroll() +### DEP0095: `timers.enroll()` <!-- YAML changes: - version: v10.0.0 @@ -1889,7 +1889,7 @@ Type: Runtime [`setTimeout()`][] or [`setInterval()`][] instead. <a id="DEP0096"></a> -### DEP0096: timers.unenroll() +### DEP0096: `timers.unenroll()` <!-- YAML changes: - version: v10.0.0 @@ -1903,7 +1903,7 @@ Type: Runtime [`clearTimeout()`][] or [`clearInterval()`][] instead. <a id="DEP0097"></a> -### DEP0097: MakeCallback with domain property +### DEP0097: `MakeCallback` with `domain` property <!-- YAML changes: - version: v10.0.0 @@ -1918,7 +1918,7 @@ should start using the `async_context` variant of `MakeCallback` or `CallbackScope`, or the high-level `AsyncResource` class. <a id="DEP0098"></a> -### DEP0098: AsyncHooks Embedder AsyncResource.emitBefore and AsyncResource.emitAfter APIs +### DEP0098: AsyncHooks Embedder `AsyncResource.emitBefore` and `AsyncResource.emitAfter` APIs <!-- YAML changes: - version: v12.0.0 @@ -1943,7 +1943,7 @@ safer, and more convenient, alternative. See <https://github.com/nodejs/node/pull/18513>. <a id="DEP0099"></a> -### DEP0099: async context-unaware node::MakeCallback C++ APIs +### DEP0099: async context-unaware `node::MakeCallback` C++ APIs <!-- YAML changes: - version: v10.0.0 @@ -1958,7 +1958,7 @@ deprecated. Please use the versions of the API that accept an `async_context` parameter. <a id="DEP0100"></a> -### DEP0100: process.assert() +### DEP0100: `process.assert()` <!-- YAML changes: - version: v10.0.0 @@ -1975,7 +1975,7 @@ Type: Runtime This was never a documented feature. <a id="DEP0101"></a> -### DEP0101: --with-lttng +### DEP0101: `--with-lttng` <!-- YAML changes: - version: v10.0.0 @@ -1988,7 +1988,7 @@ Type: End-of-Life The `--with-lttng` compile-time option has been removed. <a id="DEP0102"></a> -### DEP0102: Using `noAssert` in Buffer#(read|write) operations. +### DEP0102: Using `noAssert` in `Buffer#(read|write)` operations. <!-- YAML changes: - version: v10.0.0 @@ -2003,7 +2003,7 @@ to be verified, no matter if it is set to true or not. Skipping the verification could lead to hard to find errors and crashes. <a id="DEP0103"></a> -### DEP0103: process.binding('util').is\[...\] typechecks +### DEP0103: `process.binding('util').is[...]` typechecks <!-- YAML changes: - version: v10.9.0 @@ -2023,7 +2023,7 @@ This deprecation has been superseded by the deprecation of the `process.binding()` API ([DEP0111](#DEP0111)). <a id="DEP0104"></a> -### DEP0104: process.env string coercion +### DEP0104: `process.env` string coercion <!-- YAML changes: - version: v10.0.0 @@ -2040,7 +2040,7 @@ result in a thrown error. Please convert the property to a string before assigning it to `process.env`. <a id="DEP0105"></a> -### DEP0105: decipher.finaltol +### DEP0105: `decipher.finaltol` <!-- YAML changes: - version: v11.0.0 @@ -2058,7 +2058,7 @@ Type: End-of-Life [`decipher.final()`][] instead. <a id="DEP0106"></a> -### DEP0106: crypto.createCipher and crypto.createDecipher +### DEP0106: `crypto.createCipher` and `crypto.createDecipher` <!-- YAML changes: - version: v11.0.0 @@ -2079,7 +2079,7 @@ initialization vectors. It is recommended to derive a key using [`Cipher`][] and [`Decipher`][] objects respectively. <a id="DEP0107"></a> -### DEP0107: tls.convertNPNProtocols() +### DEP0107: `tls.convertNPNProtocols()` <!-- YAML changes: - version: v11.0.0 @@ -2096,7 +2096,7 @@ This was an undocumented helper function not intended for use outside Node.js core and obsoleted by the removal of NPN (Next Protocol Negotiation) support. <a id="DEP0108"></a> -### DEP0108: zlib.bytesRead +### DEP0108: `zlib.bytesRead` <!-- YAML changes: - version: v11.0.0 @@ -2115,7 +2115,7 @@ read by the engine, but is inconsistent with other streams in Node.js that expose values under these names. <a id="DEP0109"></a> -### DEP0109: http, https, and tls support for invalid URLs +### DEP0109: `http`, `https`, and `tls` support for invalid URLs <!-- YAML changes: - version: v11.0.0 @@ -2133,7 +2133,7 @@ URL parser that requires strictly valid URLs. Passing an invalid URL is deprecated and support will be removed in the future. <a id="DEP0110"></a> -### DEP0110: vm.Script cached data +### DEP0110: `vm.Script` cached data <!-- YAML changes: - version: v10.6.0 @@ -2147,7 +2147,7 @@ The `produceCachedData` option is deprecated. Use [`script.createCachedData()`][] instead. <a id="DEP0111"></a> -### DEP0111: process.binding() +### DEP0111: `process.binding()` <!-- YAML changes: - version: v10.9.0 @@ -2163,7 +2163,7 @@ Type: Documentation-only (supports [`--pending-deprecation`][]) `process.binding()` is for use by Node.js internal code only. <a id="DEP0112"></a> -### DEP0112: dgram private APIs +### DEP0112: `dgram` private APIs <!-- YAML changes: - version: v11.0.0 @@ -2181,7 +2181,7 @@ accessed outside of Node.js core: `Socket.prototype._handle`, `dgram._createSocketHandle()`. <a id="DEP0113"></a> -### DEP0113: Cipher.setAuthTag(), Decipher.getAuthTag() +### DEP0113: `Cipher.setAuthTag()`, `Decipher.getAuthTag()` <!-- YAML changes: - version: v12.0.0 @@ -2198,7 +2198,7 @@ Type: End-of-Life were never documented and would throw when called. <a id="DEP0114"></a> -### DEP0114: crypto._toBuf() +### DEP0114: `crypto._toBuf()` <!-- YAML changes: - version: v12.0.0 @@ -2215,7 +2215,7 @@ The `crypto._toBuf()` function was not designed to be used by modules outside of Node.js core and was removed. <a id="DEP0115"></a> -### DEP0115: crypto.prng(), crypto.pseudoRandomBytes(), crypto.rng() +### DEP0115: `crypto.prng()`, `crypto.pseudoRandomBytes()`, `crypto.rng()` <!-- YAML changes: - version: v11.0.0 @@ -2270,7 +2270,7 @@ The `_handle` property has been removed because improper use of the native object can lead to crashing the application. <a id="DEP0118"></a> -### DEP0118: dns.lookup() support for a falsy hostname +### DEP0118: `dns.lookup()` support for a falsy hostname <!-- YAML changes: - version: v11.0.0 @@ -2286,7 +2286,7 @@ This behavior is undocumented and is thought to be unused in real world apps. It will become an error in future versions of Node.js. <a id="DEP0119"></a> -### DEP0119: process.binding('uv').errname() private API +### DEP0119: `process.binding('uv').errname()` private API <!-- YAML changes: - version: v11.0.0 @@ -2320,7 +2320,7 @@ undocumented `COUNTER_NET_SERVER_CONNECTION()`, `COUNTER_HTTP_CLIENT_RESPONSE()` functions have been deprecated. <a id="DEP0121"></a> -### DEP0121: net._setSimultaneousAccepts() +### DEP0121: `net._setSimultaneousAccepts()` <!-- YAML changes: - version: v12.0.0 @@ -2337,7 +2337,7 @@ is being removed. See discussion here: https://github.com/nodejs/node/issues/18391 <a id="DEP0122"></a> -### DEP0122: tls Server.prototype.setOptions() +### DEP0122: `tls` `Server.prototype.setOptions()` <!-- YAML changes: - version: v12.0.0 @@ -2364,7 +2364,7 @@ Setting the TLS ServerName to an IP address is not permitted by [RFC 6066][]. This will be ignored in a future version. <a id="DEP0124"></a> -### DEP0124: using REPLServer.rli +### DEP0124: using `REPLServer.rli` <!-- YAML changes: - version: v12.0.0 @@ -2377,7 +2377,7 @@ Type: Runtime This property is a reference to the instance itself. <a id="DEP0125"></a> -### DEP0125: require('\_stream\_wrap') +### DEP0125: `require('_stream_wrap')` <!-- YAML changes: - version: v12.0.0 @@ -2390,7 +2390,7 @@ Type: Runtime The `_stream_wrap` module is deprecated. <a id="DEP0126"></a> -### DEP0126: timers.active() +### DEP0126: `timers.active()` <!-- YAML changes: - version: v11.14.0 @@ -2406,7 +2406,7 @@ If re-referencing the timeout is necessary, [`timeout.ref()`][] can be used with no performance impact since Node.js 10. <a id="DEP0127"></a> -### DEP0127: timers._unrefActive() +### DEP0127: `timers._unrefActive()` <!-- YAML changes: - version: v11.14.0 @@ -2438,7 +2438,7 @@ also have an `index.js` file in the top level directory will resolve the Node.js versions. <a id="DEP0129"></a> -### DEP0129: ChildProcess._channel +### DEP0129: `ChildProcess._channel` <!-- YAML changes: - version: v13.0.0 @@ -2456,7 +2456,7 @@ similar functions is not intended for public use. Use `ChildProcess.channel` instead. <a id="DEP0130"></a> -### DEP0130: Module.createRequireFromPath() +### DEP0130: `Module.createRequireFromPath()` <!-- YAML changes: - version: v13.0.0 @@ -2492,7 +2492,7 @@ is deprecated and has been removed in v13.0.0. Prior to v13.0.0, the legacy parser. <a id="DEP0132"></a> -### DEP0132: worker.terminate() with callback +### DEP0132: `worker.terminate()` with callback <!-- YAML changes: - version: v12.5.0 @@ -2506,7 +2506,7 @@ Passing a callback to [`worker.terminate()`][] is deprecated. Use the returned `Promise` instead, or a listener to the worker’s `'exit'` event. <a id="DEP0133"></a> -### DEP0133: http connection +### DEP0133: `http` `connection` <!-- YAML changes: - version: v12.12.0 @@ -2520,7 +2520,7 @@ Prefer [`response.socket`][] over [`response.connection`][] and [`request.socket`][] over [`request.connection`][]. <a id="DEP0134"></a> -### DEP0134: process._tickCallback +### DEP0134: `process._tickCallback` <!-- YAML changes: - version: v12.12.0 @@ -2549,7 +2549,7 @@ opened through their corresponding factory methods [`fs.createWriteStream()`][] and [`fs.createReadStream()`][]) or by passing a file descriptor in options. <a id="DEP0136"></a> -### DEP0136: http finished +### DEP0136: `http` `finished` <!-- YAML changes: - version: v13.4.0 |