diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-07-02 00:38:05 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-07-02 18:08:17 +0300 |
commit | 2ae45240a21f6b78e5ddbb3a2917d5e4ecdb8361 (patch) | |
tree | 6e7462334e1b0ad29249b621a53ceb0b8be37dad /doc | |
parent | 4f151228472d80a4583f90aeeaaec1bdc4446fe0 (diff) | |
download | android-node-v8-2ae45240a21f6b78e5ddbb3a2917d5e4ecdb8361.tar.gz android-node-v8-2ae45240a21f6b78e5ddbb3a2917d5e4ecdb8361.tar.bz2 android-node-v8-2ae45240a21f6b78e5ddbb3a2917d5e4ecdb8361.zip |
doc: fix some links
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/deprecations.md | 2 | ||||
-rw-r--r-- | doc/api/errors.md | 2 | ||||
-rw-r--r-- | doc/api/fs.md | 4 | ||||
-rw-r--r-- | doc/api/path.md | 2 | ||||
-rw-r--r-- | doc/api/worker_threads.md | 8 |
5 files changed, 9 insertions, 9 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index de469ab0d8..1a8aa8053b 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1037,7 +1037,7 @@ The option `produceCachedData` has been deprecated. Use [`fs.lchmodSync(path, mode)`]: fs.html#fs_fs_lchmodsync_path_mode [`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 -[`fs.stat()`]: fs.html#fs_fs_stat_path_callback +[`fs.stat()`]: fs.html#fs_fs_stat_path_options_callback [`http.get()`]: http.html#http_http_get_options_callback [`http.request()`]: http.html#http_http_request_options_callback [`https.get()`]: https.html#https_https_get_options_callback diff --git a/doc/api/errors.md b/doc/api/errors.md index cce3b3b846..1e2730db4f 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1828,7 +1828,7 @@ Creation of a [`zlib`][] object failed due to incorrect configuration. [`cipher.getAuthTag()`]: crypto.html#crypto_cipher_getauthtag [`Class: assert.AssertionError`]: assert.html#assert_class_assert_assertionerror [`crypto.scrypt()`]: crypto.html#crypto_crypto_scrypt_password_salt_keylen_options_callback -[`crypto.scryptSync()`]: crypto.html#crypto_crypto_scryptSync_password_salt_keylen_options +[`crypto.scryptSync()`]: crypto.html#crypto_crypto_scryptsync_password_salt_keylen_options [`crypto.timingSafeEqual()`]: crypto.html#crypto_crypto_timingsafeequal_a_b [`dgram.createSocket()`]: dgram.html#dgram_dgram_createsocket_options_callback [`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE diff --git a/doc/api/fs.md b/doc/api/fs.md index 361114ef19..ac6ddf5284 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4617,14 +4617,14 @@ the file contents. [`inotify(7)`]: http://man7.org/linux/man-pages/man7/inotify.7.html [`kqueue(2)`]: https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 [`net.Socket`]: net.html#net_class_net_socket -[`stat()`]: fs.html#fs_fs_stat_path_callback +[`stat()`]: fs.html#fs_fs_stat_path_options_callback [`util.promisify()`]: util.html#util_util_promisify_original [Caveats]: #fs_caveats [Common System Errors]: errors.html#errors_common_system_errors [FS Constants]: #fs_fs_constants_1 [MDN-Date]: https://developer.mozilla.org/en-US/JavaScript/Reference/Global_Objects/Date [MDN-Number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type -[MSDN-Rel-Path]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx#fully_qualified_vs._relative_paths +[MSDN-Rel-Path]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#fully-qualified-vs-relative-paths [Readable Streams]: stream.html#stream_class_stream_readable [Writable Stream]: stream.html#stream_class_stream_writable [inode]: https://en.wikipedia.org/wiki/Inode diff --git a/doc/api/path.md b/doc/api/path.md index 51202195f3..c6960c7ee4 100644 --- a/doc/api/path.md +++ b/doc/api/path.md @@ -563,5 +563,5 @@ of the `path` methods. [`path.posix`]: #path_path_posix [`path.sep`]: #path_path_sep [`path.win32`]: #path_path_win32 -[MSDN-Rel-Path]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx#fully_qualified_vs._relative_paths +[MSDN-Rel-Path]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#fully-qualified-vs-relative-paths [namespace-prefixed path]: https://msdn.microsoft.com/library/windows/desktop/aa365247(v=vs.85).aspx#namespaces diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 9578403c5c..d20fd0fce5 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -296,7 +296,7 @@ if (isMainThread) { console.log('received:', value); }); } else { - require('worker_threads').once('workerMessage', (value) => { + require('worker_threads').once('message', (value) => { assert(value.hereIsYourPort instanceof MessagePort); value.hereIsYourPort.postMessage('the worker is sending this'); value.hereIsYourPort.close(); @@ -377,7 +377,7 @@ added: v10.5.0 * `transferList` {Object[]} Send a message to the worker that will be received via -[`require('worker_threads').on('workerMessage')`][]. +[`require('worker_threads').on('message')`][]. See [`port.postMessage()`][] for more details. ### worker.ref() @@ -467,7 +467,7 @@ active handle in the event system. If the worker is already `unref()`ed calling [`port.postMessage()`]: #worker_threads_port_postmessage_value_transferlist [`Worker`]: #worker_threads_class_worker [`worker.terminate()`]: #worker_threads_worker_terminate_callback -[`worker.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist_1 +[`worker.postMessage()`]: #worker_threads_worker_postmessage_value_transferlist [`worker.on('message')`]: #worker_threads_event_message_1 [`worker.threadId`]: #worker_threads_worker_threadid_1 [`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 [`process.stdout`]: process.html#process_process_stdout [`process.title`]: process.html#process_process_title [`require('worker_threads').workerData`]: #worker_threads_worker_workerdata -[`require('worker_threads').on('workerMessage')`]: #worker_threads_event_workermessage +[`require('worker_threads').on('message')`]: #worker_threads_event_message_1 [`require('worker_threads').postMessage()`]: #worker_threads_worker_postmessage_value_transferlist [`require('worker_threads').isMainThread`]: #worker_threads_worker_ismainthread [`require('worker_threads').parentPort`]: #worker_threads_worker_parentport |