mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: fix broken references
PR-URL: https://github.com/nodejs/node/pull/6100 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
committed by
James M Snell
parent
40a5761969
commit
3641ca9849
@@ -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
|
||||
|
||||
@@ -1845,11 +1845,11 @@ console.log(buf);
|
||||
[`Array#indexOf()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
|
||||
[`Array#includes()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
|
||||
[`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
|
||||
@@ -1857,7 +1857,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_allocunsafe_size
|
||||
[buffer_allocunsafeslow]: #buffer_class_method_buffer_allocunsafeslow_size
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -703,7 +703,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
|
||||
|
||||
@@ -1405,11 +1405,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1225,10 +1225,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
|
||||
@@ -1240,8 +1240,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
|
||||
|
||||
@@ -724,7 +724,7 @@ Returns true if input is a version 6 IP address, otherwise returns false.
|
||||
[`dns.lookup()`]: dns.html#dns_dns_lookup_hostname_options_callback
|
||||
[`dns.lookup()` hints]: #dns_supported_getaddrinfo_flags
|
||||
[`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
|
||||
|
||||
@@ -1285,9 +1285,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
|
||||
@@ -1300,4 +1300,4 @@ Will print something like:
|
||||
[the tty docs]: tty.html#tty_tty
|
||||
[`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
|
||||
[process_warning]: #process_event_warning
|
||||
[process_emit_warning]: #process_emitwarning_warning_name_ctor
|
||||
[process_emit_warning]: #process_process_emitwarning_warning_name_ctor
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user