Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v12.11.0 proposal #29695

Merged
merged 143 commits into from Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
80ccae0
deps: update V8 to 7.7.299.4
targos Aug 21, 2019
fe46054
build: reset embedder string to "-node.0"
targos Aug 21, 2019
5df55c2
deps: V8: fix filename manipulation for Windows
refack Mar 31, 2019
c6f97bb
deps: V8: un-cherry-pick bd019bd
refack Mar 27, 2019
b54ee21
deps: V8: silence irrelevant warning
targos Mar 27, 2019
63093e9
deps: V8: update postmortem metadata generation script
cjihrig Mar 28, 2019
242f617
deps: V8: patch register-arm64.h
refack May 22, 2019
1ed3909
deps: V8: forward declaration of `Rtl*FunctionTable`
refack May 22, 2019
07ed874
deps: V8: use ATOMIC_VAR_INIT instead of std::atomic_init
refack May 23, 2019
8aaa0ab
deps: V8: add workaround for MSVC optimizer bug
refack May 17, 2019
19e38e0
deps: V8: fix BUILDING_V8_SHARED issues
refack May 26, 2019
d1bedbe
deps: V8: fix linking issue for MSVS
refack May 30, 2019
60efc5f
deps: V8: cherry-pick e3d7f8a
cclauss Aug 14, 2019
027dcff
tools: sync gypfiles with V8 7.7
targos May 31, 2019
91d99ce
lib,test: fix error message check after V8 update
targos Jun 17, 2019
f056d55
test: update postmortem metadata test for V8 7.7
cjihrig Aug 7, 2019
59b4640
src: update v8abbr.h for V8 7.7
cjihrig Aug 7, 2019
4eeb2a9
deps: patch V8 to be API/ABI compatible with 7.4 (from 7.5)
targos Jun 1, 2019
e95f866
deps: patch V8 to be API/ABI compatible with 7.4 (from 7.6)
targos Aug 4, 2019
90713c6
deps: patch V8 to be API/ABI compatible with 7.4 (from 7.7)
targos Aug 21, 2019
7957b39
deps: patch V8 to 7.7.299.8
targos Aug 27, 2019
ee18238
build: remove experimental Python 3 tests
cclauss Sep 3, 2019
75c559d
test: remove flaky status for test-statwatcher
Trott Sep 1, 2019
95431ea
policy: minor perf opts and cleanup
bmeck Aug 26, 2019
a20a8f4
gyp: make StringIO work in ninja.py
cclauss Sep 3, 2019
8023e43
doc: change the 'txt' to 'console' for a command
Sep 1, 2019
835d1ca
doc: start unorded lists at start of line
nschonni Sep 1, 2019
4374d28
doc: use consistent indenting for unordered list items
nschonni Sep 1, 2019
d6ba106
http2: do not start reading after write if new write is on wire
addaleax Sep 1, 2019
010d29d
src: fix ValidateDSAParameters when fips is enabled
danbev Sep 2, 2019
2f81d59
tools: fix GYP ninja generator for Python 3
targos Sep 3, 2019
50d7c39
n-api: mark version 5 N-APIs as stable
Aug 31, 2019
9de417a
tools: delete v8_external_snapshot.gypi
ryzokuken Aug 29, 2019
42fd139
build,win: fix Python detection on localized OS
joaocgreis Sep 3, 2019
844b45b
doc: change urls directly from 'http' to 'https'
Sep 4, 2019
b30c40b
perf_hooks: import http2 only once
fanatid Sep 3, 2019
735ef8b
doc: async_hooks.createHook promiseResolve option
bnoordhuis Sep 2, 2019
32bb58b
doc: fix unsafe writable stream code example
ckarande Sep 3, 2019
a7331da
doc: indent ordered list child content
nschonni Aug 31, 2019
d2b0568
worker: make transfer list behave like web MessagePort
addaleax Aug 25, 2019
5c3d484
src: check microtasks before running them
codebytere Sep 4, 2019
b9c082d
esm: make dynamic import work in the REPL
bfarias-godaddy Sep 4, 2019
c95e9ca
doc: update release guide with notes for major releases
jasnell Jan 14, 2019
fa949ca
http2: send out pending data earlier
addaleax Sep 1, 2019
a9d16b5
doc: simplify wording in n-api doc
mhdawson Sep 4, 2019
9b4a49c
perf_hooks: remove GC callbacks on zero observers count
fanatid Sep 4, 2019
c146fff
perf_hooks: ignore duplicated entries in observer
fanatid Sep 4, 2019
7dd897f
doc: prepare markdown files for more stringent blank-line linting
Trott Sep 5, 2019
67aa5ef
src: make ELDHistogram a HandleWrap
addaleax Aug 25, 2019
6a7d24b
http2: do not crash on stream listener removal w/ destroyed session
addaleax Sep 5, 2019
561d504
test: permit test-signalwrap to work without test runner
Trott Jun 19, 2019
6f50c3f
build: update minimum AIX OS level
mhdawson Sep 6, 2019
b1509e8
doc: remove wrong escapes
XhmikosR Sep 5, 2019
8474b82
n-api: delete callback bundle via reference
Sep 6, 2019
9e63f91
doc: exitedAfterDisconnect value can be false
nimit95 Sep 2, 2019
909c669
test: disable core dumps before running crash test
bnoordhuis Sep 6, 2019
53f2371
worker: prevent event loop starvation through MessagePorts
addaleax Jun 2, 2019
79a277e
test: improve test-worker-message-port-message-before-close
addaleax Sep 7, 2019
fa77dc5
worker: make terminate() resolve for unref’ed Workers
addaleax Sep 7, 2019
c1695c6
build: add comment to .travis.yml on how to test Py3
cclauss Sep 6, 2019
2a53401
doc: space around lists
nschonni Sep 6, 2019
a262e2f
doc: indent child list items for remark-lint
nschonni Sep 8, 2019
f622771
build: improve `make coverage`
addaleax Sep 7, 2019
97d8b33
worker: mark as stable
addaleax Sep 9, 2019
78af92d
src,lib: expose memory file mapping flag
joaocgreis Aug 21, 2019
87fd55c
test: unmark test-worker-prof as flaky
addaleax Sep 9, 2019
f5f238d
deps: upgrade to libuv 1.32.0
cjihrig Sep 9, 2019
3aea277
doc: add documentation for stream readableFlowing
ckarande Sep 9, 2019
2dc52ad
stream: simplify isUint8Array helper
addaleax Sep 9, 2019
bc7cc34
tools: python3 compat for inspector code generator
bnoordhuis Aug 27, 2019
c304594
build: re-run configure on node_version.h change
addaleax Sep 9, 2019
4a5ba60
src: modified RealEnvStore methods to use libuv functions
devasci Apr 19, 2019
9abee07
doc: mention unit for process.hrtime.bigint()
addaleax Sep 7, 2019
0db7ebe
tools: fix iculslocs to support ICU 65.1
srl295 Sep 10, 2019
aa541bb
doc: add Tobias to the TSC
mhdawson Sep 13, 2019
ca8e87a
doc: add Bethany to TSC
mhdawson Sep 13, 2019
54f327b
crypto: add oaepLabel option
tniessen Sep 8, 2019
dd5d944
crypto: fix OpenSSL return code handling
tniessen Sep 8, 2019
772a5e0
util: add encodeInto to TextEncoder
addaleax Sep 10, 2019
6b30802
perf_hooks: remove non-existent entries from inspect
fanatid Sep 11, 2019
03a3468
process: use public readableFlowing property
ckarande Sep 8, 2019
70a0c17
repl: add missing variable declaration
lholmquist Sep 12, 2019
f90740d
build: allow clang 10+ in configure.py
krytarowski Sep 13, 2019
51a1dfa
src: print exceptions from PromiseRejectCallback
addaleax Sep 9, 2019
7bc2f06
tools: update ESLint to 6.4.0
ZYSzys Sep 14, 2019
596dd9f
repl: add autocomplete support for fs.promises
antsmartian Sep 9, 2019
31b0b52
http: refactor responseKeepAlive()
ronag Jul 15, 2019
bbf209b
tty: add color support for mosh
aditya1906 May 23, 2019
a268658
inspector: new API - Session.connectToMainThread
eugeneo Jul 26, 2019
bf08c08
doc: use consistent unordered list style
nschonni Sep 13, 2019
f2217cd
doc: update experimental loader hooks example code
zaverden Aug 30, 2019
78ee065
test: fix flaky test-inspector-connect-main-thread
addaleax Sep 17, 2019
7fd3261
doc: explain esm options for package authors
GeoffreyBooth Sep 3, 2019
55631f4
doc: add leap second behavior notes for napi methods
levhita Sep 15, 2019
144aeea
lib: remove the use of util.isFunction
himself65 Sep 15, 2019
fa7de9b
deps: update npm to 6.11.3
claudiahdz Sep 3, 2019
ce45aae
module: reintroduce package exports dot main
guybedford Sep 8, 2019
7eae707
repl: fix bug in fs module autocompletion
ZYSzys Sep 16, 2019
38028ef
doc: add missing complete property to http2 docs
javleds Sep 16, 2019
0074c8a
doc: update list style in misc README docs
Trott Sep 17, 2019
4954792
doc: correct trivial misspelling in AUTHORS
gcr Sep 18, 2019
c052967
bootstrap: provide usable error on missing internal module
Fishrock123 Sep 17, 2019
50b5ad1
doc: fix nits in net.md
vsemozhetbyt Sep 16, 2019
3a6bc90
src: re-delete Atomics.wake
devsnek Sep 16, 2019
b9c7c90
benchmark: improve process.env benchmarks
addaleax Aug 17, 2019
6284b49
src: use libuv to get env vars
addaleax Aug 17, 2019
bc3c0b2
deps: V8: cherry-pick 35c6d4d
sam-github Sep 16, 2019
a5bd7e3
repl: convert var to let and const
lholmquist Sep 16, 2019
13fa966
module: error for CJS .js load within type: module
guybedford Sep 8, 2019
e4a51ad
deps: patch V8 to 7.7.299.10
Hakerh400 Sep 6, 2019
c718c60
deps: V8: cherry-pick deac757
bcoe Sep 20, 2019
f84f1db
src: fix closing weak `HandleWrap`s on GC
addaleax Sep 21, 2019
6ba39d4
process: initial SourceMap support via NODE_V8_COVERAGE
bcoe Sep 20, 2019
f61c509
console: skip/strip %c formatting
devsnek Sep 18, 2019
78cbdf3
stream: optimize creation
ronag Aug 15, 2019
39b1770
doc: make minor improvements to stream.md
ronag Aug 5, 2019
84b353c
doc: fix require call for spawn() in code example
marian-r Sep 19, 2019
3ba6464
doc: explain stream.finished cleanup
ronag Aug 2, 2019
99c2cd8
crypto: use BoringSSL-compatible flag getter
codebytere Sep 18, 2019
13d173f
doc: remove the suffix number of the anchor link
Sep 6, 2019
322bc6f
stream: do not call _read() after destroy()
ronag Sep 8, 2019
b43d2dd
timers: set _destroyed even if there are no destroy-hooks
Fishrock123 Sep 17, 2019
67f5de9
fs: remove unnecessary argument check
ronag Aug 8, 2019
5c24bc6
build: do not indent assignments in Makefile
joyeecheung Sep 20, 2019
edaa2ee
doc: fix some signatures of .end() methods
vsemozhetbyt Sep 19, 2019
6f8ef2c
src: discard remaining foreground tasks on platform shutdown
addaleax Sep 17, 2019
9150c4d
events: add support for EventTarget in once
jeniabrook Aug 18, 2019
123437b
stream: apply special logic in removeListener for readable.off()
ronag Sep 7, 2019
2707beb
doc: add code example to process.throwDeprecation property
juanarbol Sep 8, 2019
e71bdad
stream: make _write() optional when _writev() is implemented
ronag Sep 20, 2019
3878e1e
src: perform check before running in runMicrotasks()
nornagon Sep 16, 2019
6b89512
bootstrap: add exception handling for profiler bootstrap
Sep 14, 2019
5d60adf
deps: patch V8 to 7.7.299.11
targos Sep 20, 2019
b7488c2
tools: cleanup getnodeversion.py for readability
cclauss Sep 21, 2019
b100897
stream: cleanup use of internal ended state
ckarande Sep 21, 2019
f016823
stream: add test for multiple .push(null)
ckarande Sep 21, 2019
6272f82
tls: add option to override signature algorithms
OYTIS Sep 18, 2019
68630c5
console,util: fix missing recursion end while inspecting prototypes
BridgeAR Sep 21, 2019
0a47d06
events: improve performance of EventEmitter.emit
mcollina Sep 20, 2019
325de43
doc: update N-API version matrix
Sep 5, 2019
5605119
test: fix race condition in test-worker-process-cwd.js
BridgeAR Jul 9, 2019
ced89ad
util: include reference anchor for circular structures
BridgeAR May 14, 2019
b50c01c
2019-09-24, Version 12.11.0 (Current)
BridgeAR Sep 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitattributes
@@ -1,2 +1,3 @@
test/fixtures/* -text
vcbuild.bat text eol=crlf
tools/msvs/find_python.cmd text eol=crlf
3 changes: 2 additions & 1 deletion .mailmap
Expand Up @@ -218,6 +218,8 @@ Kelsey Breseman <ifoundthemeaningoflife@gmail.com>
Ke Ding <dingkework@hotmail.com>
Khaidi Chu <admin@xcoder.in> XadillaX <admin@xcoder.in>
Khaidi Chu <admin@xcoder.in> <i@2333.moe>
Kimberly Wilber <gcr@sneakygcr.net>
Kimberly Wilber <gcr@sneakygcr.net> <gcr@users.noreply.github.com>
Kiyoshi Nomo <tokyoincidents.g@gmail.com> kysnm <tokyoincidents.g@gmail.com>
Koichi Kobayashi <koichik@improvement.jp>
Kostiantyn Wandalen <wandalen.me@gmail.com>
Expand Down Expand Up @@ -255,7 +257,6 @@ Matthew Turner <matty_t47@hotmail.com> <ramesius@users.noreply.github.com>
Maurice Hayward <mauricehayward1@gmail.com> maurice_hayward <mauricehayward1@gmail.com>
Michael Bernstein <michaelrbernstein@gmail.com>
Michael Dawson <michael_dawson@ca.ibm.com> <mdawson@devrus.com>
Michael Wilber <gcr@sneakygcr.net>
Michaël Zasso <targos@protonmail.com> <mic.besace@gmail.com>
Michael-Rainabba Richardson <rainabba@gmail.com> rainabba <rainabba@gmail.com>
Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
Expand Down
32 changes: 4 additions & 28 deletions .travis.yml
Expand Up @@ -6,9 +6,13 @@ x-ccache-setup-steps: &ccache-setup-steps

os: linux
language: cpp
# Currently this file can only support one PYTHON_VERSION.
# To experiment with Python 3, comment out Python 2.7 and uncomment one of the Python 3 versions.
env:
global:
- PYTHON_VERSION="2.7.15"
# - PYTHON_VERSION="3.6.7"
# - PYTHON_VERSION="3.7.1"
jobs:
include:
- stage: "Compile"
Expand Down Expand Up @@ -87,31 +91,3 @@ jobs:
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
fi

- name: "Python 3 is EXPERIMENTAL (Py36)"
language: node_js
node_js: "node"
install:
- pyenv global 3.6.7
- python3.6 -m pip install --upgrade pip
- make lint-py-build
script:
- NODE=$(which node) make lint lint-py
- python3.6 ./configure.py
- NODE=$(which node) make test

- name: "Python 3 is EXPERIMENTAL (Py37)"
language: node_js
node_js: "node"
install:
- pyenv global 3.7.1
- python3.7 -m pip install --upgrade pip
- make lint-py-build
script:
- NODE=$(which node) make lint lint-py
- python3.7 ./configure.py
- NODE=$(which node) make test

allow_failures:
- name: "Python 3 is EXPERIMENTAL (Py36)"
- name: "Python 3 is EXPERIMENTAL (Py37)"
2 changes: 1 addition & 1 deletion AUTHORS
Expand Up @@ -141,7 +141,7 @@ Daniel Gröber <darklord@darkboxed.org>
Travis Swicegood <development@domain51.com>
Oleg Slobodskoi <oleg008@gmail.com>
Jeremy Martin <jmar777@gmail.com>
Michael Wilber <gcr@sneakygcr.net>
Kimberly Wilber <gcr@sneakygcr.net>
Sean Braithwaite <brapse@gmail.com>
Anders Conbere <aconbere@gmail.com>
Devin Torres <devin@devintorres.com>
Expand Down
24 changes: 12 additions & 12 deletions BUILDING.md
Expand Up @@ -116,7 +116,7 @@ platforms. This is true regardless of entries in the table below.
| Windows | arm64 | >= Windows 10 | Experimental | |
| macOS | x64 | >= 10.11 | Tier 1 | |
| SmartOS | x64 | >= 18 | Tier 2 | |
| AIX | ppc64be >=power7 | >= 7.1 TL05 | Tier 2 | |
| AIX | ppc64be >=power7 | >= 7.2 TL02 | Tier 2 | |
| FreeBSD | x64 | >= 11 | Experimental | Downgraded as of Node.js 12 |

<em id="fn1">1</em>: GCC 6 is not provided on the base platform, users will
Expand Down Expand Up @@ -243,8 +243,8 @@ transition before the year-end deadline.
* `gcc` and `g++` >= 6.3 or newer, or
* GNU Make 3.81 or newer
* Python (see note above)
* Python 2.7
* Python 3.5, 3.6, and 3.7 are experimental.
* Python 2.7
* Python 3.5, 3.6, and 3.7 are experimental.

Installation via Linux package manager can be achieved with:

Expand All @@ -259,8 +259,8 @@ FreeBSD and OpenBSD users may also need to install `libexecinfo`.

* Xcode Command Line Tools >= 8 for macOS
* Python (see note above)
* Python 2.7
* Python 3.5, 3.6, and 3.7 are experimental.
* Python 2.7
* Python 3.5, 3.6, and 3.7 are experimental.

macOS users can install the `Xcode Command Line Tools` by running
`xcode-select --install`. Alternatively, if you already have the full Xcode
Expand Down Expand Up @@ -501,16 +501,16 @@ $ backtrace
[Build Tools](https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017),
with the default optional components.
* Basic Unix tools required for some tests,
[Git for Windows](http://git-scm.com/download/win) includes Git Bash
[Git for Windows](https://git-scm.com/download/win) includes Git Bash
and tools which can be included in the global `PATH`.
* The [NetWide Assembler](http://www.nasm.us/), for OpenSSL assembler modules.
* The [NetWide Assembler](https://www.nasm.us/), for OpenSSL assembler modules.
If not installed in the default location, it needs to be manually added
to `PATH`. A build with the `openssl-no-asm` option does not need this, nor
does a build targeting ARM64 Windows.

Optional requirements to build the MSI installer package:

* The [WiX Toolset v3.11](http://wixtoolset.org/releases/) and the
* The [WiX Toolset v3.11](https://wixtoolset.org/releases/) and the
[Wix Toolset Visual Studio 2017 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WixToolsetVisualStudio2017Extension).

Optional requirements for compiling for Windows 10 on ARM (ARM64):
Expand All @@ -527,7 +527,7 @@ Optional requirements for compiling for Windows 10 on ARM (ARM64):
##### Option 2: Automated install with Boxstarter
<a name="boxstarter"></a>

A [Boxstarter](http://boxstarter.org/) script can be used for easy setup of
A [Boxstarter](https://boxstarter.org/) script can be used for easy setup of
Windows systems with all the required prerequisites for Node.js development.
This script will install the following [Chocolatey](https://chocolatey.org/)
packages:
Expand All @@ -541,16 +541,16 @@ packages:
* [NetWide Assembler](https://chocolatey.org/packages/nasm)

To install Node.js prerequisites using
[Boxstarter WebLauncher](http://boxstarter.org/WebLauncher), open
<http://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter>
[Boxstarter WebLauncher](https://boxstarter.org/WebLauncher), open
<https://boxstarter.org/package/nr/url?https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter>
with Internet Explorer or Edge browser on the target machine.

Alternatively, you can use PowerShell. Run those commands from an elevated
PowerShell terminal:

```powershell
Set-ExecutionPolicy Unrestricted -Force
iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1'))
iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1'))
get-boxstarter -Force
Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter -DisableReboots
```
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.10.0">12.10.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.11.0">12.11.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.10.0">12.10.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.9.1">12.9.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.9.0">12.9.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.8.1">12.8.1</a><br/>
Expand Down
66 changes: 32 additions & 34 deletions COLLABORATOR_GUIDE.md
Expand Up @@ -3,35 +3,35 @@
## Contents

* [Issues and Pull Requests](#issues-and-pull-requests)
- [Welcoming First-Time Contributors](#welcoming-first-time-contributors)
- [Closing Issues and Pull Requests](#closing-issues-and-pull-requests)
- [Author ready pull requests](#author-ready-pull-requests)
- [Handling own pull requests](#handling-own-pull-requests)
* [Welcoming First-Time Contributors](#welcoming-first-time-contributors)
* [Closing Issues and Pull Requests](#closing-issues-and-pull-requests)
* [Author ready pull requests](#author-ready-pull-requests)
* [Handling own pull requests](#handling-own-pull-requests)
* [Accepting Modifications](#accepting-modifications)
- [Code Reviews](#code-reviews)
- [Consensus Seeking](#consensus-seeking)
- [Waiting for Approvals](#waiting-for-approvals)
- [Testing and CI](#testing-and-ci)
- [Useful CI Jobs](#useful-ci-jobs)
- [Internal vs. Public API](#internal-vs-public-api)
- [Breaking Changes](#breaking-changes)
- [Breaking Changes and Deprecations](#breaking-changes-and-deprecations)
- [Breaking Changes to Internal Elements](#breaking-changes-to-internal-elements)
- [Unintended Breaking Changes](#unintended-breaking-changes)
- [Reverting commits](#reverting-commits)
- [Introducing New Modules](#introducing-new-modules)
- [Additions to N-API](#additions-to-n-api)
- [Deprecations](#deprecations)
- [Involving the TSC](#involving-the-tsc)
* [Code Reviews](#code-reviews)
* [Consensus Seeking](#consensus-seeking)
* [Waiting for Approvals](#waiting-for-approvals)
* [Testing and CI](#testing-and-ci)
* [Useful CI Jobs](#useful-ci-jobs)
* [Internal vs. Public API](#internal-vs-public-api)
* [Breaking Changes](#breaking-changes)
* [Breaking Changes and Deprecations](#breaking-changes-and-deprecations)
* [Breaking Changes to Internal Elements](#breaking-changes-to-internal-elements)
* [Unintended Breaking Changes](#unintended-breaking-changes)
* [Reverting commits](#reverting-commits)
* [Introducing New Modules](#introducing-new-modules)
* [Additions to N-API](#additions-to-n-api)
* [Deprecations](#deprecations)
* [Involving the TSC](#involving-the-tsc)
* [Landing Pull Requests](#landing-pull-requests)
- [Using `git-node`](#using-git-node)
- [Technical HOWTO](#technical-howto)
- [Troubleshooting](#troubleshooting)
- [I Made a Mistake](#i-made-a-mistake)
- [Long Term Support](#long-term-support)
- [What is LTS?](#what-is-lts)
- [How are LTS Branches Managed?](#how-are-lts-branches-managed)
- [How can I help?](#how-can-i-help)
* [Using `git-node`](#using-git-node)
* [Technical HOWTO](#technical-howto)
* [Troubleshooting](#troubleshooting)
* [I Made a Mistake](#i-made-a-mistake)
* [Long Term Support](#long-term-support)
* [What is LTS?](#what-is-lts)
* [How are LTS Branches Managed?](#how-are-lts-branches-managed)
* [How can I help?](#how-can-i-help)
* [Who to CC in the issue tracker](#who-to-cc-in-the-issue-tracker)

This document explains how Collaborators manage the Node.js project.
Expand Down Expand Up @@ -371,10 +371,10 @@ deprecation level of an API.
Collaborators may opt to elevate pull requests or issues to the [TSC][].
Do this if a pull request or issue:

- is labeled `semver-major`, or
- has a significant impact on the codebase, or
- is controversial, or
- is at an impasse among Collaborators who are participating in the discussion.
* is labeled `semver-major`, or
* has a significant impact on the codebase, or
* is controversial, or
* is at an impasse among Collaborators who are participating in the discussion.

@-mention the `@nodejs/tsc` GitHub team if you want to elevate an issue to the
[TSC][]. Do not use the GitHub UI on the right-hand side to assign to
Expand Down Expand Up @@ -542,9 +542,7 @@ Save the file and close the editor. When prompted, enter a new commit message
for that commit. This is an opportunity to fix commit messages.

* The commit message text must conform to the [commit message guidelines][].

<a name="metadata"></a>
* Change the original commit message to include metadata. (The
* <a name="metadata"></a>Change the original commit message to include metadata. (The
[`git node metadata`][git-node-metadata] command can generate the metadata
for you.)

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -3,7 +3,7 @@
* [Code of Conduct](#code-of-conduct)
* [Issues](#issues)
* [Pull Requests](#pull-requests)
* [Developer's Certificate of Origin 1.1](#developers-certificate-of-origin-11)
* [Developer's Certificate of Origin 1.1](#developers-certificate-of-origin)

## [Code of Conduct](./doc/guides/contributing/coc.md)

Expand Down
14 changes: 8 additions & 6 deletions CPP_STYLE_GUIDE.md
Expand Up @@ -36,6 +36,7 @@ features and idioms, as well as have some specific guidelines for the use of
runtime features.

Coding guidelines are based on the following guides (highest priority first):

1. This document
2. The [Google C++ Style Guide][]
3. The ISO [C++ Core Guidelines][]
Expand Down Expand Up @@ -190,8 +191,8 @@ class FancyContainer {

### Memory allocation

- `Malloc()`, `Calloc()`, etc. from `util.h` abort in Out-of-Memory situations
- `UncheckedMalloc()`, etc. return `nullptr` in OOM situations
* `Malloc()`, `Calloc()`, etc. from `util.h` abort in Out-of-Memory situations
* `UncheckedMalloc()`, etc. return `nullptr` in OOM situations

### Use `nullptr` instead of `NULL` or `0`

Expand Down Expand Up @@ -277,13 +278,14 @@ data[0] = 12345;

### Type casting

- Use `static_cast<T>` if casting is required, and it is valid
- Use `reinterpret_cast` only when it is necessary
- Avoid C-style casts (`(type)value`)
- `dynamic_cast` does not work because Node.js is built without
* Use `static_cast<T>` if casting is required, and it is valid
* Use `reinterpret_cast` only when it is necessary
* Avoid C-style casts (`(type)value`)
* `dynamic_cast` does not work because Node.js is built without
[Run Time Type Information][]

Further reading:

* [ES.48]: Avoid casts
* [ES.49]: If you must use a cast, use a named cast

Expand Down
14 changes: 7 additions & 7 deletions GOVERNANCE.md
Expand Up @@ -2,13 +2,13 @@

<!-- TOC -->

- [Collaborators](#collaborators)
- [Collaborator Activities](#collaborator-activities)
- [Technical Steering Committee](#technical-steering-committee)
- [TSC Meetings](#tsc-meetings)
- [Collaborator Nominations](#collaborator-nominations)
- [Onboarding](#onboarding)
- [Consensus Seeking Process](#consensus-seeking-process)
* [Collaborators](#collaborators)
* [Collaborator Activities](#collaborator-activities)
* [Technical Steering Committee](#technical-steering-committee)
* [TSC Meetings](#tsc-meetings)
* [Collaborator Nominations](#collaborator-nominations)
* [Onboarding](#onboarding)
* [Consensus Seeking Process](#consensus-seeking-process)

<!-- /TOC -->

Expand Down
20 changes: 10 additions & 10 deletions Makefile
Expand Up @@ -146,7 +146,9 @@ out/Makefile: config.gypi common.gypi node.gyp \
tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp
$(PYTHON) tools/gyp_node.py -f make

config.gypi: configure configure.py
# node_version.h is listed because the N-API version is taken from there
# and included in config.gypi
config.gypi: configure configure.py src/node_version.h
@if [ -x config.status ]; then \
./config.status; \
else \
Expand Down Expand Up @@ -240,17 +242,15 @@ coverage-build-js:

.PHONY: coverage-test
coverage-test: coverage-build
$(RM) out/$(BUILDTYPE)/obj.target/node/gen/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node/src/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node/src/tracing/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node_lib/gen/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node/src/*/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node_lib/src/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node_lib/src/tracing/*.gcda
$(RM) out/$(BUILDTYPE)/obj.target/node_lib/src/*/*.gcda
-NODE_V8_COVERAGE=out/$(BUILDTYPE)/.coverage \
TEST_CI_ARGS="$(TEST_CI_ARGS) --type=coverage" $(MAKE) $(COVTESTS)
$(MAKE) coverage-report-js
-(cd out && "../gcovr/scripts/gcovr" --gcov-exclude='.*deps' \
--gcov-exclude='.*usr' -v -r Release/obj.target \
-(cd out && "../gcovr/scripts/gcovr" \
--gcov-exclude='.*\b(deps|usr|out|cctest)\b' -v -r Release/obj.target \
--html --html-detail -o ../coverage/cxxcoverage.html \
--gcov-executable="$(GCOV)")
@echo -n "Javascript coverage %: "
Expand Down Expand Up @@ -335,7 +335,7 @@ test-cov: all
$(MAKE) build-addons
$(MAKE) build-js-native-api-tests
$(MAKE) build-node-api-tests
# $(MAKE) cctest
$(MAKE) cctest
CI_SKIP_TESTS=$(COV_SKIP_TESTS) $(MAKE) jstest

test-parallel: all
Expand Down Expand Up @@ -1312,9 +1312,9 @@ else
endif

ifeq ($(V),1)
CPPLINT_QUIET =
CPPLINT_QUIET =
else
CPPLINT_QUIET = --quiet
CPPLINT_QUIET = --quiet
endif
.PHONY: lint-cpp
# Lints the C++ code with cpplint.py and check-imports.py.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -154,6 +154,8 @@ For information about the governance of the Node.js project, see
**Anna Henningsen** &lt;anna@addaleax.net&gt; (she/her)
* [apapirovski](https://github.com/apapirovski) -
**Anatoli Papirovski** &lt;apapirovski@mac.com&gt; (he/him)
* [BethGriggs](https://github.com/BethGriggs) -
**Beth Griggs** &lt;Bethany.Griggs@uk.ibm.com&gt; (she/her)
* [ChALkeR](https://github.com/ChALkeR) -
**Сковорода Никита Андреевич** &lt;chalkerx@gmail.com&gt; (he/him)
* [cjihrig](https://github.com/cjihrig) -
Expand Down Expand Up @@ -184,6 +186,8 @@ For information about the governance of the Node.js project, see
**Michaël Zasso** &lt;targos@protonmail.com&gt; (he/him)
* [thefourtheye](https://github.com/thefourtheye) -
**Sakthipriyan Vairamani** &lt;thechargingvolcano@gmail.com&gt; (he/him)
* [tniessen](https://github.com/tniessen) -
**Tobias Nießen** &lt;tniessen@tnie.de&gt;
* [Trott](https://github.com/Trott) -
**Rich Trott** &lt;rtrott@gmail.com&gt; (he/him)

Expand Down