diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 4d56218b1b6b65..061cfb64cdc105 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -860,9 +860,9 @@ socket.on('data', (id) => { }); ``` -[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback +[`ChildProcess.send()`]: child_process.html#child_process_subprocess_send_message_sendhandle_options_callback [`child_process.fork()`]: child_process.html#child_process_child_process_fork_modulepath_args_options -[`disconnect`]: child_process.html#child_process_child_disconnect +[`disconnect`]: child_process.html#child_process_subprocess_disconnect [`kill`]: process.html#process_process_kill_pid_signal [`process` event: `'message'`]: process.html#process_event_message [`server.close()`]: net.html#net_event_close @@ -870,4 +870,4 @@ socket.on('data', (id) => { [Child Process module]: child_process.html#child_process_child_process_fork_modulepath_args_options [child_process event: 'exit']: child_process.html#child_process_event_exit [child_process event: 'message']: child_process.html#child_process_event_message -[`cluster.settings`]: #clustersettings +[`cluster.settings`]: #cluster_cluster_settings diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 995009b2902236..3d4c1e26c192cb 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2266,8 +2266,8 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. [`stream.transform` options]: stream.html#stream_new_stream_transform_options [`stream.Writable` options]: stream.html#stream_constructor_new_stream_writable_options [`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_options -[`verify.update()`]: #crypto_verifier_update_data_inputencoding -[`verify.verify()`]: #crypto_verifier_verify_object_signature_signatureformat +[`verify.update()`]: #crypto_verify_update_data_inputencoding +[`verify.verify()`]: #crypto_verify_verify_object_signature_signatureformat [Caveats]: #crypto_support_for_weak_or_compromised_algorithms [Crypto Constants]: #crypto_crypto_constants_1 [HTML5's `keygen` element]: http://www.w3.org/TR/html5/forms.html#the-keygen-element diff --git a/doc/api/debugger.md b/doc/api/debugger.md index e16c83122e2b0b..b27d83bee34ea0 100644 --- a/doc/api/debugger.md +++ b/doc/api/debugger.md @@ -7,7 +7,7 @@ Node.js includes an out-of-process debugging utility accessible via a -[TCP-based protocol][] and built-in debugging client. To use it, start Node.js +[V8 Inspector][] and built-in debugging client. To use it, start Node.js with the `inspect` argument followed by the path to the script to debug; a prompt will be displayed indicating successful launch of the debugger: @@ -194,4 +194,4 @@ at the end of the URL is generated on the fly, it varies in different debugging sessions.) [Chrome Debugging Protocol]: https://chromedevtools.github.io/debugger-protocol-viewer/ -[TCP-based protocol]: #debugger_tcp_based_protocol +[V8 Inspector]: #debugger_v8_inspector_integration_for_node_js diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 5e0b63b13ee13e..96b8930834a2cb 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -660,7 +660,7 @@ Type: Runtime [`os.networkInterfaces`]: os.html#os_os_networkinterfaces [`os.tmpdir()`]: os.html#os_os_tmpdir [`punycode`]: punycode.html -[`require.extensions`]: globals.html#globals_require_extensions +[`require.extensions`]: modules.html#modules_require_extensions [`tls.CryptoStream`]: tls.html#tls_class_cryptostream [`tls.SecureContext`]: tls.html#tls_tls_createsecurecontext_options [`tls.SecurePair`]: tls.html#tls_class_securepair diff --git a/doc/api/http2.md b/doc/api/http2.md index 43813feffdfb80..6f0f0b41bafa1e 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -1505,8 +1505,7 @@ added: v8.4.0 * `options` {Object} * `allowHTTP1` {boolean} Incoming client connections that do not support HTTP/2 will be downgraded to HTTP/1.x when set to `true`. The default value - is `false`. See the [`'unknownProtocol'`][] event. See [ALPN - negotiation](#alpn-negotiation). + is `false`. See the [`'unknownProtocol'`][] event. See [ALPN negotiation][]. * `maxDeflateDynamicTableSize` {number} Sets the maximum dynamic table size for deflating header fields. Defaults to 4Kib. * `maxSendHeaderBlockLength` {number} Sets the maximum allowed size for a @@ -2019,9 +2018,9 @@ added: v8.4.0 * `error` {Error} -Calls `destroy()` on the [`Http2Stream`][] that received the [`ServerRequest`][]. If -`error` is provided, an `'error'` event is emitted and `error` is passed as an -argument to any listeners on the event. +Calls `destroy()` on the [`Http2Stream`][] that received +the [`Http2ServerRequest`][]. If `error` is provided, an `'error'` event +is emitted and `error` is passed as an argument to any listeners on the event. It does nothing if the stream was already destroyed. @@ -2655,7 +2654,7 @@ will result in a [`TypeError`][] being thrown. added: v8.4.0 --> -Call [`stream.pushStream()`][] with the given headers, and wraps the +Call [`http2stream.pushStream()`][] with the given headers, and wraps the given newly created [`Http2Stream`] on `Http2ServerRespose`. The callback will be called with an error with code `ERR_HTTP2_STREAM_CLOSED` @@ -2667,7 +2666,7 @@ if the stream is closed. [HTTP/2]: https://tools.ietf.org/html/rfc7540 [HTTPS]: https.html [Headers Object]: #http2_headers_object -[Http2Session and Sockets]: #http2_http2sesion_and_sockets +[Http2Session and Sockets]: #http2_http2session_and_sockets [Readable Stream]: stream.html#stream_class_stream_readable [Settings Object]: #http2_settings_object [Using options.selectPadding]: #http2_using_options_selectpadding @@ -2678,14 +2677,15 @@ if the stream is closed. [`ClientHttp2Stream`]: #http2_class_clienthttp2stream [`Duplex`]: stream.html#stream_class_stream_duplex [`EventEmitter`]: events.html#events_class_eventemitter +[`Http2ServerRequest`]: #http2_class_http2_http2serverrequest [`Http2Stream`]: #http2_class_http2stream [`ServerHttp2Stream`]: #http2_class_serverhttp2stream -[`ServerRequest`]: #http2_class_server_request [`TypeError`]: errors.html#errors_class_typeerror [`http2.SecureServer`]: #http2_class_http2secureserver [`http2.createSecureServer()`]: #http2_createsecureserver_options_onrequesthandler [`http2.Server`]: #http2_class_http2server [`http2.createServer()`]: #http2_createserver_options_onrequesthandler +[`http2stream.pushStream()`]: #http2_http2stream_pushstream_headers_options_callback [`net.Socket`]: net.html#net_class_net_socket [`request.socket.getPeerCertificate()`]: tls.html#tls_tlssocket_getpeercertificate_detailed [`response.end()`]: #http2_response_end_data_encoding_callback @@ -2695,7 +2695,6 @@ if the stream is closed. [`response.write(data, encoding)`]: http.html#http_response_write_chunk_encoding_callback [`response.writeContinue()`]: #http2_response_writecontinue [`response.writeHead()`]: #http2_response_writehead_statuscode_statusmessage_headers -[`stream.pushStream()`]: #http2_stream-pushstream [`tls.TLSSocket`]: tls.html#tls_class_tls_tlssocket [`tls.createServer()`]: tls.html#tls_tls_createserver_options_secureconnectionlistener [error code]: #error_codes diff --git a/doc/api/process.md b/doc/api/process.md index dd731bf96b49a1..ea474cf30bf576 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -399,7 +399,7 @@ It is important to take note of the following: called asynchronously and therefore unable to correct the underlying problem. *Note*: Windows does not support sending signals, but Node.js offers some -emulation with [`process.kill()`][], and [`ChildProcess.kill()`][]. Sending +emulation with [`process.kill()`][], and [`subprocess.kill()`][]. Sending signal `0` can be used to test for the existence of a process. Sending `SIGINT`, `SIGTERM`, and `SIGKILL` cause the unconditional termination of the target process. @@ -1827,9 +1827,9 @@ cases: [`'message'`]: child_process.html#child_process_event_message [`'rejectionHandled'`]: #process_event_rejectionhandled [`'uncaughtException'`]: #process_event_uncaughtexception -[`ChildProcess.disconnect()`]: child_process.html#child_process_child_disconnect -[`ChildProcess.kill()`]: child_process.html#child_process_child_kill_signal -[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback +[`ChildProcess.disconnect()`]: child_process.html#child_process_subprocess_disconnect +[`subprocess.kill()`]: child_process.html#child_process_subprocess_kill_signal +[`ChildProcess.send()`]: child_process.html#child_process_subprocess_send_message_sendhandle_options_callback [`ChildProcess`]: child_process.html#child_process_class_childprocess [`Error`]: errors.html#errors_class_error [`EventEmitter`]: events.html#events_class_eventemitter diff --git a/doc/api/stream.md b/doc/api/stream.md index 17678aba28b6f5..8aaa4ff2e65478 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2210,14 +2210,14 @@ contain multi-byte characters. [TCP sockets]: net.html#net_class_net_socket [Transform]: #stream_class_stream_transform [Writable]: #stream_class_stream_writable -[child process stdin]: child_process.html#child_process_child_stdin -[child process stdout and stderr]: child_process.html#child_process_child_stdout +[child process stdin]: child_process.html#child_process_subprocess_stdin +[child process stdout and stderr]: child_process.html#child_process_subprocess_stdout [crypto]: crypto.html [fs read streams]: fs.html#fs_class_fs_readstream [fs write streams]: fs.html#fs_class_fs_writestream [http-incoming-message]: http.html#http_class_http_incomingmessage [zlib]: zlib.html -[hwm-gotcha]: #stream_highWaterMark_discrepency_after_calling_readable_setencoding +[hwm-gotcha]: #stream_highwatermark_discrepency_after_calling_readable_setencoding [Readable]: #stream_class_stream_readable [stream-_flush]: #stream_transform_flush_callback [stream-_read]: #stream_readable_read_size_1