Skip to content

Commit d2cc9d7

Browse files
sam-githubMylesBorins
authored andcommitted
doc: sort bottom-of-file markdown links
Reapply #12726 It would be nice to have the sort check applied as part of doc testing, but this change doesn't implement that. Backport-PR-URL: #24681 PR-URL: #24679 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 09bb491 commit d2cc9d7

27 files changed

+125
-126
lines changed

doc/api/assert.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1233,8 +1233,8 @@ assert.throws(throwingFirst, /Second$/);
12331233
Due to the confusing notation, it is recommended not to use a string as the
12341234
second argument. This might lead to difficult-to-spot errors.
12351235

1236-
[`ERR_INVALID_RETURN_VALUE`]: errors.html#errors_err_invalid_return_value
12371236
[`Class`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes
1237+
[`ERR_INVALID_RETURN_VALUE`]: errors.html#errors_err_invalid_return_value
12381238
[`Error.captureStackTrace`]: errors.html#errors_error_capturestacktrace_targetobject_constructoropt
12391239
[`Error`]: errors.html#errors_class_error
12401240
[`Map`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
@@ -1255,10 +1255,10 @@ second argument. This might lead to difficult-to-spot errors.
12551255
[`assert.throws()`]: #assert_assert_throws_fn_error_message
12561256
[`strict mode`]: #assert_strict_mode
12571257
[Abstract Equality Comparison]: https://tc39.github.io/ecma262/#sec-abstract-equality-comparison
1258+
[Object wrappers]: https://developer.mozilla.org/en-US/docs/Glossary/Primitive#Primitive_wrapper_objects_in_JavaScript
12581259
[Object.prototype.toString()]: https://tc39.github.io/ecma262/#sec-object.prototype.tostring
12591260
[SameValue Comparison]: https://tc39.github.io/ecma262/#sec-samevalue
12601261
[Strict Equality Comparison]: https://tc39.github.io/ecma262/#sec-strict-equality-comparison
12611262
[enumerable "own" properties]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties
12621263
[mdn-equality-guide]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness
12631264
[prototype-spec]: https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots
1264-
[Object wrappers]: https://developer.mozilla.org/en-US/docs/Glossary/Primitive#Primitive_wrapper_objects_in_JavaScript

doc/api/async_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ never be called.
711711
* Returns: {number} The same `triggerAsyncId` that is passed to the
712712
`AsyncResource` constructor.
713713

714+
[`Worker`]: worker_threads.html#worker_threads_class_worker
714715
[`after` callback]: #async_hooks_after_asyncid
715716
[`asyncResource.runInAsyncScope()`]: #async_hooks_asyncresource_runinasyncscope_fn_thisarg_args
716717
[`before` callback]: #async_hooks_before_asyncid
@@ -719,4 +720,3 @@ never be called.
719720
[Hook Callbacks]: #async_hooks_hook_callbacks
720721
[PromiseHooks]: https://docs.google.com/document/d/1rda3yKGHimKIhg5YeoAmCOtyURgsbTH_qaYR79FELlk/edit
721722
[promise execution tracking]: #async_hooks_promise_execution_tracking
722-
[`Worker`]: worker_threads.html#worker_threads_class_worker

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2669,9 +2669,9 @@ This value may depend on the JS engine that is being used.
26692669
[`buf.length`]: #buffer_buf_length
26702670
[`buf.slice()`]: #buffer_buf_slice_start_end
26712671
[`buf.values()`]: #buffer_buf_values
2672-
[`buffer.kMaxLength`]: #buffer_buffer_kmaxlength
26732672
[`buffer.constants.MAX_LENGTH`]: #buffer_buffer_constants_max_length
26742673
[`buffer.constants.MAX_STRING_LENGTH`]: #buffer_buffer_constants_max_string_length
2674+
[`buffer.kMaxLength`]: #buffer_buffer_kmaxlength
26752675
[`util.inspect()`]: util.html#util_util_inspect_object_options
26762676
[RFC1345]: https://tools.ietf.org/html/rfc1345
26772677
[RFC4648, Section 5]: https://tools.ietf.org/html/rfc4648#section-5

doc/api/child_process.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1432,13 +1432,6 @@ unavailable.
14321432
[`ChildProcess`]: #child_process_child_process
14331433
[`Error`]: errors.html#errors_class_error
14341434
[`EventEmitter`]: events.html#events_class_eventemitter
1435-
[`subprocess.connected`]: #child_process_subprocess_connected
1436-
[`subprocess.disconnect()`]: #child_process_subprocess_disconnect
1437-
[`subprocess.kill()`]: #child_process_subprocess_kill_signal
1438-
[`subprocess.send()`]: #child_process_subprocess_send_message_sendhandle_options_callback
1439-
[`subprocess.stderr`]: #child_process_subprocess_stderr
1440-
[`subprocess.stdin`]: #child_process_subprocess_stdin
1441-
[`subprocess.stdout`]: #child_process_subprocess_stdout
14421435
[`child_process.exec()`]: #child_process_child_process_exec_command_options_callback
14431436
[`child_process.execFile()`]: #child_process_child_process_execfile_file_args_options_callback
14441437
[`child_process.execFileSync()`]: #child_process_child_process_execfilesync_file_args_options
@@ -1455,6 +1448,13 @@ unavailable.
14551448
[`process.execPath`]: process.html#process_process_execpath
14561449
[`process.send()`]: process.html#process_process_send_message_sendhandle_options_callback
14571450
[`stdio`]: #child_process_options_stdio
1451+
[`subprocess.connected`]: #child_process_subprocess_connected
1452+
[`subprocess.disconnect()`]: #child_process_subprocess_disconnect
1453+
[`subprocess.kill()`]: #child_process_subprocess_kill_signal
1454+
[`subprocess.send()`]: #child_process_subprocess_send_message_sendhandle_options_callback
1455+
[`subprocess.stderr`]: #child_process_subprocess_stderr
1456+
[`subprocess.stdin`]: #child_process_subprocess_stdin
1457+
[`subprocess.stdout`]: #child_process_subprocess_stdout
14581458
[`util.promisify()`]: util.html#util_util_promisify_original
14591459
[Default Windows Shell]: #child_process_default_windows_shell
14601460
[Shell Requirements]: #child_process_shell_requirements

doc/api/crypto.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2914,15 +2914,15 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
29142914
[`hmac.update()`]: #crypto_hmac_update_data_inputencoding
29152915
[`sign.sign()`]: #crypto_sign_sign_privatekey_outputformat
29162916
[`sign.update()`]: #crypto_sign_update_data_inputencoding
2917-
[`stream.transform` options]: stream.html#stream_new_stream_transform_options
29182917
[`stream.Writable` options]: stream.html#stream_constructor_new_stream_writable_options
2918+
[`stream.transform` options]: stream.html#stream_new_stream_transform_options
29192919
[`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_options
29202920
[`util.promisify()`]: util.html#util_util_promisify_original
29212921
[`verify.update()`]: #crypto_verify_update_data_inputencoding
29222922
[`verify.verify()`]: #crypto_verify_verify_object_signature_signatureformat
29232923
[AEAD algorithms]: https://en.wikipedia.org/wiki/Authenticated_encryption
2924-
[Caveats]: #crypto_support_for_weak_or_compromised_algorithms
29252924
[CCM mode]: #crypto_ccm_mode
2925+
[Caveats]: #crypto_support_for_weak_or_compromised_algorithms
29262926
[Crypto Constants]: #crypto_crypto_constants_1
29272927
[HTML 5.2]: https://www.w3.org/TR/html52/changes.html#features-removed
29282928
[HTML5's `keygen` element]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen

doc/api/deprecations.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -2072,24 +2072,25 @@ only. Use of `process.binding()` by userland code is unsupported.
20722072
[`Buffer.isBuffer()`]: buffer.html#buffer_class_method_buffer_isbuffer_obj
20732073
[`Cipher`]: crypto.html#crypto_class_cipher
20742074
[`Decipher`]: crypto.html#crypto_class_decipher
2075-
[`assert`]: assert.html
2076-
[`clearInterval()`]: timers.html#timers_clearinterval_timeout
2077-
[`clearTimeout()`]: timers.html#timers_cleartimeout_timeout
20782075
[`EventEmitter.listenerCount(emitter, eventName)`]: events.html#events_eventemitter_listenercount_emitter_eventname
2076+
[`REPLServer.clearBufferedCommand()`]: repl.html#repl_replserver_clearbufferedcommand
20792077
[`Server.connections`]: net.html#net_server_connections
20802078
[`Server.getConnections()`]: net.html#net_server_getconnections_callback
20812079
[`Server.listen({fd: <number>})`]: net.html#net_server_listen_handle_backlog_callback
20822080
[`SlowBuffer`]: buffer.html#buffer_class_slowbuffer
2081+
[`assert`]: assert.html
20832082
[`asyncResource.runInAsyncScope()`]: async_hooks.html#async_hooks_asyncresource_runinasyncscope_fn_thisarg_args
20842083
[`child_process`]: child_process.html
2084+
[`clearInterval()`]: timers.html#timers_clearinterval_timeout
2085+
[`clearTimeout()`]: timers.html#timers_cleartimeout_timeout
20852086
[`console.error()`]: console.html#console_console_error_data_args
20862087
[`console.log()`]: console.html#console_console_log_data_args
2088+
[`crypto.DEFAULT_ENCODING`]: crypto.html#crypto_crypto_default_encoding
20872089
[`crypto.createCipher()`]: crypto.html#crypto_crypto_createcipher_algorithm_password_options
20882090
[`crypto.createCipheriv()`]: crypto.html#crypto_crypto_createcipheriv_algorithm_key_iv_options
20892091
[`crypto.createCredentials()`]: crypto.html#crypto_crypto_createcredentials_details
20902092
[`crypto.createDecipher()`]: crypto.html#crypto_crypto_createdecipher_algorithm_password_options
20912093
[`crypto.createDecipheriv()`]: crypto.html#crypto_crypto_createdecipheriv_algorithm_key_iv_options
2092-
[`crypto.DEFAULT_ENCODING`]: crypto.html#crypto_crypto_default_encoding
20932094
[`crypto.fips`]: crypto.html#crypto_crypto_fips
20942095
[`crypto.pbkdf2()`]: crypto.html#crypto_crypto_pbkdf2_password_salt_iterations_keylen_digest_callback
20952096
[`crypto.scrypt()`]: crypto.html#crypto_crypto_scrypt_password_salt_keylen_options_callback
@@ -2147,9 +2148,8 @@ only. Use of `process.binding()` by userland code is unsupported.
21472148
[`util`]: util.html
21482149
[`worker.exitedAfterDisconnect`]: cluster.html#cluster_worker_exitedafterdisconnect
21492150
[`zlib.bytesWritten`]: zlib.html#zlib_zlib_byteswritten
2151+
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
21502152
[alloc]: buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding
21512153
[alloc_unsafe_size]: buffer.html#buffer_class_method_buffer_allocunsafe_size
21522154
[from_arraybuffer]: buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length
21532155
[from_string_encoding]: buffer.html#buffer_class_method_buffer_from_string_encoding
2154-
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
2155-
[`REPLServer.clearBufferedCommand()`]: repl.html#repl_replserver_clearbufferedcommand

doc/api/dgram.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,7 @@ and `udp6` sockets). The bound address and port can be retrieved using
640640
[`'close'`]: #dgram_event_close
641641
[`Error`]: errors.html#errors_class_error
642642
[`EventEmitter`]: events.html
643+
[`System Error`]: errors.html#errors_class_systemerror
643644
[`close()`]: #dgram_socket_close_callback
644645
[`cluster`]: cluster.html
645646
[`dgram.Socket#bind()`]: #dgram_socket_bind_options_callback
@@ -648,7 +649,6 @@ and `udp6` sockets). The bound address and port can be retrieved using
648649
[`socket.address().address`]: #dgram_socket_address
649650
[`socket.address().port`]: #dgram_socket_address
650651
[`socket.bind()`]: #dgram_socket_bind_port_address_callback
651-
[`System Error`]: errors.html#errors_class_systemerror
652-
[byte length]: buffer.html#buffer_class_method_buffer_bytelength_string_encoding
653652
[IPv6 Zone Indices]: https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses
654653
[RFC 4007]: https://tools.ietf.org/html/rfc4007
654+
[byte length]: buffer.html#buffer_class_method_buffer_bytelength_string_encoding

doc/api/documentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ sometimes impossible to replace Unix syscall semantics on Windows, see [Node.js
8686
issue 4760](https://github.com/nodejs/node/issues/4760).
8787

8888
[`'warning'`]: process.html#process_event_warning
89-
[`stderr`]: process.html#process_process_stderr
9089
[`fs.open()`]: fs.html#fs_fs_open_path_flags_mode_callback
90+
[`stderr`]: process.html#process_process_stderr
9191
[submit an issue]: https://github.com/nodejs/node/issues/new
9292
[the contributing guide]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md

doc/api/errors.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -2103,24 +2103,25 @@ instance.setEncoding('utf8');
21032103
An attempt has been made to create a string larger than the maximum allowed
21042104
size.
21052105

2106-
[`--force-fips`]: cli.html#cli_force_fips
21072106
[`'uncaughtException'`]: process.html#process_event_uncaughtexception
2107+
[`--force-fips`]: cli.html#cli_force_fips
2108+
[`Class: assert.AssertionError`]: assert.html#assert_class_assert_assertionerror
2109+
[`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE
2110+
[`EventEmitter`]: events.html#events_class_eventemitter
2111+
[`Writable`]: stream.html#stream_class_stream_writable
21082112
[`child_process`]: child_process.html
21092113
[`cipher.getAuthTag()`]: crypto.html#crypto_cipher_getauthtag
2110-
[`Class: assert.AssertionError`]: assert.html#assert_class_assert_assertionerror
21112114
[`crypto.scrypt()`]: crypto.html#crypto_crypto_scrypt_password_salt_keylen_options_callback
21122115
[`crypto.scryptSync()`]: crypto.html#crypto_crypto_scryptsync_password_salt_keylen_options
21132116
[`crypto.timingSafeEqual()`]: crypto.html#crypto_crypto_timingsafeequal_a_b
21142117
[`dgram.createSocket()`]: dgram.html#dgram_dgram_createsocket_options_callback
2115-
[`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE
2116-
[`EventEmitter`]: events.html#events_class_eventemitter
2117-
[`fs`]: fs.html
21182118
[`errno`(3) man page]: http://man7.org/linux/man-pages/man3/errno.3.html
21192119
[`fs.readFileSync`]: fs.html#fs_fs_readfilesync_path_options
21202120
[`fs.readdir`]: fs.html#fs_fs_readdir_path_options_callback
21212121
[`fs.symlink()`]: fs.html#fs_fs_symlink_target_path_type_callback
21222122
[`fs.symlinkSync()`]: fs.html#fs_fs_symlinksync_target_path_type
21232123
[`fs.unlink`]: fs.html#fs_fs_unlink_path_callback
2124+
[`fs`]: fs.html
21242125
[`hash.digest()`]: crypto.html#crypto_hash_digest_encoding
21252126
[`hash.update()`]: crypto.html#crypto_hash_update_data_inputencoding
21262127
[`http`]: http.html
@@ -2132,22 +2133,23 @@ size.
21322133
[`process.send()`]: process.html#process_process_send_message_sendhandle_options_callback
21332134
[`process.setUncaughtExceptionCaptureCallback()`]: process.html#process_process_setuncaughtexceptioncapturecallback_fn
21342135
[`readable._read()`]: stream.html#stream_readable_read_size_1
2135-
[`require()`]: modules.html#modules_require
21362136
[`require('crypto').setEngine()`]: crypto.html#crypto_crypto_setengine_engine_flags
2137-
[`server.listen()`]: net.html#net_server_listen
2137+
[`require()`]: modules.html#modules_require
21382138
[`server.close()`]: net.html#net_server_close_callback
2139+
[`server.listen()`]: net.html#net_server_listen
21392140
[`sign.sign()`]: crypto.html#crypto_sign_sign_privatekey_outputformat
21402141
[`stream.pipe()`]: stream.html#stream_readable_pipe_destination_options
21412142
[`stream.push()`]: stream.html#stream_readable_push_chunk_encoding
21422143
[`stream.unshift()`]: stream.html#stream_readable_unshift_chunk
21432144
[`stream.write()`]: stream.html#stream_writable_write_chunk_encoding_callback
21442145
[`subprocess.kill()`]: child_process.html#child_process_subprocess_kill_signal
21452146
[`subprocess.send()`]: child_process.html#child_process_subprocess_send_message_sendhandle_options_callback
2146-
[`Writable`]: stream.html#stream_class_stream_writable
21472147
[`zlib`]: zlib.html
21482148
[ES6 module]: esm.html
2149+
[ICU]: intl.html#intl_internationalization_support
21492150
[Node.js Error Codes]: #nodejs-error-codes
21502151
[V8's stack trace API]: https://github.com/v8/v8/wiki/Stack-Trace-API
2152+
[WHATWG Supported Encodings]: util.html#util_whatwg_supported_encodings
21512153
[WHATWG URL API]: url.html#url_the_whatwg_url_api
21522154
[crypto digest algorithm]: crypto.html#crypto_crypto_gethashes
21532155
[domains]: domain.html
@@ -2157,4 +2159,3 @@ size.
21572159
[syscall]: http://man7.org/linux/man-pages/man2/syscalls.2.html
21582160
[try-catch]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch
21592161
[vm]: vm.html
2160-
[WHATWG Supported Encodings]: util.html#util_whatwg_supported_encodings

doc/api/fs.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4812,13 +4812,13 @@ the file contents.
48124812
[`AHAFS`]: https://www.ibm.com/developerworks/aix/library/au-aix_event_infrastructure/
48134813
[`Buffer.byteLength`]: buffer.html#buffer_class_method_buffer_bytelength_string_encoding
48144814
[`Buffer`]: buffer.html#buffer_buffer
4815+
[`EventEmitter`]: events.html
48154816
[`FSEvents`]: https://developer.apple.com/documentation/coreservices/file_system_events
48164817
[`ReadDirectoryChangesW`]: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-readdirectorychangesw
48174818
[`ReadStream`]: #fs_class_fs_readstream
48184819
[`URL`]: url.html#url_the_whatwg_url_api
48194820
[`UV_THREADPOOL_SIZE`]: cli.html#cli_uv_threadpool_size_size
48204821
[`WriteStream`]: #fs_class_fs_writestream
4821-
[`EventEmitter`]: events.html
48224822
[`event ports`]: http://illumos.org/man/port_create
48234823
[`fs.Dirent`]: #fs_class_fs_dirent
48244824
[`fs.FSWatcher`]: #fs_class_fs_fswatcher
@@ -4837,10 +4837,10 @@ the file contents.
48374837
[`fs.mkdtemp()`]: #fs_fs_mkdtemp_prefix_options_callback
48384838
[`fs.open()`]: #fs_fs_open_path_flags_mode_callback
48394839
[`fs.read()`]: #fs_fs_read_fd_buffer_offset_length_position_callback
4840-
[`fs.readdir()`]: #fs_fs_readdir_path_options_callback
4841-
[`fs.readdirSync()`]: #fs_fs_readdirsync_path_options
48424840
[`fs.readFile()`]: #fs_fs_readfile_path_options_callback
48434841
[`fs.readFileSync()`]: #fs_fs_readfilesync_path_options
4842+
[`fs.readdir()`]: #fs_fs_readdir_path_options_callback
4843+
[`fs.readdirSync()`]: #fs_fs_readdirsync_path_options
48444844
[`fs.realpath()`]: #fs_fs_realpath_path_options_callback
48454845
[`fs.rmdir()`]: #fs_fs_rmdir_path_callback
48464846
[`fs.stat()`]: #fs_fs_stat_path_options_callback
@@ -4858,13 +4858,13 @@ the file contents.
48584858
[Caveats]: #fs_caveats
48594859
[Common System Errors]: errors.html#errors_common_system_errors
48604860
[FS Constants]: #fs_fs_constants_1
4861+
[File Access Constants]: #fs_file_access_constants
48614862
[MDN-Date]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
48624863
[MDN-Number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type
48634864
[MSDN-Rel-Path]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#fully-qualified-vs-relative-paths
4865+
[MSDN-Using-Streams]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams
4866+
[Naming Files, Paths, and Namespaces]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file
48644867
[Readable Streams]: stream.html#stream_class_stream_readable
48654868
[Writable Stream]: stream.html#stream_class_stream_writable
48664869
[inode]: https://en.wikipedia.org/wiki/Inode
4867-
[Naming Files, Paths, and Namespaces]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file
4868-
[MSDN-Using-Streams]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams
48694870
[support of file system `flags`]: #fs_file_system_flags
4870-
[File Access Constants]: #fs_file_access_constants

doc/api/globals.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ The object that acts as the namespace for all W3C
169169
[WebAssembly][webassembly-org] related functionality. See the
170170
[Mozilla Developer Network][webassembly-mdn] for usage and compatibility.
171171

172+
[`URLSearchParams`]: url.html#url_class_urlsearchparams
173+
[`URL`]: url.html#url_class_url
172174
[`__dirname`]: modules.html#modules_dirname
173175
[`__filename`]: modules.html#modules_filename
174176
[`clearImmediate`]: timers.html#timers_clearimmediate_immediate
@@ -182,8 +184,6 @@ The object that acts as the namespace for all W3C
182184
[`setImmediate`]: timers.html#timers_setimmediate_callback_args
183185
[`setInterval`]: timers.html#timers_setinterval_callback_delay_args
184186
[`setTimeout`]: timers.html#timers_settimeout_callback_delay_args
185-
[`URL`]: url.html#url_class_url
186-
[`URLSearchParams`]: url.html#url_class_urlsearchparams
187187
[buffer section]: buffer.html
188188
[built-in objects]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
189189
[module system documentation]: modules.html

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2118,8 +2118,8 @@ not abort the request or do anything besides add a `'timeout'` event.
21182118
[`request.getHeader()`]: #http_request_getheader_name
21192119
[`request.setHeader()`]: #http_request_setheader_name_value
21202120
[`request.setTimeout()`]: #http_request_settimeout_timeout_callback
2121-
[`request.socket`]: #http_request_socket
21222121
[`request.socket.getPeerCertificate()`]: tls.html#tls_tlssocket_getpeercertificate_detailed
2122+
[`request.socket`]: #http_request_socket
21232123
[`request.write(data, encoding)`]: #http_request_write_chunk_encoding_callback
21242124
[`response.end()`]: #http_response_end_data_encoding_callback
21252125
[`response.getHeader()`]: #http_response_getheader_name

0 commit comments

Comments
 (0)