From abfab9892beb374bf31787ba80fe1350192ed558 Mon Sep 17 00:00:00 2001 From: sapics Date: Tue, 30 Jun 2020 00:16:11 +0900 Subject: [PATCH] doc: replace http to https of link urls PR-URL: https://github.com/nodejs/node/pull/34158 Reviewed-By: Anna Henningsen Reviewed-By: Anto Aravinth Reviewed-By: James M Snell --- doc/api/cli.md | 2 +- doc/api/dns.md | 4 ++-- doc/api/errors.md | 6 +++--- doc/api/esm.md | 8 ++++---- doc/api/fs.md | 2 +- doc/api/n-api.md | 4 ++-- doc/api/net.md | 2 +- doc/api/process.md | 2 +- doc/changelogs/CHANGELOG_ARCHIVE.md | 6 +++--- doc/changelogs/CHANGELOG_IOJS.md | 2 +- doc/guides/cpp-style-guide.md | 12 ++++++------ doc/guides/maintaining-icu.md | 4 ++-- doc/guides/maintaining-openssl.md | 2 +- doc/guides/writing-tests.md | 2 +- 14 files changed, 29 insertions(+), 29 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 10bfefeee14b14..4c5d8b4d36d690 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1545,5 +1545,5 @@ $ node --max-old-space-size=1536 index.js [emit_warning]: process.html#process_process_emitwarning_warning_type_code_ctor [experimental ECMAScript Module loader]: esm.html#esm_experimental_loaders [jitless]: https://v8.dev/blog/jitless -[libuv threadpool documentation]: http://docs.libuv.org/en/latest/threadpool.html +[libuv threadpool documentation]: https://docs.libuv.org/en/latest/threadpool.html [remote code execution]: https://www.owasp.org/index.php/Code_Injection diff --git a/doc/api/dns.md b/doc/api/dns.md index 17edcadebf6996..5d55e33c7d1553 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -616,7 +616,7 @@ The [`dns.setServers()`][] method affects only [`dns.resolve()`][], [`dns.lookup()`][]). This method works much like -[resolve.conf](http://man7.org/linux/man-pages/man5/resolv.conf.5.html). +[resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). That is, if attempting to resolve with the first server provided results in a `NOTFOUND` error, the `resolve()` method will *not* attempt to resolve with subsequent servers provided. Fallback DNS servers will only be used if the @@ -1080,7 +1080,7 @@ The `dnsPromises.setServers()` method must not be called while a DNS query is in progress. This method works much like -[resolve.conf](http://man7.org/linux/man-pages/man5/resolv.conf.5.html). +[resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html). That is, if attempting to resolve with the first server provided results in a `NOTFOUND` error, the `resolve()` method will *not* attempt to resolve with subsequent servers provided. Fallback DNS servers will only be used if the diff --git a/doc/api/errors.md b/doc/api/errors.md index 1a6f7141891b4e..660d0d539672fa 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2508,7 +2508,7 @@ closed. [`dgram.createSocket()`]: dgram.html#dgram_dgram_createsocket_options_callback [`dgram.disconnect()`]: dgram.html#dgram_socket_disconnect [`dgram.remoteAddress()`]: dgram.html#dgram_socket_remoteaddress -[`errno`(3) man page]: http://man7.org/linux/man-pages/man3/errno.3.html +[`errno`(3) man page]: https://man7.org/linux/man-pages/man3/errno.3.html [`fs.Dir`]: fs.html#fs_class_fs_dir [`fs.readFileSync`]: fs.html#fs_fs_readfilesync_path_options [`fs.readdir`]: fs.html#fs_fs_readdir_path_options_callback @@ -2520,7 +2520,7 @@ closed. [`hash.update()`]: crypto.html#crypto_hash_update_data_inputencoding [`http`]: http.html [`https`]: https.html -[`libuv Error handling`]: http://docs.libuv.org/en/v1.x/errors.html +[`libuv Error handling`]: https://docs.libuv.org/en/v1.x/errors.html [`net`]: net.html [`new URL(input)`]: url.html#url_new_url_input_base [`new URLSearchParams(iterable)`]: url.html#url_new_urlsearchparams_iterable @@ -2554,7 +2554,7 @@ closed. [file descriptors]: https://en.wikipedia.org/wiki/File_descriptor [policy]: policy.html [stream-based]: stream.html -[syscall]: http://man7.org/linux/man-pages/man2/syscalls.2.html +[syscall]: https://man7.org/linux/man-pages/man2/syscalls.2.html [Subresource Integrity specification]: https://www.w3.org/TR/SRI/#the-integrity-attribute [try-catch]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch [vm]: vm.html diff --git a/doc/api/esm.md b/doc/api/esm.md index c06ba4782af884..75a7c07ddbcbe3 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1817,11 +1817,11 @@ success! [`module.createRequire()`]: modules.html#modules_module_createrequire_filename [`module.syncBuiltinESMExports()`]: modules.html#modules_module_syncbuiltinesmexports [`transformSource` hook]: #esm_code_transformsource_code_hook -[ArrayBuffer]: http://www.ecma-international.org/ecma-262/6.0/#sec-arraybuffer-constructor +[ArrayBuffer]: https://www.ecma-international.org/ecma-262/6.0/#sec-arraybuffer-constructor [SharedArrayBuffer]: https://tc39.es/ecma262/#sec-sharedarraybuffer-constructor -[string]: http://www.ecma-international.org/ecma-262/6.0/#sec-string-constructor -[TypedArray]: http://www.ecma-international.org/ecma-262/6.0/#sec-typedarray-objects -[Uint8Array]: http://www.ecma-international.org/ecma-262/6.0/#sec-uint8array +[string]: https://www.ecma-international.org/ecma-262/6.0/#sec-string-constructor +[TypedArray]: https://www.ecma-international.org/ecma-262/6.0/#sec-typedarray-objects +[Uint8Array]: https://www.ecma-international.org/ecma-262/6.0/#sec-uint8array [`util.TextDecoder`]: util.html#util_class_util_textdecoder [import an ES or CommonJS module for its side effects only]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Import_a_module_for_its_side_effects_only [special scheme]: https://url.spec.whatwg.org/#special-scheme diff --git a/doc/api/fs.md b/doc/api/fs.md index f7014ec7c7d9c3..150707df3bf6ce 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -5909,7 +5909,7 @@ the file contents. [`fsPromises.open()`]: #fs_fspromises_open_path_flags_mode [`fsPromises.opendir()`]: #fs_fspromises_opendir_path_options [`fsPromises.utimes()`]: #fs_fspromises_utimes_path_atime_mtime -[`inotify(7)`]: http://man7.org/linux/man-pages/man7/inotify.7.html +[`inotify(7)`]: https://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_options_callback diff --git a/doc/api/n-api.md b/doc/api/n-api.md index d75df50a8747bd..1c90c110104f17 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -5533,8 +5533,8 @@ This API may only be called from the main thread. [`napi_wrap`]: #n_api_napi_wrap [`node_api.h`]: https://github.com/nodejs/node/blob/master/src/node_api.h [`process.release`]: process.html#process_process_release -[`uv_ref`]: http://docs.libuv.org/en/v1.x/handle.html#c.uv_ref -[`uv_unref`]: http://docs.libuv.org/en/v1.x/handle.html#c.uv_unref +[`uv_ref`]: https://docs.libuv.org/en/v1.x/handle.html#c.uv_ref +[`uv_unref`]: https://docs.libuv.org/en/v1.x/handle.html#c.uv_unref [async_hooks `type`]: async_hooks.html#async_hooks_type [context-aware addons]: addons.html#addons_context_aware_addons [docs]: https://github.com/nodejs/node-addon-api#api-documentation diff --git a/doc/api/net.md b/doc/api/net.md index 6c9e0468cef3c8..cff82deeb0be11 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -1267,7 +1267,7 @@ Returns `true` if input is a version 6 IP address, otherwise returns `false`. [`server.listen(handle)`]: #net_server_listen_handle_backlog_callback [`server.listen(options)`]: #net_server_listen_options_callback [`server.listen(path)`]: #net_server_listen_path_backlog_callback -[`socket(7)`]: http://man7.org/linux/man-pages/man7/socket.7.html +[`socket(7)`]: https://man7.org/linux/man-pages/man7/socket.7.html [`socket.connect()`]: #net_socket_connect [`socket.connect(options)`]: #net_socket_connect_options_connectlistener [`socket.connect(path)`]: #net_socket_connect_path_connectlistener diff --git a/doc/api/process.md b/doc/api/process.md index 5eb90fe6e79aeb..a07b05d8b262c7 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -2622,6 +2622,6 @@ cases: [process_warning]: #process_event_warning [report documentation]: report.html [terminal raw mode]: tty.html#tty_readstream_setrawmode_mode -[uv_rusage_t]: http://docs.libuv.org/en/v1.x/misc.html#c.uv_rusage_t +[uv_rusage_t]: https://docs.libuv.org/en/v1.x/misc.html#c.uv_rusage_t [wikipedia_minor_fault]: https://en.wikipedia.org/wiki/Page_fault#Minor [wikipedia_major_fault]: https://en.wikipedia.org/wiki/Page_fault#Major diff --git a/doc/changelogs/CHANGELOG_ARCHIVE.md b/doc/changelogs/CHANGELOG_ARCHIVE.md index 55302c99402b76..650d4c6c69cddd 100644 --- a/doc/changelogs/CHANGELOG_ARCHIVE.md +++ b/doc/changelogs/CHANGELOG_ARCHIVE.md @@ -3130,8 +3130,8 @@ https://github.com/nodejs/node/commit/bb0d1e65e1671aaeb21fac186b066701da0bc33b * Major API Changes * Promises removed. See - http://groups.google.com/group/nodejs/msg/426f3071f3eec16b - http://groups.google.com/group/nodejs/msg/df199d233ff17efa + https://groups.google.com/group/nodejs/msg/426f3071f3eec16b + https://groups.google.com/group/nodejs/msg/df199d233ff17efa The API for fs was fs.readdir("/usr").addCallback(function (files) { puts("/usr files: " + files); @@ -3718,7 +3718,7 @@ https://github.com/nodejs/node/commit/77d407df2826b20e9177c26c0d2bb4481e497937 * Move EventEmitter.prototype.emit() completely into C++. * Bugfix: Fix memory leak in event emitters. - http://groups.google.com/group/nodejs/browse_thread/thread/a8d1dfc2fd57a6d1 + https://groups.google.com/group/nodejs/browse_thread/thread/a8d1dfc2fd57a6d1 * Bugfix: Had problems reading scripts with non-ascii characters. * Bugfix: Fix Detach() in node::Server diff --git a/doc/changelogs/CHANGELOG_IOJS.md b/doc/changelogs/CHANGELOG_IOJS.md index 0a650253182b6d..540e244f1139a9 100644 --- a/doc/changelogs/CHANGELOG_IOJS.md +++ b/doc/changelogs/CHANGELOG_IOJS.md @@ -408,7 +408,7 @@ See https://github.com/nodejs/io.js/labels/confirmed-bug for complete and curren * **dgram**: If an error occurs within `socket.send()` and a callback has been provided, the error is only passed as the first argument to the callback and not emitted on the `socket` object; previous behavior was to do both (Matteo Collina & Chris Dickinson) [#1796](https://github.com/nodejs/node/pull/1796) * **freelist**: Deprecate the undocumented `freelist` core module (Sakthipriyan Vairamani) [#2176](https://github.com/nodejs/node/pull/2176). * **http**: - * Status codes now all use the official [IANA names](http://www.iana.org/assignments/http-status-codes) as per [RFC7231](https://tools.ietf.org/html/rfc7231), e.g. `http.STATUS_CODES[414]` now returns `'URI Too Long'` rather than `'Request-URI Too Large'` (jomo) [#1470](https://github.com/nodejs/node/pull/1470). + * Status codes now all use the official [IANA names](https://www.iana.org/assignments/http-status-codes) as per [RFC7231](https://tools.ietf.org/html/rfc7231), e.g. `http.STATUS_CODES[414]` now returns `'URI Too Long'` rather than `'Request-URI Too Large'` (jomo) [#1470](https://github.com/nodejs/node/pull/1470). * Calling .getName() on an HTTP agent no longer returns a trailing colon, HTTPS agents will no longer return an extra colon near the middle of the string (Brendan Ashworth) [#1617](https://github.com/nodejs/node/pull/1617). * **node**: * `NODE_MODULE_VERSION` has been bumped to `45` to reflect the break in ABI (Rod Vagg) [#2096](https://github.com/nodejs/node/pull/2096). diff --git a/doc/guides/cpp-style-guide.md b/doc/guides/cpp-style-guide.md index 85db8e1595aa9c..adf8f0481697f8 100644 --- a/doc/guides/cpp-style-guide.md +++ b/doc/guides/cpp-style-guide.md @@ -391,15 +391,15 @@ side effects. Node.js is built [without C++ exception handling][], so code using `throw` or even `try` and `catch` **will** break. -[C++ Core Guidelines]: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines +[C++ Core Guidelines]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines [Google C++ Style Guide]: https://google.github.io/styleguide/cppguide.html [Google’s `cpplint`]: https://github.com/google/styleguide [errors]: https://github.com/nodejs/node/blob/master/doc/guides/using-internal-errors.md -[ES.47]: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-nullptr -[ES.48]: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-casts -[ES.49]: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-casts-named -[R.20]: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-owner -[R.21]: http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-unique +[ES.47]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-nullptr +[ES.48]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-casts +[ES.49]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-casts-named +[R.20]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-owner +[R.21]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-unique [Run Time Type Information]: https://en.wikipedia.org/wiki/Run-time_type_information [cppref_auto_ptr]: https://en.cppreference.com/w/cpp/memory/auto_ptr [without C++ exception handling]: https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_exceptions.html#intro.using.exception.no diff --git a/doc/guides/maintaining-icu.md b/doc/guides/maintaining-icu.md index 083c11ba938481..bf5727d4e865c3 100644 --- a/doc/guides/maintaining-icu.md +++ b/doc/guides/maintaining-icu.md @@ -40,7 +40,7 @@ main data files do not need to be upgraded in order to apply time zone data file fixes. The [IANA tzdata](https://www.iana.org/time-zones) project releases new versions -and announces them on the [`tz-announce`](http://mm.icann.org/pipermail/tz-announce/) +and announces them on the [`tz-announce`](https://mm.icann.org/pipermail/tz-announce/) mailing list. The Unicode project takes new releases and publishes @@ -98,7 +98,7 @@ Node.js is built. * Make sure your Node.js workspace is clean (`git status` should be sufficient). -* Configure Node.js with the specific [ICU version](http://icu-project.org/download) +* Configure Node.js with the specific [ICU version](http://site.icu-project.org/download) you want to upgrade to, for example: ```bash diff --git a/doc/guides/maintaining-openssl.md b/doc/guides/maintaining-openssl.md index 34deb05523b15c..a77771d9feea38 100644 --- a/doc/guides/maintaining-openssl.md +++ b/doc/guides/maintaining-openssl.md @@ -5,7 +5,7 @@ This document describes how to update `deps/openssl/`. ## Requirements * Linux environment. * `perl` Only Perl version 5 is tested. -* `nasm` () Version 2.11 or higher is needed. +* `nasm` () Version 2.11 or higher is needed. * GNU `as` in binutils. Version 2.26 or higher is needed. ## 0. Check Requirements diff --git a/doc/guides/writing-tests.md b/doc/guides/writing-tests.md index e441d934113e75..0aa4cb8221f278 100644 --- a/doc/guides/writing-tests.md +++ b/doc/guides/writing-tests.md @@ -432,7 +432,7 @@ To generate a test coverage report, see the Nightly coverage reports for the Node.js master branch are available at . -[ASCII]: http://man7.org/linux/man-pages/man7/ascii.7.html +[ASCII]: https://man7.org/linux/man-pages/man7/ascii.7.html [Google Test]: https://github.com/google/googletest [`common` module]: https://github.com/nodejs/node/blob/master/test/common/README.md [all maintained branches]: https://github.com/nodejs/lts