mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
doc: use HEAD instead of master for links
PR-URL: https://github.com/nodejs/node/pull/38518 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
parent
efd70f4361
commit
26e318a321
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
|
@ -1,9 +1,9 @@
|
||||||
<!--
|
<!--
|
||||||
Before submitting a pull request, please read
|
Before submitting a pull request, please read
|
||||||
https://github.com/nodejs/node/blob/master/CONTRIBUTING.md.
|
https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md.
|
||||||
|
|
||||||
Commit message formatting guidelines:
|
Commit message formatting guidelines:
|
||||||
https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines
|
https://github.com/nodejs/node/blob/HEAD/doc/guides/contributing/pull-requests.md#commit-message-guidelines
|
||||||
|
|
||||||
For code changes:
|
For code changes:
|
||||||
1. Include tests for any bug fixes or new features.
|
1. Include tests for any bug fixes or new features.
|
||||||
|
|
|
||||||
|
|
@ -660,7 +660,7 @@ $ make
|
||||||
|
|
||||||
## `Intl` (ECMA-402) support
|
## `Intl` (ECMA-402) support
|
||||||
|
|
||||||
[Intl](https://github.com/nodejs/node/blob/master/doc/api/intl.md) support is
|
[Intl](https://github.com/nodejs/node/blob/HEAD/doc/api/intl.md) support is
|
||||||
enabled by default.
|
enabled by default.
|
||||||
|
|
||||||
### Build with full ICU support (all locales supported by ICU)
|
### 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
|
||||||
incompatible with the official Node.js builds (e.g. using a ABI incompatible
|
incompatible with the official Node.js builds (e.g. using a ABI incompatible
|
||||||
version of a dependency), please reserve and use a custom `NODE_MODULE_VERSION`
|
version of a dependency), please reserve and use a custom `NODE_MODULE_VERSION`
|
||||||
by opening a pull request against the registry available at
|
by opening a pull request against the registry available at
|
||||||
<https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json>.
|
<https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json>.
|
||||||
|
|
|
||||||
|
|
@ -173,5 +173,5 @@ The TSC follows a [Consensus Seeking][] decision-making model per the
|
||||||
|
|
||||||
[Collaborators discussion page]: https://github.com/orgs/nodejs/teams/collaborators/discussions
|
[Collaborators discussion page]: https://github.com/orgs/nodejs/teams/collaborators/discussions
|
||||||
[Consensus Seeking]: https://en.wikipedia.org/wiki/Consensus-seeking_decision-making
|
[Consensus Seeking]: https://en.wikipedia.org/wiki/Consensus-seeking_decision-making
|
||||||
[TSC Charter]: https://github.com/nodejs/TSC/blob/master/TSC-Charter.md
|
[TSC Charter]: https://github.com/nodejs/TSC/blob/HEAD/TSC-Charter.md
|
||||||
[nodejs/node]: https://github.com/nodejs/node
|
[nodejs/node]: https://github.com/nodejs/node
|
||||||
|
|
|
||||||
|
|
@ -681,13 +681,13 @@ Other keys used to sign some previous releases:
|
||||||
Node.js is available under the
|
Node.js is available under the
|
||||||
[MIT license](https://opensource.org/licenses/MIT). Node.js also includes
|
[MIT license](https://opensource.org/licenses/MIT). Node.js also includes
|
||||||
external libraries that are available under a variety of licenses. See
|
external libraries that are available under a variety of licenses. See
|
||||||
[LICENSE](https://github.com/nodejs/node/blob/master/LICENSE) for the full
|
[LICENSE](https://github.com/nodejs/node/blob/HEAD/LICENSE) for the full
|
||||||
license text.
|
license text.
|
||||||
|
|
||||||
[Code of Conduct]: https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md
|
[Code of Conduct]: https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md
|
||||||
[Contributing to the project]: CONTRIBUTING.md
|
[Contributing to the project]: CONTRIBUTING.md
|
||||||
[Node.js Website]: https://nodejs.org/
|
[Node.js Website]: https://nodejs.org/
|
||||||
[OpenJS Foundation]: https://openjsf.org/
|
[OpenJS Foundation]: https://openjsf.org/
|
||||||
[Strategic Initiatives]: https://github.com/nodejs/TSC/blob/master/Strategic-Initiatives.md
|
[Strategic Initiatives]: https://github.com/nodejs/TSC/blob/HEAD/Strategic-Initiatives.md
|
||||||
[Technical values and prioritization]: doc/guides/technical-values.md
|
[Technical values and prioritization]: doc/guides/technical-values.md
|
||||||
[Working Groups]: https://github.com/nodejs/TSC/blob/master/WORKING_GROUPS.md
|
[Working Groups]: https://github.com/nodejs/TSC/blob/HEAD/WORKING_GROUPS.md
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ maintainers and should also be coordinated through the Node.js Ecosystem
|
||||||
Security Team via [HackerOne](https://hackerone.com/nodejs-ecosystem).
|
Security Team via [HackerOne](https://hackerone.com/nodejs-ecosystem).
|
||||||
|
|
||||||
Details regarding this process can be found in the
|
Details regarding this process can be found in the
|
||||||
[Security Working Group repository](https://github.com/nodejs/security-wg/blob/master/processes/third_party_vuln_process.md).
|
[Security Working Group repository](https://github.com/nodejs/security-wg/blob/HEAD/processes/third_party_vuln_process.md).
|
||||||
|
|
||||||
Thank you for improving the security of Node.js and its ecosystem. Your efforts
|
Thank you for improving the security of Node.js and its ecosystem. Your efforts
|
||||||
and responsible disclosure are greatly appreciated and will be acknowledged.
|
and responsible disclosure are greatly appreciated and will be acknowledged.
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ const path = require('path');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
|
||||||
const requirementsURL =
|
const requirementsURL =
|
||||||
'https://github.com/nodejs/node/blob/master/benchmark/writing-and-running-benchmarks.md#http-benchmark-requirements';
|
'https://github.com/nodejs/node/blob/HEAD/benchmark/writing-and-running-benchmarks.md#http-benchmark-requirements';
|
||||||
|
|
||||||
// The port used by servers and wrk
|
// The port used by servers and wrk
|
||||||
exports.PORT = Number(process.env.PORT) || 12346;
|
exports.PORT = Number(process.env.PORT) || 12346;
|
||||||
|
|
|
||||||
|
|
@ -685,7 +685,7 @@ Node.js is available under the MIT license.
|
||||||
.Pp
|
.Pp
|
||||||
Node.js also includes external libraries that are available under a variety of licenses.
|
Node.js also includes external libraries that are available under a variety of licenses.
|
||||||
See
|
See
|
||||||
.Sy https://github.com/nodejs/node/blob/master/LICENSE
|
.Sy https://github.com/nodejs/node/blob/HEAD/LICENSE
|
||||||
for the full license text.
|
for the full license text.
|
||||||
.
|
.
|
||||||
.\"======================================================================
|
.\"======================================================================
|
||||||
|
|
@ -713,4 +713,4 @@ IRC (Node.js core development):
|
||||||
.\"======================================================================
|
.\"======================================================================
|
||||||
.Sh AUTHORS
|
.Sh AUTHORS
|
||||||
Written and maintained by 1000+ contributors:
|
Written and maintained by 1000+ contributors:
|
||||||
.Sy https://github.com/nodejs/node/blob/master/AUTHORS
|
.Sy https://github.com/nodejs/node/blob/HEAD/AUTHORS
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
You may also need to check <https://chromium.googlesource.com/chromiumos/docs/+/master/glossary.md>.
|
You may also need to check <https://chromium.googlesource.com/chromiumos/docs/+/HEAD/glossary.md>.
|
||||||
|
|
||||||
* LGTM: "Looks good to me", commonly used to approve a code review.
|
* LGTM: "Looks good to me", commonly used to approve a code review.
|
||||||
* PTAL: Please take a look.
|
* PTAL: Please take a look.
|
||||||
|
|
|
||||||
|
|
@ -305,7 +305,7 @@ function jobPromise(job) {
|
||||||
// number of leading zero bits. Our conventional APIs for reading
|
// number of leading zero bits. Our conventional APIs for reading
|
||||||
// an unsigned int from a Buffer are not adequate. The implementation
|
// an unsigned int from a Buffer are not adequate. The implementation
|
||||||
// here is adapted from the chromium implementation here:
|
// here is adapted from the chromium implementation here:
|
||||||
// https://github.com/chromium/chromium/blob/master/third_party/blink/public/platform/web_crypto_algorithm_params.h, but ported to JavaScript
|
// https://github.com/chromium/chromium/blob/HEAD/third_party/blink/public/platform/web_crypto_algorithm_params.h, but ported to JavaScript
|
||||||
// Returns undefined if the conversion was unsuccessful.
|
// Returns undefined if the conversion was unsuccessful.
|
||||||
function bigIntArrayToUnsignedInt(input) {
|
function bigIntArrayToUnsignedInt(input) {
|
||||||
let result = 0;
|
let result = 0;
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
// Based upon:
|
// Based upon:
|
||||||
// https://github.com/google/caja/blob/master/src/com/google/caja/ses/startSES.js
|
// https://github.com/google/caja/blob/HEAD/src/com/google/caja/ses/startSES.js
|
||||||
// https://github.com/google/caja/blob/master/src/com/google/caja/ses/repairES5.js
|
// https://github.com/google/caja/blob/HEAD/src/com/google/caja/ses/repairES5.js
|
||||||
// https://github.com/tc39/proposal-ses/blob/e5271cc42a257a05dcae2fd94713ed2f46c08620/shim/src/freeze.js
|
// https://github.com/tc39/proposal-ses/blob/e5271cc42a257a05dcae2fd94713ed2f46c08620/shim/src/freeze.js
|
||||||
|
|
||||||
/* global console */
|
/* global console */
|
||||||
|
|
|
||||||
|
|
@ -218,7 +218,7 @@ const meta = [
|
||||||
];
|
];
|
||||||
|
|
||||||
// Regex used for ansi escape code splitting
|
// Regex used for ansi escape code splitting
|
||||||
// Adopted from https://github.com/chalk/ansi-regex/blob/master/index.js
|
// Adopted from https://github.com/chalk/ansi-regex/blob/HEAD/index.js
|
||||||
// License: MIT, authors: @sindresorhus, Qix-, arjunmehta and LitoMore
|
// License: MIT, authors: @sindresorhus, Qix-, arjunmehta and LitoMore
|
||||||
// Matches all ansi escape code sequences in a string
|
// Matches all ansi escape code sequences in a string
|
||||||
const ansiPattern = '[\\u001B\\u009B][[\\]()#;?]*' +
|
const ansiPattern = '[\\u001B\\u009B][[\\]()#;?]*' +
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ const {
|
||||||
// This class is modified from the example code in the WeakRefs specification:
|
// This class is modified from the example code in the WeakRefs specification:
|
||||||
// https://github.com/tc39/proposal-weakrefs
|
// https://github.com/tc39/proposal-weakrefs
|
||||||
// Licensed under ECMA's MIT-style license, see:
|
// Licensed under ECMA's MIT-style license, see:
|
||||||
// https://github.com/tc39/ecma262/blob/master/LICENSE.md
|
// https://github.com/tc39/ecma262/blob/HEAD/LICENSE.md
|
||||||
class IterableWeakMap {
|
class IterableWeakMap {
|
||||||
#weakMap = new SafeWeakMap();
|
#weakMap = new SafeWeakMap();
|
||||||
#refSet = new SafeSet();
|
#refSet = new SafeSet();
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@
|
||||||
* if it can be made ABI compatible with the previous version.
|
* if it can be made ABI compatible with the previous version.
|
||||||
*
|
*
|
||||||
* The registry of used NODE_MODULE_VERSION numbers is located at
|
* The registry of used NODE_MODULE_VERSION numbers is located at
|
||||||
* https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json
|
* https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json
|
||||||
* Extenders, embedders and other consumers of Node.js that require ABI
|
* Extenders, embedders and other consumers of Node.js that require ABI
|
||||||
* version matching should open a pull request to reserve a number in this
|
* version matching should open a pull request to reserve a number in this
|
||||||
* registry.
|
* registry.
|
||||||
|
|
|
||||||
|
|
@ -6901,7 +6901,7 @@ bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) {
|
||||||
// each TestSuite and TestInfo object.
|
// each TestSuite and TestInfo object.
|
||||||
// If shard_tests == true, further filters tests based on sharding
|
// If shard_tests == true, further filters tests based on sharding
|
||||||
// variables in the environment - see
|
// variables in the environment - see
|
||||||
// https://github.com/google/googletest/blob/master/googletest/docs/advanced.md
|
// https://github.com/google/googletest/blob/HEAD/googletest/docs/advanced.md
|
||||||
// . Returns the number of tests that should run.
|
// . Returns the number of tests that should run.
|
||||||
int UnitTestImpl::FilterTests(ReactionToSharding shard_tests) {
|
int UnitTestImpl::FilterTests(ReactionToSharding shard_tests) {
|
||||||
const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ?
|
const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ?
|
||||||
|
|
@ -7831,7 +7831,7 @@ static std::string DeathTestThreadWarning(size_t thread_count) {
|
||||||
msg << "detected " << thread_count << " threads.";
|
msg << "detected " << thread_count << " threads.";
|
||||||
}
|
}
|
||||||
msg << " See "
|
msg << " See "
|
||||||
"https://github.com/google/googletest/blob/master/googletest/docs/"
|
"https://github.com/google/googletest/blob/HEAD/googletest/docs/"
|
||||||
"advanced.md#death-tests-and-threads"
|
"advanced.md#death-tests-and-threads"
|
||||||
<< " for more explanation and suggested solutions, especially if"
|
<< " for more explanation and suggested solutions, especially if"
|
||||||
<< " this is the last message you see before your test times out.";
|
<< " this is the last message you see before your test times out.";
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ const path = require('path');
|
||||||
const { inspect } = require('util');
|
const { inspect } = require('util');
|
||||||
const { Worker } = require('worker_threads');
|
const { Worker } = require('worker_threads');
|
||||||
|
|
||||||
// https://github.com/web-platform-tests/wpt/blob/master/resources/testharness.js
|
// https://github.com/web-platform-tests/wpt/blob/HEAD/resources/testharness.js
|
||||||
// TODO: get rid of this half-baked harness in favor of the one
|
// TODO: get rid of this half-baked harness in favor of the one
|
||||||
// pulled from WPT
|
// pulled from WPT
|
||||||
const harnessMock = {
|
const harnessMock = {
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
# Boxstarter (http://boxstarter.org/) script for Node.js prerequisites
|
# Boxstarter (http://boxstarter.org/) script for Node.js prerequisites
|
||||||
#
|
#
|
||||||
# To install either open this link in IE or Edge:
|
# To install either open this link in IE or Edge:
|
||||||
# http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter
|
# http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/nodejs/node/HEAD/tools/bootstrap/windows_boxstarter
|
||||||
#
|
#
|
||||||
# Or run those commands in an elevated Powershell terminal:
|
# Or run those commands in an elevated Powershell terminal:
|
||||||
# iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1'))
|
# iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1'))
|
||||||
# get-boxstarter -Force
|
# get-boxstarter -Force
|
||||||
# Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter -DisableReboots
|
# Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/HEAD/tools/bootstrap/windows_boxstarter -DisableReboots
|
||||||
#
|
#
|
||||||
# For more detail see
|
# For more detail see
|
||||||
# https://github.com/nodejs/node/blob/master/tools/bootstrap/README.md
|
# https://github.com/nodejs/node/blob/HEAD/tools/bootstrap/README.md
|
||||||
#
|
#
|
||||||
|
|
||||||
# Git and Unix tools will be added to the PATH
|
# Git and Unix tools will be added to the PATH
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ async function versions() {
|
||||||
// The CHANGELOG.md on release branches may not reference newer semver
|
// The CHANGELOG.md on release branches may not reference newer semver
|
||||||
// majors of Node.js so fetch and parse the version from the master branch.
|
// majors of Node.js so fetch and parse the version from the master branch.
|
||||||
const url =
|
const url =
|
||||||
'https://raw.githubusercontent.com/nodejs/node/master/CHANGELOG.md';
|
'https://raw.githubusercontent.com/nodejs/node/HEAD/CHANGELOG.md';
|
||||||
let changelog;
|
let changelog;
|
||||||
const file = path.join(srcRoot, 'CHANGELOG.md');
|
const file = path.join(srcRoot, 'CHANGELOG.md');
|
||||||
if (kNoInternet) {
|
if (kNoInternet) {
|
||||||
|
|
|
||||||
|
|
@ -739,7 +739,7 @@ span<uint8_t> CBORTokenizer::GetEnvelopeContents() const {
|
||||||
// and then checking whether the sum went past it.
|
// and then checking whether the sum went past it.
|
||||||
//
|
//
|
||||||
// See also
|
// See also
|
||||||
// https://chromium.googlesource.com/chromium/src/+/master/docs/security/integer-semantics.md
|
// https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/integer-semantics.md
|
||||||
static const uint64_t kMaxValidLength =
|
static const uint64_t kMaxValidLength =
|
||||||
std::min<uint64_t>(std::numeric_limits<uint64_t>::max() >> 2,
|
std::min<uint64_t>(std::numeric_limits<uint64_t>::max() >> 2,
|
||||||
std::numeric_limits<size_t>::max());
|
std::numeric_limits<size_t>::max());
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ addlicense "llhttp" "deps/llhttp" "$(cat deps/llhttp/LICENSE-MIT)"
|
||||||
addlicense "OpenSSL" "deps/openssl" \
|
addlicense "OpenSSL" "deps/openssl" \
|
||||||
"$(sed -e '/^ \*\/$/,$d' -e '/^ [^*].*$/d' -e '/\/\*.*$/d' -e '/^$/d' -e 's/^[/ ]\* *//' "${rootdir}"/deps/openssl/openssl/LICENSE)"
|
"$(sed -e '/^ \*\/$/,$d' -e '/^ [^*].*$/d' -e '/\/\*.*$/d' -e '/^$/d' -e 's/^[/ ]\* *//' "${rootdir}"/deps/openssl/openssl/LICENSE)"
|
||||||
addlicense "Punycode.js" "lib/punycode.js" \
|
addlicense "Punycode.js" "lib/punycode.js" \
|
||||||
"$(curl -sL https://raw.githubusercontent.com/bestiejs/punycode.js/master/LICENSE-MIT.txt)"
|
"$(curl -sL https://raw.githubusercontent.com/bestiejs/punycode.js/HEAD/LICENSE-MIT.txt)"
|
||||||
addlicense "V8" "deps/v8" "$(cat "${rootdir}"/deps/v8/LICENSE)"
|
addlicense "V8" "deps/v8" "$(cat "${rootdir}"/deps/v8/LICENSE)"
|
||||||
addlicense "SipHash" "deps/v8/src/third_party/siphash" \
|
addlicense "SipHash" "deps/v8/src/third_party/siphash" \
|
||||||
"$(sed -e '/You should have received a copy of the CC0/,$d' -e 's/^\/\* *//' -e 's/^ \* *//' deps/v8/src/third_party/siphash/halfsiphash.cc)"
|
"$(sed -e '/You should have received a copy of the CC0/,$d' -e 's/^\/\* *//' -e 's/^ \* *//' deps/v8/src/third_party/siphash/halfsiphash.cc)"
|
||||||
|
|
|
||||||
|
|
@ -282,7 +282,7 @@ goto msbuild-found
|
||||||
:msbuild-not-found
|
:msbuild-not-found
|
||||||
echo Failed to find a suitable Visual Studio installation.
|
echo Failed to find a suitable Visual Studio installation.
|
||||||
echo Try to run in a "Developer Command Prompt" or consult
|
echo Try to run in a "Developer Command Prompt" or consult
|
||||||
echo https://github.com/nodejs/node/blob/master/BUILDING.md#windows
|
echo https://github.com/nodejs/node/blob/HEAD/BUILDING.md#windows
|
||||||
goto exit
|
goto exit
|
||||||
|
|
||||||
:msbuild-found
|
:msbuild-found
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user