summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/node_buffer.cc2
-rw-r--r--src/string_bytes.cc4
-rwxr-xr-xtools/msvs/msi/product.wxs2
-rw-r--r--tools/pkgsrc/description2
-rw-r--r--tools/rpm/node.spec2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/node_buffer.cc b/src/node_buffer.cc
index 9eb351b443..6e25889d6e 100644
--- a/src/node_buffer.cc
+++ b/src/node_buffer.cc
@@ -483,7 +483,7 @@ void StringSlice<UCS2>(const FunctionCallbackInfo<Value>& args) {
bool release = false;
// Node's "ucs2" encoding expects LE character data inside a Buffer, so we
- // need to reorder on BE platforms. See http://nodejs.org/api/buffer.html
+ // need to reorder on BE platforms. See https://nodejs.org/api/buffer.html
// regarding Node's "ucs2" encoding specification.
const bool aligned = (reinterpret_cast<uintptr_t>(data) % sizeof(*buf) == 0);
if (IsLittleEndian() && !aligned) {
diff --git a/src/string_bytes.cc b/src/string_bytes.cc
index 0bc2ec044e..83c74d2f18 100644
--- a/src/string_bytes.cc
+++ b/src/string_bytes.cc
@@ -343,7 +343,7 @@ size_t StringBytes::Write(Isolate* isolate,
// Node's "ucs2" encoding wants LE character data stored in
// the Buffer, so we need to reorder on BE platforms. See
- // http://nodejs.org/api/buffer.html regarding Node's "ucs2"
+ // https://nodejs.org/api/buffer.html regarding Node's "ucs2"
// encoding specification
if (IsBigEndian())
SwapBytes16(buf, nbytes);
@@ -709,7 +709,7 @@ MaybeLocal<Value> StringBytes::Encode(Isolate* isolate,
// Node's "ucs2" encoding expects LE character data inside a
// Buffer, so we need to reorder on BE platforms. See
- // http://nodejs.org/api/buffer.html regarding Node's "ucs2"
+ // https://nodejs.org/api/buffer.html regarding Node's "ucs2"
// encoding specification
if (IsBigEndian()) {
uint16_t* dst = node::UncheckedMalloc<uint16_t>(buflen);
diff --git a/tools/msvs/msi/product.wxs b/tools/msvs/msi/product.wxs
index c8a89d7255..e9e4e33751 100755
--- a/tools/msvs/msi/product.wxs
+++ b/tools/msvs/msi/product.wxs
@@ -254,7 +254,7 @@
KeyPath="yes"/>
<util:InternetShortcut Id="WebsiteShortcut"
Name="Node.js website"
- Target="http://nodejs.org"
+ Target="https://nodejs.org/"
Type="url"/>
<util:InternetShortcut Id="DocsShortcut"
Name="Node.js documentation"
diff --git a/tools/pkgsrc/description b/tools/pkgsrc/description
index 1cf2a08512..b070f52fb6 100644
--- a/tools/pkgsrc/description
+++ b/tools/pkgsrc/description
@@ -4,4 +4,4 @@ intended for writing scalable network programs such as web servers.
Packaged by nodejs.org
Homepage:
-http://nodejs.org/
+https://nodejs.org/
diff --git a/tools/rpm/node.spec b/tools/rpm/node.spec
index 39b98ec554..83c7b67b2a 100644
--- a/tools/rpm/node.spec
+++ b/tools/rpm/node.spec
@@ -22,7 +22,7 @@ Summary: Node.js is a platform for building fast, scalable network applications.
Group: Development/Languages
License: MIT
URL: https://nodejs.org/
-Source0: http://nodejs.org/dist/v%{_version}/node-v%{_version}.tar.gz
+Source0: https://nodejs.org/dist/v%{_version}/node-v%{_version}.tar.gz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: glibc-devel