diff options
Diffstat (limited to 'doc/api/deprecations.md')
-rw-r--r-- | doc/api/deprecations.md | 254 |
1 files changed, 127 insertions, 127 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 634dc0f6e96..f2668f9411a 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -22,7 +22,7 @@ with [`--pending-deprecation`][] flag (or its alternative, `NODE_PENDING_DEPRECATION=1` environment variable), similarly to Runtime deprecations below. Documentation-only deprecations that support that flag are explicitly labeled as such in the -[list of Deprecated APIs](#deprecations_list_of_deprecated_apis). +[list of Deprecated APIs](#list-of-deprecated-apis). A Runtime deprecation will, by default, generate a process warning that will be printed to `stderr` the first time the deprecated API is used. When the @@ -2801,136 +2801,136 @@ non-number value for `hints` option, a non-nullish non-boolean value for `all` option, or a non-nullish non-boolean value for `verbatim` option in [`dns.lookup()`][] and [`dnsPromises.lookup()`][] is deprecated. -[Legacy URL API]: url.md#url_legacy_url_api +[Legacy URL API]: url.md#legacy-url-api [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 -[WHATWG URL API]: url.md#url_the_whatwg_url_api -[`"exports"` or `"main"` entry]: packages.md#packages_main_entry_point_export -[`--pending-deprecation`]: cli.md#cli_pending_deprecation -[`--throw-deprecation`]: cli.md#cli_throw_deprecation -[`--unhandled-rejections`]: cli.md#cli_unhandled_rejections_mode -[`Buffer.allocUnsafeSlow(size)`]: buffer.md#buffer_static_method_buffer_allocunsafeslow_size -[`Buffer.from(array)`]: buffer.md#buffer_static_method_buffer_from_array -[`Buffer.from(buffer)`]: buffer.md#buffer_static_method_buffer_from_buffer -[`Buffer.isBuffer()`]: buffer.md#buffer_static_method_buffer_isbuffer_obj -[`Cipher`]: crypto.md#crypto_class_cipher -[`Decipher`]: crypto.md#crypto_class_decipher -[`REPLServer.clearBufferedCommand()`]: repl.md#repl_replserver_clearbufferedcommand -[`ReadStream.open()`]: fs.md#fs_class_fs_readstream -[`Server.getConnections()`]: net.md#net_server_getconnections_callback -[`Server.listen({fd: <number>})`]: net.md#net_server_listen_handle_backlog_callback -[`SlowBuffer`]: buffer.md#buffer_class_slowbuffer -[`WriteStream.open()`]: fs.md#fs_class_fs_writestream +[WHATWG URL API]: url.md#the-whatwg-url-api +[`"exports"` or `"main"` entry]: packages.md#main-entry-point-export +[`--pending-deprecation`]: cli.md#--pending-deprecation +[`--throw-deprecation`]: cli.md#--throw-deprecation +[`--unhandled-rejections`]: cli.md#--unhandled-rejectionsmode +[`Buffer.allocUnsafeSlow(size)`]: buffer.md#static-method-bufferallocunsafeslowsize +[`Buffer.from(array)`]: buffer.md#static-method-bufferfromarray +[`Buffer.from(buffer)`]: buffer.md#static-method-bufferfrombuffer +[`Buffer.isBuffer()`]: buffer.md#static-method-bufferisbufferobj +[`Cipher`]: crypto.md#class-cipher +[`Decipher`]: crypto.md#class-decipher +[`REPLServer.clearBufferedCommand()`]: repl.md#replserverclearbufferedcommand +[`ReadStream.open()`]: fs.md#class-fsreadstream +[`Server.getConnections()`]: net.md#servergetconnectionscallback +[`Server.listen({fd: <number>})`]: net.md#serverlistenhandle-backlog-callback +[`SlowBuffer`]: buffer.md#class-slowbuffer +[`WriteStream.open()`]: fs.md#class-fswritestream [`assert`]: assert.md -[`asyncResource.runInAsyncScope()`]: async_context.md#async_context_asyncresource_runinasyncscope_fn_thisarg_args +[`asyncResource.runInAsyncScope()`]: async_context.md#asyncresourceruninasyncscopefn-thisarg-args [`child_process`]: child_process.md -[`clearInterval()`]: timers.md#timers_clearinterval_timeout -[`clearTimeout()`]: timers.md#timers_cleartimeout_timeout -[`console.error()`]: console.md#console_console_error_data_args -[`console.log()`]: console.md#console_console_log_data_args -[`crypto.Certificate()` constructor]: crypto.md#crypto_legacy_api -[`crypto.DEFAULT_ENCODING`]: crypto.md#crypto_crypto_default_encoding -[`crypto.createCipher()`]: crypto.md#crypto_crypto_createcipher_algorithm_password_options -[`crypto.createCipheriv()`]: crypto.md#crypto_crypto_createcipheriv_algorithm_key_iv_options -[`crypto.createDecipher()`]: crypto.md#crypto_crypto_createdecipher_algorithm_password_options -[`crypto.createDecipheriv()`]: crypto.md#crypto_crypto_createdecipheriv_algorithm_key_iv_options -[`crypto.fips`]: crypto.md#crypto_crypto_fips -[`crypto.pbkdf2()`]: crypto.md#crypto_crypto_pbkdf2_password_salt_iterations_keylen_digest_callback -[`crypto.randomBytes()`]: crypto.md#crypto_crypto_randombytes_size_callback -[`crypto.scrypt()`]: crypto.md#crypto_crypto_scrypt_password_salt_keylen_options_callback -[`decipher.final()`]: crypto.md#crypto_decipher_final_outputencoding -[`decipher.setAuthTag()`]: crypto.md#crypto_decipher_setauthtag_buffer_encoding -[`dns.lookup()`]: domain.md#dns_dns_lookup_hostname_options_callback -[`dnsPromises.lookup()`]: domain.md#dns_dnspromises_lookup_hostname_options +[`clearInterval()`]: timers.md#clearintervaltimeout +[`clearTimeout()`]: timers.md#cleartimeouttimeout +[`console.error()`]: console.md#consoleerrordata-args +[`console.log()`]: console.md#consolelogdata-args +[`crypto.Certificate()` constructor]: crypto.md#legacy-api +[`crypto.DEFAULT_ENCODING`]: crypto.md#cryptodefault_encoding +[`crypto.createCipher()`]: crypto.md#cryptocreatecipheralgorithm-password-options +[`crypto.createCipheriv()`]: crypto.md#cryptocreatecipherivalgorithm-key-iv-options +[`crypto.createDecipher()`]: crypto.md#cryptocreatedecipheralgorithm-password-options +[`crypto.createDecipheriv()`]: crypto.md#cryptocreatedecipherivalgorithm-key-iv-options +[`crypto.fips`]: crypto.md#cryptofips +[`crypto.pbkdf2()`]: crypto.md#cryptopbkdf2password-salt-iterations-keylen-digest-callback +[`crypto.randomBytes()`]: crypto.md#cryptorandombytessize-callback +[`crypto.scrypt()`]: crypto.md#cryptoscryptpassword-salt-keylen-options-callback +[`decipher.final()`]: crypto.md#decipherfinaloutputencoding +[`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding +[`dns.lookup()`]: dns.md#dnslookuphostname-options-callback +[`dnsPromises.lookup()`]: dns.md#dnspromiseslookuphostname-options [`domain`]: domain.md -[`ecdh.setPublicKey()`]: crypto.md#crypto_ecdh_setpublickey_publickey_encoding -[`emitter.listenerCount(eventName)`]: events.md#events_emitter_listenercount_eventname -[`events.listenerCount(emitter, eventName)`]: events.md#events_events_listenercount_emitter_eventname -[`fs.FileHandle`]: fs.md#fs_class_filehandle -[`fs.access()`]: fs.md#fs_fs_access_path_mode_callback -[`fs.createReadStream()`]: fs.md#fs_fs_createreadstream_path_options -[`fs.createWriteStream()`]: fs.md#fs_fs_createwritestream_path_options -[`fs.exists(path, callback)`]: fs.md#fs_fs_exists_path_callback -[`fs.lchmod(path, mode, callback)`]: fs.md#fs_fs_lchmod_path_mode_callback -[`fs.lchmodSync(path, mode)`]: fs.md#fs_fs_lchmodsync_path_mode -[`fs.lchown(path, uid, gid, callback)`]: fs.md#fs_fs_lchown_path_uid_gid_callback -[`fs.lchownSync(path, uid, gid)`]: fs.md#fs_fs_lchownsync_path_uid_gid -[`fs.read()`]: fs.md#fs_fs_read_fd_buffer_offset_length_position_callback -[`fs.readSync()`]: fs.md#fs_fs_readsync_fd_buffer_offset_length_position -[`fs.stat()`]: fs.md#fs_fs_stat_path_options_callback -[`http.get()`]: http.md#http_http_get_options_callback -[`http.request()`]: http.md#http_http_request_options_callback -[`https.get()`]: https.md#https_https_get_options_callback -[`https.request()`]: https.md#https_https_request_options_callback -[`message.connection`]: http.md#http_message_connection -[`message.socket`]: http.md#http_message_socket -[`module.createRequire()`]: module.md#module_module_createrequire_filename -[`os.networkInterfaces()`]: os.md#os_os_networkinterfaces -[`os.tmpdir()`]: os.md#os_os_tmpdir -[`process.env`]: process.md#process_process_env -[`process.mainModule`]: process.md#process_process_mainmodule +[`ecdh.setPublicKey()`]: crypto.md#ecdhsetpublickeypublickey-encoding +[`emitter.listenerCount(eventName)`]: events.md#emitterlistenercounteventname +[`events.listenerCount(emitter, eventName)`]: events.md#eventslistenercountemitter-eventname +[`fs.FileHandle`]: fs.md#class-filehandle +[`fs.access()`]: fs.md#fsaccesspath-mode-callback +[`fs.createReadStream()`]: fs.md#fscreatereadstreampath-options +[`fs.createWriteStream()`]: fs.md#fscreatewritestreampath-options +[`fs.exists(path, callback)`]: fs.md#fsexistspath-callback +[`fs.lchmod(path, mode, callback)`]: fs.md#fslchmodpath-mode-callback +[`fs.lchmodSync(path, mode)`]: fs.md#fslchmodsyncpath-mode +[`fs.lchown(path, uid, gid, callback)`]: fs.md#fslchownpath-uid-gid-callback +[`fs.lchownSync(path, uid, gid)`]: fs.md#fslchownsyncpath-uid-gid +[`fs.read()`]: fs.md#fsreadfd-buffer-offset-length-position-callback +[`fs.readSync()`]: fs.md#fsreadsyncfd-buffer-offset-length-position +[`fs.stat()`]: fs.md#fsstatpath-options-callback +[`http.get()`]: http.md#httpgetoptions-callback +[`http.request()`]: http.md#httprequestoptions-callback +[`https.get()`]: https.md#httpsgetoptions-callback +[`https.request()`]: https.md#httpsrequestoptions-callback +[`message.connection`]: http.md#messageconnection +[`message.socket`]: http.md#messagesocket +[`module.createRequire()`]: module.md#modulecreaterequirefilename +[`os.networkInterfaces()`]: os.md#osnetworkinterfaces +[`os.tmpdir()`]: os.md#ostmpdir +[`process.env`]: process.md#processenv +[`process.mainModule`]: process.md#processmainmodule [`punycode`]: punycode.md -[`request.abort()`]: http.md#http_request_abort -[`request.connection`]: http.md#http_request_connection -[`request.destroy()`]: http.md#http_request_destroy_error -[`request.socket`]: http.md#http_request_socket -[`require.extensions`]: modules.md#modules_require_extensions -[`require.main`]: modules.md#modules_accessing_the_main_module -[`response.connection`]: http.md#http_response_connection -[`response.end()`]: http.md#http_response_end_data_encoding_callback -[`response.finished`]: http.md#http_response_finished -[`response.socket`]: http.md#http_response_socket -[`response.writableEnded`]: http.md#http_response_writableended -[`response.writableFinished`]: http.md#http_response_writablefinished -[`script.createCachedData()`]: vm.md#vm_script_createcacheddata -[`setInterval()`]: timers.md#timers_setinterval_callback_delay_args -[`setTimeout()`]: timers.md#timers_settimeout_callback_delay_args -[`socket.bufferSize`]: net.md#net_socket_buffersize -[`timeout.ref()`]: timers.md#timers_timeout_ref -[`timeout.refresh()`]: timers.md#timers_timeout_refresh -[`timeout.unref()`]: timers.md#timers_timeout_unref -[`tls.CryptoStream`]: tls.md#tls_class_tls_cryptostream -[`tls.SecureContext`]: tls.md#tls_tls_createsecurecontext_options -[`tls.SecurePair`]: tls.md#tls_class_tls_securepair -[`tls.TLSSocket`]: tls.md#tls_class_tls_tlssocket -[`tls.checkServerIdentity()`]: tls.md#tls_tls_checkserveridentity_hostname_cert -[`tls.createSecureContext()`]: tls.md#tls_tls_createsecurecontext_options -[`url.format()`]: url.md#url_url_format_urlobject -[`url.parse()`]: url.md#url_url_parse_urlstring_parsequerystring_slashesdenotehost -[`url.resolve()`]: url.md#url_url_resolve_from_to -[`util._extend()`]: util.md#util_util_extend_target_source -[`util.getSystemErrorName()`]: util.md#util_util_getsystemerrorname_err -[`util.inspect()`]: util.md#util_util_inspect_object_options -[`util.inspect.custom`]: util.md#util_util_inspect_custom -[`util.isArray()`]: util.md#util_util_isarray_object -[`util.isBoolean()`]: util.md#util_util_isboolean_object -[`util.isBuffer()`]: util.md#util_util_isbuffer_object -[`util.isDate()`]: util.md#util_util_isdate_object -[`util.isError()`]: util.md#util_util_iserror_object -[`util.isFunction()`]: util.md#util_util_isfunction_object -[`util.isNull()`]: util.md#util_util_isnull_object -[`util.isNullOrUndefined()`]: util.md#util_util_isnullorundefined_object -[`util.isNumber()`]: util.md#util_util_isnumber_object -[`util.isObject()`]: util.md#util_util_isobject_object -[`util.isPrimitive()`]: util.md#util_util_isprimitive_object -[`util.isRegExp()`]: util.md#util_util_isregexp_object -[`util.isString()`]: util.md#util_util_isstring_object -[`util.isSymbol()`]: util.md#util_util_issymbol_object -[`util.isUndefined()`]: util.md#util_util_isundefined_object -[`util.log()`]: util.md#util_util_log_string -[`util.types`]: util.md#util_util_types +[`request.abort()`]: http.md#requestabort +[`request.connection`]: http.md#requestconnection +[`request.destroy()`]: http.md#requestdestroyerror +[`request.socket`]: http.md#requestsocket +[`require.extensions`]: modules.md#requireextensions +[`require.main`]: modules.md#accessing-the-main-module +[`response.connection`]: http.md#responseconnection +[`response.end()`]: http.md#responseenddata-encoding-callback +[`response.finished`]: http.md#responsefinished +[`response.socket`]: http.md#responsesocket +[`response.writableEnded`]: http.md#responsewritableended +[`response.writableFinished`]: http.md#responsewritablefinished +[`script.createCachedData()`]: vm.md#scriptcreatecacheddata +[`setInterval()`]: timers.md#setintervalcallback-delay-args +[`setTimeout()`]: timers.md#settimeoutcallback-delay-args +[`socket.bufferSize`]: net.md#socketbuffersize +[`timeout.ref()`]: timers.md#timeoutref +[`timeout.refresh()`]: timers.md#timeoutrefresh +[`timeout.unref()`]: timers.md#timeoutunref +[`tls.CryptoStream`]: tls.md#class-tlscryptostream +[`tls.SecureContext`]: tls.md#tlscreatesecurecontextoptions +[`tls.SecurePair`]: tls.md#class-tlssecurepair +[`tls.TLSSocket`]: tls.md#class-tlstlssocket +[`tls.checkServerIdentity()`]: tls.md#tlscheckserveridentityhostname-cert +[`tls.createSecureContext()`]: tls.md#tlscreatesecurecontextoptions +[`url.format()`]: url.md#urlformaturlobject +[`url.parse()`]: url.md#urlparseurlstring-parsequerystring-slashesdenotehost +[`url.resolve()`]: url.md#urlresolvefrom-to +[`util._extend()`]: util.md#util_extendtarget-source +[`util.getSystemErrorName()`]: util.md#utilgetsystemerrornameerr +[`util.inspect()`]: util.md#utilinspectobject-options +[`util.inspect.custom`]: util.md#utilinspectcustom +[`util.isArray()`]: util.md#utilisarrayobject +[`util.isBoolean()`]: util.md#utilisbooleanobject +[`util.isBuffer()`]: util.md#utilisbufferobject +[`util.isDate()`]: util.md#utilisdateobject +[`util.isError()`]: util.md#utiliserrorobject +[`util.isFunction()`]: util.md#utilisfunctionobject +[`util.isNull()`]: util.md#utilisnullobject +[`util.isNullOrUndefined()`]: util.md#utilisnullorundefinedobject +[`util.isNumber()`]: util.md#utilisnumberobject +[`util.isObject()`]: util.md#utilisobjectobject +[`util.isPrimitive()`]: util.md#utilisprimitiveobject +[`util.isRegExp()`]: util.md#utilisregexpobject +[`util.isString()`]: util.md#utilisstringobject +[`util.isSymbol()`]: util.md#utilissymbolobject +[`util.isUndefined()`]: util.md#utilisundefinedobject +[`util.log()`]: util.md#utillogstring +[`util.types`]: util.md#utiltypes [`util`]: util.md -[`worker.exitedAfterDisconnect`]: cluster.md#cluster_worker_exitedafterdisconnect -[`worker.terminate()`]: worker_threads.md#worker_threads_worker_terminate -[`writable.writableLength`]: stream.md#stream_writable_writablelength -[`zlib.bytesWritten`]: zlib.md#zlib_zlib_byteswritten -[alloc]: buffer.md#buffer_static_method_buffer_alloc_size_fill_encoding -[alloc_unsafe_size]: buffer.md#buffer_static_method_buffer_allocunsafe_size -[from_arraybuffer]: buffer.md#buffer_static_method_buffer_from_arraybuffer_byteoffset_length -[from_string_encoding]: buffer.md#buffer_static_method_buffer_from_string_encoding -[legacy `urlObject`]: url.md#url_legacy_urlobject -[static methods of `crypto.Certificate()`]: crypto.md#crypto_class_certificate -[subpath exports]: packages.md#packages_subpath_exports -[subpath folder mappings]: packages.md#packages_subpath_folder_mappings -[subpath imports]: packages.md#packages_subpath_imports -[subpath patterns]: packages.md#packages_subpath_patterns +[`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect +[`worker.terminate()`]: worker_threads.md#workerterminate +[`writable.writableLength`]: stream.md#writablewritablelength +[`zlib.bytesWritten`]: zlib.md#zlibbyteswritten +[alloc]: buffer.md#static-method-bufferallocsize-fill-encoding +[alloc_unsafe_size]: buffer.md#static-method-bufferallocunsafesize +[from_arraybuffer]: buffer.md#static-method-bufferfromarraybuffer-byteoffset-length +[from_string_encoding]: buffer.md#static-method-bufferfromstring-encoding +[legacy `urlObject`]: url.md#legacy-urlobject +[static methods of `crypto.Certificate()`]: crypto.md#class-certificate +[subpath exports]: packages.md#subpath-exports +[subpath folder mappings]: packages.md#subpath-folder-mappings +[subpath imports]: packages.md#subpath-imports +[subpath patterns]: packages.md#subpath-patterns |