Skip to content

Commit aa5994f

Browse files
XhmikosRtargos
authored andcommitted
src,tools: use https://nodejs.org URL when possible.
PR-URL: #21719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent cb69811 commit aa5994f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/node_buffer.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ void StringSlice<UCS2>(const FunctionCallbackInfo<Value>& args) {
483483
bool release = false;
484484

485485
// Node's "ucs2" encoding expects LE character data inside a Buffer, so we
486-
// need to reorder on BE platforms. See http://nodejs.org/api/buffer.html
486+
// need to reorder on BE platforms. See https://nodejs.org/api/buffer.html
487487
// regarding Node's "ucs2" encoding specification.
488488
const bool aligned = (reinterpret_cast<uintptr_t>(data) % sizeof(*buf) == 0);
489489
if (IsLittleEndian() && !aligned) {

src/string_bytes.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ size_t StringBytes::Write(Isolate* isolate,
343343

344344
// Node's "ucs2" encoding wants LE character data stored in
345345
// the Buffer, so we need to reorder on BE platforms. See
346-
// http://nodejs.org/api/buffer.html regarding Node's "ucs2"
346+
// https://nodejs.org/api/buffer.html regarding Node's "ucs2"
347347
// encoding specification
348348
if (IsBigEndian())
349349
SwapBytes16(buf, nbytes);
@@ -709,7 +709,7 @@ MaybeLocal<Value> StringBytes::Encode(Isolate* isolate,
709709

710710
// Node's "ucs2" encoding expects LE character data inside a
711711
// Buffer, so we need to reorder on BE platforms. See
712-
// http://nodejs.org/api/buffer.html regarding Node's "ucs2"
712+
// https://nodejs.org/api/buffer.html regarding Node's "ucs2"
713713
// encoding specification
714714
if (IsBigEndian()) {
715715
uint16_t* dst = node::UncheckedMalloc<uint16_t>(buflen);

tools/msvs/msi/product.wxs

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
KeyPath="yes"/>
255255
<util:InternetShortcut Id="WebsiteShortcut"
256256
Name="Node.js website"
257-
Target="http://nodejs.org"
257+
Target="https://nodejs.org/"
258258
Type="url"/>
259259
<util:InternetShortcut Id="DocsShortcut"
260260
Name="Node.js documentation"

tools/pkgsrc/description

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ intended for writing scalable network programs such as web servers.
44
Packaged by nodejs.org
55

66
Homepage:
7-
http://nodejs.org/
7+
https://nodejs.org/

tools/rpm/node.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Summary: Node.js is a platform for building fast, scalable network applications.
2222
Group: Development/Languages
2323
License: MIT
2424
URL: https://nodejs.org/
25-
Source0: http://nodejs.org/dist/v%{_version}/node-v%{_version}.tar.gz
25+
Source0: https://nodejs.org/dist/v%{_version}/node-v%{_version}.tar.gz
2626
BuildRequires: gcc
2727
BuildRequires: gcc-c++
2828
BuildRequires: glibc-devel

0 commit comments

Comments
 (0)