From daf2abf393da4be380e1dee2ec43d1aedf7a979e Mon Sep 17 00:00:00 2001 From: sapics Date: Mon, 29 Jun 2020 23:58:19 +0900 Subject: [PATCH] lib: replace http to https of comment link urls PR-URL: https://github.com/nodejs/node/pull/34158 Reviewed-By: Anna Henningsen Reviewed-By: Anto Aravinth Reviewed-By: James M Snell --- lib/_http_server.js | 2 +- lib/https.js | 2 +- lib/internal/child_process.js | 2 +- lib/internal/source_map/source_map.js | 3 ++- lib/internal/tty.js | 2 +- lib/internal/util/inspect.js | 4 ++-- lib/querystring.js | 2 +- lib/readline.js | 2 +- 8 files changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/_http_server.js b/lib/_http_server.js index 680fadba715f07..842bfb5eb7a0d5 100644 --- a/lib/_http_server.js +++ b/lib/_http_server.js @@ -351,7 +351,7 @@ function Server(options, requestListener) { // Similar option to this. Too lazy to write my own docs. // http://www.squid-cache.org/Doc/config/half_closed_clients/ - // http://wiki.squid-cache.org/SquidFaq/InnerWorkings#What_is_a_half-closed_filedescriptor.3F + // https://wiki.squid-cache.org/SquidFaq/InnerWorkings#What_is_a_half-closed_filedescriptor.3F this.httpAllowHalfOpen = false; this.on('connection', connectionListener); diff --git a/lib/https.js b/lib/https.js index 1d3a6e5024b65b..17a89c2f0bc0bb 100644 --- a/lib/https.js +++ b/lib/https.js @@ -55,7 +55,7 @@ function Server(opts, requestListener) { if (!opts.ALPNProtocols) { // http/1.0 is not defined as Protocol IDs in IANA - // http://www.iana.org/assignments/tls-extensiontype-values + // https://www.iana.org/assignments/tls-extensiontype-values // /tls-extensiontype-values.xhtml#alpn-protocol-ids opts.ALPNProtocols = ['http/1.1']; } diff --git a/lib/internal/child_process.js b/lib/internal/child_process.js index 6438e6b650b814..85ce63a9660f86 100644 --- a/lib/internal/child_process.js +++ b/lib/internal/child_process.js @@ -944,7 +944,7 @@ function getValidStdio(stdio, sync) { // At least 3 stdio will be created // Don't concat() a new Array() because it would be sparse, and // stdio.reduce() would skip the sparse elements of stdio. - // See http://stackoverflow.com/a/5501711/3561 + // See https://stackoverflow.com/a/5501711/3561 while (stdio.length < 3) stdio.push(undefined); // Translate stdio into C++-readable form diff --git a/lib/internal/source_map/source_map.js b/lib/internal/source_map/source_map.js index 2cd70c5c944e19..7d21e02429a086 100644 --- a/lib/internal/source_map/source_map.js +++ b/lib/internal/source_map/source_map.js @@ -113,7 +113,8 @@ class StringCharIterator { } /** - * Implements Source Map V3 model. See http://code.google.com/p/closure-compiler/wiki/SourceMaps + * Implements Source Map V3 model. + * See https://github.com/google/closure-compiler/wiki/Source-Maps * for format description. * @constructor * @param {string} sourceMappingURL diff --git a/lib/internal/tty.js b/lib/internal/tty.js index 44d51737008eb0..1ebd09193ef57e 100644 --- a/lib/internal/tty.js +++ b/lib/internal/tty.js @@ -125,7 +125,7 @@ function getColorDepth(env = process.env) { env.NO_COLOR !== undefined || // The "dumb" special terminal, as defined by terminfo, doesn't support // ANSI color control codes. - // See http://invisible-island.net/ncurses/terminfo.ti.html#toc-_Specials + // See https://invisible-island.net/ncurses/terminfo.ti.html#toc-_Specials env.TERM === 'dumb') { return COLORS_2; } diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index 03e62226236df3..824c5961e9512c 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -338,7 +338,7 @@ ObjectDefineProperty(inspect, 'defaultOptions', { } }); -// Set Graphics Rendition http://en.wikipedia.org/wiki/ANSI_escape_code#graphics +// Set Graphics Rendition https://en.wikipedia.org/wiki/ANSI_escape_code#graphics // Each color consists of an array with the color code as first entry and the // reset code as second entry. const defaultFG = 39; @@ -2051,7 +2051,7 @@ if (internalBinding('config').hasIntl) { */ const isFullWidthCodePoint = (code) => { // Code points are partially derived from: - // http://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt + // https://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt return code >= 0x1100 && ( code <= 0x115f || // Hangul Jamo code === 0x2329 || // LEFT-POINTING ANGLE BRACKET diff --git a/lib/querystring.js b/lib/querystring.js index f057226f08b51f..05cca60fc4c57f 100644 --- a/lib/querystring.js +++ b/lib/querystring.js @@ -140,7 +140,7 @@ const noEscape = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0 // 112 - 127 ]; // QueryString.escape() replaces encodeURIComponent() -// http://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3.4 +// https://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3.4 function qsEscape(str) { if (typeof str !== 'string') { if (typeof str === 'object') diff --git a/lib/readline.js b/lib/readline.js index 7d44dd2366cf39..a8f60ac9111e26 100644 --- a/lib/readline.js +++ b/lib/readline.js @@ -22,7 +22,7 @@ // Inspiration for this code comes from Salvatore Sanfilippo's linenoise. // https://github.com/antirez/linenoise // Reference: -// * http://invisible-island.net/xterm/ctlseqs/ctlseqs.html +// * https://invisible-island.net/xterm/ctlseqs/ctlseqs.html // * http://www.3waylabs.com/nw/WWW/products/wizcon/vt220.html 'use strict';