From 3917132011efb74f4e1dbe41b4e6edf819b828e6 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Mon, 8 May 2017 09:30:13 -0700 Subject: [PATCH] doc: sort bottom-of-file markdown links PR-URL: https://github.com/nodejs/node/pull/12726 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Gibson Fahnestock --- doc/api/addons.md | 6 +++--- doc/api/assert.md | 22 +++++++++++----------- doc/api/buffer.md | 39 +++++++++++++++++++-------------------- doc/api/child_process.md | 10 +++++----- doc/api/cli.md | 6 +++--- doc/api/cluster.md | 4 ++-- doc/api/crypto.md | 10 +++++----- doc/api/deprecations.md | 38 +++++++++++++++++++------------------- doc/api/dgram.md | 8 ++++---- doc/api/dns.md | 4 ++-- doc/api/domain.md | 4 ++-- doc/api/errors.md | 16 ++++++++-------- doc/api/events.md | 12 ++++++------ doc/api/fs.md | 31 ++++++++++++++++--------------- doc/api/globals.md | 16 ++++++++-------- doc/api/http.md | 16 ++++++++-------- doc/api/https.md | 10 +++++----- doc/api/net.md | 24 ++++++++++++------------ doc/api/path.md | 4 ++-- doc/api/process.md | 22 +++++++++++----------- doc/api/punycode.md | 2 +- doc/api/readline.md | 6 +++--- doc/api/repl.md | 6 +++--- doc/api/stream.md | 26 +++++++++++++------------- doc/api/timers.md | 2 +- doc/api/tls.md | 26 +++++++++++++------------- doc/api/url.md | 30 +++++++++++++++--------------- doc/api/util.md | 16 ++++++++-------- doc/api/v8.md | 18 +++++++++--------- doc/api/vm.md | 8 ++++---- doc/api/zlib.md | 18 +++++++++--------- 31 files changed, 230 insertions(+), 230 deletions(-) diff --git a/doc/api/addons.md b/doc/api/addons.md index 1846f7583ae9b1..9737d7f44e039a 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -1128,14 +1128,14 @@ Test in JavaScript by running: const addon = require('./build/Release/addon'); ``` +[Embedder's Guide]: https://github.com/v8/v8/wiki/Embedder's%20Guide +[Linking to Node.js' own dependencies]: #addons_linking_to_node_js_own_dependencies +[Native Abstractions for Node.js]: https://github.com/nodejs/nan [bindings]: https://github.com/TooTallNate/node-bindings [download]: https://github.com/nodejs/node-addon-examples -[Embedder's Guide]: https://github.com/v8/v8/wiki/Embedder's%20Guide [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]: #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 [v8-docs]: https://v8docs.nodesource.com/ diff --git a/doc/api/assert.md b/doc/api/assert.md index 74fd2a37d07c84..3ad9d336460e50 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -589,21 +589,21 @@ assert(Object.is(str1 / 1, str2 / 1)); For more information, see [MDN's guide on equality comparisons and sameness][mdn-equality-guide]. +[`Error`]: errors.html#errors_class_error +[`Map`]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Map +[`Object.is()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is +[`RegExp`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions +[`Set`]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Set +[`TypeError`]: errors.html#errors_class_typeerror [`assert.deepEqual()`]: #assert_assert_deepequal_actual_expected_message [`assert.deepStrictEqual()`]: #assert_assert_deepstrictequal_actual_expected_message [`assert.ok()`]: #assert_assert_ok_value_message [`assert.throws()`]: #assert_assert_throws_block_error_message -[`Error`]: errors.html#errors_class_error -[caveats]: #assert_caveats -[`RegExp`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions -[`TypeError`]: errors.html#errors_class_typeerror [Abstract Equality Comparison]: https://tc39.github.io/ecma262/#sec-abstract-equality-comparison -[Strict Equality Comparison]: https://tc39.github.io/ecma262/#sec-strict-equality-comparison -[`Map`]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Map -[`Set`]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Set -[`Object.is()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is +[Object.prototype.toString()]: https://tc39.github.io/ecma262/#sec-object.prototype.tostring [SameValueZero]: https://tc39.github.io/ecma262/#sec-samevaluezero -[prototype-spec]: https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots -[mdn-equality-guide]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness +[Strict Equality Comparison]: https://tc39.github.io/ecma262/#sec-strict-equality-comparison +[caveats]: #assert_caveats [enumerable "own" properties]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties -[Object.prototype.toString()]: https://tc39.github.io/ecma262/#sec-object.prototype.tostring +[mdn-equality-guide]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness +[prototype-spec]: https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots diff --git a/doc/api/buffer.md b/doc/api/buffer.md index d28d8e507145b1..3a6a048417239a 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -2616,16 +2616,8 @@ buf.fill(0); console.log(buf); ``` -[`buf.compare()`]: #buffer_buf_compare_target_targetstart_targetend_sourcestart_sourceend -[`buf.buffer`]: #buffer_buf_buffer -[`buf.entries()`]: #buffer_buf_entries -[`buf.indexOf()`]: #buffer_buf_indexof_value_byteoffset_encoding -[`buf.fill()`]: #buffer_buf_fill_value_offset_end_encoding -[`buf.keys()`]: #buffer_buf_keys -[`buf.length`]: #buffer_buf_length -[`buf.slice()`]: #buffer_buf_slice_start_end -[`buf.values()`]: #buffer_buf_values -[`buffer.kMaxLength`]: #buffer_buffer_kmaxlength +[`ArrayBuffer#slice()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/slice +[`ArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer [`Buffer.alloc()`]: #buffer_class_method_buffer_alloc_size_fill_encoding [`Buffer.allocUnsafe()`]: #buffer_class_method_buffer_allocunsafe_size [`Buffer.allocUnsafeSlow()`]: #buffer_class_method_buffer_allocunsafeslow_size @@ -2634,21 +2626,28 @@ console.log(buf); [`Buffer.from(buffer)`]: #buffer_class_method_buffer_from_buffer [`Buffer.from(string)`]: #buffer_class_method_buffer_from_string_encoding [`Buffer.poolSize`]: #buffer_class_property_buffer_poolsize -[`RangeError`]: errors.html#errors_class_rangeerror -[`util.inspect()`]: util.html#util_util_inspect_object_options - -[`ArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer -[`ArrayBuffer#slice()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/slice [`DataView`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView -[iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols [`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify -[RFC1345]: https://tools.ietf.org/html/rfc1345 -[RFC4648, Section 5]: https://tools.ietf.org/html/rfc4648#section-5 -[`String.prototype.length`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length +[`RangeError`]: errors.html#errors_class_rangeerror [`String#indexOf()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf [`String#lastIndexOf()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf -[`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray +[`String.prototype.length`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length [`TypedArray.from()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from +[`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray [`Uint32Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array [`Uint8Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array +[`buf.buffer`]: #buffer_buf_buffer +[`buf.compare()`]: #buffer_buf_compare_target_targetstart_targetend_sourcestart_sourceend +[`buf.entries()`]: #buffer_buf_entries +[`buf.fill()`]: #buffer_buf_fill_value_offset_end_encoding +[`buf.indexOf()`]: #buffer_buf_indexof_value_byteoffset_encoding +[`buf.keys()`]: #buffer_buf_keys +[`buf.length`]: #buffer_buf_length +[`buf.slice()`]: #buffer_buf_slice_start_end +[`buf.values()`]: #buffer_buf_values +[`buffer.kMaxLength`]: #buffer_buffer_kmaxlength +[`util.inspect()`]: util.html#util_util_inspect_object_options +[RFC1345]: https://tools.ietf.org/html/rfc1345 +[RFC4648, Section 5]: https://tools.ietf.org/html/rfc4648#section-5 [WHATWG spec]: https://encoding.spec.whatwg.org/ +[iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 89dedae7bc304b..b3e3001417cc4e 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -1238,6 +1238,11 @@ to `stdout` although there are only 4 characters. [`'error'`]: #child_process_event_error [`'exit'`]: #child_process_event_exit [`'message'`]: #child_process_event_message +[`ChildProcess`]: #child_process_child_process +[`Error`]: errors.html#errors_class_error +[`EventEmitter`]: events.html#events_class_eventemitter +[`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify +[`Uint8Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array [`child.channel`]: #child_process_child_channel [`child.connected`]: #child_process_child_connected [`child.disconnect()`]: #child_process_child_disconnect @@ -1253,10 +1258,6 @@ to `stdout` although there are only 4 characters. [`child_process.fork()`]: #child_process_child_process_fork_modulepath_args_options [`child_process.spawn()`]: #child_process_child_process_spawn_command_args_options [`child_process.spawnSync()`]: #child_process_child_process_spawnsync_command_args_options -[`ChildProcess`]: #child_process_child_process -[`Error`]: errors.html#errors_class_error -[`EventEmitter`]: events.html#events_class_eventemitter -[`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify [`maxBuffer` and Unicode]: #child_process_maxbuffer_and_unicode [`net.Server`]: net.html#net_class_net_server [`net.Socket`]: net.html#net_class_net_socket @@ -1269,4 +1270,3 @@ to `stdout` although there are only 4 characters. [`process.send()`]: process.html#process_process_send_message_sendhandle_options_callback [`stdio`]: #child_process_options_stdio [synchronous counterparts]: #child_process_synchronous_process_creation -[`Uint8Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array diff --git a/doc/api/cli.md b/doc/api/cli.md index f3a3ffb78dc2af..765bc2b9a36380 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -524,10 +524,10 @@ appended to if it does. If an error occurs while attempting to write the warning to the file, the warning will be written to stderr instead. This is equivalent to using the `--redirect-warnings=file` command-line flag. -[emit_warning]: process.html#process_process_emitwarning_warning_name_ctor +[`--openssl-config`]: #cli_openssl_config_file [Buffer]: buffer.html#buffer_buffer [Chrome Debugging Protocol]: https://chromedevtools.github.io/debugger-protocol-viewer -[debugger]: debugger.html [REPL]: repl.html [SlowBuffer]: buffer.html#buffer_class_slowbuffer -[`--openssl-config`]: #cli_openssl_config_file +[debugger]: debugger.html +[emit_warning]: process.html#process_process_emitwarning_warning_name_ctor diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 97c4610da54c55..c7d8359ac0ce93 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -858,13 +858,13 @@ 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_options_callback +[`child_process.fork()`]: child_process.html#child_process_child_process_fork_modulepath_args_options [`disconnect`]: child_process.html#child_process_child_disconnect [`kill`]: process.html#process_process_kill_pid_signal +[`process` event: `'message'`]: process.html#process_event_message [`server.close()`]: net.html#net_event_close [`worker.exitedAfterDisconnect`]: #cluster_worker_exitedafterdisconnect [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 -[`process` event: `'message'`]: process.html#process_event_message diff --git a/doc/api/crypto.md b/doc/api/crypto.md index e2a96c2c6c3caa..68a905ae1d8fab 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2199,6 +2199,7 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. [`Buffer`]: buffer.html +[`EVP_BytesToKey`]: https://www.openssl.org/docs/man1.0.2/crypto/EVP_BytesToKey.html [`cipher.final()`]: #crypto_cipher_final_output_encoding [`cipher.update()`]: #crypto_cipher_update_data_input_encoding_output_encoding [`crypto.createCipher()`]: #crypto_crypto_createcipher_algorithm_password @@ -2222,7 +2223,6 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. [`ecdh.generateKeys()`]: #crypto_ecdh_generatekeys_encoding_format [`ecdh.setPrivateKey()`]: #crypto_ecdh_setprivatekey_private_key_encoding [`ecdh.setPublicKey()`]: #crypto_ecdh_setpublickey_public_key_encoding -[`EVP_BytesToKey`]: https://www.openssl.org/docs/man1.0.2/crypto/EVP_BytesToKey.html [`hash.digest()`]: #crypto_hash_digest_encoding [`hash.update()`]: #crypto_hash_update_data_input_encoding [`hmac.digest()`]: #crypto_hmac_digest_encoding @@ -2233,16 +2233,16 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. [`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 +[Crypto Constants]: #crypto_crypto_constants_1 [HTML5's `keygen` element]: http://www.w3.org/TR/html5/forms.html#the-keygen-element -[initialization vector]: https://en.wikipedia.org/wiki/Initialization_vector [NIST SP 800-131A]: http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar1.pdf [NIST SP 800-132]: http://csrc.nist.gov/publications/nistpubs/800-132/nist-sp800-132.pdf [OpenSSL cipher list format]: https://www.openssl.org/docs/man1.0.2/apps/ciphers.html#CIPHER-LIST-FORMAT [OpenSSL's SPKAC implementation]: https://www.openssl.org/docs/man1.0.2/apps/spkac.html -[publicly trusted list of CAs]: https://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt [RFC 2412]: https://www.rfc-editor.org/rfc/rfc2412.txt [RFC 3526]: https://www.rfc-editor.org/rfc/rfc3526.txt [RFC 4055]: https://www.rfc-editor.org/rfc/rfc4055.txt -[stream]: stream.html +[initialization vector]: https://en.wikipedia.org/wiki/Initialization_vector +[publicly trusted list of CAs]: https://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt [stream-writable-write]: stream.html#stream_writable_write_chunk_encoding_callback -[Crypto Constants]: #crypto_crypto_constants_1 +[stream]: stream.html diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 6a28107a194fda..96e9f927d34b7a 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -600,14 +600,15 @@ The DebugContext will be removed in V8 soon and will not be available in Node *Note*: DebugContext was an experimental API. -[alloc]: buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding -[alloc_unsafe_size]: buffer.html#buffer_class_method_buffer_allocunsafe_size [`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size -[`Buffer.isBuffer()`]: buffer.html#buffer_class_method_buffer_isbuffer_obj [`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array -[from_arraybuffer]: buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length [`Buffer.from(buffer)`]: buffer.html#buffer_class_method_buffer_from_buffer -[from_string_encoding]: buffer.html#buffer_class_method_buffer_from_string_encoding +[`Buffer.isBuffer()`]: buffer.html#buffer_class_method_buffer_isbuffer_obj +[`Domain.dispose()`]: domain.html#domain_domain_dispose +[`EventEmitter.listenerCount(emitter, eventName)`]: events.html#events_eventemitter_listenercount_emitter_eventname +[`Server.connections`]: net.html#net_server_connections +[`Server.getConnections()`]: net.html#net_server_getconnections_callback +[`Server.listen({fd: })`]: net.html#net_server_listen_handle_backlog_callback [`SlowBuffer`]: buffer.html#buffer_class_slowbuffer [`child_process`]: child_process.html [`console.error()`]: console.html#console_console_error_data_args @@ -615,36 +616,29 @@ The DebugContext will be removed in V8 soon and will not be available in Node [`crypto.createCredentials()`]: crypto.html#crypto_crypto_createcredentials_details [`crypto.pbkdf2()`]: crypto.html#crypto_crypto_pbkdf2_password_salt_iterations_keylen_digest_callback [`domain`]: domain.html -[`Domain.dispose()`]: domain.html#domain_domain_dispose [`ecdh.setPublicKey()`]: crypto.html#crypto_ecdh_setpublickey_public_key_encoding [`emitter.listenerCount(eventName)`]: events.html#events_emitter_listenercount_eventname -[`EventEmitter.listenerCount(emitter, eventName)`]: events.html#events_eventemitter_listenercount_emitter_eventname -[`fs.exists(path, callback)`]: fs.html#fs_fs_exists_path_callback -[`fs.stat()`]: fs.html#fs_fs_stat_path_callback [`fs.access()`]: fs.html#fs_fs_access_path_mode_callback +[`fs.exists(path, callback)`]: fs.html#fs_fs_exists_path_callback [`fs.lchmod(path, mode, callback)`]: fs.html#fs_fs_lchmod_path_mode_callback [`fs.lchmodSync(path, mode)`]: fs.html#fs_fs_lchmodsync_path_mode [`fs.lchown(path, uid, gid, callback)`]: fs.html#fs_fs_lchown_path_uid_gid_callback [`fs.lchownSync(path, uid, gid)`]: fs.html#fs_fs_lchownsync_path_uid_gid [`fs.read()`]: fs.html#fs_fs_read_fd_buffer_offset_length_position_callback [`fs.readSync()`]: fs.html#fs_fs_readsync_fd_buffer_offset_length_position -[`Server.connections`]: net.html#net_server_connections -[`Server.getConnections()`]: net.html#net_server_getconnections_callback -[`Server.listen({fd: })`]: net.html#net_server_listen_handle_backlog_callback +[`fs.stat()`]: fs.html#fs_fs_stat_path_callback [`os.networkInterfaces`]: os.html#os_os_networkinterfaces [`os.tmpdir()`]: os.html#os_os_tmpdir [`punycode`]: punycode.html [`require.extensions`]: globals.html#globals_require_extensions -[`tls.TLSSocket`]: tls.html#tls_class_tls_tlssocket [`tls.CryptoStream`]: tls.html#tls_class_cryptostream -[`tls.SecurePair`]: tls.html#tls_class_securepair [`tls.SecureContext`]: tls.html#tls_tls_createsecurecontext_options +[`tls.SecurePair`]: tls.html#tls_class_securepair +[`tls.TLSSocket`]: tls.html#tls_class_tls_tlssocket [`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_options -[`util`]: util.html +[`util._extend()`]: util.html#util_util_extend_target_source [`util.debug()`]: util.html#util_util_debug_string [`util.error()`]: util.html#util_util_error_strings -[`util.puts()`]: util.html#util_util_puts_strings -[`util.print()`]: util.html#util_util_print_strings [`util.isArray()`]: util.html#util_util_isarray_object [`util.isBoolean()`]: util.html#util_util_isboolean_object [`util.isBuffer()`]: util.html#util_util_isbuffer_object @@ -661,6 +655,12 @@ The DebugContext will be removed in V8 soon and will not be available in Node [`util.isSymbol()`]: util.html#util_util_issymbol_object [`util.isUndefined()`]: util.html#util_util_isundefined_object [`util.log()`]: util.html#util_util_log_string -[`util._extend()`]: util.html#util_util_extend_target_source -[`worker.suicide`]: cluster.html#cluster_worker_suicide +[`util.print()`]: util.html#util_util_print_strings +[`util.puts()`]: util.html#util_util_puts_strings +[`util`]: util.html [`worker.exitedAfterDisconnect`]: cluster.html#cluster_worker_exitedafterdisconnect +[`worker.suicide`]: cluster.html#cluster_worker_suicide +[alloc]: buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding +[alloc_unsafe_size]: buffer.html#buffer_class_method_buffer_allocunsafe_size +[from_arraybuffer]: buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length +[from_string_encoding]: buffer.html#buffer_class_method_buffer_from_string_encoding diff --git a/doc/api/dgram.md b/doc/api/dgram.md index e4bd8155df388d..15be9f0de6957c 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -498,14 +498,14 @@ interfaces" address on a random port (it does the right thing for both `udp4` and `udp6` sockets). The bound address and port can be retrieved using [`socket.address().address`][] and [`socket.address().port`][]. -[`EventEmitter`]: events.html -[`Buffer`]: buffer.html [`'close'`]: #dgram_event_close +[`Buffer`]: buffer.html +[`Error`]: errors.html#errors_class_error +[`EventEmitter`]: events.html [`close()`]: #dgram_socket_close_callback [`cluster`]: cluster.html -[`dgram.createSocket()`]: #dgram_dgram_createsocket_options_callback [`dgram.Socket#bind()`]: #dgram_socket_bind_options_callback -[`Error`]: errors.html#errors_class_error +[`dgram.createSocket()`]: #dgram_dgram_createsocket_options_callback [`socket.address().address`]: #dgram_socket_address [`socket.address().port`]: #dgram_socket_address [`socket.bind()`]: #dgram_socket_bind_port_address_callback diff --git a/doc/api/dns.md b/doc/api/dns.md index 48990b5bc8e859..0cacd5b402f51a 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -512,7 +512,7 @@ processing that happens on libuv's threadpool that [`dns.lookup()`][] can have. They do not use the same set of configuration files than what [`dns.lookup()`][] uses. For instance, _they do not use the configuration from `/etc/hosts`_. -[DNS error codes]: #dns_error_codes +[`Error`]: errors.html#errors_class_error [`dns.lookup()`]: #dns_dns_lookup_hostname_options_callback [`dns.resolve4()`]: #dns_dns_resolve4_hostname_options_callback [`dns.resolve6()`]: #dns_dns_resolve6_hostname_options_callback @@ -524,7 +524,7 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_. [`dns.resolveSoa()`]: #dns_dns_resolvesoa_hostname_callback [`dns.resolveSrv()`]: #dns_dns_resolvesrv_hostname_callback [`dns.resolveTxt()`]: #dns_dns_resolvetxt_hostname_callback -[`Error`]: errors.html#errors_class_error +[DNS error codes]: #dns_error_codes [Implementation considerations section]: #dns_implementation_considerations [supported `getaddrinfo` flags]: #dns_supported_getaddrinfo_flags [the official libuv documentation]: http://docs.libuv.org/en/latest/threadpool.html diff --git a/doc/api/domain.md b/doc/api/domain.md index 54b3b18dc0448b..d495275164766b 100644 --- a/doc/api/domain.md +++ b/doc/api/domain.md @@ -494,12 +494,12 @@ Note that domains will not interfere with the error handling mechanisms for Promises, i.e. no `error` event will be emitted for unhandled Promise rejections. +[`Error`]: errors.html#errors_class_error +[`EventEmitter`]: events.html#events_class_eventemitter [`domain.add(emitter)`]: #domain_domain_add_emitter [`domain.bind(callback)`]: #domain_domain_bind_callback [`domain.dispose()`]: #domain_domain_dispose [`domain.exit()`]: #domain_domain_exit -[`Error`]: errors.html#errors_class_error -[`EventEmitter`]: events.html#events_class_eventemitter [`setInterval()`]: timers.html#timers_setinterval_callback_delay_args [`setTimeout()`]: timers.html#timers_settimeout_callback_delay_args [`throw`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/throw diff --git a/doc/api/errors.md b/doc/api/errors.md index 75c0b8699f598b..cbe9f2ff250726 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -751,29 +751,29 @@ in user code, although it is not impossible. Occurrences of this error are most likely an indication of a bug within Node.js itself. +[`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE [`child.kill()`]: child_process.html#child_process_child_kill_signal [`child.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback -[`process.send()`]: process.html#process_process_send_message_sendhandle_options_callback -[`fs.readdir`]: fs.html#fs_fs_readdir_path_options_callback [`fs.readFileSync`]: fs.html#fs_fs_readfilesync_file_options +[`fs.readdir`]: fs.html#fs_fs_readdir_path_options_callback [`fs.unlink`]: fs.html#fs_fs_unlink_path_callback [`fs`]: fs.html [`http`]: http.html [`https`]: https.html [`libuv Error handling`]: http://docs.libuv.org/en/v1.x/errors.html [`net`]: net.html +[`new URL(input)`]: url.html#url_constructor_new_url_input_base +[`new URLSearchParams(iterable)`]: url.html#url_constructor_new_urlsearchparams_iterable [`process.on('uncaughtException')`]: process.html#process_event_uncaughtexception +[`process.send()`]: process.html#process_process_send_message_sendhandle_options_callback +[Node.js Error Codes]: #nodejs-error-codes +[V8's stack trace API]: https://github.com/v8/v8/wiki/Stack-Trace-API +[WHATWG URL API]: url.html#url_the_whatwg_url_api [domains]: domain.html [event emitter-based]: events.html#events_class_eventemitter -[`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE [file descriptors]: https://en.wikipedia.org/wiki/File_descriptor -[Node.js Error Codes]: #nodejs-error-codes [online]: http://man7.org/linux/man-pages/man3/errno.3.html [stream-based]: stream.html [syscall]: http://man7.org/linux/man-pages/man2/syscall.2.html [try-catch]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch -[`new URL(input)`]: url.html#url_constructor_new_url_input_base -[`new URLSearchParams(iterable)`]: url.html#url_constructor_new_urlsearchparams_iterable -[V8's stack trace API]: https://github.com/v8/v8/wiki/Stack-Trace-API [vm]: vm.html -[WHATWG URL API]: url.html#url_the_whatwg_url_api diff --git a/doc/api/events.md b/doc/api/events.md index cb3ac491dcf200..da13a118c70f3b 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -584,13 +584,13 @@ to indicate an unlimited number of listeners. Returns a reference to the `EventEmitter`, so that calls can be chained. -[`net.Server`]: net.html#net_class_net_server -[`fs.ReadStream`]: fs.html#fs_class_fs_readstream -[`emitter.setMaxListeners(n)`]: #events_emitter_setmaxlisteners_n +[`--trace-warnings`]: cli.html#cli_trace_warnings [`EventEmitter.defaultMaxListeners`]: #events_eventemitter_defaultmaxlisteners -[`emitter.listenerCount()`]: #events_emitter_listenercount_eventname [`domain`]: domain.html -[`process` object's `uncaughtException` event]: process.html#process_event_uncaughtexception +[`emitter.listenerCount()`]: #events_emitter_listenercount_eventname +[`emitter.setMaxListeners(n)`]: #events_emitter_setmaxlisteners_n +[`fs.ReadStream`]: fs.html#fs_class_fs_readstream +[`net.Server`]: net.html#net_class_net_server [`process.on('warning')`]: process.html#process_event_warning +[`process` object's `uncaughtException` event]: process.html#process_event_uncaughtexception [stream]: stream.html -[`--trace-warnings`]: cli.html#cli_trace_warnings diff --git a/doc/api/fs.md b/doc/api/fs.md index a6f5f928228349..5b30579fff657c 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2777,14 +2777,23 @@ The following constants are meant for use with the [`fs.Stats`][] object's + +[`AHAFS`]: https://www.ibm.com/developerworks/aix/library/au-aix_event_infrastructure/ [`Buffer.byteLength`]: buffer.html#buffer_class_method_buffer_bytelength_string_encoding [`Buffer`]: buffer.html#buffer_buffer -[Caveats]: #fs_caveats +[`FSEvents`]: https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40005289-CH1-SW1 +[`ReadDirectoryChangesW`]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365465%28v=vs.85%29.aspx +[`ReadStream`]: #fs_class_fs_readstream +[`URL`]: url.html#url_the_whatwg_url_api +[`Uint8Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array +[`WriteStream`]: #fs_class_fs_writestream +[`event ports`]: http://illumos.org/man/port_create +[`fs.FSWatcher`]: #fs_class_fs_fswatcher +[`fs.Stats`]: #fs_class_fs_stats [`fs.access()`]: #fs_fs_access_path_mode_callback [`fs.appendFile()`]: fs.html#fs_fs_appendfile_file_data_options_callback [`fs.exists()`]: fs.html#fs_fs_exists_path_callback [`fs.fstat()`]: #fs_fs_fstat_fd_callback -[`fs.FSWatcher`]: #fs_class_fs_fswatcher [`fs.futimes()`]: #fs_fs_futimes_fd_atime_mtime_callback [`fs.lstat()`]: #fs_fs_lstat_path_callback [`fs.mkdtemp()`]: #fs_fs_mkdtemp_prefix_options_callback @@ -2792,28 +2801,20 @@ The following constants are meant for use with the [`fs.Stats`][] object's [`fs.read()`]: #fs_fs_read_fd_buffer_offset_length_position_callback [`fs.readFile`]: #fs_fs_readfile_file_options_callback [`fs.stat()`]: #fs_fs_stat_path_callback -[`fs.Stats`]: #fs_class_fs_stats [`fs.utimes()`]: #fs_fs_futimes_fd_atime_mtime_callback [`fs.watch()`]: #fs_fs_watch_filename_options_listener [`fs.write()`]: #fs_fs_write_fd_buffer_offset_length_position_callback [`fs.writeFile()`]: #fs_fs_writefile_file_data_options_callback +[`inotify`]: http://man7.org/linux/man-pages/man7/inotify.7.html +[`kqueue`]: https://www.freebsd.org/cgi/man.cgi?kqueue [`net.Socket`]: net.html#net_class_net_socket -[`ReadStream`]: #fs_class_fs_readstream [`stat()`]: fs.html#fs_fs_stat_path_callback [`util.inspect(stats)`]: util.html#util_util_inspect_object_options -[`WriteStream`]: #fs_class_fs_writestream +[Caveats]: #fs_caveats +[Common System Errors]: errors.html#errors_common_system_errors +[FS Constants]: #fs_fs_constants_1 [MDN-Date-getTime]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date/getTime [MDN-Date]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date [Readable Stream]: stream.html#stream_class_stream_readable [Writable Stream]: stream.html#stream_class_stream_writable [inode]: https://en.wikipedia.org/wiki/Inode -[FS Constants]: #fs_fs_constants_1 -[`inotify`]: http://man7.org/linux/man-pages/man7/inotify.7.html -[`kqueue`]: https://www.freebsd.org/cgi/man.cgi?kqueue -[`FSEvents`]: https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40005289-CH1-SW1 -[`event ports`]: http://illumos.org/man/port_create -[`ReadDirectoryChangesW`]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365465%28v=vs.85%29.aspx -[`AHAFS`]: https://www.ibm.com/developerworks/aix/library/au-aix_event_infrastructure/ -[Common System Errors]: errors.html#errors_common_system_errors -[`Uint8Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array -[`URL`]: url.html#url_the_whatwg_url_api diff --git a/doc/api/globals.md b/doc/api/globals.md index 4aa9089b40de16..c91acb32447c64 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -274,18 +274,18 @@ added: v0.0.1 [`__dirname`]: #globals_dirname [`__filename`]: #globals_filename -[`console`]: console.html -[`path.dirname()`]: path.html#path_path_dirname_path -[`process` object]: process.html#process_process -[buffer section]: buffer.html -[module system documentation]: modules.html -[Modules]: modules.html#modules_modules -[native addons]: addons.html -[timers]: timers.html [`clearImmediate`]: timers.html#timers_clearimmediate_immediate [`clearInterval`]: timers.html#timers_clearinterval_timeout [`clearTimeout`]: timers.html#timers_cleartimeout_timeout +[`console`]: console.html +[`path.dirname()`]: path.html#path_path_dirname_path +[`process` object]: process.html#process_process [`setImmediate`]: timers.html#timers_setimmediate_callback_args [`setInterval`]: timers.html#timers_setinterval_callback_delay_args [`setTimeout`]: timers.html#timers_settimeout_callback_delay_args +[Modules]: modules.html#modules_modules +[buffer section]: buffer.html [built-in objects]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects +[module system documentation]: modules.html +[native addons]: addons.html +[timers]: timers.html diff --git a/doc/api/http.md b/doc/api/http.md index ba76269c0a4b18..de49353c229718 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1734,23 +1734,24 @@ There are a few special headers that should be noted. [`'request'`]: #http_event_request [`'response'`]: #http_event_response [`Agent`]: #http_class_http_agent +[`EventEmitter`]: events.html#events_class_eventemitter +[`TypeError`]: errors.html#errors_class_typeerror [`agent.createConnection()`]: #http_agent_createconnection_options_callback [`destroy()`]: #http_agent_destroy -[`EventEmitter`]: events.html#events_class_eventemitter [`http.Agent`]: #http_class_http_agent [`http.ClientRequest`]: #http_class_http_clientrequest -[`http.globalAgent`]: #http_http_globalagent [`http.IncomingMessage`]: #http_class_http_incomingmessage -[`http.request()`]: #http_http_request_options_callback [`http.Server`]: #http_class_http_server +[`http.globalAgent`]: #http_http_globalagent +[`http.request()`]: #http_http_request_options_callback [`message.headers`]: #http_message_headers -[`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_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.Server`]: net.html#net_class_net_server [`net.Socket`]: net.html#net_class_net_socket +[`net.createConnection()`]: net.html#net_net_createconnection_options_connectlistener [`request.socket.getPeerCertificate()`]: tls.html#tls_tlssocket_getpeercertificate_detailed [`response.end()`]: #http_response_end_data_encoding_callback [`response.setHeader()`]: #http_response_setheader_name_value @@ -1761,11 +1762,10 @@ There are a few special headers that should be noted. [`socket.setKeepAlive()`]: net.html#net_socket_setkeepalive_enable_initialdelay [`socket.setNoDelay()`]: net.html#net_socket_setnodelay_nodelay [`socket.setTimeout()`]: net.html#net_socket_settimeout_timeout_callback -[`TypeError`]: errors.html#errors_class_typeerror [`url.parse()`]: url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost -[constructor options]: #http_new_agent_options [Readable Stream]: stream.html#stream_class_stream_readable [Writable Stream]: stream.html#stream_class_stream_writable +[constructor options]: #http_new_agent_options [socket.unref()]: net.html#net_socket_unref -[unspecified IPv6 address]: https://en.wikipedia.org/wiki/IPv6_address#Unspecified_address [unspecified IPv4 address]: https://en.wikipedia.org/wiki/0.0.0.0 +[unspecified IPv6 address]: https://en.wikipedia.org/wiki/IPv6_address#Unspecified_address diff --git a/doc/api/https.md b/doc/api/https.md index 59e9fe663c1fb9..ca4b94970c46a6 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -229,19 +229,19 @@ const req = https.request(options, (res) => { [`Agent`]: #https_class_https_agent [`Buffer`]: buffer.html#buffer_buffer +[`SSL_METHODS`]: https://www.openssl.org/docs/man1.0.2/ssl/ssl.html#DEALING-WITH-PROTOCOL-METHODS [`globalAgent`]: #https_https_globalagent [`http.Agent`]: http.html#http_class_http_agent +[`http.Server#setTimeout()`]: http.html#http_server_settimeout_msecs_callback +[`http.Server#timeout`]: http.html#http_server_timeout +[`http.Server`]: http.html#http_class_http_server [`http.close()`]: http.html#http_server_close_callback [`http.get()`]: http.html#http_http_get_options_callback [`http.listen()`]: http.html#http_server_listen_port_hostname_backlog_callback [`http.request()`]: http.html#http_http_request_options_callback -[`http.Server#setTimeout()`]: http.html#http_server_settimeout_msecs_callback -[`http.Server#timeout`]: http.html#http_server_timeout -[`http.Server`]: http.html#http_class_http_server [`https.Agent`]: #https_class_https_agent [`https.request()`]: #https_https_request_options_callback -[`SSL_METHODS`]: https://www.openssl.org/docs/man1.0.2/ssl/ssl.html#DEALING-WITH-PROTOCOL-METHODS [`tls.connect()`]: tls.html#tls_tls_connect_options_callback -[`tls.createServer()`]: tls.html#tls_tls_createserver_options_secureconnectionlistener [`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_options +[`tls.createServer()`]: tls.html#tls_tls_createserver_options_secureconnectionlistener [`url.parse()`]: url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost diff --git a/doc/api/net.md b/doc/api/net.md index 7a96ad122e7d12..9055464972421c 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -1051,46 +1051,46 @@ Returns true if input is a version 6 IP address, otherwise returns false. [`'error'`]: #net_event_error_1 [`'listening'`]: #net_event_listening [`'timeout'`]: #net_event_timeout +[`EventEmitter`]: events.html#events_class_eventemitter [`child_process.fork()`]: child_process.html#child_process_child_process_fork_modulepath_args_options -[`dns.lookup()`]: dns.html#dns_dns_lookup_hostname_options_callback [`dns.lookup()` hints]: dns.html#dns_supported_getaddrinfo_flags -[`EventEmitter`]: events.html#events_class_eventemitter +[`dns.lookup()`]: dns.html#dns_dns_lookup_hostname_options_callback +[`net.Server`]: #net_class_net_server +[`net.Socket`]: #net_class_net_socket +[`net.connect()`]: #net_net_connect [`net.connect()`]: #net_net_connect [`net.connect(options)`]: #net_net_connect_options_connectlistener [`net.connect(path)`]: #net_net_connect_path_connectlistener [`net.connect(port, host)`]: #net_net_connect_port_host_connectlistener -[`net.connect()`]: #net_net_connect [`net.createConnection()`]: #net_net_createconnection [`net.createConnection(options)`]: #net_net_createconnection_options_connectlistener [`net.createConnection(path)`]: #net_net_createconnection_path_connectlistener [`net.createConnection(port, host)`]: #net_net_createconnection_port_host_connectlistener [`net.createServer()`]: #net_net_createserver_options_connectionlistener -[`net.Server`]: #net_class_net_server -[`net.Socket`]: #net_class_net_socket [`new net.Socket(options)`]: #net_new_net_socket_options +[`server.close()`]: #net_server_close_callback [`server.getConnections()`]: #net_server_getconnections_callback [`server.listen()`]: #net_server_listen [`server.listen(handle)`]: #net_server_listen_handle_backlog_callback [`server.listen(options)`]: #net_server_listen_options_callback [`server.listen(path)`]: #net_server_listen_path_backlog_callback [`server.listen(port, host)`]: #net_server_listen_port_host_backlog_callback -[`server.close()`]: #net_server_close_callback [`socket.connect()`]: #net_socket_connect [`socket.connect(options)`]: #net_socket_connect_options_connectlistener [`socket.connect(path)`]: #net_socket_connect_path_connectlistener [`socket.connect(port, host)`]: #net_socket_connect_port_host_connectlistener [`socket.destroy()`]: #net_socket_destroy_exception [`socket.end()`]: #net_socket_end_data_encoding +[`socket.pause()`]: #net_socket_pause +[`socket.resume()`]: #net_socket_resume [`socket.setTimeout()`]: #net_socket_settimeout_timeout_callback [`socket.setTimeout(timeout)`]: #net_socket_settimeout_timeout_callback -[`socket.resume()`]: #net_socket_resume -[`socket.pause()`]: #net_socket_pause [`stream.setEncoding()`]: stream.html#stream_readable_setencoding_encoding -[duplex stream]: stream.html#stream_class_stream_duplex -[half-closed]: https://tools.ietf.org/html/rfc1122#section-4.2.2.13 -[Identifying paths for IPC connections]: #net_identifying_paths_for_ipc_connections [IPC]: #net_ipc_support +[Identifying paths for IPC connections]: #net_identifying_paths_for_ipc_connections [Readable Stream]: stream.html#stream_class_stream_readable +[duplex stream]: stream.html#stream_class_stream_duplex +[half-closed]: https://tools.ietf.org/html/rfc1122#section-4.2.2.13 [socket(7)]: http://man7.org/linux/man-pages/man7/socket.7.html -[unspecified IPv6 address]: https://en.wikipedia.org/wiki/IPv6_address#Unspecified_address [unspecified IPv4 address]: https://en.wikipedia.org/wiki/0.0.0.0 +[unspecified IPv6 address]: https://en.wikipedia.org/wiki/IPv6_address#Unspecified_address diff --git a/doc/api/path.md b/doc/api/path.md index 0b6e41c29a20d9..cf096ef9851475 100644 --- a/doc/api/path.md +++ b/doc/api/path.md @@ -545,8 +545,8 @@ added: v0.11.15 The `path.win32` property provides access to Windows-specific implementations of the `path` methods. +[`TypeError`]: errors.html#errors_class_typeerror +[`path.parse()`]: #path_path_parse_path [`path.posix`]: #path_path_posix [`path.sep`]: #path_path_sep [`path.win32`]: #path_path_win32 -[`path.parse()`]: #path_path_parse_path -[`TypeError`]: errors.html#errors_class_typeerror diff --git a/doc/api/process.md b/doc/api/process.md index 133e3f7de5f197..40ec3e0b1aaff2 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1830,31 +1830,31 @@ cases: [`ChildProcess.kill()`]: child_process.html#child_process_child_kill_signal [`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback [`ChildProcess`]: child_process.html#child_process_class_childprocess -[`end()`]: stream.html#stream_writable_end_chunk_encoding_callback [`Error`]: errors.html#errors_class_error [`EventEmitter`]: events.html#events_class_eventemitter [`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify [`console.error()`]: console.html#console_console_error_data_args [`console.log()`]: console.html#console_console_log_data_args +[`end()`]: stream.html#stream_writable_end_chunk_encoding_callback [`net.Server`]: net.html#net_class_net_server [`net.Socket`]: net.html#net_class_net_socket [`process.argv`]: #process_process_argv +[`process.execPath`]: #process_process_execpath [`process.exit()`]: #process_process_exit_code +[`process.exitCode`]: #process_process_exitcode [`process.kill()`]: #process_process_kill_pid_signal -[`process.execPath`]: #process_process_execpath [`promise.catch()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch [`require.main`]: modules.html#modules_accessing_the_main_module [`setTimeout(fn, 0)`]: timers.html#timers_settimeout_callback_delay_args -[note on process I/O]: process.html#process_a_note_on_process_i_o -[process_emit_warning]: #process_process_emitwarning_warning_name_ctor -[process_warning]: #process_event_warning +[Child Process]: child_process.html +[Cluster]: cluster.html +[Duplex]: stream.html#stream_duplex_and_transform_streams +[LTS]: https://github.com/nodejs/LTS/ +[Readable]: stream.html#stream_readable_streams [Signal Events]: #process_signal_events [Stream compatibility]: stream.html#stream_compatibility_with_older_node_js_versions [TTY]: tty.html#tty_tty [Writable]: stream.html#stream_writable_streams -[Readable]: stream.html#stream_readable_streams -[Duplex]: stream.html#stream_duplex_and_transform_streams -[Child Process]: child_process.html -[Cluster]: cluster.html -[`process.exitCode`]: #process_process_exitcode -[LTS]: https://github.com/nodejs/LTS/ +[note on process I/O]: process.html#process_a_note_on_process_i_o +[process_emit_warning]: #process_process_emitwarning_warning_name_ctor +[process_warning]: #process_event_warning diff --git a/doc/api/punycode.md b/doc/api/punycode.md index baa3d050d16435..b88a89832641ea 100644 --- a/doc/api/punycode.md +++ b/doc/api/punycode.md @@ -145,5 +145,5 @@ added: v0.6.1 Returns a string identifying the current [Punycode.js][] version number. -[Punycode]: https://tools.ietf.org/html/rfc3492 [Punycode.js]: https://mths.be/punycode +[Punycode]: https://tools.ietf.org/html/rfc3492 diff --git a/doc/api/readline.md b/doc/api/readline.md index 93e3bcbf41eb72..52220a182225c8 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -526,10 +526,10 @@ rl.on('line', (line) => { }); ``` +[`SIGCONT`]: readline.html#readline_event_sigcont +[`SIGTSTP`]: readline.html#readline_event_sigtstp [`process.stdin`]: process.html#process_process_stdin [`process.stdout`]: process.html#process_process_stdout -[Writable]: stream.html#stream_writable_streams [Readable]: stream.html#stream_readable_streams [TTY]: tty.html -[`SIGTSTP`]: readline.html#readline_event_sigtstp -[`SIGCONT`]: readline.html#readline_event_sigcont +[Writable]: stream.html#stream_writable_streams diff --git a/doc/api/repl.md b/doc/api/repl.md index 6f16f922023134..99bd638e52d010 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -565,8 +565,8 @@ a `net.Server` and `net.Socket` instance, see: https://gist.github.com/2209310 For an example of running a REPL instance over [curl(1)][], see: https://gist.github.com/2053342 -[stream]: stream.html -[`util.inspect()`]: util.html#util_util_inspect_object_options -[`readline.Interface`]: readline.html#readline_class_interface [`readline.InterfaceCompleter`]: readline.html#readline_use_of_the_completer_function +[`readline.Interface`]: readline.html#readline_class_interface +[`util.inspect()`]: util.html#util_util_inspect_object_options [curl(1)]: https://curl.haxx.se/docs/manpage.html +[stream]: stream.html diff --git a/doc/api/stream.md b/doc/api/stream.md index 9e86955b97929c..eb7ea57bfdec8a 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2034,6 +2034,10 @@ readable buffer so there is nothing for a user to consume. [`'finish'`]: #stream_event_finish [`'readable'`]: #stream_event_readable [`EventEmitter`]: events.html#events_class_eventemitter +[`Symbol.hasInstance`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/hasInstance +[`fs.createReadStream()`]: fs.html#fs_fs_createreadstream_path_options +[`fs.createWriteStream()`]: fs.html#fs_fs_createwritestream_path_options +[`net.Socket`]: net.html#net_class_net_socket [`process.stderr`]: process.html#process_process_stderr [`process.stdin`]: process.html#process_process_stdin [`process.stdout`]: process.html#process_process_stdout @@ -2044,23 +2048,23 @@ readable buffer so there is nothing for a user to consume. [`stream.wrap()`]: #stream_readable_wrap_stream [`writable.cork()`]: #stream_writable_cork [`writable.uncork()`]: #stream_writable_uncork +[`zlib.createDeflate()`]: zlib.html#zlib_zlib_createdeflate_options [API for Stream Consumers]: #stream_api_for_stream_consumers [API for Stream Implementers]: #stream_api_for_stream_implementers +[Compatibility]: #stream_compatibility_with_older_node_js_versions +[Duplex]: #stream_class_stream_duplex +[HTTP requests, on the client]: http.html#http_class_http_clientrequest +[HTTP responses, on the server]: http.html#http_class_http_serverresponse +[Readable]: #stream_class_stream_readable +[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 -[Compatibility]: #stream_compatibility_with_older_node_js_versions [crypto]: crypto.html -[Duplex]: #stream_class_stream_duplex [fs read streams]: fs.html#fs_class_fs_readstream [fs write streams]: fs.html#fs_class_fs_writestream -[`fs.createReadStream()`]: fs.html#fs_fs_createreadstream_path_options -[`fs.createWriteStream()`]: fs.html#fs_fs_createwritestream_path_options -[`net.Socket`]: net.html#net_class_net_socket -[`zlib.createDeflate()`]: zlib.html#zlib_zlib_createdeflate_options -[HTTP requests, on the client]: http.html#http_class_http_clientrequest -[HTTP responses, on the server]: http.html#http_class_http_serverresponse [http-incoming-message]: http.html#http_class_http_incomingmessage -[Readable]: #stream_class_stream_readable [stream-_flush]: #stream_transform_flush_callback [stream-_read]: #stream_readable_read_size_1 [stream-_transform]: #stream_transform_transform_chunk_encoding_callback @@ -2072,8 +2076,4 @@ readable buffer so there is nothing for a user to consume. [stream-read]: #stream_readable_read_size [stream-resume]: #stream_readable_resume [stream-write]: #stream_writable_write_chunk_encoding_callback -[TCP sockets]: net.html#net_class_net_socket -[Transform]: #stream_class_stream_transform -[Writable]: #stream_class_stream_writable [zlib]: zlib.html -[`Symbol.hasInstance`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/hasInstance diff --git a/doc/api/timers.md b/doc/api/timers.md index e62e2e57eda813..2b6af6f66f41fe 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -161,7 +161,6 @@ added: v0.0.1 Cancels a `Timeout` object created by [`setTimeout()`][]. -[the Node.js Event Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick [`TypeError`]: errors.html#errors_class_typeerror [`clearImmediate()`]: timers.html#timers_clearimmediate_immediate [`clearInterval()`]: timers.html#timers_clearinterval_timeout @@ -169,3 +168,4 @@ Cancels a `Timeout` object created by [`setTimeout()`][]. [`setImmediate()`]: timers.html#timers_setimmediate_callback_args [`setInterval()`]: timers.html#timers_setinterval_callback_delay_args [`setTimeout()`]: timers.html#timers_settimeout_callback_delay_args +[the Node.js Event Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick diff --git a/doc/api/tls.md b/doc/api/tls.md index a11631b0134520..9345e68bd23aee 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1259,6 +1259,19 @@ secure_socket = tls.TLSSocket(socket, options); where `secure_socket` has the same API as `pair.cleartext`. +[`'secureConnect'`]: #tls_event_secureconnect +[`'secureConnection'`]: #tls_event_secureconnection +[`crypto.getCurves()`]: crypto.html#crypto_crypto_getcurves +[`net.Server.address()`]: net.html#net_server_address +[`net.Server`]: net.html#net_class_net_server +[`net.Socket`]: net.html#net_class_net_socket +[`tls.DEFAULT_ECDH_CURVE`]: #tls_tls_default_ecdh_curve +[`tls.TLSSocket.getPeerCertificate()`]: #tls_tlssocket_getpeercertificate_detailed +[`tls.TLSSocket`]: #tls_class_tls_tlssocket +[`tls.connect()`]: #tls_tls_connect_options_callback +[`tls.createSecureContext()`]: #tls_tls_createsecurecontext_options +[`tls.createSecurePair()`]: #tls_tls_createsecurepair_context_isserver_requestcert_rejectunauthorized_options +[`tls.createServer()`]: #tls_tls_createserver_options_secureconnectionlistener [Chrome's 'modern cryptography' setting]: https://www.chromium.org/Home/chromium-security/education/tls#TOC-Cipher-Suites [DHE]: https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange [ECDHE]: https://en.wikipedia.org/wiki/Elliptic_curve_Diffie%E2%80%93Hellman @@ -1274,19 +1287,6 @@ where `secure_socket` has the same API as `pair.cleartext`. [Stream]: stream.html#stream_stream [TLS Session Tickets]: https://www.ietf.org/rfc/rfc5077.txt [TLS recommendations]: https://wiki.mozilla.org/Security/Server_Side_TLS -[`'secureConnect'`]: #tls_event_secureconnect -[`'secureConnection'`]: #tls_event_secureconnection -[`crypto.getCurves()`]: crypto.html#crypto_crypto_getcurves -[`net.Server.address()`]: net.html#net_server_address -[`net.Server`]: net.html#net_class_net_server -[`net.Socket`]: net.html#net_class_net_socket -[`tls.DEFAULT_ECDH_CURVE`]: #tls_tls_default_ecdh_curve -[`tls.TLSSocket.getPeerCertificate()`]: #tls_tlssocket_getpeercertificate_detailed -[`tls.TLSSocket`]: #tls_class_tls_tlssocket -[`tls.connect()`]: #tls_tls_connect_options_callback -[`tls.createSecureContext()`]: #tls_tls_createsecurecontext_options -[`tls.createSecurePair()`]: #tls_tls_createsecurepair_context_isserver_requestcert_rejectunauthorized_options -[`tls.createServer()`]: #tls_tls_createserver_options_secureconnectionlistener [asn1.js]: https://npmjs.org/package/asn1.js [modifying the default cipher suite]: #tls_modifying_the_default_tls_cipher_suite [specific attacks affecting larger AES key sizes]: https://www.schneier.com/blog/archives/2009/07/another_new_aes.html diff --git a/doc/api/url.md b/doc/api/url.md index 1356e7c038374f..7f2cc97b75e986 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -1110,27 +1110,27 @@ console.log(myURL.origin); [`Error`]: errors.html#errors_class_error -[`querystring`]: querystring.html +[`JSON.stringify()`]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify +[`Map`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map [`TypeError`]: errors.html#errors_class_typeerror -[WHATWG URL Standard]: https://url.spec.whatwg.org/ -[examples of parsed URLs]: https://url.spec.whatwg.org/#example-url-parsing +[`URLSearchParams`]: #url_class_urlsearchparams +[`array.toString()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toString +[`new URL()`]: #url_constructor_new_url_input_base +[`querystring`]: querystring.html +[`require('url').format()`]: #url_url_format_url_options [`url.domainToASCII()`]: #url_url_domaintoascii_domain [`url.domainToUnicode()`]: #url_url_domaintounicode_domain -[`url.parse()`]: #url_url_parse_urlstring_parsequerystring_slashesdenotehost [`url.format()`]: #url_url_format_urlobject -[`require('url').format()`]: #url_url_format_url_options -[`url.toString()`]: #url_url_tostring -[Punycode]: https://tools.ietf.org/html/rfc5891#section-4.4 -[`Map`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map -[`array.toString()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toString -[WHATWG URL]: #url_the_whatwg_url_api -[`new URL()`]: #url_constructor_new_url_input_base [`url.href`]: #url_url_href +[`url.parse()`]: #url_url_parse_urlstring_parsequerystring_slashesdenotehost [`url.search`]: #url_url_search -[percent-encoded]: #whatwg-percent-encoding -[`URLSearchParams`]: #url_class_urlsearchparams +[`url.toJSON()`]: #url_url_tojson +[`url.toString()`]: #url_url_tostring [`urlSearchParams.entries()`]: #url_urlsearchparams_entries [`urlSearchParams@@iterator()`]: #url_urlsearchparams_iterator +[Punycode]: https://tools.ietf.org/html/rfc5891#section-4.4 +[WHATWG URL Standard]: https://url.spec.whatwg.org/ +[WHATWG URL]: #url_the_whatwg_url_api +[examples of parsed URLs]: https://url.spec.whatwg.org/#example-url-parsing +[percent-encoded]: #whatwg-percent-encoding [stable sorting algorithm]: https://en.wikipedia.org/wiki/Sorting_algorithm#Stability -[`JSON.stringify()`]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify -[`url.toJSON()`]: #url_url_tojson diff --git a/doc/api/util.md b/doc/api/util.md index f726ebede55296..9de5abd7a85304 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -872,13 +872,13 @@ deprecated: v0.11.3 Deprecated predecessor of `console.log`. [`Array.isArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray -[constructor]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/constructor -[semantically incompatible]: https://github.com/nodejs/node/issues/4179 -[`util.inspect()`]: #util_util_inspect_object_options -[Customizing `util.inspect` colors]: #util_customizing_util_inspect_colors -[Custom inspection functions on Objects]: #util_custom_inspection_functions_on_objects -[`Error`]: errors.html#errors_class_error -[`console.log()`]: console.html#console_console_log_data_args -[`console.error()`]: console.html#console_console_error_data_args [`Buffer.isBuffer()`]: buffer.html#buffer_class_method_buffer_isbuffer_obj +[`Error`]: errors.html#errors_class_error [`Object.assign()`]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign +[`console.error()`]: console.html#console_console_error_data_args +[`console.log()`]: console.html#console_console_log_data_args +[`util.inspect()`]: #util_util_inspect_object_options +[Custom inspection functions on Objects]: #util_custom_inspection_functions_on_objects +[Customizing `util.inspect` colors]: #util_customizing_util_inspect_colors +[constructor]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/constructor +[semantically incompatible]: https://github.com/nodejs/node/issues/4179 diff --git a/doc/api/v8.md b/doc/api/v8.md index e766d7c10123c0..21c2627898e481 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -395,17 +395,17 @@ A subclass of [`Deserializer`][] corresponding to the format written by [`DefaultSerializer`][]. [`Buffer`]: buffer.html +[`DefaultDeserializer`]: #v8_class_v8_defaultdeserializer +[`DefaultSerializer`]: #v8_class_v8_defaultserializer +[`Deserializer`]: #v8_class_v8_deserializer [`Error`]: errors.html#errors_class_error -[`deserializer.transferArrayBuffer()`]: #v8_deserializer_transferarraybuffer_id_arraybuffer +[`Serializer`]: #v8_class_v8_serializer [`deserializer._readHostObject()`]: #v8_deserializer_readhostobject -[`serializer.transferArrayBuffer()`]: #v8_serializer_transferarraybuffer_id_arraybuffer +[`deserializer.transferArrayBuffer()`]: #v8_deserializer_transferarraybuffer_id_arraybuffer +[`serialize()`]: #v8_v8_serialize_value +[`serializer._getSharedArrayBufferId()`]: #v8_serializer_getsharedarraybufferid_sharedarraybuffer +[`serializer._writeHostObject()`]: #v8_serializer_writehostobject_object [`serializer.releaseBuffer()`]: #v8_serializer_releasebuffer +[`serializer.transferArrayBuffer()`]: #v8_serializer_transferarraybuffer_id_arraybuffer [`serializer.writeRawBytes()`]: #v8_serializer_writerawbytes_buffer -[`serializer._writeHostObject()`]: #v8_serializer_writehostobject_object -[`serializer._getSharedArrayBufferId()`]: #v8_serializer_getsharedarraybufferid_sharedarraybuffer -[`Serializer`]: #v8_class_v8_serializer -[`Deserializer`]: #v8_class_v8_deserializer -[`DefaultSerializer`]: #v8_class_v8_defaultserializer -[`DefaultDeserializer`]: #v8_class_v8_defaultdeserializer -[`serialize()`]: #v8_v8_serialize_value [HTML structured clone algorithm]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm diff --git a/doc/api/vm.md b/doc/api/vm.md index b8047d8f36f1e3..aa36319ac20ffc 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -479,15 +479,15 @@ within which it can operate. The process of creating the V8 Context and associating it with the `sandbox` object is what this document refers to as "contextifying" the `sandbox`. -[indirect `eval()` call]: https://es5.github.io/#x10.4.2 -[global object]: https://es5.github.io/#x15.1 [`Error`]: errors.html#errors_class_error +[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval [`script.runInContext()`]: #vm_script_runincontext_contextifiedsandbox_options [`script.runInThisContext()`]: #vm_script_runinthiscontext_options [`vm.createContext()`]: #vm_vm_createcontext_sandbox [`vm.runInContext()`]: #vm_vm_runincontext_code_contextifiedsandbox_options [`vm.runInThisContext()`]: #vm_vm_runinthiscontext_code_options -[`eval()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval [V8 Embedder's Guide]: https://github.com/v8/v8/wiki/Embedder's%20Guide#contexts -[contextified]: #vm_what_does_it_mean_to_contextify_an_object [command line option]: cli.html +[contextified]: #vm_what_does_it_mean_to_contextify_an_object +[global object]: https://es5.github.io/#x15.1 +[indirect `eval()` call]: https://es5.github.io/#x10.4.2 diff --git a/doc/api/zlib.md b/doc/api/zlib.md index c422719a016522..abfb6e2038b6d3 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -672,19 +672,19 @@ changes: Decompress a chunk of data with [Unzip][]. +[`.flush()`]: #zlib_zlib_flush_kind_callback [`Accept-Encoding`]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3 +[`Buffer`]: buffer.html#buffer_class_buffer [`Content-Encoding`]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11 -[Memory Usage Tuning]: #zlib_memory_usage_tuning -[zlib documentation]: http://zlib.net/manual.html#Constants -[options]: #zlib_class_options -[Deflate]: #zlib_class_zlib_deflate +[`DataView`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView +[`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray [DeflateRaw]: #zlib_class_zlib_deflateraw +[Deflate]: #zlib_class_zlib_deflate [Gunzip]: #zlib_class_zlib_gunzip [Gzip]: #zlib_class_zlib_gzip -[Inflate]: #zlib_class_zlib_inflate [InflateRaw]: #zlib_class_zlib_inflateraw +[Inflate]: #zlib_class_zlib_inflate +[Memory Usage Tuning]: #zlib_memory_usage_tuning [Unzip]: #zlib_class_zlib_unzip -[`.flush()`]: #zlib_zlib_flush_kind_callback -[`Buffer`]: buffer.html#buffer_class_buffer -[`DataView`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView -[`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray +[options]: #zlib_class_options +[zlib documentation]: http://zlib.net/manual.html#Constants