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

v18.6.0 release proposal #43789

Merged
merged 175 commits into from Jul 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
da61e23
esm: add chaining to loaders
JakobJingleheimer May 4, 2022
254efd9
esm: fix http(s) import via custom loader
JakobJingleheimer May 25, 2022
50d64ed
esm: refactor responseURL handling
guybedford May 21, 2022
10bcad5
esm: fix chain advances when loader calls next<HookName> multiple times
JakobJingleheimer Jun 5, 2022
06c367e
tools: update lint-md-dependencies to rollup@2.75.6
nodejs-github-bot Jun 16, 2022
cbaf120
doc: add code examples to node test runner
manekinekko Jun 9, 2022
429e0f4
doc: update main branch name in doc/contributing/*
lpinca Jun 16, 2022
e0fedcf
doc: fixup after rename of primary nodejs branch
mhdawson Jun 16, 2022
3ee0bb8
crypto: fix webcrypto deriveBits for non-byte lengths
panva Jun 14, 2022
018f61c
crypto: fix webcrypto AES-KW keys accepting encrypt/decrypt usages
panva Jun 14, 2022
dedb22e
crypto: fix webcrypto RSA generateKey() use of publicExponent
panva Jun 14, 2022
64a9dd7
crypto: fix webcrypto digest() invalid algorithm
panva Jun 14, 2022
679f191
crypto: fix webcrypto generateKey() with empty usages
panva Jun 14, 2022
739d3a3
doc: update main branch name in onboarding.md
F3n67u Jun 16, 2022
9d61da0
doc: update main branch name in release guide
richardlau Jun 16, 2022
06fe60a
doc: update default branch name in `Makefile`
F3n67u Jun 17, 2022
7f406fd
doc: remove branch name mention in `src/README.md`
F3n67u Jun 17, 2022
752380a
tools: update main branch name
F3n67u Jun 17, 2022
02009b7
perf_hooks: fix miscounted gc performance entry starttime (#43066)
meixg Jun 17, 2022
58646ea
loader: make `require.resolve` throw for unknown builtin modules
zhmushan Jun 17, 2022
3948acc
test: make node-api/test_buffer/test_finalizer not flaky
mcollina Jun 14, 2022
2b55b60
Revert "test: mark test_buffer/test_finalizer flaky"
mcollina Jun 15, 2022
66ee1f1
src: register StreamBase while registering LibuvStreamWrap
RaisinTen Jun 17, 2022
a23051a
doc: add new useful V8 option
JialuZhang-intel Jun 17, 2022
038decf
doc: update default branch name in `test/**`
lpinca Jun 17, 2022
a1f581a
util: fix TypeError of symbol in template literals
cola119 Apr 20, 2022
34e8331
v8: add v8.startupSnapshot utils
joyeecheung Apr 18, 2022
48ae00c
test: improve coverage for load hooks
aduh95 Jun 18, 2022
5c0a24d
test: mark test-worker-http2-stream-terminate flaky on Windows
RaisinTen Jun 18, 2022
df50131
fs: don't end fs promises on Isolate termination
santigimeno Jun 18, 2022
d71ba32
http: fix http agent keep alive
theanarkh Jun 18, 2022
0bca7b7
dns: export error code constants from `dns/promises`
F3n67u Jun 18, 2022
b111331
doc: add ESM version examples to events api doc
F3n67u May 28, 2022
3b0703f
test: rename `test-eventtarget-whatwg-*.js`
daeyeon Jun 18, 2022
3247280
doc: update v8 doc link to v8.dev
F3n67u Jun 19, 2022
dda64dd
test_runner: add Subtest to tap protocol output
MoLow Jun 19, 2022
b1a7798
test: skip test-net-connect-reset-until-connected on SmartOS
panva Jun 19, 2022
a9ab41c
test: refactor to top-level await
meekdenzo Jun 19, 2022
cad6d99
child_process: speed up 'advanced' ipc receiving
CaramelFur Apr 30, 2022
3ca9e65
child_process: improve ipc write performance
CaramelFur Jun 15, 2022
1022c0d
test: fix flaky test-https-server-close- tests
santigimeno Jun 19, 2022
59d4da6
tools: update eslint to 8.18.0
nodejs-github-bot Jun 19, 2022
b9204c9
meta: update AUTHORS
nodejs-github-bot Jun 19, 2022
0659d5e
src: change FormatSize to actually accept a size_t
tniessen Jun 20, 2022
4e0afa4
src: remove CopyBuffer
tniessen Jun 20, 2022
d0c78d2
doc: update link of `ICU data slicer`
F3n67u Jun 20, 2022
9bd13bb
crypto: update Wrapping and unwrapping keys webcrypto example
panva Jun 20, 2022
2149acd
dns: make promise API fully constructed from `lib/internal/dns/promises`
F3n67u Jun 20, 2022
c8aafe2
doc: fix Visual Studio 2019 download link
F3n67u Jun 21, 2022
462e526
doc,test: clarify timingSafeEqual semantics
tniessen Jun 21, 2022
70d297c
test: replace gc(true) with gc({ type: 'minor' })
tniessen Jun 21, 2022
eece34c
test: add WPT tests for dom/events
nissy-dev Jun 22, 2022
491c761
http: defer reentrant execution of Parser::Execute
ShogunPanda Jun 10, 2022
47a2522
net: fix net.Server keepalive and noDelay
theanarkh Jun 22, 2022
2e799bc
doc: update link to MDN page about dynamic imports
jamesscottbrown Jun 22, 2022
7ca58b8
test: allow EOVERFLOW errors in fs position tests
richardlau Jun 22, 2022
08ed28c
doc: add Juan as a security steward
mhdawson Jun 20, 2022
60b949d
doc: move MylesBorins to TSC Emeritus
MylesBorins Jun 21, 2022
17b92f0
test: use unique file names in fs trace test
bnoordhuis Jun 22, 2022
9940dc3
test: skip test-v8-serialize-leak on IBM i
richardlau Jun 22, 2022
919c5ee
build: update main branch name in GH workflow
F3n67u Jun 23, 2022
bd91337
test: refactor to top-level await
meekdenzo Jun 23, 2022
0636f86
deps: upgrade npm to 8.13.1
npm-cli-bot Jun 25, 2022
bb326f7
crypto: handle webcrypto generateKey() usages edge case
panva Jun 25, 2022
b27856d
http: add perf_hooks detail for http request and client
theanarkh Jun 25, 2022
f8bdc53
net: prevent /32 ipv4 mask from matching all ips
supriyo-biswas Jun 25, 2022
ba9b2f0
wasi: use WasmMemoryObject handle for perf (#43544)
devsnek Jun 25, 2022
d3fc791
src: improve and update ByteSource description
tniessen Jun 25, 2022
a43928a
crypto: use ByteSource::Builder in To*Copy
tniessen Jun 25, 2022
d650c9c
meta: update AUTHORS
nodejs-github-bot Jun 26, 2022
4df96b5
crypto: don't disable TLS 1.3 without suites
AdamMajer Jun 27, 2022
f9c30ab
benchmark: forcefully close processes
ShogunPanda Jun 24, 2022
deaf4bb
lib: fix TODO in `freeze_intrinsics`
aduh95 Jun 27, 2022
b9198d9
lib: refactor to avoid unsafe regex primordials
aduh95 Jun 27, 2022
2233567
lib: use null-prototype objects for property descriptors
aduh95 Jun 27, 2022
8d14d6e
tools: fix CJS/ESM toggle on small screens
aduh95 Jun 27, 2022
1617a46
stream: pass error on legacy destroy
greguz Jun 28, 2022
e9574f3
readline: fix to not access a property on an undefined value
cola119 Jun 28, 2022
7c6f548
test: mark test-http-server-request-timeouts-mixed flaky on macOS
F3n67u Jun 28, 2022
705e85e
test: improve code coverage for SourceMap class
italojs Jun 1, 2022
dabccef
test: mark flaky tests on smartos
F3n67u Jun 28, 2022
d90a6f9
benchmark: fix fork detection
ShogunPanda Jun 28, 2022
4bda6e0
test_runner: expose `describe` and `it`
MoLow Jun 14, 2022
ad1d054
net: fix net keepalive and noDelay
theanarkh Jun 29, 2022
66fb059
events: improve `EventListener` validation
daeyeon Jun 29, 2022
0b432b9
src: fix compiler warning in src/heap_utils.cc
RaisinTen Jun 29, 2022
c6396c1
tools: update lint-md-dependencies
nodejs-github-bot Jun 29, 2022
54a8a0c
doc: add `backport-open-vN.x` step to backporting guide
LiviaMedeiros Jun 29, 2022
d834d21
perf_hooks: add initiatorType getter
RafaelGSS Jun 30, 2022
5ae30bf
src: remove a stale comment in `async_hooks`
daeyeon Jun 30, 2022
12a591a
fs: refactor realpath with Map and Set
LiviaMedeiros Jun 30, 2022
3ad4d37
module: also enable subpath imports in REPL
rayw000 Jun 30, 2022
48ee6b9
src,bootstrap: remove NodeMainInstance::registry_
RaisinTen Jun 30, 2022
23c5de3
doc: fix icu-small example
mhdawson Jun 27, 2022
a1f1d3a
url: update WHATWG URL parser to align with latest spec
F3n67u Jun 30, 2022
6ede1c2
doc: include CVSS mention
RafaelGSS Jun 30, 2022
79ea19e
errors: extract type detection & use in `ERR_INVALID_RETURN_VALUE`
JakobJingleheimer Jul 1, 2022
ac72f4e
test: mark test-worker-http2-stream-terminate flaky on all platforms
F3n67u Jul 1, 2022
a3659e3
doc: promote 0x to tier 4
tony-go Jul 1, 2022
2251242
doc: remove dtrace from tierlist
tony-go Jul 1, 2022
953fefe
esm: restore `next<HookName>`'s `context` as optional arg
JakobJingleheimer Jul 2, 2022
e718a6e
test: fix Buffer.from(ArrayBufferView) call
LiviaMedeiros Jun 29, 2022
043756d
test: fill DOMException names
LiviaMedeiros Jun 29, 2022
e6d4837
http: fix failing test
ShogunPanda Jul 2, 2022
e9ee7e4
build,test: increase stack size limit on Windows
tniessen Jul 2, 2022
a6e98df
doc: remove lttng from tierlist
tony-go Jun 28, 2022
350e6ae
doc: remove windows xperf from tierlist
tony-go Jun 28, 2022
7491469
deps: upgrade npm to 8.13.2
npm-cli-bot Jul 3, 2022
e914185
module: cjs-module-lexer WebAssembly fallback
guybedford Jul 3, 2022
6fc5a13
doc: add single executable application initiative
mhdawson Jul 3, 2022
0fe825a
doc: remove systemtap from tierlist
tony-go Jun 28, 2022
cb77b3e
doc: remove appmetrics from tierlist
tony-go Jun 28, 2022
508cbbc
meta: update AUTHORS
nodejs-github-bot Jul 4, 2022
2adf4e7
test: fix flaky test-perf-hooks-histogram
santigimeno Jul 4, 2022
99ffabf
tools: update eslint to 8.19.0
nodejs-github-bot Jul 4, 2022
b4b15b7
doc: add daeyeon to triagers
daeyeon Jul 4, 2022
0b49560
test: add test to ensure repl doesn't support --input-type
cola119 Jun 21, 2022
3a8edb3
doc: improve description of --input-type
cola119 Jun 21, 2022
46ad206
doc: fix typo in errors.md
Jul 5, 2022
267f66b
doc: fix default of duplex.allowHalfOpen
vweevers Jul 5, 2022
ca0fbfd
doc: add note regarding special case of 0 stat.size
dougwilson Jul 5, 2022
d46261c
doc: improve readability of `dns.md`
0xSanyam Jul 6, 2022
7679c77
doc: add Geoffrey Booth to TSC
Trott Jul 7, 2022
088b926
doc: remove extra 'in's
cjihrig Jul 7, 2022
ca5af0d
doc: update changelog-maker to the new flags
RafaelGSS Jul 5, 2022
aafdf12
tools: refactor `tools/license2rtf` to ESM
F3n67u May 29, 2022
482bd53
build: clarify missing clang-format tool
tniessen Jul 7, 2022
2e181f6
src,stream: change return type to `Maybe`
daeyeon Jul 7, 2022
061ed0e
events: improve `Event` compatibility
daeyeon Jul 8, 2022
c9f130e
test: improve code coverage for performance_entry
cola119 Jul 8, 2022
9d918d9
module: add isBuiltIn method
hemanth Jul 8, 2022
0783663
bootstrap: move global initialization to js
alenakhineika Jul 8, 2022
1f4f811
http2: log debug only when in debug mode
mabaasit Jul 8, 2022
e51d8c6
test_runner: wait for stderr and stdout to complete
MoLow Jul 8, 2022
ef174ea
assert: callTracker throw a specific error message when possible
MoLow Jul 8, 2022
ddf7518
test_runner: cancel on termination
MoLow Jul 8, 2022
7ee0be7
benchmark: fix output regression
mscdex Jun 30, 2022
80ced1a
esm: treat `307` and `308` as redirects in HTTPS imports
kidonng Jul 9, 2022
ebf962c
build: enable GitPod prebuilds
Trott Jul 9, 2022
baa22a7
util: avoid inline access to Symbol.iterator
cola119 Jul 9, 2022
4e6a844
src: delegate NodeArrayBufferAllocator to v8's allocator
nornagon Jul 9, 2022
c4d88b3
test: use Object for `tests` variable in fs trace test
F3n67u Jul 9, 2022
a0e7b99
net: add drop event for net server
theanarkh Jul 9, 2022
0f6d194
src: fix crash on FSReqPromise destructor
santigimeno Jul 9, 2022
40f51d8
test_runner: protect internals against prototype tampering
aduh95 Jul 9, 2022
6b16836
util: mark cwd grey while inspecting errors
BridgeAR Jun 25, 2022
bdca4d3
util: remove unnecessary template string
BridgeAR Jun 25, 2022
5a5c4be
util: add `AggregateError.prototype.errors` to inspect output
LiviaMedeiros Jul 9, 2022
bf4ac4c
net: remove redundant connecting assignment
oyyd Jul 9, 2022
bf62ffd
doc: remove node-report from support tiers
RafaelGSS Jul 8, 2022
a0b799f
test: add test for profile command of node inspect
cola119 Jul 9, 2022
3b08dfd
meta: update AUTHORS
nodejs-github-bot Jul 10, 2022
8a06b7b
tools: update lint-md-dependencies to rollup@2.76.0
nodejs-github-bot Jul 10, 2022
8c97f63
http: add diagnostics channel for http client
theanarkh Jul 10, 2022
428d03c
deps: update corepack to 0.12.0
nodejs-github-bot Jul 10, 2022
dc484b6
lib: implement safe alternatives to `Promise` static methods
aduh95 Jul 10, 2022
fa5c464
cluster, net: fix listen pipe with readable and writable in cluster
theanarkh Jul 10, 2022
5d8ee51
cluster: fix fd leak
theanarkh Jul 11, 2022
fe1f740
src: merge RunInThisContext() with RunInContext()
daeyeon Jul 11, 2022
b164848
test: fix typo in file name
aduh95 Jul 11, 2022
1bd5633
doc: remove openssl 1.x reference
RafaelGSS Jul 11, 2022
c8cbec4
lib: make `validateObject` less affected by prototype tampering
aduh95 Jul 11, 2022
0f07abc
stream: finish pipeline if dst closes before src
ronag Jul 11, 2022
38e92fd
test: mark test-gc-http-client-timeout as flaky on arm
legendecas Jul 10, 2022
61e6d78
lib,src: add source map support for global eval
legendecas Jun 13, 2022
f2f7d7b
test: remove unnecessary .toString() calls in HTTP tests
addaleax Jul 11, 2022
ce3a22a
cluster: fix closing dgram sockets in cluster workers throws errors
oyyd Jul 11, 2022
4569d6e
doc: add details for July 2022 security releases
BethGriggs Jul 8, 2022
c954bcd
tools: remove rpm build scripts
bnoordhuis Jul 11, 2022
7ffcd85
doc: include last security release date
RafaelGSS Jul 10, 2022
d6a9e93
deps: patch V8 to 10.2.154.13
targos Jul 11, 2022
294f0ef
test: mark test-net-connect-reset-until-connected flaky on freebsd
F3n67u Jul 12, 2022
e076955
doc: remove bullet point referring to Node.js 12
lpinca Jul 12, 2022
7fc075b
deps: update undici to 5.7.0
nodejs-github-bot Jul 13, 2022
cd17157
2022-07-13, Version 18.6.0 (Current)
targos Jul 12, 2022
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
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/workflows/build-tarball.yml
Expand Up @@ -12,7 +12,6 @@ on:
- '!.github/workflows/build-tarball.yml'
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-windows.yml
Expand Up @@ -9,7 +9,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage-linux.yml
Expand Up @@ -11,7 +11,8 @@ on:
- .github/**
- '!.github/workflows/coverage-linux.yml'
push:
branches: [master, main]
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage-windows.yml
Expand Up @@ -12,7 +12,8 @@ on:
- .github/**
- '!.github/workflows/coverage-windows.yml'
push:
branches: [master, main]
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/doc.yml
Expand Up @@ -5,7 +5,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/linters.yml
Expand Up @@ -5,7 +5,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
Expand Down Expand Up @@ -50,7 +49,7 @@ jobs:
- name: Lint C/C++ files
run: make lint-cpp
format-cpp:
if: ${{ github.event.pull_request.draft == false && github.base_ref == 'master' }}
if: ${{ github.event.pull_request && github.event.pull_request.draft == false && github.base_ref == github.event.repository.default_branch }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/notify-force-push.yml
@@ -1,7 +1,6 @@
on:
push:
branches:
- master
- main

name: Notify on Force Push
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-asan.yml
Expand Up @@ -12,7 +12,6 @@ on:
- '!.github/workflows/test-asan.yml'
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-internet.yml
Expand Up @@ -10,7 +10,6 @@ on:
paths: [test/internet/**]
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-linux.yml
Expand Up @@ -9,7 +9,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-macos.yml
Expand Up @@ -12,7 +12,6 @@ on:
- '!.github/workflows/test-macos.yml'
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -19,6 +19,7 @@
!.github
!.gitignore
!.gitkeep
!.gitpod.yml
!.mailmap
!.nycrc
!.yamllint.yaml
Expand Down
9 changes: 9 additions & 0 deletions .gitpod.yml
@@ -0,0 +1,9 @@
# Ref: https://github.com/gitpod-io/gitpod/issues/6283#issuecomment-1001043454
tasks:
- init: ./configure && timeout 50m make -j16 || true

# Ref: https://www.gitpod.io/docs/prebuilds#github-specific-configuration
github:
prebuilds:
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: false
3 changes: 3 additions & 0 deletions .mailmap
Expand Up @@ -380,6 +380,7 @@ Noah Rose Ledesma <noahroseledesma@seattleacademy.org>
npm team <ops+robot@npmjs.com>
npm team <ops+robot@npmjs.com> <npm CLI robot>
npm team <ops+robot@npmjs.com> <npm team>
npm team <ops+robot@npmjs.com> <npm-cli+bot@github.com>
Oliver Chang <ochang@chromium.org>
Oluwaseun Omoyajowo <omoyajowo2015@gmail.com>
OneNail <OneNail@yeah.net> <onenail@yeah.net>
Expand Down Expand Up @@ -450,6 +451,7 @@ Saúl Ibarra Corretgé <s@saghul.net> <saghul@gmail.com>
Scott Blomquist <github@scott.blomqui.st> <sblom@microsoft.com>
Segu Riluvan <rilwan22@hotmail.com> <riluvan@gmail.com>
Sergey Kryzhanovsky <skryzhanovsky@gmail.com> <another@dhcp199-223-red.yandex.net>
Sergey Petushkov <petushkov.sergey@gmail.com> <sergey.petushkov@protonmail.com>
Sergey Zelenov <mail@zelenov.su> <sergey.zelenov@getyourguide.com>
Shannen Saez <shannenlaptop@gmail.com>
Shaopeng Zhang <szhang351@bloomberg.net>
Expand Down Expand Up @@ -489,6 +491,7 @@ Tarun Batra <tarun.batra00@gmail.com>
Taylor Woll <taylor.woll@microsoft.com> <tawoll@ntdev.microsoft.com>
Ted Young <ted@radicaldesigns.org>
Teppei Sato <teppeis@gmail.com>
theanarkh <theratliter@gmail.com> <2923878201@qq.com>
Theotime Poisseau <theotime.poisseau@gmail.com>
Thomas Hunter II <me@thomashunter.name> <tom@intrinsic.com>
Thomas Lee <thomas.lee@shinetech.com> <tom@tom-debian.sensis.com.au>
Expand Down
19 changes: 18 additions & 1 deletion AUTHORS
Expand Up @@ -3441,7 +3441,7 @@ Damjan Cvetko <damjan.cvetko@gmail.com>
Randall Leeds <randall@bleeds.info>
Khoo Hao Yit <40757009+KhooHaoYit@users.noreply.github.com>
Aroyan <43630681+aroyan@users.noreply.github.com>
theanarkh <2923878201@qq.com>
theanarkh <theratliter@gmail.com>
Vladimir Morozov <vmorozov@microsoft.com>
Anupama Codippily <47591753+AnupamaCodippily@users.noreply.github.com>
Greg Poole <gpoole@users.noreply.github.com>
Expand All @@ -3464,5 +3464,22 @@ rikapo <rikaporori@gmail.com>
Meek Simbule <55823259+meekdenzo@users.noreply.github.com>
Michael Ficarra <github@michael.ficarra.me>
hiroki osame <hiroki.osame@gmail.com>
Eugene Chapko <eugene.chapko@gmail.com>
Sergey Petushkov <petushkov.sergey@gmail.com>
Caleb Everett <everett.caleb@gmail.com>
JialuZhang-intel <jialu.zhang@intel.com>
Moshe Atlow <moshe@atlow.co.il>
rubikscraft <contact@rubikscraft.nl>
James Scott-Brown <james@jamesscottbrown.com>
supriyo-biswas <supriyo.biswas.96@gmail.com>
Giacomo Gregoletto <greguz@users.noreply.github.com>
italo jose <italo.i@live.com>
Kazuma Ohashi <tikuwaaaaaaaa@gmail.com>
Douglas Wilson <67512+dougwilson@users.noreply.github.com>
0xSanyam <108138884+0xSanyam@users.noreply.github.com>
Alena Khineika <alena.khineika@gmail.com>
Basit <1305718+mabaasit@users.noreply.github.com>
Kid <44045911+kidonng@users.noreply.github.com>
Jeremy Rose <japthorp@slack-corp.com>

# Generated by tools/update-authors.mjs
4 changes: 2 additions & 2 deletions BUILDING.md
Expand Up @@ -567,9 +567,9 @@ to run it again before invoking `make -j4`.

* [Python 3.10](https://www.microsoft.com/en-us/p/python-310/9pjpw5ldxlz5)
* The "Desktop development with C++" workload from
[Visual Studio 2019](https://visualstudio.microsoft.com/downloads/) or
[Visual Studio 2019](https://visualstudio.microsoft.com/vs/older-downloads/#visual-studio-2019-and-other-products) or
the "C++ build tools" workload from the
[Build Tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019),
[Build Tools](https://aka.ms/vs/16/release/vs_buildtools.exe),
with the default optional components
* Basic Unix tools required for some tests,
[Git for Windows](https://git-scm.com/download/win) includes Git Bash
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.6.0">18.6.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.4.0">18.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.3.0">18.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.2.0">18.2.0</a><br/>
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -1096,7 +1096,7 @@ endif
$(MACOSOUTDIR)/dist/npm/usr/local/lib/node_modules
unlink $(MACOSOUTDIR)/dist/node/usr/local/bin/npm
unlink $(MACOSOUTDIR)/dist/node/usr/local/bin/npx
$(NODE) tools/license2rtf.js < LICENSE > \
$(NODE) tools/license2rtf.mjs < LICENSE > \
$(MACOSOUTDIR)/installer/productbuild/Resources/license.rtf
cp doc/osx_installer_logo.png $(MACOSOUTDIR)/installer/productbuild/Resources
pkgbuild --version $(FULLVERSION) \
Expand Down Expand Up @@ -1429,8 +1429,8 @@ CLANG_FORMAT_START ?= HEAD
# $ make format-cpp
# To format HEAD~1...HEAD (latest commit):
# $ CLANG_FORMAT_START=`git rev-parse HEAD~1` make format-cpp
# To format diff between master and current branch head (master...HEAD):
# $ CLANG_FORMAT_START=master make format-cpp
# To format diff between main and current branch head (main...HEAD):
# $ CLANG_FORMAT_START=main make format-cpp
format-cpp: ## Format C++ diff from $CLANG_FORMAT_START to current changes
ifneq ("","$(wildcard tools/clang-format/node_modules/)")
$(info Formatting C++ diff from $(CLANG_FORMAT_START)..)
Expand All @@ -1440,7 +1440,7 @@ ifneq ("","$(wildcard tools/clang-format/node_modules/)")
$(CLANG_FORMAT_START) -- \
$(LINT_CPP_FILES)
else
$(info clang-format is not installed.)
$(info Required tooling for C++ code formatting is not installed.)
$(info To install (requires internet access) run: $$ make format-cpp-build)
endif

Expand Down
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -170,6 +170,8 @@ For information about the governance of the Node.js project, see
**Danielle Adams** <<adamzdanielle@gmail.com>> (she/her)
* [fhinkel](https://github.com/fhinkel) -
**Franziska Hinkelmann** <<franziska.hinkelmann@gmail.com>> (she/her)
* [GeoffreyBooth](https://github.com/geoffreybooth) -
**Geoffrey Booth** <<webadmin@geoffreybooth.com>> (he/him)
* [gireeshpunathil](https://github.com/gireeshpunathil) -
**Gireesh Punathil** <<gpunathi@in.ibm.com>> (he/him)
* [jasnell](https://github.com/jasnell) -
Expand All @@ -180,8 +182,6 @@ For information about the governance of the Node.js project, see
**Matteo Collina** <<matteo.collina@gmail.com>> (he/him)
* [mhdawson](https://github.com/mhdawson) -
**Michael Dawson** <<midawson@redhat.com>> (he/him)
* [MylesBorins](https://github.com/MylesBorins) -
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
* [RaisinTen](https://github.com/RaisinTen) -
**Darshan Sen** <<raisinten@gmail.com>> (he/him)
* [richardlau](https://github.com/richardlau) -
Expand Down Expand Up @@ -229,6 +229,8 @@ For information about the governance of the Node.js project, see
**Mary Marchini** <<oss@mmarchini.me>> (she/her)
* [mscdex](https://github.com/mscdex) -
**Brian White** <<mscdex@mscdex.net>>
* [MylesBorins](https://github.com/MylesBorins) -
**Myles Borins** <<myles.borins@gmail.com>> (he/him)
* [nebrius](https://github.com/nebrius) -
**Bryan Hughes** <<bryan@nebri.us>>
* [ofrobots](https://github.com/ofrobots) -
Expand Down Expand Up @@ -646,6 +648,8 @@ maintaining the Node.js project.

* [Ayase-252](https://github.com/Ayase-252) -
**Qingyu Deng** <<i@ayase-lab.com>>
* [daeyeon](https://github.com/daeyeon) -
**Daeyeon Jeong** <<daeyeon.dev@gmail.com>> (he/him)
* [F3n67u](https://github.com/F3n67u) -
**Feng Yu** <<F3n67u@outlook.com>> (he/him)
* [himadriganguly](https://github.com/himadriganguly) -
Expand Down
10 changes: 9 additions & 1 deletion benchmark/common.js
Expand Up @@ -289,7 +289,15 @@ function formatResult(data) {
function sendResult(data) {
if (process.send) {
// If forked, report by process send
process.send(data);
process.send(data, () => {
if (Object.hasOwn(process.env, 'NODE_RUN_BENCHMARK_FN')) {
// If, for any reason, the process is unable to self close within
// a second after completing, forcefully close it.
setTimeout(() => {
process.exit(0);
}, 5000).unref();
}
});
} else {
// Otherwise report by stdout
process.stdout.write(formatResult(data));
Expand Down
46 changes: 46 additions & 0 deletions benchmark/es/eval.js
@@ -0,0 +1,46 @@
'use strict';

const common = require('../common.js');

const bench = common.createBenchmark(main, {
method: ['without-sourcemap', 'sourcemap'],
n: [1e6],
});

const sourceWithoutSourceMap = `
'use strict';
(function() {
let a = 1;
for (let i = 0; i < 1000; i++) {
a++;
}
return a;
})();
`;
const sourceWithSourceMap = `
${sourceWithoutSourceMap}
//# sourceMappingURL=https://ci.nodejs.org/405
`;

function evalN(n, source) {
bench.start();
for (let i = 0; i < n; i++) {
eval(source);
}
bench.end(n);
}

function main({ n, method }) {
switch (method) {
case 'without-sourcemap':
process.setSourceMapsEnabled(false);
evalN(n, sourceWithoutSourceMap);
break;
case 'sourcemap':
process.setSourceMapsEnabled(true);
evalN(n, sourceWithSourceMap);
break;
default:
throw new Error(`Unexpected method "${method}"`);
}
}
2 changes: 2 additions & 0 deletions benchmark/tls/secure-pair.js
Expand Up @@ -25,6 +25,7 @@ function main({ dur, size, securing }) {
isServer: true,
requestCert: true,
rejectUnauthorized: true,
maxVersion: 'TLSv1.2',
};

const server = net.createServer(onRedirectConnection);
Expand All @@ -38,6 +39,7 @@ function main({ dur, size, securing }) {
cert: options.cert,
isServer: false,
rejectUnauthorized: false,
maxVersion: options.maxVersion,
};
const network = securing === 'clear' ? net : tls;
const conn = network.connect(clientOptions, () => {
Expand Down
3 changes: 2 additions & 1 deletion benchmark/tls/throughput-c2s.js
Expand Up @@ -33,7 +33,8 @@ function main({ dur, type, size }) {
key: fixtures.readKey('rsa_private.pem'),
cert: fixtures.readKey('rsa_cert.crt'),
ca: fixtures.readKey('rsa_ca.crt'),
ciphers: 'AES256-GCM-SHA384'
ciphers: 'AES256-GCM-SHA384',
maxVersion: 'TLSv1.2',
};

const server = tls.createServer(options, onConnection);
Expand Down
3 changes: 2 additions & 1 deletion benchmark/tls/throughput-s2c.js
Expand Up @@ -40,7 +40,8 @@ function main({ dur, type, sendchunklen, recvbuflen, recvbufgenfn }) {
key: fixtures.readKey('rsa_private.pem'),
cert: fixtures.readKey('rsa_cert.crt'),
ca: fixtures.readKey('rsa_ca.crt'),
ciphers: 'AES256-GCM-SHA384'
ciphers: 'AES256-GCM-SHA384',
maxVersion: 'TLSv1.2',
};

let socketOpts;
Expand Down
3 changes: 2 additions & 1 deletion benchmark/tls/tls-connect.js
Expand Up @@ -21,7 +21,8 @@ function main(conf) {
key: fixtures.readKey('rsa_private.pem'),
cert: fixtures.readKey('rsa_cert.crt'),
ca: fixtures.readKey('rsa_ca.crt'),
ciphers: 'AES256-GCM-SHA384'
ciphers: 'AES256-GCM-SHA384',
maxVersion: 'TLSv1.2',
};

const server = tls.createServer(options, onConnection);
Expand Down
15 changes: 15 additions & 0 deletions deps/corepack/CHANGELOG.md
@@ -1,5 +1,20 @@
# Changelog

## [0.12.0](https://github.com/nodejs/corepack/compare/v0.11.2...v0.12.0) (2022-07-09)


### Features

* add support for hash checking ([#133](https://github.com/nodejs/corepack/issues/133)) ([6a480a7](https://github.com/nodejs/corepack/commit/6a480a72c2e9fc6725f2ab6dfaf4c52e4d3d2ade))
* add support for tags and ranges in `prepare` command ([#136](https://github.com/nodejs/corepack/issues/136)) ([29da06c](https://github.com/nodejs/corepack/commit/29da06c515e917829e5ffbedb34284a6597e9d56))
* update package manager versions ([#129](https://github.com/nodejs/corepack/issues/129)) ([2470f58](https://github.com/nodejs/corepack/commit/2470f58b74491a1301221df643c55be5adf1d349))
* update package manager versions ([#139](https://github.com/nodejs/corepack/issues/139)) ([cd0dcad](https://github.com/nodejs/corepack/commit/cd0dcade85621199048d7ca30dfc3efce11e1f37))


### Bug Fixes

* streamline the cache exploration ([#135](https://github.com/nodejs/corepack/issues/135)) ([185da44](https://github.com/nodejs/corepack/commit/185da44078fd1ca34aec2e4e6f8a52ecffcf3c11))

## [0.11.2](https://github.com/nodejs/corepack/compare/v0.11.1...v0.11.2) (2022-06-13)

### Bug Fixes
Expand Down