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.18.3 proposal #34343

Merged
merged 179 commits into from Jul 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
a94e7da
lib: update executionAsyncId/triggerAsyncId comment
danbev May 14, 2020
e3533ab
util: mark classes while inspecting them
BridgeAR Mar 17, 2020
8803d7e
deps: update node-inspect to v2.0.0
jkrems May 17, 2020
c502384
worker: use _writev in internal communication
addaleax Jan 31, 2019
c697b96
src: remove unnecessary else in base_object-inl.h
danbev May 15, 2020
6f6fb1f
src: prefer make_unique
mhdawson May 12, 2020
dfa8028
doc: fix readline key binding documentation
BridgeAR May 11, 2020
83c9364
lib: update TODO comments
BridgeAR May 11, 2020
3e68d21
doc: use sentence-case for headings in docs
Trott Jun 14, 2020
70d025f
doc: standardize on sentence case for headers
Trott Jun 15, 2020
d09f6d5
esm: doc & validate source values for formats
bfarias-godaddy Mar 11, 2020
3b46e7f
win,fs: use namespaced path in absolute symlinks
bzoz May 21, 2020
1c64bc5
worker: perform initial port.unref() before preload modules
addaleax May 18, 2020
0837c2c
src: remove unused headers in src/util.h
juanarbol Apr 26, 2020
5fb1cc8
fs: replace checkPosition with validateInteger
rickyes May 7, 2020
a522c0e
src: use MaybeLocal.ToLocal instead of IsEmpty
danbev May 18, 2020
ef27e6c
test: mark test-dgram-multicast-ssmv6-multi-process flaky
May 21, 2020
1b76377
doc: correct CommonJS self-resolve spec
guybedford May 14, 2020
adb93f1
fs: unify style in preprocessSymlinkDestination
bzoz May 21, 2020
c76ec4d
doc: fixed a grammatical error in path.md
Deep310 May 20, 2020
78734c2
doc: eliminate dead space in API section's sidebar
Alhadis May 19, 2020
383c5b3
wasi: relax WebAssembly.Instance type check
bnoordhuis May 16, 2020
6f8b7a8
doc,tools: properly syntax highlight API ref docs
DerekNonGeneric May 16, 2020
7c7f5c8
net: refactor check for Windows
rickyes May 21, 2020
b599037
doc: fix typo in pathToFileURL example
aduh95 May 15, 2020
77b6298
src: remove BeforeExit callback list
bnoordhuis May 16, 2020
6133639
doc: fix Buffer.from(object) documentation
seishun May 9, 2020
09277fa
benchmark: fixing http_server_for_chunky_client.js
edsadr May 6, 2020
f495ab3
tools: add docserve target
aduh95 May 3, 2020
5a6d80f
buffer: remove hoisted variable
seishun May 19, 2020
e105034
Revert "src: fix missing extra ca in tls.rootCertificates"
ebickle May 8, 2020
281d7f7
doc: correct tls.rootCertificates to match implementation
ebickle May 8, 2020
032c64f
worker: fix variable referencing in template string
HarshithaKP May 19, 2020
10b88cb
dns: use ternary operator simplify statement
zhangwinning May 4, 2020
3559471
esm: share package.json cache between ESM and CJS loaders
shackijj May 4, 2020
48035a2
src: use MaybeLocal::FromMaybe to return exception
danbev May 22, 2020
9ee9688
deps: uvwasi: cherry-pick 9e75217
cjihrig May 23, 2020
5e5be99
wasi: refactor and enable poll_oneoff() test
cjihrig May 23, 2020
33984d6
wasi: simplify WASI memory management
cjihrig May 23, 2020
7df79f4
wasi,worker: handle termination exception
bnoordhuis May 16, 2020
bcdf4c8
http2: reuse ._onTimeout() in Http2Session and Http2Stream classes
rickyes May 11, 2020
0941635
inspector: throw error when activating an already active inspector
joyeecheung Apr 23, 2020
ff4f9a9
tools: update ESLint to 7.1.0
cjihrig May 23, 2020
74a1493
doc: normalize C code block info strings
DerekNonGeneric May 21, 2020
7ea6b07
doc: normalize shell code block info strings
DerekNonGeneric May 20, 2020
18dc03d
crypto: fix wrong error message
benbucksch May 20, 2020
cf82adf
doc: normalize Bash code block info strings
DerekNonGeneric May 22, 2020
bba41bf
build: fix makefile script on windows
Hakerh400 Apr 28, 2020
05cbd8f
src: use const in constant args.Length()
himself65 May 25, 2020
3032f0f
test: make flaky test stricter
ronag May 24, 2020
103479a
src: use MaybeLocal.ToLocal instead of IsEmpty
danbev May 25, 2020
3d05e3d
tools: fix check-imports.py to match on word boundaries
richardlau May 6, 2020
b7ea7be
meta: add flaky test issue template
May 21, 2020
41d8796
src: remove unused using declarations
danbev May 26, 2020
ed741ec
n-api: remove `napi_env::CallIntoModuleThrow`
May 26, 2020
a3b7e59
http2: use `Object.create(null)` for `getHeaders`
rexagod Apr 25, 2020
11dad02
build: fix python-version selection with actions
richardlau May 27, 2020
9c69296
src: don't use semicolon outside function
codebytere May 27, 2020
7dc28ab
doc: update ```txt ```fandamental and ```raw code blocks
zeke Apr 23, 2020
8def934
http2: add type checks for Http2ServerResponse.end
rexagod Apr 26, 2020
0f0720a
http2: add writable* properties to compat api
rexagod May 22, 2020
76b06e5
errors: fully inspect errors on exit
BridgeAR May 22, 2020
80782cb
console: remove dead code
BridgeAR May 22, 2020
d8365bc
console: mark special console properties as non-enumerable
BridgeAR May 22, 2020
a9c5b33
console: name console functions appropriately
BridgeAR May 22, 2020
5436057
doc: outline when origin is set to unhandledRejection
BridgeAR May 23, 2020
4fcbfdc
doc: normalize JavaScript code block info strings
DerekNonGeneric May 23, 2020
a5ce90c
build: add --v8-lite-mode flag
cician May 24, 2020
a3b6095
doc: normalize Markdown code block info strings
DerekNonGeneric May 24, 2020
8adfb54
wasi: allow WASI stdio to be configured
cjihrig Mar 26, 2020
5416635
doc: improve buffer.md a tiny bit
tomanagle May 24, 2020
0a949c3
napi: add __wasm32__ guards
devsnek May 28, 2020
99371ad
src: use MaybeLocal.ToLocal instead of IsEmpty worker
danbev May 28, 2020
8dbf334
doc: fix urls to avoid redirection
sapics May 28, 2020
c9cf41d
fs: support util.promisify for fs.readv
lholmquist May 27, 2020
e3beb78
src: avoid OOB read in URL parser
addaleax May 29, 2020
eb8d6f5
src: simplify MaybeStackBuffer::capacity()
bnoordhuis May 28, 2020
0982bf4
test: uv_tty_init now returns EINVAL on IBM i
dmabupt May 29, 2020
5d3f818
dns: make dns.Resolver timeout configurable
bnoordhuis May 19, 2020
1376c3b
meta: wrap flaky test template at 80 characters
cjihrig May 31, 2020
f534ac0
meta: fix a typo in the flaky test template
cjihrig May 31, 2020
69291e4
lib: add Int16Array primordials
Sebastien-Ahkrin Jan 6, 2020
a6f75df
doc: add lint disabling comment for collaborator list
Trott Jun 4, 2020
067578a
doc: remove shell dollar signs without output
nschonni Jun 2, 2020
d0a7b9f
src: remove unnecessary ToLocalChecked call
danbev Jun 1, 2020
63147ba
src: use ToLocal in SafeGetenv
danbev Jun 2, 2020
8a51670
test: changed function to arrow function
sagar-jadhav Jun 3, 2020
8d44c00
tools: update remark-preset-lint-node from 1.15.0 to 1.15.1
Trott Jun 4, 2020
c3f50e3
doc: remove default parameter value from header
Trott Jun 5, 2020
31063f9
doc: normalize C++ code block info strings
DerekNonGeneric May 20, 2020
99d34ea
benchmark: fix async-resource benchmark
addaleax May 29, 2020
1a5ef19
stream: fix the spellings
antsmartian May 29, 2020
fec56a9
doc: change "pre Node.js v0.10" to "prior to Node.js 0.10"
Trott Jun 5, 2020
215325d
doc: remove "currently" from util.md
Trott Jun 5, 2020
55d84a8
doc: remove "currently" from addons.md
Trott Jun 5, 2020
772d407
doc: remove "currently" from vm.md
Trott Jun 5, 2020
43f32e3
doc: remove "currently" from repl.md
Trott Jun 5, 2020
2db875c
doc: add formatting for version numbers to doc-style-guide.md
Trott Jun 5, 2020
6db21cc
doc: fix linting in doc-style-guide.md
rexagod Jun 7, 2020
7aac983
fs: close file descriptor of promisified truncate
joaocgreis Jul 30, 2019
8d258c4
src: use Check() instead of FromJust in environment
danbev Jun 3, 2020
68615a0
build: add LINT_CPP_FILES to checkimports check
danbev Jun 2, 2020
f458be2
tools: remove unused using declarations code_cache
danbev Jun 2, 2020
cad115b
src,build: add --openssl-default-cipher-list
danbev Jun 3, 2020
397ff6d
src: add "missing" bash completion options
danbev Jun 5, 2020
c97c287
src: simplify Reindent function in json_utils.cc
sapics Jun 4, 2020
69c9233
doc: update V8 inspector example
cjihrig Jun 5, 2020
26d6b2a
inspector: drop 'chrome-' from inspector url
cjihrig Jun 5, 2020
8149b72
test: fix invalid regular expressions in case test-trace-exit
legendecas Jun 6, 2020
7ee0b30
win,msi: add arm64 config for windows msi
dennisameling Jun 1, 2020
ce0ab70
test: temporarily exclude test on arm
mhdawson Jun 9, 2020
9e5d9d6
n-api: ensure scope present for finalization
mhdawson May 22, 2020
ae135bb
doc: fix misc. mislabeled code block info strings
DerekNonGeneric May 24, 2020
f9b5514
doc: use single quotes in --tls-cipher-list
danbev Jun 3, 2020
e521848
doc: add snippet for AsyncResource and EE integration
puzpuzpuz Jun 5, 2020
4500bc4
vm: allow proxy callbacks to throw
devsnek Jun 9, 2020
1255e37
src: handle missing TracingController everywhere
addaleax Jun 9, 2020
a285f85
src: simplify format in node_file.cc
himself65 May 30, 2020
b461e93
querystring: improve stringify() performance
mscdex May 31, 2020
26c563c
tools: update ESLint to 7.2.0
cjihrig Jun 6, 2020
0590c0e
esm: fix loader hooks doc annotations
DerekNonGeneric May 20, 2020
6840aef
doc: move --force-context-aware option in cli.md
danbev Jun 10, 2020
53f4295
src: avoid unnecessary ToLocalChecked calls
danbev Jun 10, 2020
70d46ab
src: remove unused vector include in string_bytes
danbev Jun 10, 2020
ff43af3
src: remove ref to tools/generate_code_cache.js
danbev Jun 10, 2020
23a21ed
tools: remove unused vector include in mkdcodecache
danbev Jun 10, 2020
1af9a4e
tools: prevent js2c from running if nothing changed
danbev Jun 11, 2020
bf1463f
n-api: document nextTick timing in callbacks
mafintosh Jun 9, 2020
e7dab2c
src: do not track BaseObjects via cleanup hooks
addaleax Jun 9, 2020
cc2d380
src: reduce scope of code cache mutex
addaleax Jun 19, 2020
f568a48
test: print arguments passed to mustNotCall function
lundibundi Jun 18, 2020
331740b
querystring: fix stringify for empty array
sapics Jun 17, 2020
e5a1ca2
doc: specify default encoding in writable.write
rexagod Jun 6, 2020
a2daa7b
doc: link readable._read in stream.md
rexagod Jun 6, 2020
fdd3f3d
lib: replace charCodeAt with fixed Unicode
rickyes Apr 10, 2020
ca8fb58
util: gracefully handle unknown colors
BridgeAR Jun 8, 2020
e7b7a9d
async_hooks: callback trampoline for MakeCallback
Qard Jun 6, 2020
13d1cae
domain: remove native domain code
Qard Jun 9, 2020
42ebe7a
module: fix error message about importing names from cjs
fabiosantoscode Jun 14, 2020
f999907
http2: always call callback on Http2ServerResponse#end
rexagod Jun 16, 2020
5ee9509
doc: update WASM code sample
pragyandas May 28, 2020
9f4f4de
meta: introduce codeowners again
jasnell Jun 15, 2020
ec8f4d3
doc: use Class: consistently
Trott Jun 19, 2020
9a1f98b
doc: change "GitHub Repo" to "Code repository"
Trott Jun 20, 2020
56722fe
doc: fix lexical sorting of bottom-references in dns doc
Trott Jun 20, 2020
8046c8b
build: add target specific build_type variable
danbev Jun 17, 2020
070cedb
doc: warn that tls.connect() doesn't set SNI
mildsunrise Jun 12, 2020
37692b5
src: improve indention for upd_wrap.cc
gengjiawen Jun 19, 2020
eb4b1d6
test: fix typo in common/index.js
gengjiawen Jun 19, 2020
f205b5f
doc: update fs.md
Shakil-Shahadat Jun 10, 2020
a4e4222
doc: revise text in dns module documentation introduction
Trott Jun 20, 2020
4291b11
test: account for non-node basename
codebytere Jun 18, 2020
aa9badf
doc: use a single space between sentences
Trott Jun 20, 2020
4b1f072
doc: correct default values in http2 docs
Trott Jun 21, 2020
fb15482
doc: use npm team for npm upgrades in collaborator guide
Trott Jun 21, 2020
c0febb5
doc: clarify thread-safe function references
legendecas Jun 14, 2020
32bbdc4
tools: remove superfluous regex in tools/doc/json.js
Trott Jun 21, 2020
345e793
fs: fix realpath inode link caching
lundibundi Jun 18, 2020
78efcaf
build: configure byte order for mips targets
bnoordhuis Jun 16, 2020
7f70c5d
configure: account for CLANG_VENDOR when checking for llvm version
Jun 12, 2020
46dce9b
src: handle empty Maybe(Local) in node_util.cc
addaleax Jun 13, 2020
d30e820
src: use ToLocal in node_os.cc
Jun 18, 2020
d9bfac6
doc: add allowed info strings to style guide
DerekNonGeneric Jun 23, 2020
9d9c15a
util: support Combining Diacritical Marks for Symbols
BridgeAR May 30, 2020
677dce1
util: fix width detection for DEL without ICU
BridgeAR May 30, 2020
1bfa597
src: remove unnecessary calculation in base64.h
sapics Jun 9, 2020
4f9ab07
doc: specify maxHeaderCount alias for maxHeaderListPairs
rexagod May 22, 2020
689056b
test: add test for Http2ServerResponse#[writableCorked,cork,uncork]
rexagod Jun 18, 2020
25023cf
src: clang_format base_object
yashLadha Jun 1, 2020
d16e51b
src: tolerate EPERM returned from tcsetattr
branchseer Jun 18, 2020
47132ec
fs: fix readdir failure when libuv returns UV_DIRENT_UNKNOWN
shackijj May 14, 2020
bde3fb2
src: add errorProperties on process.report
himself65 Jun 25, 2019
c0d6ff5
n-api: add version to wasm registration
devsnek Jun 25, 2020
ceef356
tools: update remark-preset-lint-node@1.15.1 to 1.16.0
Trott Jun 11, 2020
ce4d73c
doc: update code language flag for internal doc
Trott Jun 17, 2020
248f9af
tools: enable no-else-return lint rule
lpinca Apr 8, 2020
93928ac
domain: fix unintentional deprecation warning
addaleax Jul 7, 2020
3b1d9b3
deps: upgrade npm to 6.14.6
claudiahdz Jul 7, 2020
e3e0927
2020-07-22, Version 12.18.3 'Erbium' (LTS)
codebytere Jul 13, 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
  •  
  •  
  •  
3 changes: 2 additions & 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 Expand Up @@ -129,6 +129,7 @@ module.exports = {
'no-dupe-else-if': 'error',
'no-duplicate-case': 'error',
'no-duplicate-imports': 'error',
'no-else-return': ['error', { allowElseIf: true }],
'no-empty-character-class': 'error',
'no-ex-assign': 'error',
'no-extra-boolean-cast': 'error',
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/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
6 changes: 3 additions & 3 deletions BUILDING.md
Expand Up @@ -225,7 +225,7 @@ Consult previous versions of this document for older versions of Node.js:
The Node.js project uses Python as part of its build process and has
historically only been Python 2 compatible.

Python 2 will reach its _end-of-life_ at the end of 2019 at which point the
Python 2 will reach its _End-of-Life_ at the end of 2019 at which point the
interpreter will cease receiving updates. See <https://python3statement.org/>
for more information.

Expand Down Expand Up @@ -691,7 +691,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 @@ -722,7 +722,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 @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.18.2">12.18.2</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.18.3">12.18.3</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.2">12.18.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.1">12.18.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.18.0">12.18.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.17.0">12.17.0</a><br/>
Expand Down
33 changes: 33 additions & 0 deletions LICENSE
Expand Up @@ -1471,6 +1471,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 @@ -733,7 +733,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 @@ -768,6 +768,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 @@ -1195,7 +1200,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 @@ -1316,13 +1321,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 @@ -1372,7 +1377,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
4 changes: 2 additions & 2 deletions benchmark/es/spread-assign.js
Expand Up @@ -15,7 +15,7 @@ function main({ n, context, count, rest, method }) {
for (let n = 0; n < count; n++)
src[`p${n}`] = n;

let obj; // eslint-disable-line no-unused-vars
let obj;

switch (method) {
case '_extend':
Expand All @@ -33,7 +33,7 @@ function main({ n, context, count, rest, method }) {
case 'spread':
bench.start();
for (let i = 0; i < n; i++)
obj = { ...src };
obj = { ...src }; // eslint-disable-line no-unused-vars
bench.end(n);
break;
default:
Expand Down