Skip to content

Commit ee3416b

Browse files
sapicsjasnell
authored andcommitted
lib: replace http to https of comment link urls
PR-URL: #34158 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 3975799 commit ee3416b

File tree

8 files changed

+10
-9
lines changed

8 files changed

+10
-9
lines changed

lib/_http_server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ function Server(options, requestListener) {
361361

362362
// Similar option to this. Too lazy to write my own docs.
363363
// http://www.squid-cache.org/Doc/config/half_closed_clients/
364-
// http://wiki.squid-cache.org/SquidFaq/InnerWorkings#What_is_a_half-closed_filedescriptor.3F
364+
// https://wiki.squid-cache.org/SquidFaq/InnerWorkings#What_is_a_half-closed_filedescriptor.3F
365365
this.httpAllowHalfOpen = false;
366366

367367
this.on('connection', connectionListener);

lib/https.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function Server(opts, requestListener) {
5555

5656
if (!opts.ALPNProtocols) {
5757
// http/1.0 is not defined as Protocol IDs in IANA
58-
// http://www.iana.org/assignments/tls-extensiontype-values
58+
// https://www.iana.org/assignments/tls-extensiontype-values
5959
// /tls-extensiontype-values.xhtml#alpn-protocol-ids
6060
opts.ALPNProtocols = ['http/1.1'];
6161
}

lib/internal/child_process.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ function getValidStdio(stdio, sync) {
944944
// At least 3 stdio will be created
945945
// Don't concat() a new Array() because it would be sparse, and
946946
// stdio.reduce() would skip the sparse elements of stdio.
947-
// See http://stackoverflow.com/a/5501711/3561
947+
// See https://stackoverflow.com/a/5501711/3561
948948
while (stdio.length < 3) stdio.push(undefined);
949949

950950
// Translate stdio into C++-readable form

lib/internal/source_map/source_map.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ class StringCharIterator {
113113
}
114114

115115
/**
116-
* Implements Source Map V3 model. See http://code.google.com/p/closure-compiler/wiki/SourceMaps
116+
* Implements Source Map V3 model.
117+
* See https://github.com/google/closure-compiler/wiki/Source-Maps
117118
* for format description.
118119
* @constructor
119120
* @param {string} sourceMappingURL

lib/internal/tty.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function getColorDepth(env = process.env) {
125125
env.NO_COLOR !== undefined ||
126126
// The "dumb" special terminal, as defined by terminfo, doesn't support
127127
// ANSI color control codes.
128-
// See http://invisible-island.net/ncurses/terminfo.ti.html#toc-_Specials
128+
// See https://invisible-island.net/ncurses/terminfo.ti.html#toc-_Specials
129129
env.TERM === 'dumb') {
130130
return COLORS_2;
131131
}

lib/internal/util/inspect.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ ObjectDefineProperty(inspect, 'defaultOptions', {
338338
}
339339
});
340340

341-
// Set Graphics Rendition http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
341+
// Set Graphics Rendition https://en.wikipedia.org/wiki/ANSI_escape_code#graphics
342342
// Each color consists of an array with the color code as first entry and the
343343
// reset code as second entry.
344344
const defaultFG = 39;
@@ -2051,7 +2051,7 @@ if (internalBinding('config').hasIntl) {
20512051
*/
20522052
const isFullWidthCodePoint = (code) => {
20532053
// Code points are partially derived from:
2054-
// http://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt
2054+
// https://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt
20552055
return code >= 0x1100 && (
20562056
code <= 0x115f || // Hangul Jamo
20572057
code === 0x2329 || // LEFT-POINTING ANGLE BRACKET

lib/querystring.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const noEscape = [
140140
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0 // 112 - 127
141141
];
142142
// QueryString.escape() replaces encodeURIComponent()
143-
// http://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3.4
143+
// https://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3.4
144144
function qsEscape(str) {
145145
if (typeof str !== 'string') {
146146
if (typeof str === 'object')

lib/readline.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// Inspiration for this code comes from Salvatore Sanfilippo's linenoise.
2323
// https://github.com/antirez/linenoise
2424
// Reference:
25-
// * http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
25+
// * https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
2626
// * http://www.3waylabs.com/nw/WWW/products/wizcon/vt220.html
2727

2828
'use strict';

0 commit comments

Comments
 (0)