diff --git a/doc/api/addons.markdown b/doc/api/addons.markdown index c330217beffa4d..4668bc546f26d7 100644 --- a/doc/api/addons.markdown +++ b/doc/api/addons.markdown @@ -1084,7 +1084,7 @@ const addon = require('./build/Release/addon'); [examples]: https://github.com/nodejs/nan/tree/master/examples/ [installation instructions]: https://github.com/nodejs/node-gyp#installation [libuv]: https://github.com/libuv/libuv -[Linking to Node.js' own dependencies]: #linking-to-nodejs-own-dependencies +[Linking to Node.js' own dependencies]: #addons_linking_to_node_js_own_dependencies [Native Abstractions for Node.js]: https://github.com/nodejs/nan [node-gyp]: https://github.com/nodejs/node-gyp [require]: globals.html#globals_require diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index 66ed4fc78e02cb..eb39eb9d5d6f01 100644 --- a/doc/api/buffer.markdown +++ b/doc/api/buffer.markdown @@ -1745,11 +1745,11 @@ console.log(buf); [`Array#includes()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes [`Array#indexOf()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf [`buf.entries()`]: #buffer_buf_entries -[`buf.fill(0)`]: #buffer_buf_fill_value_offset_end +[`buf.fill(0)`]: #buffer_buf_fill_value_offset_end_encoding [`buf.keys()`]: #buffer_buf_keys [`buf.slice()`]: #buffer_buf_slice_start_end [`buf.values()`]: #buffer_buf_values -[`buf1.compare(buf2)`]: #buffer_buf_compare_otherbuffer +[`buf1.compare(buf2)`]: #buffer_buf_compare_target_targetstart_targetend_sourcestart_sourceend [`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify [`RangeError`]: errors.html#errors_class_rangeerror [`String.prototype.length`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length @@ -1758,7 +1758,7 @@ console.log(buf); [RFC 4648, Section 5]: https://tools.ietf.org/html/rfc4648#section-5 [buffer_from_array]: #buffer_class_method_buffer_from_array [buffer_from_buffer]: #buffer_class_method_buffer_from_buffer -[buffer_from_arraybuf]: #buffer_class_method_buffer_from_arraybuffer +[buffer_from_arraybuf]: #buffer_class_method_buffer_from_arraybuffer_byteoffset_length [buffer_from_string]: #buffer_class_method_buffer_from_str_encoding [buffer_allocunsafe]: #buffer_class_method_buffer_allocraw_size [buffer_alloc]: #buffer_class_method_buffer_alloc_size_fill_encoding diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index 31ebf4fbb9e591..2c8665be58f548 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -1058,10 +1058,10 @@ console.log('中文测试'); [`child_process.spawn()`]: #child_process_child_process_spawn_command_args_options [`child_process.spawnSync()`]: #child_process_child_process_spawnsync_command_args_options [`ChildProcess#kill()`]: #child_process_child_kill_signal -[`ChildProcess#send()`]: #child_process_child_send_message_sendhandle_callback +[`ChildProcess#send()`]: #child_process_child_send_message_sendhandle_options_callback [`Error`]: errors.html#errors_class_error -[`EventEmitter`]: events.html#events_class_events_eventemitter -[`EventEmitters`]: events.html#events_class_events_eventemitter +[`EventEmitter`]: events.html#events_class_eventemitter +[`EventEmitters`]: events.html#events_class_eventemitter [`net.Server`]: net.html#net_class_net_server [`net.Socket`]: net.html#net_class_net_socket [`options.detached`]: #child_process_options_detached diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index b14c3aaf2bfc83..fcc9f24be02a30 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -685,7 +685,7 @@ socket.on('data', (id) => { ``` [`child_process.fork()`]: child_process.html#child_process_child_process_fork_modulepath_args_options -[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_callback +[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback [`disconnect`]: child_process.html#child_process_child_disconnect [`kill`]: process.html#process_process_kill_pid_signal [`server.close()`]: net.html#net_event_close diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index fdc5123fe52dd4..2a7510986f11ee 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -1387,11 +1387,11 @@ See the reference for other recommendations and details. [`hash.digest()`]: #crypto_hash_digest_encoding [`hash.update()`]: #crypto_hash_update_data_input_encoding [`hmac.digest()`]: #crypto_hmac_digest_encoding -[`hmac.update()`]: #crypto_hmac_update_data +[`hmac.update()`]: #crypto_hmac_update_data_input_encoding [`sign.sign()`]: #crypto_sign_sign_private_key_output_format -[`sign.update()`]: #crypto_sign_update_data +[`sign.update()`]: #crypto_sign_update_data_input_encoding [`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_details -[`verify.update()`]: #crypto_verifier_update_data +[`verify.update()`]: #crypto_verifier_update_data_input_encoding [`verify.verify()`]: #crypto_verifier_verify_object_signature_signature_format [Caveats]: #crypto_support_for_weak_or_compromised_algorithms [HTML5's `keygen` element]: http://www.w3.org/TR/html5/forms.html#the-keygen-element diff --git a/doc/api/domain.markdown b/doc/api/domain.markdown index 41d27c5625f896..c556e2533c0be3 100644 --- a/doc/api/domain.markdown +++ b/doc/api/domain.markdown @@ -448,7 +448,7 @@ is emitted. [`domain.dispose()`]: #domain_domain_dispose [`domain.exit()`]: #domain_domain_exit [`Error`]: errors.html#errors_class_error -[`EventEmitter`]: events.html#events_class_events_eventemitter +[`EventEmitter`]: events.html#events_class_eventemitter [`setInterval()`]: timers.html#timers_setinterval_callback_delay_arg [`setTimeout()`]: timers.html#timers_settimeout_callback_delay_arg [`throw`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/throw diff --git a/doc/api/errors.markdown b/doc/api/errors.markdown index efb469ec46f05d..bb83ef1320a25d 100644 --- a/doc/api/errors.markdown +++ b/doc/api/errors.markdown @@ -520,7 +520,7 @@ found [here][online]. encountered by [`http`][] or [`net`][] -- often a sign that a `socket.end()` was not properly called. -[`fs.readdir`]: fs.html#fs_fs_readdir_path_callback +[`fs.readdir`]: fs.html#fs_fs_readdir_path_options_callback [`fs.readFileSync`]: fs.html#fs_fs_readfilesync_file_options [`fs.unlink`]: fs.html#fs_fs_unlink_path_callback [`fs`]: fs.html @@ -529,7 +529,7 @@ found [here][online]. [`net`]: net.html [`process.on('uncaughtException')`]: process.html#process_event_uncaughtexception [domains]: domain.html -[event emitter-based]: events.html#events_class_events_eventemitter +[event emitter-based]: events.html#events_class_eventemitter [file descriptors]: https://en.wikipedia.org/wiki/File_descriptor [online]: http://man7.org/linux/man-pages/man3/errno.3.html [stream-based]: stream.html diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 15c5b433fea1be..bddea87234e5bd 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -1204,10 +1204,10 @@ There are a few special headers that should be noted. [`'listening'`]: net.html#net_event_listening [`'response'`]: #http_event_response [`Agent`]: #http_class_http_agent -[`agent.createConnection()`]: #http_agent_createconnection +[`agent.createConnection()`]: #http_agent_createconnection_options_callback [`Buffer`]: buffer.html#buffer_buffer [`destroy()`]: #http_agent_destroy -[`EventEmitter`]: events.html#events_class_events_eventemitter +[`EventEmitter`]: events.html#events_class_eventemitter [`http.Agent`]: #http_class_http_agent [`http.ClientRequest`]: #http_class_http_clientrequest [`http.globalAgent`]: #http_http_globalagent @@ -1219,8 +1219,8 @@ There are a few special headers that should be noted. [`net.createConnection()`]: net.html#net_net_createconnection_options_connectlistener [`net.Server`]: net.html#net_class_net_server [`net.Server.close()`]: net.html#net_server_close_callback -[`net.Server.listen()`]: net.html#net_server_listen_handle_callback -[`net.Server.listen(path)`]: net.html#net_server_listen_path_callback +[`net.Server.listen()`]: net.html#net_server_listen_handle_backlog_callback +[`net.Server.listen(path)`]: net.html#net_server_listen_path_backlog_callback [`net.Server.listen(port)`]: net.html#net_server_listen_port_hostname_backlog_callback [`net.Socket`]: net.html#net_class_net_socket [`request.socket.getPeerCertificate()`]: tls.html#tls_tlssocket_getpeercertificate_detailed diff --git a/doc/api/net.markdown b/doc/api/net.markdown index 451b5f44ab36ac..d2fe00a316af0a 100644 --- a/doc/api/net.markdown +++ b/doc/api/net.markdown @@ -721,7 +721,7 @@ Returns true if input is a version 6 IP address, otherwise returns false. [`destroy()`]: #net_socket_destroy [`dns.lookup()`]: dns.html#dns_dns_lookup_hostname_options_callback [`end()`]: #net_socket_end_data_encoding -[`EventEmitter`]: events.html#events_class_events_eventemitter +[`EventEmitter`]: events.html#events_class_eventemitter [`net.Socket`]: #net_class_net_socket [`pause()`]: #net_socket_pause [`resume()`]: #net_socket_resume diff --git a/doc/api/process.markdown b/doc/api/process.markdown index d9bd8cc452904e..a19d710e37d411 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -1085,9 +1085,9 @@ Will print something like: [`'message'`]: child_process.html#child_process_event_message [`ChildProcess.disconnect()`]: child_process.html#child_process_child_disconnect -[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_callback +[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback [`Error`]: errors.html#errors_class_error -[`EventEmitter`]: events.html#events_class_events_eventemitter +[`EventEmitter`]: events.html#events_class_eventemitter [`net.Server`]: net.html#net_class_net_server [`net.Socket`]: net.html#net_class_net_socket [`process.exit()`]: #process_process_exit_code @@ -1098,4 +1098,4 @@ Will print something like: [Signal Events]: #process_signal_events [Stream compatibility]: stream.html#stream_compatibility_with_older_node_js_versions [the tty docs]: tty.html#tty_tty -[`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify \ No newline at end of file +[`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown index 32dec055564be4..0b210d114d6899 100644 --- a/doc/api/tls.markdown +++ b/doc/api/tls.markdown @@ -175,7 +175,7 @@ Returned by tls.createSecurePair. This event is emitted from the SecurePair once the pair has successfully established a secure connection. -As with checking for the server [`secureConnection`](#event-secureconnection) +As with checking for the server [`secureConnection`](#tls_event_secureconnection) event, `pair.cleartext.authorized` should be inspected to confirm whether the certificate used is properly authorized. @@ -339,7 +339,7 @@ See `net.Server` for more information. Updates the keys for encryption/decryption of the [TLS Session Tickets][]. NOTE: the buffer should be 48 bytes long. See `ticketKeys` option in -[tls.createServer](#tlscreateserveroptions-secureconnectionlistener) for +[tls.createServer](#tls_tls_createserver_options_secureconnectionlistener) for more information on how it is used. NOTE: the change is effective only for future server connections. Existing @@ -1004,5 +1004,5 @@ console.log(ciphers); // ['AES128-SHA', 'AES256-SHA', ...] [TLS recommendations]: https://wiki.mozilla.org/Security/Server_Side_TLS [TLS Session Tickets]: https://www.ietf.org/rfc/rfc5077.txt [`tls.TLSSocket.getPeerCertificate()`]: #tls_tlssocket_getpeercertificate_detailed -[`tls.createSecureContext()`]: #tls_tls_createsecurecontext_details +[`tls.createSecureContext()`]: #tls_tls_createsecurecontext_options [`tls.connect()`]: #tls_tls_connect_options_callback diff --git a/doc/api/vm.markdown b/doc/api/vm.markdown index 81cf2c3273fd57..b8803b65e652a8 100644 --- a/doc/api/vm.markdown +++ b/doc/api/vm.markdown @@ -124,7 +124,7 @@ requires a separate process. ### script.runInThisContext([options]) -Similar to [`vm.runInThisContext()`]() but a method of a precompiled `Script` +Similar to [`vm.runInThisContext()`][] but a method of a precompiled `Script` object. `script.runInThisContext()` runs `script`'s compiled code and returns the result. Running code does not have access to local scope, but does have access to the current `global` object.