Skip to content

Commit a669a19

Browse files
aduh95targos
authored andcommitted
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 4715105 commit a669a19

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
@@ -5640,7 +5640,6 @@ See the [list of SSL OP Flags][] for details.
56405640
[AEAD algorithms]: https://en.wikipedia.org/wiki/Authenticated_encryption
56415641
[CCM mode]: #crypto_ccm_mode
56425642
[Caveats]: #crypto_support_for_weak_or_compromised_algorithms
5643-
[caveats when using strings as inputs to cryptographic APIs]: #crypto_using_strings_as_inputs_to_cryptographic_apis
56445643
[Crypto constants]: #crypto_crypto_constants_1
56455644
[HTML 5.2]: https://www.w3.org/TR/html52/changes.html#features-removed
56465645
[HTML5's `keygen` element]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
@@ -5710,6 +5709,7 @@ See the [list of SSL OP Flags][] for details.
57105709
[`util.promisify()`]: util.md#util_util_promisify_original
57115710
[`verify.update()`]: #crypto_verify_update_data_inputencoding
57125711
[`verify.verify()`]: #crypto_verify_verify_object_signature_signatureencoding
5712+
[caveats when using strings as inputs to cryptographic APIs]: #crypto_using_strings_as_inputs_to_cryptographic_apis
57135713
[certificate object]: tls.md#tls_certificate_object
57145714
[encoding]: buffer.md#buffer_buffers_and_character_encodings
57155715
[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
@@ -1338,15 +1338,15 @@ success!
13381338
[`data:` URLs]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
13391339
[`export`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export
13401340
[`import()`]: #esm_import_expressions
1341-
[`import.meta.url`]: #esm_import_meta_url
13421341
[`import.meta.resolve`]: #esm_import_meta_resolve_specifier_parent
1342+
[`import.meta.url`]: #esm_import_meta_url
13431343
[`import`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
13441344
[`module.createRequire()`]: module.md#module_module_createrequire_filename
13451345
[`module.syncBuiltinESMExports()`]: module.md#module_module_syncbuiltinesmexports
13461346
[`package.json`]: packages.md#packages_node_js_package_json_field_definitions
13471347
[`process.dlopen`]: process.md#process_process_dlopen_module_filename_flags
1348-
[`transformSource` hook]: #esm_transformsource_source_context_defaulttransformsource
13491348
[`string`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String
1349+
[`transformSource` hook]: #esm_transformsource_source_context_defaulttransformsource
13501350
[`util.TextDecoder`]: util.md#util_class_util_textdecoder
13511351
[cjs-module-lexer]: https://github.com/guybedford/cjs-module-lexer/tree/1.2.1
13521352
[custom https loader]: #esm_https_loader

doc/api/events.md

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

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6706,7 +6706,6 @@ the file contents.
67066706
[Naming Files, Paths, and Namespaces]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file
67076707
[Readable Stream]: stream.md#stream_class_stream_readable
67086708
[Writable Stream]: stream.md#stream_class_stream_writable
6709-
[caveats]: #fs_caveats
67106709
[`AHAFS`]: https://developer.ibm.com/articles/au-aix_event_infrastructure/
67116710
[`Buffer.byteLength`]: buffer.md#buffer_static_method_buffer_bytelength_string_encoding
67126711
[`FSEvents`]: https://developer.apple.com/documentation/coreservices/file_system_events
@@ -6759,6 +6758,7 @@ the file contents.
67596758
[`kqueue(2)`]: https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
67606759
[`util.promisify()`]: util.md#util_util_promisify_original
67616760
[bigints]: https://tc39.github.io/proposal-bigint
6761+
[caveats]: #fs_caveats
67626762
[chcp]: https://ss64.com/nt/chcp.html
67636763
[inode]: https://en.wikipedia.org/wiki/Inode
67646764
[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
@@ -3140,13 +3140,13 @@ try {
31403140
}
31413141
```
31423142

3143-
[`--insecure-http-parser`]: cli.md#cli_insecure_http_parser
3144-
[`--max-http-header-size`]: cli.md#cli_max_http_header_size_size
31453143
[`'checkContinue'`]: #http_event_checkcontinue
31463144
[`'finish'`]: #http_event_finish
31473145
[`'request'`]: #http_event_request
31483146
[`'response'`]: #http_event_response
31493147
[`'upgrade'`]: #http_event_upgrade
3148+
[`--insecure-http-parser`]: cli.md#cli_insecure_http_parser
3149+
[`--max-http-header-size`]: cli.md#cli_max_http_header_size_size
31503150
[`Agent`]: #http_class_http_agent
31513151
[`Buffer.byteLength()`]: buffer.md#buffer_static_method_buffer_bytelength_string_encoding
31523152
[`Duplex`]: stream.md#stream_class_stream_duplex
@@ -3162,37 +3162,37 @@ try {
31623162
[`http.Agent`]: #http_class_http_agent
31633163
[`http.ClientRequest`]: #http_class_http_clientrequest
31643164
[`http.IncomingMessage`]: #http_class_http_incomingmessage
3165-
[`http.Server`]: #http_class_http_server
31663165
[`http.ServerResponse`]: #http_class_http_serverresponse
3166+
[`http.Server`]: #http_class_http_server
31673167
[`http.get()`]: #http_http_get_options_callback
31683168
[`http.globalAgent`]: #http_http_globalagent
31693169
[`http.request()`]: #http_http_request_options_callback
31703170
[`message.headers`]: #http_message_headers
3171+
[`message.socket`]: #http_message_socket
31713172
[`net.Server.close()`]: net.md#net_server_close_callback
31723173
[`net.Server`]: net.md#net_class_net_server
31733174
[`net.Socket`]: net.md#net_class_net_socket
31743175
[`net.createConnection()`]: net.md#net_net_createconnection_options_connectlistener
31753176
[`new URL()`]: url.md#url_new_url_input_base
3176-
[`message.socket`]: #http_message_socket
31773177
[`outgoingMessage.socket`]: #http_outgoingMessage.socket
31783178
[`removeHeader(name)`]: #http_request_removeheader_name
3179-
[`request.end()`]: #http_request_end_data_encoding_callback
31803179
[`request.destroy()`]: #http_request_destroy_error
3180+
[`request.end()`]: #http_request_end_data_encoding_callback
31813181
[`request.flushHeaders()`]: #http_request_flushheaders
31823182
[`request.getHeader()`]: #http_request_getheader_name
31833183
[`request.setHeader()`]: #http_request_setheader_name_value
31843184
[`request.setTimeout()`]: #http_request_settimeout_timeout_callback
31853185
[`request.socket.getPeerCertificate()`]: tls.md#tls_tlssocket_getpeercertificate_detailed
31863186
[`request.socket`]: #http_request_socket
3187-
[`request.writableFinished`]: #http_request_writablefinished
31883187
[`request.writableEnded`]: #http_request_writableended
3188+
[`request.writableFinished`]: #http_request_writablefinished
31893189
[`request.write(data, encoding)`]: #http_request_write_chunk_encoding_callback
31903190
[`response.end()`]: #http_response_end_data_encoding_callback
31913191
[`response.getHeader()`]: #http_response_getheader_name
31923192
[`response.setHeader()`]: #http_response_setheader_name_value
31933193
[`response.socket`]: #http_response_socket
3194-
[`response.writableFinished`]: #http_response_writablefinished
31953194
[`response.writableEnded`]: #http_response_writableended
3195+
[`response.writableFinished`]: #http_response_writablefinished
31963196
[`response.write()`]: #http_response_write_chunk_encoding_callback
31973197
[`response.write(data, encoding)`]: #http_response_write_chunk_encoding_callback
31983198
[`response.writeContinue()`]: #http_response_writecontinue

doc/api/http2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3852,6 +3852,7 @@ you need to implement any fall-back behavior yourself.
38523852
[RFC 7838]: https://tools.ietf.org/html/rfc7838
38533853
[RFC 8336]: https://tools.ietf.org/html/rfc8336
38543854
[RFC 8441]: https://tools.ietf.org/html/rfc8441
3855+
[Sensitive headers]: #http2_sensitive_headers
38553856
[`'checkContinue'`]: #http2_event_checkcontinue
38563857
[`'connect'`]: #http2_event_connect
38573858
[`'request'`]: #http2_event_request
@@ -3881,8 +3882,8 @@ you need to implement any fall-back behavior yourself.
38813882
[`net.connect()`]: net.md#net_net_connect
38823883
[`net.createServer()`]: net.md#net_net_createserver_options_connectionlistener
38833884
[`request.authority`]: #http2_request_authority
3884-
[`request.socket`]: #http2_request_socket
38853885
[`request.socket.getPeerCertificate()`]: tls.md#tls_tlssocket_getpeercertificate_detailed
3886+
[`request.socket`]: #http2_request_socket
38863887
[`response.end()`]: #http2_response_end_data_encoding_callback
38873888
[`response.setHeader()`]: #http2_response_setheader_name_value
38883889
[`response.socket`]: #http2_response_socket
@@ -3897,4 +3898,3 @@ you need to implement any fall-back behavior yourself.
38973898
[`tls.createServer()`]: tls.md#tls_tls_createserver_options_secureconnectionlistener
38983899
[`writable.writableFinished`]: stream.md#stream_writable_writablefinished
38993900
[error code]: #http2_error_codes_for_rst_stream_and_goaway
3900-
[Sensitive headers]: #http2_sensitive_headers

0 commit comments

Comments
 (0)