Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1d73ba8

Browse filesBrowse files
vsemozhetbyttargos
authored andcommitted
doc: fix some links
PR-URL: #21619 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 1894d6c commit 1d73ba8
Copy full SHA for 1d73ba8

File tree

Expand file treeCollapse file tree

6 files changed

+10
-10
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

6 files changed

+10
-10
lines changed
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ The option `produceCachedData` has been deprecated. Use
10251025
[`fs.lchmodSync(path, mode)`]: fs.html#fs_fs_lchmodsync_path_mode
10261026
[`fs.read()`]: fs.html#fs_fs_read_fd_buffer_offset_length_position_callback
10271027
[`fs.readSync()`]: fs.html#fs_fs_readsync_fd_buffer_offset_length_position
1028-
[`fs.stat()`]: fs.html#fs_fs_stat_path_callback
1028+
[`fs.stat()`]: fs.html#fs_fs_stat_path_options_callback
10291029
[`os.networkInterfaces`]: os.html#os_os_networkinterfaces
10301030
[`os.tmpdir()`]: os.html#os_os_tmpdir
10311031
[`process.env`]: process.html#process_process_env
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ Creation of a [`zlib`][] object failed due to incorrect configuration.
18281828
[`cipher.getAuthTag()`]: crypto.html#crypto_cipher_getauthtag
18291829
[`Class: assert.AssertionError`]: assert.html#assert_class_assert_assertionerror
18301830
[`crypto.scrypt()`]: crypto.html#crypto_crypto_scrypt_password_salt_keylen_options_callback
1831-
[`crypto.scryptSync()`]: crypto.html#crypto_crypto_scryptSync_password_salt_keylen_options
1831+
[`crypto.scryptSync()`]: crypto.html#crypto_crypto_scryptsync_password_salt_keylen_options
18321832
[`crypto.timingSafeEqual()`]: crypto.html#crypto_crypto_timingsafeequal_a_b
18331833
[`dgram.createSocket()`]: dgram.html#dgram_dgram_createsocket_options_callback
18341834
[`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4612,14 +4612,14 @@ the file contents.
46124612
[`inotify(7)`]: http://man7.org/linux/man-pages/man7/inotify.7.html
46134613
[`kqueue(2)`]: https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
46144614
[`net.Socket`]: net.html#net_class_net_socket
4615-
[`stat()`]: fs.html#fs_fs_stat_path_callback
4615+
[`stat()`]: fs.html#fs_fs_stat_path_options_callback
46164616
[`util.promisify()`]: util.html#util_util_promisify_original
46174617
[Caveats]: #fs_caveats
46184618
[Common System Errors]: errors.html#errors_common_system_errors
46194619
[FS Constants]: #fs_fs_constants_1
46204620
[MDN-Date]: https://developer.mozilla.org/en-US/JavaScript/Reference/Global_Objects/Date
46214621
[MDN-Number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type
4622-
[MSDN-Rel-Path]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx#fully_qualified_vs._relative_paths
4622+
[MSDN-Rel-Path]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#fully-qualified-vs-relative-paths
46234623
[Readable Streams]: stream.html#stream_class_stream_readable
46244624
[Writable Stream]: stream.html#stream_class_stream_writable
46254625
[inode]: https://en.wikipedia.org/wiki/Inode
Collapse file

‎doc/api/path.md‎

Copy file name to clipboardExpand all lines: doc/api/path.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -563,5 +563,5 @@ of the `path` methods.
563563
[`path.posix`]: #path_path_posix
564564
[`path.sep`]: #path_path_sep
565565
[`path.win32`]: #path_path_win32
566-
[MSDN-Rel-Path]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx#fully_qualified_vs._relative_paths
566+
[MSDN-Rel-Path]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#fully-qualified-vs-relative-paths
567567
[namespace-prefixed path]: https://msdn.microsoft.com/library/windows/desktop/aa365247(v=vs.85).aspx#namespaces
Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ if (isMainThread) {
296296
console.log('received:', value);
297297
});
298298
} else {
299-
require('worker_threads').once('workerMessage', (value) => {
299+
require('worker_threads').once('message', (value) => {
300300
assert(value.hereIsYourPort instanceof MessagePort);
301301
value.hereIsYourPort.postMessage('the worker is sending this');
302302
value.hereIsYourPort.close();
@@ -377,7 +377,7 @@ added: v10.5.0
377377
* `transferList` {Object[]}
378378

379379
Send a message to the worker that will be received via
380-
[`require('worker_threads').on('workerMessage')`][].
380+
[`require('worker_threads').on('message')`][].
381381
See [`port.postMessage()`][] for more details.
382382

383383
### worker.ref()
@@ -467,7 +467,7 @@ active handle in the event system. If the worker is already `unref()`ed calling
467467
[`port.postMessage()`]: #worker_threads_port_postmessage_value_transferlist
468468
[`Worker`]: #worker_threads_class_worker
469469
[`worker.terminate()`]: #worker_threads_worker_terminate_callback
470-
[`worker.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist_1
470+
[`worker.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist
471471
[`worker.on('message')`]: #worker_threads_event_message_1
472472
[`worker.threadId`]: #worker_threads_worker_threadid_1
473473
[`port.on('message')`]: #worker_threads_event_message
@@ -480,7 +480,7 @@ active handle in the event system. If the worker is already `unref()`ed calling
480480
[`process.stdout`]: process.html#process_process_stdout
481481
[`process.title`]: process.html#process_process_title
482482
[`require('worker_threads').workerData`]: #worker_threads_worker_workerdata
483-
[`require('worker_threads').on('workerMessage')`]: #worker_threads_event_workermessage
483+
[`require('worker_threads').on('message')`]: #worker_threads_event_message_1
484484
[`require('worker_threads').postMessage()`]: #worker_threads_worker_postmessage_value_transferlist
485485
[`require('worker_threads').isMainThread`]: #worker_threads_worker_ismainthread
486486
[`require('worker_threads').parentPort`]: #worker_threads_worker_parentport
Collapse file

‎tools/doc/type-parser.js‎

Copy file name to clipboardExpand all lines: tools/doc/type-parser.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const customTypesMap = {
118118
'URL': 'url.html#url_the_whatwg_url_api',
119119
'URLSearchParams': 'url.html#url_class_urlsearchparams',
120120

121-
'MessagePort': 'worker.html#worker_class_messageport'
121+
'MessagePort': 'worker_threads.html#worker_threads_class_messageport'
122122
};
123123

124124
const arrayPart = /(?:\[])+$/;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.