Skip to content

Commit ccc50a9

Browse files
committed
doc: use ASCII order for md refs
PR-URL: #39170 Refs: nodejs/remark-preset-lint-node#188 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent fdb097c commit ccc50a9

17 files changed

+39
-39
lines changed

doc/api/assert.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,6 +2421,7 @@ argument.
24212421
[SameValue Comparison]: https://tc39.github.io/ecma262/#sec-samevalue
24222422
[Strict Equality Comparison]: https://tc39.github.io/ecma262/#sec-strict-equality-comparison
24232423
[`AssertionError`]: #assert_class_assert_assertionerror
2424+
[`CallTracker`]: #assert_class_assert_calltracker
24242425
[`Class`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes
24252426
[`ERR_INVALID_RETURN_VALUE`]: errors.md#errors_err_invalid_return_value
24262427
[`Error.captureStackTrace`]: errors.md#errors_error_capturestacktrace_targetobject_constructoropt
@@ -2433,7 +2434,6 @@ argument.
24332434
[`TypeError`]: errors.md#errors_class_typeerror
24342435
[`WeakMap`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
24352436
[`WeakSet`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet
2436-
[`CallTracker`]: #assert_class_assert_calltracker
24372437
[`assert.deepEqual()`]: #assert_assert_deepequal_actual_expected_message
24382438
[`assert.deepStrictEqual()`]: #assert_assert_deepstrictequal_actual_expected_message
24392439
[`assert.doesNotThrow()`]: #assert_assert_doesnotthrow_fn_error_message
@@ -2448,6 +2448,6 @@ argument.
24482448
[`process.on('exit')`]: process.md#process_event_exit
24492449
[`tracker.calls()`]: #assert_tracker_calls_fn_exact
24502450
[`tracker.verify()`]: #assert_tracker_verify
2451-
[strict assertion mode]: #assert_strict_assertion_mode
24522451
[enumerable "own" properties]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties
24532452
[prototype-spec]: https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots
2453+
[strict assertion mode]: #assert_strict_assertion_mode

doc/api/async_hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,10 +845,10 @@ The documentation for this class has moved [`AsyncLocalStorage`][].
845845
[PromiseHooks]: https://docs.google.com/document/d/1rda3yKGHimKIhg5YeoAmCOtyURgsbTH_qaYR79FELlk/edit
846846
[`AsyncLocalStorage`]: async_context.md#async_context_class_asynclocalstorage
847847
[`AsyncResource`]: async_context.md#async_context_class_asyncresource
848+
[`Worker`]: worker_threads.md#worker_threads_class_worker
848849
[`after` callback]: #async_hooks_after_asyncid
849850
[`before` callback]: #async_hooks_before_asyncid
850851
[`destroy` callback]: #async_hooks_destroy_asyncid
851852
[`init` callback]: #async_hooks_init_asyncid_type_triggerasyncid_resource
852853
[`promiseResolve` callback]: #async_hooks_promiseresolve_asyncid
853-
[`Worker`]: worker_threads.md#worker_threads_class_worker
854854
[promise execution tracking]: #async_hooks_promise_execution_tracking

doc/api/cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,9 +1082,9 @@ socket.on('data', (id) => {
10821082
[`child_process.fork()`]: child_process.md#child_process_child_process_fork_modulepath_args_options
10831083
[`child_process` event: `'exit'`]: child_process.md#child_process_event_exit
10841084
[`child_process` event: `'message'`]: child_process.md#child_process_event_message
1085+
[`cluster.isPrimary`]: #cluster_cluster_isprimary
10851086
[`cluster.settings`]: #cluster_cluster_settings
10861087
[`disconnect()`]: child_process.md#child_process_subprocess_disconnect
1087-
[`cluster.isPrimary`]: #cluster_cluster_isprimary
10881088
[`kill()`]: process.md#process_process_kill_pid_signal
10891089
[`process` event: `'message'`]: process.md#process_event_message
10901090
[`server.close()`]: net.md#net_event_close

doc/api/crypto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5642,7 +5642,6 @@ See the [list of SSL OP Flags][] for details.
56425642
[AEAD algorithms]: https://en.wikipedia.org/wiki/Authenticated_encryption
56435643
[CCM mode]: #crypto_ccm_mode
56445644
[Caveats]: #crypto_support_for_weak_or_compromised_algorithms
5645-
[caveats when using strings as inputs to cryptographic APIs]: #crypto_using_strings_as_inputs_to_cryptographic_apis
56465645
[Crypto constants]: #crypto_crypto_constants_1
56475646
[HTML 5.2]: https://www.w3.org/TR/html52/changes.html#features-removed
56485647
[HTML5's `keygen` element]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
@@ -5712,6 +5711,7 @@ See the [list of SSL OP Flags][] for details.
57125711
[`util.promisify()`]: util.md#util_util_promisify_original
57135712
[`verify.update()`]: #crypto_verify_update_data_inputencoding
57145713
[`verify.verify()`]: #crypto_verify_verify_object_signature_signatureencoding
5714+
[caveats when using strings as inputs to cryptographic APIs]: #crypto_using_strings_as_inputs_to_cryptographic_apis
57155715
[certificate object]: tls.md#tls_certificate_object
57165716
[encoding]: buffer.md#buffer_buffers_and_character_encodings
57175717
[initialization vector]: https://en.wikipedia.org/wiki/Initialization_vector

doc/api/diagnostics_channel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,6 @@ channel.subscribe(onMessage);
257257
channel.unsubscribe(onMessage);
258258
```
259259

260-
[`diagnostics_channel.channel(name)`]: #diagnostics_channel_diagnostics_channel_channel_name
261-
[`channel.subscribe(onMessage)`]: #diagnostics_channel_channel_subscribe_onmessage
262260
[`'uncaughtException'`]: process.md#process_event_uncaughtexception
261+
[`channel.subscribe(onMessage)`]: #diagnostics_channel_channel_subscribe_onmessage
262+
[`diagnostics_channel.channel(name)`]: #diagnostics_channel_diagnostics_channel_channel_name

doc/api/esm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,15 +1339,15 @@ success!
13391339
[`data:` URLs]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
13401340
[`export`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
13411341
[`import()`]: #esm_import_expressions
1342-
[`import.meta.url`]: #esm_import_meta_url
13431342
[`import.meta.resolve`]: #esm_import_meta_resolve_specifier_parent
1343+
[`import.meta.url`]: #esm_import_meta_url
13441344
[`import`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
13451345
[`module.createRequire()`]: module.md#module_module_createrequire_filename
13461346
[`module.syncBuiltinESMExports()`]: module.md#module_module_syncbuiltinesmexports
13471347
[`package.json`]: packages.md#packages_node_js_package_json_field_definitions
13481348
[`process.dlopen`]: process.md#process_process_dlopen_module_filename_flags
1349-
[`transformSource` hook]: #esm_transformsource_source_context_defaulttransformsource
13501349
[`string`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String
1350+
[`transformSource` hook]: #esm_transformsource_source_context_defaulttransformsource
13511351
[`util.TextDecoder`]: util.md#util_class_util_textdecoder
13521352
[cjs-module-lexer]: https://github.com/guybedford/cjs-module-lexer/tree/1.2.1
13531353
[custom https loader]: #esm_https_loader

doc/api/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,8 +1637,8 @@ to the `EventTarget`.
16371637
[`fs.ReadStream`]: fs.md#fs_class_fs_readstream
16381638
[`net.Server`]: net.md#net_class_net_server
16391639
[`process.on('warning')`]: process.md#process_event_warning
1640-
[stream]: stream.md
16411640
[capturerejections]: #events_capture_rejections_of_promises
1641+
[error]: #events_error_events
16421642
[rejection]: #events_emitter_symbol_for_nodejs_rejection_err_eventname_args
16431643
[rejectionsymbol]: #events_events_capturerejectionsymbol
1644-
[error]: #events_error_events
1644+
[stream]: stream.md

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6729,7 +6729,6 @@ the file contents.
67296729
[Naming Files, Paths, and Namespaces]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file
67306730
[Readable Stream]: stream.md#stream_class_stream_readable
67316731
[Writable Stream]: stream.md#stream_class_stream_writable
6732-
[caveats]: #fs_caveats
67336732
[`AHAFS`]: https://developer.ibm.com/articles/au-aix_event_infrastructure/
67346733
[`Buffer.byteLength`]: buffer.md#buffer_static_method_buffer_bytelength_string_encoding
67356734
[`FSEvents`]: https://developer.apple.com/documentation/coreservices/file_system_events
@@ -6782,6 +6781,7 @@ the file contents.
67826781
[`kqueue(2)`]: https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
67836782
[`util.promisify()`]: util.md#util_util_promisify_original
67846783
[bigints]: https://tc39.github.io/proposal-bigint
6784+
[caveats]: #fs_caveats
67856785
[chcp]: https://ss64.com/nt/chcp.html
67866786
[inode]: https://en.wikipedia.org/wiki/Inode
67876787
[support of file system `flags`]: #fs_file_system_flags

doc/api/http.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,13 +3148,13 @@ try {
31483148
}
31493149
```
31503150

3151-
[`--insecure-http-parser`]: cli.md#cli_insecure_http_parser
3152-
[`--max-http-header-size`]: cli.md#cli_max_http_header_size_size
31533151
[`'checkContinue'`]: #http_event_checkcontinue
31543152
[`'finish'`]: #http_event_finish
31553153
[`'request'`]: #http_event_request
31563154
[`'response'`]: #http_event_response
31573155
[`'upgrade'`]: #http_event_upgrade
3156+
[`--insecure-http-parser`]: cli.md#cli_insecure_http_parser
3157+
[`--max-http-header-size`]: cli.md#cli_max_http_header_size_size
31583158
[`Agent`]: #http_class_http_agent
31593159
[`Buffer.byteLength()`]: buffer.md#buffer_static_method_buffer_bytelength_string_encoding
31603160
[`Duplex`]: stream.md#stream_class_stream_duplex
@@ -3170,37 +3170,37 @@ try {
31703170
[`http.Agent`]: #http_class_http_agent
31713171
[`http.ClientRequest`]: #http_class_http_clientrequest
31723172
[`http.IncomingMessage`]: #http_class_http_incomingmessage
3173-
[`http.Server`]: #http_class_http_server
31743173
[`http.ServerResponse`]: #http_class_http_serverresponse
3174+
[`http.Server`]: #http_class_http_server
31753175
[`http.get()`]: #http_http_get_options_callback
31763176
[`http.globalAgent`]: #http_http_globalagent
31773177
[`http.request()`]: #http_http_request_options_callback
31783178
[`message.headers`]: #http_message_headers
3179+
[`message.socket`]: #http_message_socket
31793180
[`net.Server.close()`]: net.md#net_server_close_callback
31803181
[`net.Server`]: net.md#net_class_net_server
31813182
[`net.Socket`]: net.md#net_class_net_socket
31823183
[`net.createConnection()`]: net.md#net_net_createconnection_options_connectlistener
31833184
[`new URL()`]: url.md#url_new_url_input_base
3184-
[`message.socket`]: #http_message_socket
31853185
[`outgoingMessage.socket`]: #http_outgoingMessage.socket
31863186
[`removeHeader(name)`]: #http_request_removeheader_name
3187-
[`request.end()`]: #http_request_end_data_encoding_callback
31883187
[`request.destroy()`]: #http_request_destroy_error
3188+
[`request.end()`]: #http_request_end_data_encoding_callback
31893189
[`request.flushHeaders()`]: #http_request_flushheaders
31903190
[`request.getHeader()`]: #http_request_getheader_name
31913191
[`request.setHeader()`]: #http_request_setheader_name_value
31923192
[`request.setTimeout()`]: #http_request_settimeout_timeout_callback
31933193
[`request.socket.getPeerCertificate()`]: tls.md#tls_tlssocket_getpeercertificate_detailed
31943194
[`request.socket`]: #http_request_socket
3195-
[`request.writableFinished`]: #http_request_writablefinished
31963195
[`request.writableEnded`]: #http_request_writableended
3196+
[`request.writableFinished`]: #http_request_writablefinished
31973197
[`request.write(data, encoding)`]: #http_request_write_chunk_encoding_callback
31983198
[`response.end()`]: #http_response_end_data_encoding_callback
31993199
[`response.getHeader()`]: #http_response_getheader_name
32003200
[`response.setHeader()`]: #http_response_setheader_name_value
32013201
[`response.socket`]: #http_response_socket
3202-
[`response.writableFinished`]: #http_response_writablefinished
32033202
[`response.writableEnded`]: #http_response_writableended
3203+
[`response.writableFinished`]: #http_response_writablefinished
32043204
[`response.write()`]: #http_response_write_chunk_encoding_callback
32053205
[`response.write(data, encoding)`]: #http_response_write_chunk_encoding_callback
32063206
[`response.writeContinue()`]: #http_response_writecontinue

doc/api/http2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3858,6 +3858,7 @@ you need to implement any fall-back behavior yourself.
38583858
[RFC 7838]: https://tools.ietf.org/html/rfc7838
38593859
[RFC 8336]: https://tools.ietf.org/html/rfc8336
38603860
[RFC 8441]: https://tools.ietf.org/html/rfc8441
3861+
[Sensitive headers]: #http2_sensitive_headers
38613862
[`'checkContinue'`]: #http2_event_checkcontinue
38623863
[`'connect'`]: #http2_event_connect
38633864
[`'request'`]: #http2_event_request
@@ -3887,8 +3888,8 @@ you need to implement any fall-back behavior yourself.
38873888
[`net.connect()`]: net.md#net_net_connect
38883889
[`net.createServer()`]: net.md#net_net_createserver_options_connectionlistener
38893890
[`request.authority`]: #http2_request_authority
3890-
[`request.socket`]: #http2_request_socket
38913891
[`request.socket.getPeerCertificate()`]: tls.md#tls_tlssocket_getpeercertificate_detailed
3892+
[`request.socket`]: #http2_request_socket
38923893
[`response.end()`]: #http2_response_end_data_encoding_callback
38933894
[`response.setHeader()`]: #http2_response_setheader_name_value
38943895
[`response.socket`]: #http2_response_socket
@@ -3903,4 +3904,3 @@ you need to implement any fall-back behavior yourself.
39033904
[`tls.createServer()`]: tls.md#tls_tls_createserver_options_secureconnectionlistener
39043905
[`writable.writableFinished`]: stream.md#stream_writable_writablefinished
39053906
[error code]: #http2_error_codes_for_rst_stream_and_goaway
3906-
[Sensitive headers]: #http2_sensitive_headers

0 commit comments

Comments
 (0)