Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
d5cef71
src: remove unused function
cjihrig Dec 14, 2017
49472d6
stream: remove `undefined` check
addaleax Dec 13, 2017
be8284e
net: remove Socket.prototype.write
addaleax Dec 13, 2017
3d375ee
doc: add C++ style comments to the style guide
Dec 11, 2017
57be78a
http: remove adapter frame from onParserExecute
bnoordhuis Dec 15, 2017
5cabbe8
stream: add flow and buffer properties to streams
calvinmetcalf May 16, 2017
ad99539
test: check socketOnDrain where needPause is false
Leko Dec 13, 2017
90e3161
test: change callback function to arrow function
skanamaru Dec 15, 2017
1f9f88c
test: change callback function to arrow function
you12724 Dec 15, 2017
b37318c
test: change callback function to arrow function
routerman Dec 15, 2017
fb76ec4
src: remove unused strings from env.h
addaleax Dec 13, 2017
37ed0a7
src: rename `On*` -> `Emit*` for stream callbacks
addaleax Dec 15, 2017
9586f66
doc: remove extra whitespace in module docs
watson Dec 16, 2017
29600cb
doc: change eventName type annotations
aprilwebster Dec 13, 2017
6a22186
src: replace SetAccessor w/ SetAccessorProperty
jure Dec 13, 2017
e97c858
doc: change "Node.js style cb" to "error-first cb"
lossycache Dec 12, 2017
fbe368f
test: coverage for emitExperimentalWarning
mithunsasidharan Dec 13, 2017
92d08d9
doc: add countdown module to writing tests guide
Bamieh Dec 12, 2017
c626f8a
test: update test-http-content-length to use countdown
Bamieh Dec 12, 2017
d83d973
test: Use countdown in test file
sreepurnajasti Dec 13, 2017
ef56ea4
stream: rm {writeable/readable}State.length
calvinmetcalf May 5, 2017
91c6488
test: add test for postmortem metadata validation
cjihrig Dec 14, 2017
b83fc9b
doc: improve documentation.md
Fishrock123 Dec 15, 2017
07be7fb
doc: fix fs.existsSync description
Fishrock123 Dec 15, 2017
4c3d34e
doc: adjust TTY wording & add inter-doc links
Fishrock123 Dec 15, 2017
d7cf473
doc: not all example code can be run without 1:1
Fishrock123 Dec 15, 2017
e70e083
doc: some fs doc improvements
jasnell Dec 15, 2017
e54a836
n-api: fix memory leak in napi_async_destroy()
Dec 17, 2017
c722b56
doc: improve release guide
evanlucas Dec 14, 2017
7c70bcd
doc: edit CONTRIBUTING.md preamble
Trott Dec 15, 2017
57c6c31
doc: remove unused link definition
maclover7 Dec 18, 2017
f28587f
doc: fix typo in child_process.md
Trott Dec 18, 2017
d74285b
doc: fix typo in README.md
starkwang Dec 18, 2017
f23fa8a
doc: remove duplicate the from onboarding.md
sreepurnajasti Dec 18, 2017
d8713a4
src: remove nonexistent method from header file
addaleax Dec 19, 2017
5b64739
test: change callback function to arrow function
rt33 Dec 18, 2017
cdd6f7b
crypto: remove unused header in clienthello.h
danbev Dec 19, 2017
e7a99b3
tools: add number-isnan rule
maclover7 Dec 11, 2017
3f60960
http2: simplify onSelectPadding
addaleax Dec 17, 2017
b5e98de
console: make error handling engine agnostic
BridgeAR Dec 16, 2017
820e978
console: make variables and checks stricter
BridgeAR Dec 16, 2017
e7ca46e
benchmark: refactor console benchmark
BridgeAR Dec 16, 2017
0f36668
console: order functions and remove \n\n
BridgeAR Dec 16, 2017
cbccafe
doc: remove old console note
BridgeAR Dec 16, 2017
d93c57a
src: remove unused async hooks methods
addaleax Dec 19, 2017
156c840
crypto: reuse variable instead of reevaluation
tniessen Dec 18, 2017
3d8b0ac
test: fix typo in test-inspector-cluster-port-clash.js
Trott Dec 20, 2017
ce87e56
net: remove ADDRCONFIG DNS hint on Windows
bzoz Dec 13, 2017
03ae4c2
test: increase pbkdf2 test coverage
Leko Dec 18, 2017
56bfbc2
repl: show lexically scoped vars in tab completion
targos Oct 29, 2017
093edd0
test: increase diffie-hellman test coverage
Leko Dec 18, 2017
f5a6239
test: refactor test-net-connect-buffer
addaleax Dec 13, 2017
7ec4740
doc: improve fs api descriptions
evanlucas Dec 14, 2017
4f6edc9
doc: instructions on how to make membership public
mhdawson Dec 14, 2017
0a9ecfc
src: remove redundant `JSStream::DoAfterWrite`
addaleax Dec 16, 2017
add0a8b
test: refactor test-repl-definecommand
Trott Dec 20, 2017
d40e631
test: improve flaky test-listen-fd-ebadf.js
Trott Dec 20, 2017
9dc9117
tls: comment about old-style errors
Xavier-J-Ortiz Dec 19, 2017
f30f0a3
doc: improve module.builtinModules documentation
watson Dec 16, 2017
1ebae2c
test: use valid authentication tag length
tniessen Dec 9, 2017
d3d0427
crypto: warn on invalid authentication tag length
tniessen Dec 9, 2017
5cd639d
doc: removed extra explanation in api/buffer.md
WaleedAshraf Dec 20, 2017
8791c9d
test: do not open fixture files for writing
Trott Dec 21, 2017
552237f
deps: V8: cherry-pick ac0fe8ec from upstream
ofrobots Dec 15, 2017
d2699cf
tools: fix man pages linking regex
DiegoRBaquero Dec 18, 2017
b6f0bf1
test: do not open fixture files for writing
Trott Dec 21, 2017
10ad019
vm: allow modifying context name in inspector
TimothyGu Dec 17, 2017
61095df
doc: use american spelling as per style guide
sreepurnajasti Dec 22, 2017
7d9661a
doc: require CI status indicator in PRs
seishun Nov 20, 2017
cd0e91b
doc: mark DEP0002 as end of life
maclover7 Dec 22, 2017
220894c
lib, src: use process.config instead of regex
maclover7 Dec 21, 2017
3be3176
test: use common module API in test-child-process-exec-stdout-stderr-…
sreepurnajasti Dec 19, 2017
2428785
doc: add starkwang to collaborators
starkwang Dec 24, 2017
345d761
benchmark: make temp file path configurable
Trott Dec 21, 2017
83afd13
module: print better message on esm import error
targos Dec 20, 2017
a35ec00
test: fix flaky test-benchmark-fs
Trott Dec 24, 2017
08c0301
async_hooks: use CHECK instead of throwing error
maclover7 Dec 23, 2017
e297f2e
test: fix unreliable async-hooks/test-signalwrap
Trott Dec 22, 2017
c489a50
test: remove ambiguous error messages from test_error
nadrane Dec 21, 2017
c933621
test: remove undefined function
Trott Dec 23, 2017
034c998
tools: autofixer for lowercase-name-for-primitive
shobhitchittora Dec 17, 2017
fa0920e
doc: update AUTHORS list
BridgeAR Dec 21, 2017
5e098a7
doc: update formatting to fit our 80 chars rule
BridgeAR Dec 17, 2017
317426a
doc: use consistent new lines
BridgeAR Dec 17, 2017
b89a02e
doc: use dashes instead of asterisks
BridgeAR Dec 17, 2017
d58f1b7
test: reduce scope of variable in common module
Trott Dec 22, 2017
b1113a5
inspector: make Coverity happy
Dec 13, 2017
c4b4be6
tools: fix AttributeError: __exit__ on Python 2.6
dkasyanov Dec 13, 2017
010616d
http: add rawPacket in err of `clientError` event
XadillaX Dec 14, 2017
07289c8
perf_hooks: refactor internals
jasnell Dec 21, 2017
0a9303c
tls: fix SNICallback without .server option
addaleax Dec 23, 2017
52cc6f3
test: refactor test-tls-securepair-fiftharg
addaleax Dec 23, 2017
aca76db
crypto: add ocsp_request ClientHelloParser::Reset
danbev Dec 11, 2017
a203f0c
buffer: optimize readDouble and readFloat methods
bnoordhuis Dec 20, 2017
b580fc7
test: make test-tls-invoke-queued use public API
addaleax Dec 25, 2017
0d58df4
doc: improve module.builtinModules text
Trott Dec 25, 2017
8bf04c0
doc: use my legal name in README
TimothyGu Dec 28, 2017
3d5be78
test: fix flaky test-benchmark-fs
Trott Dec 27, 2017
3916181
doc: fix typo
tniessen Dec 28, 2017
1a380cb
doc: fs doc improvements
jasnell Dec 22, 2017
75f8778
readline: refactor filter() callback
Trott Dec 25, 2017
f5234e2
test: replace map() with forEach() where appropriate
Trott Dec 25, 2017
b919ac1
tools: enable array-callback-return ESLint rule
Trott Dec 25, 2017
073c0f7
doc: doc imitating the old behavior of http.Server.keepAliveTimeout
TysonAndre-tmg Dec 13, 2017
4c96e96
repl: fix coloring of `process.versions`
bnoordhuis Dec 25, 2017
134238c
test: improve to use template string
sreepurnajasti Dec 28, 2017
e5394e5
http: convert utcDate to use setTimeout
Fishrock123 Dec 21, 2017
7dddc7c
tools: add check for using process.binding crypto
danbev Dec 26, 2017
9187804
test: add hasCrypto when using binding('crypto')
danbev Dec 26, 2017
0add77d
test: fix repl-tab-complete --without-ssl
danbev Dec 26, 2017
42be210
test: use countdown in test file
sreepurnajasti Dec 27, 2017
428c9aa
deps: update nghttp2 to 1.29.0
jasnell Dec 28, 2017
db1f602
timers: remove domain enter and exit
apapirovski Dec 27, 2017
6c85e86
gitignore: ignore *.VC.db files
tniessen Dec 28, 2017
2307e17
doc: fix duplicate words & spellings in docs
sreepurnajasti Dec 31, 2017
172c5ff
test: improve readability of some crypto tests
tniessen Dec 28, 2017
113ea79
doc: remove duplicate words in API docs
tniessen Jan 1, 2018
e9a2648
doc: replace wrong U+00A0 by common spaces
vsemozhetbyt Jan 1, 2018
3fcf073
doc: add references to PR communication articles
Dec 28, 2017
d4c8240
http2: strictly limit number on concurrent streams
jasnell Nov 21, 2017
c73c068
doc: fix spelling of contributors
Trott Dec 31, 2017
75c8e62
doc: improve alt text
Trott Dec 31, 2017
3c2aac9
doc: copy-edit COLLABORATOR_GUIDE.md
Trott Dec 31, 2017
1b0a1c7
build: remove duplicate async-hooks and known_issues test runs
Trott Dec 29, 2017
aea5ced
doc: remove non-style information from style guide
Trott Dec 25, 2017
2691e46
doc: fix typos in CONTRIBUTING.md
Trott Jan 1, 2018
70a727e
doc: improve PR-review paragraph in CONTRIBUTING.md
Trott Jan 1, 2018
5ced72b
doc: remove x86 from os.arch() options
gibfahn Dec 28, 2017
a17c3e6
doc: edit for concision
Trott Dec 28, 2017
9197217
doc: improve security section of README.md
Trott Jan 1, 2018
95358f8
src: remove unused GetHostByNameWrap
bnoordhuis Dec 25, 2017
4c5b68b
src: inline HostentToAddresses()
bnoordhuis Dec 25, 2017
a1e414e
doc: move joshgav to TSC emeriti list
Trott Jan 2, 2018
ae76f24
benchmark: fix timeout in write-stream-throughput
apapirovski Jan 3, 2018
fcdb0af
test: fix flaky test-resolve-async
apapirovski Jan 3, 2018
4074e52
test: simplify test-buffer-slice.js
starkwang Jan 3, 2018
b875c7b
test: fix crypto test case to use correct encoding
tniessen Jan 2, 2018
2ef944f
test: fix flaky http-writable-true-after-close
apapirovski Jan 3, 2018
ec9f361
test: fix flaky test-pipe-unref
apapirovski Jan 2, 2018
ba55006
http: remove duplicate export
evanlucas Jan 4, 2018
8b9e478
test: fix flaky test-http-highwatermark
apapirovski Jan 2, 2018
faf6be0
test: rename regression tests
tniessen Jan 2, 2018
e8abfeb
cluster: support windowsHide option for workers
toddwong Dec 1, 2017
253c3e4
tools: host remark-preset-lint-node in-tree
maclover7 Dec 3, 2017
64e6e46
build: put .PHONY directly before its target
oantoro Jan 3, 2018
a069f44
http2: verify that a dependency cycle may exist
jasnell Jan 3, 2018
d7e536d
test: fix common.expectsError
refack Jun 14, 2017
015c146
test: add more asserts to `test-internal-errors`
refack Jun 19, 2017
7711f00
test: fix flaky test-http-pipeline-flood
apapirovski Jan 3, 2018
9a36c65
doc: move matthewloring to emeriti
Trott Jan 5, 2018
4a11da7
doc: updates examples to use NULL
mhdawson Jan 5, 2018
bd744b1
lib: remove queue implementation from JSStreamWrap
addaleax Dec 29, 2017
c11afbf
Revert "src: remove unused function"
jasnell Jan 9, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ rules:
# Best Practices
# http://eslint.org/docs/rules/#best-practices
accessor-pairs: error
array-callback-return: error
dot-location: [error, property]
eqeqeq: [error, smart]
no-fallthrough: error
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ _UpgradeReport_Files/
ipch/
*.sdf
*.opensdf
*.VC.db
*.VC.opendb
.vs/
.vscode/
Expand Down
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ Kathy Truong <kathy.yvy.truong@gmail.com> k3kathy <kathy.yvy.truong@gmail.com>
Kazuyuki Yamada <tasogare.pg@gmail.com>
Keith M Wesolowski <wesolows@joyent.com> <wesolows@foobazco.org>
Kelsey Breseman <ifoundthemeaningoflife@gmail.com>
Khaidi Chu <admin@xcoder.in> XadillaX <admin@xcoder.in>
Khaidi Chu <admin@xcoder.in> <i@2333.moe>
Kiyoshi Nomo <tokyoincidents.g@gmail.com> kysnm <tokyoincidents.g@gmail.com>
Koichi Kobayashi <koichik@improvement.jp>
Kris Kowal <kris.kowal@cixar.com>
Expand Down Expand Up @@ -264,6 +266,7 @@ Roman Klauke <romaaan.git@gmail.com> <romankl@users.noreply.github.com>
Roman Reiss <me@silverwind.io>
Ron Korving <ron@ronkorving.nl> <rkorving@wizcorp.jp>
Ron Korving <ron@ronkorving.nl> ronkorving <ron@ronkorving.nl>
Ruben Bridgewater <ruben@bridgewater.de> <ruben.bridgewater@fintura.de>
Russell Dempsey <sgtpooki@gmail.com> <SgtPooki@gmail.com>
Ryan Dahl <ry@tinyclouds.org>
Ryan Emery <seebees@gmail.com>
Expand Down
34 changes: 31 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ HUANG Wei <grubbyfans@gmail.com>
DC <dcposch@dcpos.ch>
Daniel Turing <mail@danielturing.com>
Julie Pagano <julie.pagano@gmail.com>
Ruben Bridgewater <ruben.bridgewater@fintura.de>
Ruben Bridgewater <ruben@bridgewater.de>
Felix Becker <felix.b@outlook.com>
Igor Klopov <igor@klopov.com>
Tsarevich Dmitry <dimhotepus@users.noreply.github.com>
Expand Down Expand Up @@ -1493,7 +1493,7 @@ Sreepurna Jasti <sreepurna.jasti@gmail.com>
Rafael Fragoso <rafaelfragosom@gmail.com>
Andrei Cioromila <andrei.cioromila@gmail.com>
Frank Lanitz <frank@frank.uvena.de>
XadillaX <admin@xcoder.in>
Khaidi Chu <admin@xcoder.in>
Akshay Iyer <c.m.akshay.iyer@gmail.com>
Rick Bullotta <RickBullotta@users.noreply.github.com>
Rajaram Gaunker <zimbabao@gmail.com>
Expand Down Expand Up @@ -1532,7 +1532,6 @@ Dan Homola <dan.homola@hotmail.cz>
cornholio <0@mcornholio.ru>
Tamás Hódi <tamas.hodi@risingstack.com>
DuanPengfei <2459714173@qq.com>
Ruben Bridgewater <ruben@bridgewater.de>
Lakshmi Swetha Gopireddy <lakshmiswethagopireddy@gmail.com>
Rob Wu <rob@robwu.nl>
Steven Winston <swinston100@hotmail.com>
Expand Down Expand Up @@ -2036,5 +2035,34 @@ Hannes Magnusson <hannes.magnusson@creditkarma.com>
ChungNgoops <mr.mvagusta@gmail.com>
Jose M. Palacios Diaz <jmpd1988@gmail.com>
hmammedzadeh <hasan.mammed-zadeh@commercetools.de>
IHsuan <frostyjoan0829@livemail.tw>
Francisco Gerardo Neri Andriano <on_neri@hotmail.com>
Shilo Mangam <smangam@gmail.com>
idandagan1 <idandagan1@gmail.com>
Cameron Moorehead <hello@cameronmoorehead.com>
TomerOmri <tomer92@gmail.com>
Collins Abitekaniza <abtcolns@gmail.com>
Federico Kauffman <fede.kau@gmail.com>
Benno Fünfstück <benno.fuenfstueck@gmail.com>
Ram Goli <ramsgoli@gmail.com>
babygoat <babygoat1124@gmail.com>
Will Clark <willclarktech@users.noreply.github.com>
Jem Bezooyen <jem@hipmedia.ca>
Haejin Jo <professionalhaejin@gmail.com>
Hakan Kimeiga <hak7alp@gmail.com>
Tyler <tyler.z.yang@gmail.com>
Shinya Kanamaru <mn131bb@gmail.com>
you12724 <you12724@gmail.com>
routerman <h.okano.looz@gmail.com>
April Webster <awebster@us.ibm.com>
Jure Triglav <juretriglav@gmail.com>
alnyan <qShadowp@gmail.com>
rt33 <rt33@lastcycle.com>
Ulmanb <barulman@gmail.com>
xortiz <xavier.ortiz.ch@gmail.com>
Waleed Ashraf <waleedashraf@outlook.com>
Mir Mufaqam Ali <mannanali413@gmail.com>
Nicholas Drane <nicholasdrane@gmail.com>
Shobhit Chittora <chittorashobhit@gmail.com>

# Generated by tools/update-authors.sh
45 changes: 25 additions & 20 deletions COLLABORATOR_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

* [Issues and Pull Requests](#issues-and-pull-requests)
- [Managing Issues and Pull Requests](#managing-issues-and-pull-requests)
- [Welcoming First-Time Contributiors](#welcoming-first-time-contributiors)
- [Welcoming First-Time Contributors](#welcoming-first-time-contributors)
- [Closing Issues and Pull Requests](#closing-issues-and-pull-requests)
* [Accepting Modifications](#accepting-modifications)
- [Code Reviews and Consensus Seeking](#code-reviews-and-consensus-seeking)
Expand Down Expand Up @@ -33,7 +33,7 @@
- [How is an LTS release cut?](#how-is-an-lts-release-cut)

This document contains information for Collaborators of the Node.js
project regarding maintaining the code, documentation, and issues.
project regarding managing the project's code, documentation, and issue tracker.

Collaborators should be familiar with the guidelines for new
contributors in [CONTRIBUTING.md](./CONTRIBUTING.md) and also
Expand All @@ -52,11 +52,11 @@ may also notify other qualified parties for more input on an issue
or a pull request.
[See "Who to CC in issues"](./doc/onboarding-extras.md#who-to-cc-in-issues)

### Welcoming First-Time Contributiors
### Welcoming First-Time Contributors

Courtesy should always be shown to individuals submitting issues and pull
requests to the Node.js project. Be welcoming to first-time contributors,
identified by the GitHub ![badge](./doc/first_timer_badge.png) badge.
identified by the GitHub ![First-time contributor](./doc/first_timer_badge.png) badge.

For first-time contributors, check if the commit author is the same as the
pull request author, and ask if they have configured their git
Expand Down Expand Up @@ -116,6 +116,11 @@ oppose the PR, it can be landed. Where there is disagreement among TSC members
or objections from one or more Collaborators, `semver-major` pull requests
should be put on the TSC meeting agenda.

#### Helpful resources

* How to respectfully and usefully review code, part [one](https://mtlynch.io/human-code-reviews-1/) and [two](https://mtlynch.io/human-code-reviews-2/)
* [How to write a positive code review](https://css-tricks.com/code-review-etiquette/)

### Waiting for Approvals

Before landing pull requests, sufficient time should be left for input
Expand All @@ -142,6 +147,7 @@ test should *fail* before the change, and *pass* after the change.
All pull requests that modify executable code should be subjected to
continuous integration tests on the
[project CI server](https://ci.nodejs.org/).
The pull request should have a CI status indicator if possible.

#### Useful CI Jobs

Expand Down Expand Up @@ -200,11 +206,10 @@ Node.js API are internal:
- Any native C/C++ APIs/ABIs exported by the Node.js `*.h` header files that
are hidden behind the `NODE_WANT_INTERNALS` flag are internal.

Exception to each of these points can be made if use or behavior of a given
internal API can be demonstrated to be sufficiently relied upon by the Node.js
ecosystem such that any changes would cause too much breakage. The threshold
for what qualifies as too much breakage is to be decided on a case-by-case
basis by the TSC.
Exceptions can be made if use or behavior of a given internal API can be
demonstrated to be sufficiently relied upon by the Node.js ecosystem such that
any changes would cause too much breakage. The threshold for what qualifies as
too much breakage is to be decided on a case-by-case basis by the TSC.

If it is determined that a currently undocumented object, property, method,
argument, or event *should* be documented, then a pull request adding the
Expand Down Expand Up @@ -243,14 +248,14 @@ properties to an options argument) are semver-minor changes.

#### Breaking Changes and Deprecations

With a few notable exceptions outlined below, when backwards incompatible
changes to a *Public* API are necessary, the existing API *must* be deprecated
*first* and the new API either introduced in parallel or added after the next
major Node.js version following the deprecation as a replacement for the
deprecated API. In other words, as a general rule, existing *Public* APIs
*must not* change (in a backwards incompatible way) without a deprecation.
With a few exceptions outlined below, when backward-incompatible changes to a
*Public* API are necessary, the existing API *must* be deprecated *first* and
the new API either introduced in parallel or added after the next major Node.js
version following the deprecation as a replacement for the deprecated API. In
other words, as a general rule, existing *Public* APIs *must not* change (in a
backward-incompatible way) without a deprecation.

Exception to this rule is given in the following cases:
Exceptions to this rule may be made in the following cases:

* Adding or removing errors thrown or reported by a Public API;
* Changing error messages;
Expand Down Expand Up @@ -351,7 +356,7 @@ recommended but not required.
### Deprecations

_Deprecation_ refers to the identification of Public APIs that should no longer
be used and that may be removed or modified in non-backwards compatible ways in
be used and that may be removed or modified in backward-incompatible ways in
a future major release of Node.js. Deprecation may be used with internal APIs if
there is expected impact on the user community.

Expand Down Expand Up @@ -491,7 +496,7 @@ Check and re-review the changes:
$ git diff upstream/master
```

Check number of commits and commit messages:
Check the number of commits and commit messages:

```text
$ git log upstream/master...master
Expand Down Expand Up @@ -652,7 +657,7 @@ commit final.
#### What is LTS?

Long Term Support (often referred to as *LTS*) guarantees application developers
a 30 month support cycle with specific versions of Node.js.
a 30-month support cycle with specific versions of Node.js.

You can find more information
[in the full release plan](https://github.com/nodejs/Release#release-plan).
Expand All @@ -665,7 +670,7 @@ certain performance improvements that can be demonstrated to not break existing
applications. Semver-minor changes are only permitted if required for bug fixes
and then only on a case-by-case basis with LTS WG and possibly Technical
Steering Committee (TSC) review. Semver-major changes are permitted only if
required for security related fixes.
required for security-related fixes.

Once a Current branch moves into Maintenance mode, only **critical** bugs,
**critical** security fixes, and documentation updates will be permitted.
Expand Down
32 changes: 14 additions & 18 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Contributing to Node.js

Contributions to Node.js may come in many forms. Some contribute code changes,
others contribute docs, others help answer questions from users, help keep the
infrastructure running, or seek out ways of advocating for Node.js users of all
types.
Contributions to Node.js include code, documentation, answering user questions,
running the project's infrastructure, and advocating for all types of Node.js
users.

The Node.js project welcomes all contributions from anyone willing to work in
good faith both with other contributors and with the community. No contribution
is too small and all contributions are valued.
good faith with other contributors and the community. No contribution is too
small and all contributions are valued.

This guide details the basic steps for getting started contributing to the
Node.js project's core `nodejs/node` GitHub Repository and describes what to
expect throughout each step of the process.
This guide explains the process for contributing to the Node.js project's core
`nodejs/node` GitHub Repository and describes what to expect at each step.

* [Code of Conduct](#code-of-conduct)
* [Bad Actors](#bad-actors)
Expand Down Expand Up @@ -201,9 +199,8 @@ functional guidelines of the Node.js project.

## Pull Requests

Pull Requests are the way in which concrete changes are made to the code,
documentation, dependencies, and tools contained with the `nodejs/node`
repository.
Pull Requests are the way concrete changes are made to the code, documentation,
dependencies, and tools contained in the `nodejs/node` repository.

There are two fundamental components of the Pull Request process: one concrete
and technical, and one more process oriented. The concrete and technical
Expand Down Expand Up @@ -605,12 +602,11 @@ your name on it. Congratulations and thanks for your contribution!
All Node.js contributors who choose to review and provide feedback on Pull
Requests have a responsibility to both the project and the individual making the
contribution. Reviews and feedback must be helpful, insightful, and geared
towards improving the contribution as opposed to simply blocking it or
stopping it. If there are reasons why you feel the PR should not land, explain
what those are. Do not expect to be able to block a Pull Request from advancing
simply because you say "No" without giving an explanation. It is also important
to be open to having your mind changed, and to being open to working with the
contributor to make the Pull Request better.
towards improving the contribution as opposed to simply blocking it. If there
are reasons why you feel the PR should not land, explain what those are. Do not
expect to be able to block a Pull Request from advancing simply because you say
"No" without giving an explanation. Be open to having your mind changed. Be open
to working with the contributor to make the Pull Request better.

Reviews that are dismissive or disrespectful of the contributor or any other
reviewers are strictly counter to the [Code of Conduct][].
Expand Down
21 changes: 21 additions & 0 deletions CPP_STYLE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* [Formatting](#formatting)
* [Left-leaning (C++ style) asterisks for pointer declarations](#left-leaning-c-style-asterisks-for-pointer-declarations)
* [C++ style comments](#c-style-comments)
* [2 spaces of indentation for blocks or bodies of conditionals](#2-spaces-of-indentation-for-blocks-or-bodies-of-conditionals)
* [4 spaces of indentation for statement continuations](#4-spaces-of-indentation-for-statement-continuations)
* [Align function arguments vertically](#align-function-arguments-vertically)
Expand Down Expand Up @@ -33,6 +34,26 @@ these rules:

`char* buffer;` instead of `char *buffer;`

## C++ style comments

Use C++ style comments (`//`) for both single-line and multi-line comments.
Comments should also start with uppercase and finish with a dot.

Examples:

```c++
// A single-line comment.

// Multi-line comments
// should also use C++
// style comments.
```

The codebase may contain old C style comments (`/* */`) from before this was the
preferred style. Feel free to update old comments to the preferred style when
working on code in the immediate vicinity or when changing/improving those
comments.

## 2 spaces of indentation for blocks or bodies of conditionals

```c++
Expand Down
Loading