Skip to content

Commit 26e318a

Browse files
aduh95dnlup
authored andcommitted
doc: use HEAD instead of master for links
PR-URL: #38518 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent efd70f4 commit 26e318a

20 files changed

+30
-30
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!--
22
Before submitting a pull request, please read
3-
https://github.com/nodejs/node/blob/master/CONTRIBUTING.md.
3+
https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md.
44
55
Commit message formatting guidelines:
6-
https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines
6+
https://github.com/nodejs/node/blob/HEAD/doc/guides/contributing/pull-requests.md#commit-message-guidelines
77
88
For code changes:
99
1. Include tests for any bug fixes or new features.

BUILDING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ $ make
660660

661661
## `Intl` (ECMA-402) support
662662

663-
[Intl](https://github.com/nodejs/node/blob/master/doc/api/intl.md) support is
663+
[Intl](https://github.com/nodejs/node/blob/HEAD/doc/api/intl.md) support is
664664
enabled by default.
665665

666666
### Build with full ICU support (all locales supported by ICU)
@@ -804,4 +804,4 @@ When Node.js is built (with an intention to distribute) with an ABI
804804
incompatible with the official Node.js builds (e.g. using a ABI incompatible
805805
version of a dependency), please reserve and use a custom `NODE_MODULE_VERSION`
806806
by opening a pull request against the registry available at
807-
<https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json>.
807+
<https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json>.

GOVERNANCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,5 @@ The TSC follows a [Consensus Seeking][] decision-making model per the
173173

174174
[Collaborators discussion page]: https://github.com/orgs/nodejs/teams/collaborators/discussions
175175
[Consensus Seeking]: https://en.wikipedia.org/wiki/Consensus-seeking_decision-making
176-
[TSC Charter]: https://github.com/nodejs/TSC/blob/master/TSC-Charter.md
176+
[TSC Charter]: https://github.com/nodejs/TSC/blob/HEAD/TSC-Charter.md
177177
[nodejs/node]: https://github.com/nodejs/node

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -681,13 +681,13 @@ Other keys used to sign some previous releases:
681681
Node.js is available under the
682682
[MIT license](https://opensource.org/licenses/MIT). Node.js also includes
683683
external libraries that are available under a variety of licenses. See
684-
[LICENSE](https://github.com/nodejs/node/blob/master/LICENSE) for the full
684+
[LICENSE](https://github.com/nodejs/node/blob/HEAD/LICENSE) for the full
685685
license text.
686686

687-
[Code of Conduct]: https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md
687+
[Code of Conduct]: https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md
688688
[Contributing to the project]: CONTRIBUTING.md
689689
[Node.js Website]: https://nodejs.org/
690690
[OpenJS Foundation]: https://openjsf.org/
691-
[Strategic Initiatives]: https://github.com/nodejs/TSC/blob/master/Strategic-Initiatives.md
691+
[Strategic Initiatives]: https://github.com/nodejs/TSC/blob/HEAD/Strategic-Initiatives.md
692692
[Technical values and prioritization]: doc/guides/technical-values.md
693-
[Working Groups]: https://github.com/nodejs/TSC/blob/master/WORKING_GROUPS.md
693+
[Working Groups]: https://github.com/nodejs/TSC/blob/HEAD/WORKING_GROUPS.md

SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ maintainers and should also be coordinated through the Node.js Ecosystem
2626
Security Team via [HackerOne](https://hackerone.com/nodejs-ecosystem).
2727

2828
Details regarding this process can be found in the
29-
[Security Working Group repository](https://github.com/nodejs/security-wg/blob/master/processes/third_party_vuln_process.md).
29+
[Security Working Group repository](https://github.com/nodejs/security-wg/blob/HEAD/processes/third_party_vuln_process.md).
3030

3131
Thank you for improving the security of Node.js and its ecosystem. Your efforts
3232
and responsible disclosure are greatly appreciated and will be acknowledged.

benchmark/_http-benchmarkers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const fs = require('fs');
66

77
const requirementsURL =
8-
'https://github.com/nodejs/node/blob/master/benchmark/writing-and-running-benchmarks.md#http-benchmark-requirements';
8+
'https://github.com/nodejs/node/blob/HEAD/benchmark/writing-and-running-benchmarks.md#http-benchmark-requirements';
99

1010
// The port used by servers and wrk
1111
exports.PORT = Number(process.env.PORT) || 12346;

doc/node.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ Node.js is available under the MIT license.
685685
.Pp
686686
Node.js also includes external libraries that are available under a variety of licenses.
687687
See
688-
.Sy https://github.com/nodejs/node/blob/master/LICENSE
688+
.Sy https://github.com/nodejs/node/blob/HEAD/LICENSE
689689
for the full license text.
690690
.
691691
.\"======================================================================
@@ -713,4 +713,4 @@ IRC (Node.js core development):
713713
.\"======================================================================
714714
.Sh AUTHORS
715715
Written and maintained by 1000+ contributors:
716-
.Sy https://github.com/nodejs/node/blob/master/AUTHORS
716+
.Sy https://github.com/nodejs/node/blob/HEAD/AUTHORS

glossary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
You may also need to check <https://chromium.googlesource.com/chromiumos/docs/+/master/glossary.md>.
1+
You may also need to check <https://chromium.googlesource.com/chromiumos/docs/+/HEAD/glossary.md>.
22

33
* LGTM: "Looks good to me", commonly used to approve a code review.
44
* PTAL: Please take a look.

lib/internal/crypto/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ function jobPromise(job) {
305305
// number of leading zero bits. Our conventional APIs for reading
306306
// an unsigned int from a Buffer are not adequate. The implementation
307307
// here is adapted from the chromium implementation here:
308-
// https://github.com/chromium/chromium/blob/master/third_party/blink/public/platform/web_crypto_algorithm_params.h, but ported to JavaScript
308+
// https://github.com/chromium/chromium/blob/HEAD/third_party/blink/public/platform/web_crypto_algorithm_params.h, but ported to JavaScript
309309
// Returns undefined if the conversion was unsuccessful.
310310
function bigIntArrayToUnsignedInt(input) {
311311
let result = 0;

lib/internal/freeze_intrinsics.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
// SPDX-License-Identifier: Apache-2.0
1616

1717
// Based upon:
18-
// https://github.com/google/caja/blob/master/src/com/google/caja/ses/startSES.js
19-
// https://github.com/google/caja/blob/master/src/com/google/caja/ses/repairES5.js
18+
// https://github.com/google/caja/blob/HEAD/src/com/google/caja/ses/startSES.js
19+
// https://github.com/google/caja/blob/HEAD/src/com/google/caja/ses/repairES5.js
2020
// https://github.com/tc39/proposal-ses/blob/e5271cc42a257a05dcae2fd94713ed2f46c08620/shim/src/freeze.js
2121

2222
/* global console */

lib/internal/util/inspect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ const meta = [
218218
];
219219

220220
// Regex used for ansi escape code splitting
221-
// Adopted from https://github.com/chalk/ansi-regex/blob/master/index.js
221+
// Adopted from https://github.com/chalk/ansi-regex/blob/HEAD/index.js
222222
// License: MIT, authors: @sindresorhus, Qix-, arjunmehta and LitoMore
223223
// Matches all ansi escape code sequences in a string
224224
const ansiPattern = '[\\u001B\\u009B][[\\]()#;?]*' +

lib/internal/util/iterable_weak_map.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const {
1212
// This class is modified from the example code in the WeakRefs specification:
1313
// https://github.com/tc39/proposal-weakrefs
1414
// Licensed under ECMA's MIT-style license, see:
15-
// https://github.com/tc39/ecma262/blob/master/LICENSE.md
15+
// https://github.com/tc39/ecma262/blob/HEAD/LICENSE.md
1616
class IterableWeakMap {
1717
#weakMap = new SafeWeakMap();
1818
#refSet = new SafeSet();

src/node_version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
* if it can be made ABI compatible with the previous version.
8585
*
8686
* The registry of used NODE_MODULE_VERSION numbers is located at
87-
* https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json
87+
* https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json
8888
* Extenders, embedders and other consumers of Node.js that require ABI
8989
* version matching should open a pull request to reserve a number in this
9090
* registry.

test/cctest/gtest/gtest-all.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -6901,7 +6901,7 @@ bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) {
69016901
// each TestSuite and TestInfo object.
69026902
// If shard_tests == true, further filters tests based on sharding
69036903
// variables in the environment - see
6904-
// https://github.com/google/googletest/blob/master/googletest/docs/advanced.md
6904+
// https://github.com/google/googletest/blob/HEAD/googletest/docs/advanced.md
69056905
// . Returns the number of tests that should run.
69066906
int UnitTestImpl::FilterTests(ReactionToSharding shard_tests) {
69076907
const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ?
@@ -7831,7 +7831,7 @@ static std::string DeathTestThreadWarning(size_t thread_count) {
78317831
msg << "detected " << thread_count << " threads.";
78327832
}
78337833
msg << " See "
7834-
"https://github.com/google/googletest/blob/master/googletest/docs/"
7834+
"https://github.com/google/googletest/blob/HEAD/googletest/docs/"
78357835
"advanced.md#death-tests-and-threads"
78367836
<< " for more explanation and suggested solutions, especially if"
78377837
<< " this is the last message you see before your test times out.";

test/common/wpt.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const path = require('path');
99
const { inspect } = require('util');
1010
const { Worker } = require('worker_threads');
1111

12-
// https://github.com/web-platform-tests/wpt/blob/master/resources/testharness.js
12+
// https://github.com/web-platform-tests/wpt/blob/HEAD/resources/testharness.js
1313
// TODO: get rid of this half-baked harness in favor of the one
1414
// pulled from WPT
1515
const harnessMock = {

tools/bootstrap/windows_boxstarter

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Boxstarter (http://boxstarter.org/) script for Node.js prerequisites
22
#
33
# To install either open this link in IE or Edge:
4-
# http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter
4+
# http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/nodejs/node/HEAD/tools/bootstrap/windows_boxstarter
55
#
66
# Or run those commands in an elevated Powershell terminal:
77
# iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1'))
88
# get-boxstarter -Force
9-
# Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter -DisableReboots
9+
# Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/HEAD/tools/bootstrap/windows_boxstarter -DisableReboots
1010
#
1111
# For more detail see
12-
# https://github.com/nodejs/node/blob/master/tools/bootstrap/README.md
12+
# https://github.com/nodejs/node/blob/HEAD/tools/bootstrap/README.md
1313
#
1414

1515
# Git and Unix tools will be added to the PATH

tools/doc/versions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function versions() {
3636
// The CHANGELOG.md on release branches may not reference newer semver
3737
// majors of Node.js so fetch and parse the version from the master branch.
3838
const url =
39-
'https://raw.githubusercontent.com/nodejs/node/master/CHANGELOG.md';
39+
'https://raw.githubusercontent.com/nodejs/node/HEAD/CHANGELOG.md';
4040
let changelog;
4141
const file = path.join(srcRoot, 'CHANGELOG.md');
4242
if (kNoInternet) {

tools/inspector_protocol/lib/encoding_cpp.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ span<uint8_t> CBORTokenizer::GetEnvelopeContents() const {
739739
// and then checking whether the sum went past it.
740740
//
741741
// See also
742-
// https://chromium.googlesource.com/chromium/src/+/master/docs/security/integer-semantics.md
742+
// https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/integer-semantics.md
743743
static const uint64_t kMaxValidLength =
744744
std::min<uint64_t>(std::numeric_limits<uint64_t>::max() >> 2,
745745
std::numeric_limits<size_t>::max());

tools/license-builder.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ addlicense "llhttp" "deps/llhttp" "$(cat deps/llhttp/LICENSE-MIT)"
6363
addlicense "OpenSSL" "deps/openssl" \
6464
"$(sed -e '/^ \*\/$/,$d' -e '/^ [^*].*$/d' -e '/\/\*.*$/d' -e '/^$/d' -e 's/^[/ ]\* *//' "${rootdir}"/deps/openssl/openssl/LICENSE)"
6565
addlicense "Punycode.js" "lib/punycode.js" \
66-
"$(curl -sL https://raw.githubusercontent.com/bestiejs/punycode.js/master/LICENSE-MIT.txt)"
66+
"$(curl -sL https://raw.githubusercontent.com/bestiejs/punycode.js/HEAD/LICENSE-MIT.txt)"
6767
addlicense "V8" "deps/v8" "$(cat "${rootdir}"/deps/v8/LICENSE)"
6868
addlicense "SipHash" "deps/v8/src/third_party/siphash" \
6969
"$(sed -e '/You should have received a copy of the CC0/,$d' -e 's/^\/\* *//' -e 's/^ \* *//' deps/v8/src/third_party/siphash/halfsiphash.cc)"

vcbuild.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ goto msbuild-found
282282
:msbuild-not-found
283283
echo Failed to find a suitable Visual Studio installation.
284284
echo Try to run in a "Developer Command Prompt" or consult
285-
echo https://github.com/nodejs/node/blob/master/BUILDING.md#windows
285+
echo https://github.com/nodejs/node/blob/HEAD/BUILDING.md#windows
286286
goto exit
287287

288288
:msbuild-found

0 commit comments

Comments
 (0)