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

v14.5.0 proposal #34093

Merged
merged 327 commits into from Jun 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
327 commits
Select commit Hold shift + click to select a range
8fc790b
doc,tools: properly syntax highlight API ref docs
DerekNonGeneric May 16, 2020
b23e4b2
net: refactor check for Windows
rickyes May 21, 2020
5fd5003
test: fix flaky test-trace-atomics-wait
addaleax May 16, 2020
be2ff7e
doc: fix typo in pathToFileURL example
aduh95 May 15, 2020
e0680cc
src: remove BeforeExit callback list
bnoordhuis May 16, 2020
3d7d6d4
wasi,worker: handle termination exception
bnoordhuis May 16, 2020
81a875f
doc: fix Buffer.from(object) documentation
seishun May 9, 2020
c0534f7
benchmark: fixing http_server_for_chunky_client.js
edsadr May 6, 2020
74fc5e9
tools: add docserve target
aduh95 May 3, 2020
dcbe0c0
buffer: remove hoisted variable
seishun May 19, 2020
d5aa413
Revert "src: fix missing extra ca in tls.rootCertificates"
ebickle May 8, 2020
2643b09
doc: correct tls.rootCertificates to match implementation
ebickle May 8, 2020
eff5737
worker: fix variable referencing in template string
HarshithaKP May 19, 2020
59d7318
dns: use ternary operator simplify statement
zhangwinning May 4, 2020
7338cfd
http2: reuse ._onTimeout() in Http2Session and Http2Stream classes
rickyes May 11, 2020
88da66a
inspector: throw error when activating an already active inspector
joyeecheung Apr 23, 2020
3d2e7e7
esm: share package.json cache between ESM and CJS loaders
shackijj May 4, 2020
6c5fd53
src: use MaybeLocal::FromMaybe to return exception
danbev May 22, 2020
53af2d4
deps: uvwasi: cherry-pick 9e75217
cjihrig May 23, 2020
bba3150
wasi: refactor and enable poll_oneoff() test
cjihrig May 23, 2020
58cf43b
wasi: simplify WASI memory management
cjihrig May 23, 2020
3b0a299
tools: update ESLint to 7.1.0
cjihrig May 23, 2020
44cd26b
doc: normalize Bash code block info strings
DerekNonGeneric May 22, 2020
f2bb2d7
doc: normalize C code block info strings
DerekNonGeneric May 21, 2020
754c7ef
doc: normalize shell code block info strings
DerekNonGeneric May 20, 2020
35d6800
crypto: fix wrong error message
benbucksch May 20, 2020
f0bca4a
util: fix inspection of class instance prototypes
BridgeAR May 17, 2020
de69354
http: tidy up exposure of header validation
osher May 12, 2020
f55453f
build: fix makefile script on windows
Hakerh400 Apr 28, 2020
b2b67de
build: fix inability to detect correct python command in configure
eli-schwartz Apr 19, 2020
30e2d4c
src: use const in constant args.Length()
himself65 May 25, 2020
9e1fb0f
test: make flaky test stricter
ronag May 24, 2020
c85f41e
module: remove dynamicInstantiate loader hook
jkrems May 21, 2020
609d395
src: use NewFromUtf8Literal in GetLinkedBinding
danbev May 25, 2020
6cf58d4
src: use MaybeLocal.ToLocal instead of IsEmpty
danbev May 25, 2020
18e057c
events: initial implementation of experimental EventTarget
jasnell May 23, 2020
f0be9f5
src: remove unused using declarations
danbev May 26, 2020
942aec2
tools: fix check-imports.py to match on word boundaries
richardlau May 6, 2020
7a915b2
http: simplify Agent initialization
himself65 May 25, 2020
3b9e9b6
meta: add flaky test issue template
May 21, 2020
3acb6f2
n-api: remove `napi_env::CallIntoModuleThrow`
May 26, 2020
026fe07
http2: use `Object.create(null)` for `getHeaders`
rexagod Apr 25, 2020
860c8aa
build: fix python-version selection with actions
richardlau May 27, 2020
0e7d26c
src: don't use semicolon outside function
codebytere May 27, 2020
3a53c2f
doc: update ```txt ```fandamental and ```raw code blocks
zeke Apr 23, 2020
a2c42b0
http2: add type checks for Http2ServerResponse.end
rexagod Apr 26, 2020
c276e7f
win: allow skipping the supported platform check
joaocgreis Apr 30, 2020
393e894
http2: add writable* properties to compat api
rexagod May 22, 2020
b90565f
build: fix GetCurrentThreadStackLimits error on Windows on Arm
richard-townsend-arm May 22, 2020
27f8378
build: zlib build error on Windows on Arm
richard-townsend-arm May 22, 2020
b7551e9
errors: fully inspect errors on exit
BridgeAR May 22, 2020
3b3621b
console: remove dead code
BridgeAR May 22, 2020
71cabcd
console: mark special console properties as non-enumerable
BridgeAR May 22, 2020
1356211
console: name console functions appropriately
BridgeAR May 22, 2020
481fbbb
doc: add --experimental-top-level-await to man page
cjihrig May 23, 2020
e02eb8a
doc: outline when origin is set to unhandledRejection
BridgeAR May 23, 2020
6f41e29
doc: normalize JavaScript code block info strings
DerekNonGeneric May 23, 2020
3e2974d
build: add --v8-lite-mode flag
cician May 24, 2020
aa709ac
doc: normalize Markdown code block info strings
DerekNonGeneric May 24, 2020
e3cdc03
wasi: allow WASI stdio to be configured
cjihrig Mar 26, 2020
66312b0
doc: improve buffer.md a tiny bit
tomanagle May 24, 2020
99a5301
cli: add alias for report-directory to make it consistent
May 27, 2020
2006d60
events: add tests, better toString
benjamingr May 28, 2020
4b7ffa5
events: fix event-target enumerable keys
benjamingr May 28, 2020
9148e01
napi: add __wasm32__ guards
devsnek May 28, 2020
8d4180f
src: use MaybeLocal.ToLocal instead of IsEmpty worker
danbev May 28, 2020
595ce11
doc: fix urls to avoid redirection
sapics May 28, 2020
ee6dafa
fs: support util.promisify for fs.readv
lholmquist May 27, 2020
dc10949
events: variable originalListener is useless
fuxingZhang May 28, 2020
6cadb00
src: avoid OOB read in URL parser
addaleax May 29, 2020
39f42d1
src: extract AllocatedBuffer from env.h
jasnell May 7, 2020
ee6ec14
src: turn AllocatedBuffer into thin wrapper around v8::BackingStore
jasnell May 14, 2020
0bd3c0a
src: remove superfluous inline keywords
jasnell May 14, 2020
b2d3c58
src: simplify MaybeStackBuffer::capacity()
bnoordhuis May 28, 2020
3a7b722
test: uv_tty_init now returns EINVAL on IBM i
dmabupt May 29, 2020
c44b504
dns: make dns.Resolver timeout configurable
bnoordhuis May 19, 2020
449aa30
meta: wrap flaky test template at 80 characters
cjihrig May 31, 2020
fcf6c17
meta: fix a typo in the flaky test template
cjihrig May 31, 2020
73c3f7c
build: fix node.gyp config
gengjiawen Jun 1, 2020
54a2f3d
lib: add Int16Array primordials
Sebastien-Ahkrin Jan 6, 2020
d07e7b8
deps: V8: backport ea0719b8ed08
joyeecheung May 29, 2020
37f25fa
deps: V8: backport bb9f0c2b2fe9
joyeecheung May 29, 2020
c0188ee
deps: V8: backport 22014de00115
joyeecheung May 29, 2020
f54fb3c
doc: remove "it is important"
cjihrig May 31, 2020
9a2631a
doc: use consistent Default: in events
cjihrig May 31, 2020
222937c
src: simplify format in node_file.cc
himself65 May 30, 2020
440ab41
events: deal with Symbol() passed to event constructor
May 31, 2020
d505503
build: fix compiling addons with older versions of Node.js
richardlau Jun 1, 2020
d4525bf
doc: add lint disabling comment for collaborator list
Trott Jun 4, 2020
4a8d714
doc: remove shell dollar signs without output
nschonni Jun 2, 2020
9bbb145
event: cancelBubble is a property
benjamingr May 28, 2020
d9dd141
doc: fix typo in cli.md for report-dir
Jun 4, 2020
0372b94
src: remove unnecessary ToLocalChecked call
danbev Jun 1, 2020
d6d845d
src: use ToLocal in SafeGetenv
danbev Jun 2, 2020
8d3515f
events: deal with no argument case
benjamingr May 28, 2020
eb28669
events: set target property to null
benjamingr May 28, 2020
1673da1
events: support useCapture boolean
benjamingr May 28, 2020
e9627bc
test: changed function to arrow function
sagar-jadhav Jun 3, 2020
23dbc8a
build: output dots in "Build from tarball" action
targos Jun 2, 2020
832d1ae
tools: update remark-preset-lint-node from 1.15.0 to 1.15.1
Trott Jun 4, 2020
527b53c
benchmark: fix async-resource benchmark
addaleax May 29, 2020
9246283
stream: fix the spellings
antsmartian May 29, 2020
913024c
doc: remove default parameter value from header
Trott Jun 5, 2020
d67c5d8
doc: change "pre Node.js v0.10" to "prior to Node.js 0.10"
Trott Jun 5, 2020
83f499b
doc: add formatting for version numbers to doc-style-guide.md
Trott Jun 5, 2020
5ab03b1
doc: remove "currently" from util.md
Trott Jun 5, 2020
b7b9ff8
doc: remove "currently" from addons.md
Trott Jun 5, 2020
f964f2f
doc: remove "currently" from vm.md
Trott Jun 5, 2020
328ffb6
doc: remove "currently" from events.md
Trott Jun 5, 2020
f7373de
doc: remove "currently" from repl.md
Trott Jun 5, 2020
8d0cf01
doc: fix linting in doc-style-guide.md
rexagod Jun 7, 2020
6e33929
src: use Check() instead of FromJust in environment
danbev Jun 3, 2020
092138a
build: add LINT_CPP_FILES to checkimports check
danbev Jun 2, 2020
2b5898e
tools: remove unused using declarations code_cache
danbev Jun 2, 2020
b1f6584
src,build: add --openssl-default-cipher-list
danbev Jun 3, 2020
de48495
src: add "missing" bash completion options
danbev Jun 5, 2020
c7e2ec1
src: simplify Reindent function in json_utils.cc
sapics Jun 4, 2020
8991467
deps: V8: cherry-pick b5939c758924
Jun 2, 2020
a96c68c
deps: V8: cherry-pick 4e1bf2bc92bd
Jun 2, 2020
3ccb779
events: improve arrayClone performance
mscdex Jun 6, 2020
e1b0651
doc: update V8 inspector example
cjihrig Jun 5, 2020
ab668ab
inspector: drop 'chrome-' from inspector url
cjihrig Jun 5, 2020
5261911
test: fix invalid regular expressions in case test-trace-exit
legendecas Jun 6, 2020
1da3baa
win,msi: add arm64 config for windows msi
dennisameling Jun 1, 2020
ec804f2
zlib: add `maxOutputLength` option
rosaxxny May 22, 2020
4bb0670
test: temporarily exclude test on arm
mhdawson Jun 9, 2020
576866d
n-api: ensure scope present for finalization
mhdawson May 22, 2020
1b27e59
doc: standardize constructor doc header layout
Trott Jun 7, 2020
88a282f
doc: fix misc. mislabeled code block info strings
DerekNonGeneric May 24, 2020
d1fa20f
doc: use single quotes in --tls-cipher-list
danbev Jun 3, 2020
df3fdd7
doc: add snippet for AsyncResource and EE integration
puzpuzpuz Jun 5, 2020
3b9d9cc
vm: allow proxy callbacks to throw
devsnek Jun 9, 2020
4125996
src: remove unused `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER`
addaleax Jun 9, 2020
92983f2
src: handle missing TracingController everywhere
addaleax Jun 9, 2020
f135642
src: do not track BaseObjects via cleanup hooks
addaleax Jun 9, 2020
c72fe8f
src: reduce FileHandle size by reordering fields
addaleax Jun 6, 2020
bce2bba
Revert "test: stop testing --interpreted-frames-native-stack for s390x"
targos Jun 8, 2020
c85bf0a
querystring: improve stringify() performance
mscdex May 31, 2020
17faad6
tools: update ESLint to 7.2.0
cjihrig Jun 6, 2020
fc99bb9
esm: fix loader hooks doc annotations
DerekNonGeneric May 20, 2020
998f8c2
doc: move --force-context-aware option in cli.md
danbev Jun 10, 2020
8ea4c37
src: avoid unnecessary ToLocalChecked calls
danbev Jun 10, 2020
7f67c2c
src: remove unused vector include in string_bytes
danbev Jun 10, 2020
a5ff49c
src: remove ref to tools/generate_code_cache.js
danbev Jun 10, 2020
7304af0
tools: remove unused vector include in mkdcodecache
danbev Jun 10, 2020
181fa63
tools: prevent js2c from running if nothing changed
danbev Jun 11, 2020
1cf0852
src: add public APIs to manage v8::TracingController
addaleax Jun 11, 2020
a38a4ae
test: add common/udppair utility
jasnell May 12, 2020
7169dc0
events: lazy load perf_hooks for EventTarget
jasnell Jun 4, 2020
be300cf
process: add unhandled-rejection throw and warn-with-error-code
dfabulich May 20, 2020
4383627
doc,stream: split finish and end events into separate entries
Trott Jun 14, 2020
a03d2b5
n-api: document nextTick timing in callbacks
mafintosh Jun 9, 2020
7cbbd8f
events: improve listeners() performance
mscdex Jun 13, 2020
b777bbb
tools: update remark-preset-lint-node@1.15.1 to 1.16.0
Trott Jun 11, 2020
17edf65
events: use property, primordials
benjamingr Jun 6, 2020
8bc1f66
doc: specify default encoding in writable.write
rexagod Jun 6, 2020
6213f89
doc: link readable._read in stream.md
rexagod Jun 6, 2020
50cc0ed
deps: V8: cherry-pick eec10a2fd8fa
Qard Jun 6, 2020
6fca493
dgram: allow typed arrays in .send()
SirR4T Aug 20, 2018
2430c42
lib: replace charCodeAt with fixed Unicode
rickyes Apr 10, 2020
28dcfd1
http: return this from IncomingMessage#destroy()
cjihrig Apr 11, 2020
e76ee87
http: return this from ClientRequest#destroy()
cjihrig May 9, 2020
277b45d
http: return this from OutgoingMessage#destroy()
cjihrig May 9, 2020
eb2e31e
doc: standardize on sentence case for headers
Trott Jun 15, 2020
e8cbefe
src: simplify alignment-handling code
addaleax Jun 14, 2020
7af5cfc
util: gracefully handle unknown colors
BridgeAR Jun 8, 2020
22c764f
async_hooks: callback trampoline for MakeCallback
Qard Jun 6, 2020
ad31b2a
domain: remove native domain code
Qard Jun 9, 2020
58d5529
module: fix error message about importing names from cjs
fabiosantoscode Jun 14, 2020
c46543d
http2: always call callback on Http2ServerResponse#end
rexagod Jun 16, 2020
24e6de8
doc: update WASM code sample
pragyandas May 28, 2020
1af2643
meta: introduce codeowners again
jasnell Jun 15, 2020
1753562
http: add maxTotalSockets to agent class
rickyes May 28, 2020
8197a7d
doc: use Class: consistently
Trott Jun 19, 2020
5572b3e
doc: change "GitHub Repo" to "Code repository"
Trott Jun 20, 2020
59ca593
deps: V8: cherry-pick 767e65f945e7
devsnek Jun 12, 2020
9a4a283
lib: remove manual exception handling in queueMicrotask
devsnek Jun 12, 2020
1e6a049
http: don't throw on `Uint8Array`s for `http.ServerResponse#write`
rexagod May 3, 2020
7fdb507
Revert "http: set IncomingMessage.destroyed"
ronag Jun 1, 2020
f50febc
src: introduce BaseObject base FunctionTemplate
addaleax Apr 8, 2020
11daf8b
worker: allow transferring/cloning generic BaseObjects
addaleax Apr 9, 2020
8be7c37
src: add equality operators for BaseObjectPtr
addaleax Jun 6, 2020
c28726b
worker: allow passing JS wrapper objects via postMessage
addaleax Jun 6, 2020
32bb67a
worker,fs: make FileHandle transferable
addaleax Jun 6, 2020
6cd924d
worker: emit `'messagerror'` events for failed deserialization
addaleax Jun 8, 2020
d986840
doc: fix lexical sorting of bottom-references in dns doc
Trott Jun 20, 2020
660b130
build: add target specific build_type variable
danbev Jun 17, 2020
2e36b19
src: remove unnecessary ToLocalChecked call
danbev Jun 16, 2020
47280e0
doc: warn that tls.connect() doesn't set SNI
mildsunrise Jun 12, 2020
7381853
src: improve indention for upd_wrap.cc
gengjiawen Jun 19, 2020
fa8636c
test: fix typo in common/index.js
gengjiawen Jun 19, 2020
b6dc51a
doc: update fs.md
Shakil-Shahadat Jun 10, 2020
ccaa282
http: expose host and protocol on ClientRequest
Jun 9, 2020
c319b5f
doc: revise text in dns module documentation introduction
Trott Jun 20, 2020
f6d1aba
test: account for non-node basename
codebytere Jun 18, 2020
2134935
src: rename internal key handles to KeyObjectHandle
tniessen May 10, 2020
b8c1f59
src: add NativeKeyObject base class
tniessen May 10, 2020
ba7a653
src: store key data in separate class
tniessen May 11, 2020
622ad15
crypto: allow KeyObjects in postMessage
tniessen May 11, 2020
5030370
doc: piping from async generators using pipeline()
WilliamConnatser Jun 21, 2020
bc7a251
lib: improve debuglog() performance
mscdex Mar 14, 2020
3874358
doc: use a single space between sentences
Trott Jun 20, 2020
9d4816e
doc: correct default values in http2 docs
Trott Jun 21, 2020
3ee9604
fs: implement lutimes
arcanis May 14, 2020
cd7812e
doc: use npm team for npm upgrades in collaborator guide
Trott Jun 21, 2020
34c84c0
internal: rename error-serdes for consistency
evanlucas Jun 8, 2020
a914a6a
doc: clarify thread-safe function references
legendecas Jun 14, 2020
b5a8a76
tools: remove superfluous regex in tools/doc/json.js
Trott Jun 21, 2020
eaf5e21
events: use internal/validators in event_target.js
lundibundi May 30, 2020
655422a
events: fix depth in customInspectSymbol and clean up
lundibundi May 30, 2020
6659aec
events: fix EventTarget support
benjamingr May 30, 2020
5810885
events: Handle a range of this values for dispatchEvent
Zirak May 30, 2020
a3a6a4d
events: expose Event statics
benjamingr May 29, 2020
6ac767c
events: support event handlers
benjamingr May 29, 2020
3190d85
event: cancelBubble is a property
benjamingr May 28, 2020
79339d7
events: add event-target tests
jasnell Jun 22, 2020
f462057
events: support dispatching event from event
jasnell Jun 22, 2020
a711165
events: improve argument handling, start passive
jasnell Jun 22, 2020
8c48ef5
benchmark: fix EventTarget benchmark
mscdex Jun 21, 2020
15b6d38
src: reduce scope of code cache mutex
addaleax Jun 19, 2020
205bddb
test: AsyncLocalStorage works with thenables
Flarna Jun 6, 2020
2fe5622
doc: fix lexical sorting of bottom-references in http doc
rexagod Jun 22, 2020
7ff96fc
http: used already defined validator for boolean check
yashLadha Jun 4, 2020
9037ab3
test: print arguments passed to mustNotCall function
lundibundi Jun 18, 2020
a0d6219
querystring: fix stringify for empty array
sapics Jun 17, 2020
0190cf6
src: fix FastStringKey equal operator
sapics Jun 5, 2020
29e857f
fs: fix realpath inode link caching
lundibundi Jun 18, 2020
f0f9b6d
build: configure byte order for mips targets
bnoordhuis Jun 16, 2020
a4c63c7
configure: account for CLANG_VENDOR when checking for llvm version
Jun 12, 2020
8a6a644
src: handle empty Maybe(Local) in node_util.cc
addaleax Jun 13, 2020
7b06c9c
src: use ToLocal in node_os.cc
Jun 18, 2020
b641a13
doc: add allowed info strings to style guide
DerekNonGeneric Jun 23, 2020
b86cef9
util: support Combining Diacritical Marks for Symbols
BridgeAR May 30, 2020
63c9e16
util: fix width detection for DEL without ICU
BridgeAR May 30, 2020
e3060dd
http2: return this for Http2ServerRequest#setTimeout
rexagod Jun 20, 2020
ced68bf
src: remove unnecessary calculation in base64.h
sapics Jun 9, 2020
4875a51
worker: add public method for marking objects as untransferable
addaleax Jun 19, 2020
5692d5e
src: fix ParseEncoding
sapics Jun 16, 2020
7fa3c46
doc: specify maxHeaderCount alias for maxHeaderListPairs
rexagod May 22, 2020
a08f798
test: add test for Http2ServerResponse#[writableCorked,cork,uncork]
rexagod Jun 18, 2020
82b05e8
src: clang_format base_object
yashLadha Jun 1, 2020
2510ffc
src: tolerate EPERM returned from tcsetattr
branchseer Jun 18, 2020
a35dbac
lib,src: remove cpu profiler idle notifier
bnoordhuis Jun 22, 2020
024628a
fs: fix readdir failure when libuv returns UV_DIRENT_UNKNOWN
shackijj May 14, 2020
4c7b03b
events: fix add-remove-add case in EventTarget
addaleax Jun 25, 2020
3fe1cee
src: add errorProperties on process.report
himself65 Jun 25, 2019
1fcfc41
test: add non-ASCII character embedding test
addaleax Jun 19, 2020
9637ee6
stream: runtime deprecate Transform._transformState
ronag Apr 28, 2020
ac41bf0
n-api: add version to wasm registration
devsnek Jun 25, 2020
abb5e1a
2020-06-30, Version 14.5.0 (Current)
codebytere Jun 28, 2020
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintrc.js
Expand Up @@ -59,7 +59,7 @@ module.exports = {
],
rules: {
// ESLint built-in rules
// http://eslint.org/docs/rules
// https://eslint.org/docs/rules/
'accessor-pairs': 'error',
'array-callback-return': 'error',
'arrow-parens': ['error', 'always'],
Expand Down
76 changes: 76 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
@@ -0,0 +1,76 @@
# Node.js Project Codeowners

# 1. Codeowners must always be teams, never individuals
# 2. Each codeowner team should contain at least one TSC member
# 3. PRs touching any code with a codeowner must be signed off by at least one
# person on the code owner team.

./.github/CODEOWNERS @nodejs/tsc

# net

# ./deps/cares @nodejs/net
# ./doc/api/dns.md @nodejs/net
# ./doc/api/dgram.md @nodejs/net
# ./doc/api/net.md @nodejs/net
# ./lib/dgram.js @nodejs/net
# ./lib/dns.js @nodejs/net
# ./lib/net.js @nodejs/net @nodejs/quic
# ./lib/internal/dgram.js @nodejs/net
# ./lib/internal/dns/* @nodejs/net
# ./lib/internal/net.js @nodejs/net
# ./lib/internal/socket_list.js @nodejs/net
# ./lib/internal/js_stream_socket.js @nodejs/net
# ./src/cares_wrap.h @nodejs/net
# ./src/connect_wrap.* @nodejs/net
# ./src/connection_wrap.* @nodejs/net
# ./src/node_sockaddr* @nodejs/net
# ./src/tcp_wrap.* @nodejs/net
# ./src/udp_wrap.* @nodejs/net

# tls/crypto

# ./lib/internal/crypto/* @nodejs/crypto
# ./lib/internal/tls.js @nodejs/crypto @nodejs/net
# ./lib/crypto.js @nodejs/crypto
# ./lib/tls.js @nodejs/crypto @nodejs/net
# ./src/node_crypto* @nodejs/crypto
# ./src/node_crypto_common* @nodejs/crypto @nodejs/quic

# http

# ./deps/llhttp/* @nodejs/http @nodejs/net
# ./doc/api/http.md @nodejs/http @nodejs/net
# ./doc/api/http2.md @nodejs/http @nodejs/net
# ./lib/_http_* @nodejs/http @nodejs/net
# ./lib/http.js @nodejs/http @nodejs/net
# ./lib/https.js @nodejs/crypto @nodejs/net @nodejs/http
# ./src/node_http_common* @nodejs/http @nodejs/http2 @nodejs/quic @nodejs/net
# ./src/node_http_parser.cc @nodejs/http @nodejs/net

# http2

# ./deps/nghttp2/* @nodejs/http2 @nodejs/net
# ./doc/api/http2.md @nodejs/http2 @nodejs/net
# ./lib/http2.js @nodejs/http2 @nodejs/net
# ./lib/internal/http2/* @nodejs/http2 @nodejs/net
# ./src/node_http2* @nodejs/http2 @nodejs/net
# ./src/node_mem* @nodejs/http2

# quic

./deps/ngtcp2/* @nodejs/quic
./deps/nghttp3/* @nodejs/quic
./doc/api/quic.md @nodejs/quic
./lib/internal/quic/* @nodejs/quic
./src/node_bob* @nodejs/quic
./src/quic/* @nodejs/quic

# modules

# ./doc/api/modules.md @nodejs/modules
# ./doc/api/esm.md @nodejs/modules
# ./lib/module.js @nodejs/modules
# ./lib/internal/modules/* @nodejs/modules
# ./lib/internal/bootstrap/loaders.js @nodejs/modules
# ./src/module_wrap* @nodejs/modules @nodejs/vm
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/4-report-a-flaky-test.md
@@ -0,0 +1,34 @@
---
name: Report a flaky test
about: Report a flaky test in our CI
labels: "CI / flaky test"

---

<!--
Thank you for reporting a flaky test.

Flaky tests are tests that fail occasionally in the Node.js CI, but not
consistently enough to block PRs from landing, or that are failing in CI jobs or
test modes that are not run for every PR.

Please fill in as much of the template below as you're able.

Test: The test that is flaky - e.g. `test-fs-stat-bigint`
Platform: The platform the test is flaky on - e.g. `macos` or `linux`
Console Output: A pasted console output from a failed CI job showing the whole
failure of the test
Build Links: Links to builds affected by the flaky test

If any investigation has been done, please include any information found, such
as how consistently the test fails, whether the failure could be reproduced
locally, when the test started failing, or anything else you think is relevant.
-->

* **Test**:
* **Platform**:
* **Console Output:**
```
REPLACE ME
```
* **Build Links**:
2 changes: 1 addition & 1 deletion .github/SUPPORT.md
Expand Up @@ -17,7 +17,7 @@ resources:
* [Questions tagged 'node.js' on Stack Overflow](https://stackoverflow.com/questions/tagged/node.js)
* [#node.js channel on chat.freenode.net](https://webchat.freenode.net?channels=node.js&uio=d4)
* [Node.js Slack Community](https://node-js.slack.com/)
* To register: [nodeslackers.com](http://www.nodeslackers.com/)
* To register: [nodeslackers.com](https://www.nodeslackers.com/)

GitHub issues are for tracking enhancements and bugs, not general support.

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-tarball.yml
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Test
run: |
cd $TAR_DIR
make run-ci -j2 V=1
make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"
test-tarball-windows:
needs: build-tarball
runs-on: windows-latest
Expand Down Expand Up @@ -138,4 +138,4 @@ jobs:
- name: Test
run: |
cd $TAR_DIR
make run-ci -j8 V=1
make run-ci -j8 V=1 TEST_CI_ARGS="-p dots"
4 changes: 2 additions & 2 deletions .github/workflows/linters.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Lint C/C++ files
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Lint Python
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/test-asan.yml
@@ -1,6 +1,12 @@
name: test-asan

on: [push, pull_request]
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'

env:
PYTHON_VERSION: 3.8
Expand All @@ -24,5 +30,5 @@ jobs:
run: npx envinfo
- name: Build
run: make build-ci -j2 V=1
- name: Test cctest
run: make cctest -j2 V=1
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p dots"
4 changes: 2 additions & 2 deletions BUILDING.md
Expand Up @@ -695,7 +695,7 @@ that works for both your host and target environments.
### Build with a specific ICU

You can find other ICU releases at
[the ICU homepage](http://icu-project.org/download).
[the ICU homepage](http://site.icu-project.org/download).
Download the file named something like `icu4c-**##.#**-src.tgz` (or
`.zip`).

Expand Down Expand Up @@ -726,7 +726,7 @@ $ ./configure --with-intl=full-icu --with-icu-source=http://url/to/icu.tgz
#### Windows

First unpack latest ICU to `deps/icu`
[icu4c-**##.#**-src.tgz](http://icu-project.org/download) (or `.zip`)
[icu4c-**##.#**-src.tgz](http://site.icu-project.org/download) (or `.zip`)
as `deps/icu` (You'll have: `deps/icu/source/...`)

```console
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -31,7 +31,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.4.0">14.4.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.5.0">14.5.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.4.0">14.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.3.0">14.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.2.0">14.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.1.0">14.1.0</a><br/>
Expand Down
33 changes: 33 additions & 0 deletions LICENSE
Expand Up @@ -1448,6 +1448,39 @@ The externally maintained libraries used by Node.js are:
THE POSSIBILITY OF SUCH DAMAGE.
"""

- highlight.js, located at doc/api_assets/highlight.pack.js, is licensed as follows:
"""
BSD 3-Clause License

Copyright (c) 2006, Ivan Sagalaev.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""

- node-heapdump, located at src/heap_utils.cc, is licensed as follows:
"""
ISC License
Expand Down
31 changes: 18 additions & 13 deletions Makefile
Expand Up @@ -17,6 +17,7 @@ GNUMAKEFLAGS += --no-print-directory
GCOV ?= gcov
PWD = $(CURDIR)
BUILD_WITH ?= make
FIND ?= find

ifdef JOBS
PARALLEL_ARGS = -j $(JOBS)
Expand Down Expand Up @@ -97,13 +98,12 @@ help: ## Print help for targets with comments.
# and recreated which can break the addons build when running test-ci
# See comments on the build-addons target for some more info
ifeq ($(BUILD_WITH), make)
$(NODE_EXE): config.gypi out/Makefile
$(MAKE) -C out BUILDTYPE=Release V=$(V)
if [ ! -r $@ -o ! -L $@ ]; then ln -fs out/Release/$(NODE_EXE) $@; fi

$(NODE_G_EXE): config.gypi out/Makefile
$(MAKE) -C out BUILDTYPE=Debug V=$(V)
if [ ! -r $@ -o ! -L $@ ]; then ln -fs out/Debug/$(NODE_EXE) $@; fi
$(NODE_EXE): build_type:=Release
$(NODE_G_EXE): build_type:=Debug
$(NODE_EXE) $(NODE_G_EXE): config.gypi out/Makefile
$(MAKE) -C out BUILDTYPE=${build_type} V=$(V)
if [ ! -r $@ -o ! -L $@ ]; then \
ln -fs out/${build_type}/$(NODE_EXE) $@; fi
else
ifeq ($(BUILD_WITH), ninja)
ifeq ($(V),1)
Expand Down Expand Up @@ -168,7 +168,7 @@ uninstall: ## Uninstalls node from $PREFIX (default=/usr/local).
clean: ## Remove build artifacts.
$(RM) -r out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) \
out/$(BUILDTYPE)/node.exp
@if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' -o -name '*.d' | xargs $(RM) -r; fi
@if [ -d out ]; then $(FIND) out/ -name '*.o' -o -name '*.a' -o -name '*.d' | xargs $(RM) -r; fi
$(RM) -r node_modules
@if [ -d deps/icu ]; then echo deleting deps/icu; $(RM) -r deps/icu; fi
$(RM) test.tap
Expand Down Expand Up @@ -737,7 +737,7 @@ out/doc/api/assets:

# If it's not a source tarball, we need to copy assets from doc/api_assets
out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets
@cp $< $@
@cp $< $@ ; $(RM) out/doc/api/assets/README.md


run-npm-ci = $(PWD)/$(NPM) ci
Expand Down Expand Up @@ -772,6 +772,11 @@ out/doc/api/all.json: $(apidocs_json) tools/doc/alljson.js
docopen: $(apidocs_html)
@$(PYTHON) -mwebbrowser file://$(PWD)/out/doc/api/all.html

.PHONY: docserve
docserve: $(apidocs_html)
@$(PYTHON) -mwebbrowser http://localhost:8000/all.html
@$(PYTHON) -m http.server -d $(PWD)/out/doc/api

.PHONY: docclean
docclean:
$(RM) -r out/doc
Expand Down Expand Up @@ -1199,7 +1204,7 @@ LINT_MD_NEWER = -newer tools/.mdlintstamp
endif

LINT_MD_TARGETS = doc src lib benchmark test tools/doc tools/icu $(wildcard *.md)
LINT_MD_FILES = $(shell find $(LINT_MD_TARGETS) -type f \
LINT_MD_FILES = $(shell $(FIND) $(LINT_MD_TARGETS) -type f \
! -path '*node_modules*' ! -path 'test/fixtures/*' -name '*.md' \
$(LINT_MD_NEWER))
run-lint-md = tools/lint-md.js -q -f --no-stdout $(LINT_MD_FILES)
Expand Down Expand Up @@ -1322,13 +1327,13 @@ else
CPPLINT_QUIET = --quiet
endif
.PHONY: lint-cpp
# Lints the C++ code with cpplint.py and check-imports.py.
# Lints the C++ code with cpplint.py and checkimports.py.
lint-cpp: tools/.cpplintstamp

tools/.cpplintstamp: $(LINT_CPP_FILES)
@echo "Running C++ linter..."
@$(PYTHON) tools/cpplint.py $(CPPLINT_QUIET) $?
@$(PYTHON) tools/check-imports.py
@$(PYTHON) tools/checkimports.py $?
@touch $@

.PHONY: lint-addon-docs
Expand Down Expand Up @@ -1378,7 +1383,7 @@ CONFLICT_RE=^>>>>>>> [0-9A-Fa-f]+|^<<<<<<< [A-Za-z]+
# Related CI job: node-test-linter
lint-ci: lint-js-ci lint-cpp lint-py lint-md lint-addon-docs
@if ! ( grep -IEqrs "$(CONFLICT_RE)" benchmark deps doc lib src test tools ) \
&& ! ( find . -maxdepth 1 -type f | xargs grep -IEqs "$(CONFLICT_RE)" ); then \
&& ! ( $(FIND) . -maxdepth 1 -type f | xargs grep -IEqs "$(CONFLICT_RE)" ); then \
exit 0 ; \
else \
echo "" >&2 ; \
Expand Down
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -152,6 +152,7 @@ For information about the governance of the Node.js project, see

### TSC (Technical Steering Committee)

<!--lint disable prohibited-strings-->
* [addaleax](https://github.com/addaleax) -
**Anna Henningsen** &lt;anna@addaleax.net&gt; (she/her)
* [apapirovski](https://github.com/apapirovski) -
Expand Down Expand Up @@ -545,6 +546,7 @@ For information about the governance of the Node.js project, see
**Vse Mozhet Byt** &lt;vsemozhetbyt@gmail.com&gt; (he/him)
* [whitlockjc](https://github.com/whitlockjc) -
**Jeremy Whitlock** &lt;jwhitlock@apache.org&gt;
<!--lint enable prohibited-strings-->

Collaborators follow the [Collaborator Guide](./doc/guides/collaborator-guide.md) in
maintaining the Node.js project.
Expand Down Expand Up @@ -572,7 +574,7 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):

To import the full set of trusted release keys:

```shell
```bash
gpg --keyserver pool.sks-keyservers.net --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
gpg --keyserver pool.sks-keyservers.net --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
gpg --keyserver pool.sks-keyservers.net --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1
Expand Down Expand Up @@ -608,6 +610,6 @@ Other keys used to sign some previous releases:
[Code of Conduct]: https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md
[Contributing to the project]: CONTRIBUTING.md
[Node.js Website]: https://nodejs.org/
[OpenJS Foundation]: http://openjs.foundation/
[OpenJS Foundation]: https://openjsf.org/
[Working Groups]: https://github.com/nodejs/TSC/blob/master/WORKING_GROUPS.md
[Strategic Initiatives]: https://github.com/nodejs/TSC/blob/master/Strategic-Initiatives.md
2 changes: 2 additions & 0 deletions benchmark/async_hooks/async-resource-vs-destroy.js
Expand Up @@ -138,6 +138,7 @@ function getServeAwait(getCLS, setCLS) {
setCLS(Math.random());
await sleep(10);
await read(__filename);
if (res.destroyed) return;
res.setHeader('content-type', 'application/json');
res.end(JSON.stringify({ cls: getCLS() }));
};
Expand All @@ -148,6 +149,7 @@ function getServeCallbacks(getCLS, setCLS) {
setCLS(Math.random());
setTimeout(() => {
readFile(__filename, () => {
if (res.destroyed) return;
res.setHeader('content-type', 'application/json');
res.end(JSON.stringify({ cls: getCLS() }));
});
Expand Down