From 4df0c18e35675d49e06d48215e8b122546030426 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sat, 14 Jul 2018 15:10:10 +0300 Subject: [PATCH] doc: prevent some redirections Replace some redirected URLs with the final ones. --- doc/api/async_hooks.md | 2 +- doc/api/crypto.md | 6 +++--- doc/api/deprecations.md | 2 +- doc/api/fs.md | 8 ++++---- doc/api/index.md | 2 +- doc/api/intl.md | 2 +- doc/api/path.md | 2 +- doc/api/process.md | 2 +- doc/api/punycode.md | 2 +- doc/api/repl.md | 4 ++-- doc/api/timers.md | 2 +- doc/api/tls.md | 2 +- doc/api/util.md | 2 +- doc/api/v8.md | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 6e3b0827d55bb4..676e4d8395cb13 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -726,6 +726,6 @@ never be called. [`destroy` callback]: #async_hooks_destroy_asyncid [`init` callback]: #async_hooks_init_asyncid_type_triggerasyncid_resource [Hook Callbacks]: #async_hooks_hook_callbacks -[PromiseHooks]: https://docs.google.com/document/d/1rda3yKGHimKIhg5YeoAmCOtyURgsbTH_qaYR79FELlk +[PromiseHooks]: https://docs.google.com/document/d/1rda3yKGHimKIhg5YeoAmCOtyURgsbTH_qaYR79FELlk/edit [promise execution tracking]: #async_hooks_promise_execution_tracking [`Worker`]: worker_threads.html#worker_threads_class_worker diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 51fa99159fa1d7..134964b436186b 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2739,9 +2739,9 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. [Crypto Constants]: #crypto_crypto_constants_1 [HTML 5.2]: https://www.w3.org/TR/html52/changes.html#features-removed [HTML5's `keygen` element]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen -[NIST SP 800-131A]: http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar1.pdf -[NIST SP 800-132]: http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf -[NIST SP 800-38D]: http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf +[NIST SP 800-131A]: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar1.pdf +[NIST SP 800-132]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf +[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf [Nonce-Disrespecting Adversaries]: https://github.com/nonce-disrespect/nonce-disrespect [OpenSSL's SPKAC implementation]: https://www.openssl.org/docs/man1.1.0/apps/openssl-spkac.html [RFC 2412]: https://www.rfc-editor.org/rfc/rfc2412.txt diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 8d69c9a65fdb6c..ed04532f19dd7a 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1086,5 +1086,5 @@ The option `produceCachedData` has been deprecated. Use [alloc_unsafe_size]: buffer.html#buffer_class_method_buffer_allocunsafe_size [from_arraybuffer]: buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length [from_string_encoding]: buffer.html#buffer_class_method_buffer_from_string_encoding -[NIST SP 800-38D]: http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf +[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf [`REPLServer.clearBufferedCommand()`]: repl.html#repl_replserver_clearbufferedcommand diff --git a/doc/api/fs.md b/doc/api/fs.md index 3f19ccc3cd526b..e879402346a9bd 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4609,7 +4609,7 @@ the file contents. [`Buffer.byteLength`]: buffer.html#buffer_class_method_buffer_bytelength_string_encoding [`Buffer`]: buffer.html#buffer_buffer [`FSEvents`]: https://developer.apple.com/documentation/coreservices/file_system_events -[`ReadDirectoryChangesW`]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365465%28v=vs.85%29.aspx +[`ReadDirectoryChangesW`]: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-readdirectorychangesw [`ReadStream`]: #fs_class_fs_readstream [`URL`]: url.html#url_the_whatwg_url_api [`UV_THREADPOOL_SIZE`]: cli.html#cli_uv_threadpool_size_size @@ -4649,13 +4649,13 @@ the file contents. [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-Date]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date [MDN-Number]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type [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 -[Naming Files, Paths, and Namespaces]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx -[MSDN-Using-Streams]: https://msdn.microsoft.com/en-us/library/windows/desktop/bb540537.aspx +[Naming Files, Paths, and Namespaces]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file +[MSDN-Using-Streams]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams [support of file system `flags`]: #fs_file_system_flags [File Access Constants]: #fs_file_access_constants diff --git a/doc/api/index.md b/doc/api/index.md index 0b43097bf294de..5ba0da6a7fb5aa 100644 --- a/doc/api/index.md +++ b/doc/api/index.md @@ -61,4 +61,4 @@
* [GitHub Repo & Issue Tracker](https://github.com/nodejs/node) -* [Mailing List](https://groups.google.com/group/nodejs) +* [Mailing List](https://groups.google.com/forum/#!forum/nodejs) diff --git a/doc/api/intl.md b/doc/api/intl.md index fc10bf9dda2e82..cce6661521c832 100644 --- a/doc/api/intl.md +++ b/doc/api/intl.md @@ -209,7 +209,7 @@ to be helpful: [BUILDING.md#full-icu]: https://github.com/nodejs/node/blob/master/BUILDING.md#build-with-full-icu-support-all-locales-supported-by-icu [ECMA-262]: https://tc39.github.io/ecma262/ [ECMA-402]: https://tc39.github.io/ecma402/ -[ICU]: http://icu-project.org/ +[ICU]: http://site.icu-project.org/ [REPL]: repl.html#repl_repl [Test262]: https://github.com/tc39/test262/tree/master/test/intl402 [WHATWG URL parser]: url.html#url_the_whatwg_url_api diff --git a/doc/api/path.md b/doc/api/path.md index c6960c7ee47109..887928dd1a46cb 100644 --- a/doc/api/path.md +++ b/doc/api/path.md @@ -564,4 +564,4 @@ of the `path` methods. [`path.sep`]: #path_path_sep [`path.win32`]: #path_path_win32 [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 +[namespace-prefixed path]: https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#namespaces diff --git a/doc/api/process.md b/doc/api/process.md index df544e7f0f17b9..2c27409d809080 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -2080,7 +2080,7 @@ cases: [Cluster]: cluster.html [debugger]: debugger.html [Duplex]: stream.html#stream_duplex_and_transform_streams -[LTS]: https://github.com/nodejs/LTS/ +[LTS]: https://github.com/nodejs/Release [note on process I/O]: process.html#process_a_note_on_process_i_o [process_emit_warning]: #process_process_emitwarning_warning_type_code_ctor [process_warning]: #process_event_warning diff --git a/doc/api/punycode.md b/doc/api/punycode.md index fc67d55f85cd94..b8a3b7d629f9e5 100644 --- a/doc/api/punycode.md +++ b/doc/api/punycode.md @@ -149,5 +149,5 @@ added: v0.6.1 Returns a string identifying the current [Punycode.js][] version number. -[Punycode.js]: https://mths.be/punycode +[Punycode.js]: https://github.com/bestiejs/punycode.js [Punycode]: https://tools.ietf.org/html/rfc3492 diff --git a/doc/api/repl.md b/doc/api/repl.md index 356d5ef47e206f..cb2765eab44f8b 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -619,10 +619,10 @@ possible to connect to a long-running Node.js process without restarting it. For an example of running a "full-featured" (`terminal`) REPL over a `net.Server` and `net.Socket` instance, see: -[https://gist.github.com/2209310](https://gist.github.com/2209310). +[https://gist.github.com/TooTallNate/2209310](https://gist.github.com/TooTallNate/2209310). For an example of running a REPL instance over [curl(1)][], see: -[https://gist.github.com/2053342](https://gist.github.com/2053342). +[https://gist.github.com/TooTallNate/2053342](https://gist.github.com/TooTallNate/2053342). [`'uncaughtException'`]: process.html#process_event_uncaughtexception [`--experimental-repl-await`]: cli.html#cli_experimental_repl_await diff --git a/doc/api/timers.md b/doc/api/timers.md index b86a49a932ec1c..df645c104a286d 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -271,4 +271,4 @@ Cancels a `Timeout` object created by [`setTimeout()`][]. [`setInterval()`]: timers.html#timers_setinterval_callback_delay_args [`setTimeout()`]: timers.html#timers_settimeout_callback_delay_args [`util.promisify()`]: util.html#util_util_promisify_original -[the Node.js Event Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick +[the Node.js Event Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/ diff --git a/doc/api/tls.md b/doc/api/tls.md index e69d0ea17e4db8..34f09b052ec56e 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1402,6 +1402,6 @@ where `secureSocket` has the same API as `pair.cleartext`. [Stream]: stream.html#stream_stream [TLS Session Tickets]: https://www.ietf.org/rfc/rfc5077.txt [TLS recommendations]: https://wiki.mozilla.org/Security/Server_Side_TLS -[asn1.js]: https://npmjs.org/package/asn1.js +[asn1.js]: https://www.npmjs.com/package/asn1.js [modifying the default cipher suite]: #tls_modifying_the_default_tls_cipher_suite [specific attacks affecting larger AES key sizes]: https://www.schneier.com/blog/archives/2009/07/another_new_aes.html diff --git a/doc/api/util.md b/doc/api/util.md index f199f211a896f1..42cdf1b99c5ff0 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -2132,6 +2132,6 @@ Deprecated predecessor of `console.log`. [Module Namespace Object]: https://tc39.github.io/ecma262/#sec-module-namespace-exotic-objects [WHATWG Encoding Standard]: https://encoding.spec.whatwg.org/ [Common System Errors]: errors.html#errors_common_system_errors -[constructor]: https://developer.mozilla.org/en-US/JavaScript/Reference/Global_Objects/Object/constructor +[constructor]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor [list of deprecated APIS]: deprecations.html#deprecations_list_of_deprecated_apis [semantically incompatible]: https://github.com/nodejs/node/issues/4179 diff --git a/doc/api/v8.md b/doc/api/v8.md index c5d23af7a3154a..c9afa93f89d4ec 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -413,4 +413,4 @@ A subclass of [`Deserializer`][] corresponding to the format written by [V8]: https://developers.google.com/v8/ [`vm.Script`]: vm.html#vm_new_vm_script_code_options [here]: https://github.com/thlorenz/v8-flags/blob/master/flags-0.11.md -[`GetHeapSpaceStatistics`]: https://v8docs.nodesource.com/node-8.0/d5/dda/classv8_1_1_isolate.html#ac673576f24fdc7a33378f8f57e1d13a4 +[`GetHeapSpaceStatistics`]: https://v8docs.nodesource.com/node-8.9/d5/dda/classv8_1_1_isolate.html#ac673576f24fdc7a33378f8f57e1d13a4