Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.4.1
->4.5.0
8.57.0
->8.57.1
1.9.1
->1.9.2
10.3.0
->10.8.2
20.11.1
->20.18.1
3.2.5
->3.4.2
Release Notes
chaijs/chai (chai)
v4.5.0
Compare Source
eslint/eslint (eslint)
v8.57.1
Compare Source
pimterry/loglevel (loglevel)
v1.9.2
Compare Source
mochajs/mocha (mocha)
v10.8.2
Compare Source
🩹 Fixes
📚 Documentation
🧹 Chores
🤖 Automation
v10.8.1
Compare Source
🩹 Fixes
v10.8.0
Compare Source
🌟 Features
🩹 Fixes
:is()
frommocha.css
to support older browsers (#5225) (#5227) (0a24b58)📚 Documentation
SECURITY.md
pointing to Tidelift (#5210) (bd7e63a)🧹 Chores
v10.7.3
Compare Source
🩹 Fixes
v10.7.0
Compare Source
🎉 Enhancements
v10.6.1
Compare Source
🐛 Fixes
v10.6.0
Compare Source
🎉 Enhancements
v10.5.2
Compare Source
🐛 Fixes
v10.5.1
Compare Source
🐛 Fixes
v10.5.0
Compare Source
🎉 Enhancements
🐛 Fixes
🔩 Other
v10.4.0
Compare Source
🎉 Enhancements
.cause
stacks in the error stack traces (@voxpelli)🐛 Fixes
lib/cli/run.js
(@stalet)🔩 Other
nodejs/node (node)
v20.18.1
: 2024-11-20, Version 20.18.1 'Iron' (LTS), @marco-ippolitoCompare Source
Notable Changes
7a8992b2d6
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086Commits
085c3441fe
] - assert: show the diff when deep comparing data with a custom message (Giovanni) #5475901f0b0e7b4
] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254a45537269b
] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #552381a0d8ef64f
] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #551592be5d611ce
] - benchmark: create benchmark for typescript (Marco Ippolito) #54904a2aa4fa477
] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #5498809849105fe
] - benchmark: add dotenv benchmark (Aviv Keller) #542786b3c24dbad
] - buffer: fix out of range for toString (Jason Zhang) #54553f25a5b6dc4
] - build: use rclone instead of aws CLI (Michaël Zasso) #556170bbeb605de
] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #553045b35836732
] - build: include.nycrc
in coverage workflows (Wuli Zuo) #55210f38d1e90e0
] - build: notify via slack when review-wanted (Rafael Gonzaga) #551020b985ec4bb
] - build: remove -v flag to reduce noise (iwuliz) #5502509f75b27a1
] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025f25760c4a2
] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279746e78c4f3
] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #5499467834ee646
] - build: printRunning XYZ linter...
for py and yml (Aviv Keller) #54386ae34e276a2
] - build: pin doc workflow to Node.js 20 (Richard Lau) #55755d0e871a706
] - build,win: add winget config to set up env (Hüseyin Açacak) #5472993ac799b6b
] - cli: fix spacing for port range error (Aviv Keller) #544953ba2e7bf97
] - Revert "console: colorize console error and warn" (Aviv Keller) #546772f678ea53b
] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #550415d28d98542
] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #553290c7f2fc421
] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184da15e7edf5
] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184381f1f9d08
] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #5433648d643f78a
] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #543367b1796803b
] - deps: update timezone to 2024b (Node.js GitHub Bot) #550568f1956c588
] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #5495020501a7350
] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #548450f81eafecc
] - doc: fix Markdown linter (Antoine du Hamel) #55344df713f0a98
] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344fd6fc61d2c
] - doc: add pmarchini to collaborators (Pietro Marchini) #55331b963db9ee2
] - doc: fixevents.once()
example usingAbortSignal
(Ivo Janssen) #5514450b13bfb12
] - doc: add onboarding details for ambassador program (Marco Ippolito) #5528427564b7811
] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #552459e7be23aa5
] - doc: tweak onboarding instructions (Michael Dawson) #55212f412a029c3
] - doc: update test context.assert (Pietro Marchini) #551862f7828debb
] - doc: fix unordered error anchors (Antoine du Hamel) #55242d08e4c235b
] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166d65c2458dc
] - doc: use correct dash in stability status (Antoine du Hamel) #55200d9839c16cf
] - doc: fix link intest/README.md
(Livia Medeiros) #551651ad659afa4
] - doc: add esm examples to node:net (Alfredo González) #5513481ad69d50f
] - doc: move the YAML changes element (sendoru) #551127a51a161be
] - doc: fix the require resolve algorithm inmodules.md
(chirsz) #5511780edcdf899
] - doc: update style guide (Aviv Keller) #53223388c754dd2
] - doc: add missing:
torun()
'sglobPatterns
(Aviv Keller) #5513594302b6a76
] - doc: add abmusse to collaborators (Abdirahim Musse) #5508627ff2da964
] - doc: add note about--expose-internals
(Aviv Keller) #52861df6dc753b7
] - doc: removeparseREPLKeyword
from REPL documentation (Aviv Keller) #547494baa5c4d10
] - doc: change backporting guide with updated info (Aviv Keller) #537469947fc112f
] - doc: add missing definitions tointernal-api.md
(Aviv Keller) #53303a4586f0e94
] - doc: update documentation for externalizing deps (Michael Dawson) #5479270504f8522
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #551999d0041ac40
] - doc: add release key for aduh95 (Antoine du Hamel) #553490c1666a52a
] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643453df77f99
] - events: returncurrentTarget
when dispatching (Matthew Aitken) #546420decaab9db
] - fs: acknowledgesignal
option infilehandle.createReadStream()
(Livia Medeiros) #5514800a2fc7166
] - lib: moveSymbol[Async]Dispose
polyfills tointernal/util
(Antoine du Hamel) #548538e6b606ac4
] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050c96e5cb664
] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457748ed2e559
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #553008b8d35f015
] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225d3441ff0c8
] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #552241c20908558
] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #552238a529abd69
] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #552199053d210ab
] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182db2496c125
] - meta: add more information about nightly releases (Aviv Keller) #55084d2ce003b2f
] - meta: addlinux
to OS labels in collaborator guide (Aviv Keller) #5498637b0bea247
] - meta: remove never-used workflow trigger (Aviv Keller) #54983ae27e2dcd7
] - meta: add links to alternative issue trackers (Aviv Keller) #544016e5d524b0f
] - module: remove duplicated import (Aviv Keller) #549423a682cca03
] - path: remove repetitive conditional operator inposix.resolve
(Wiyeong Seo) #54835ac1cb8dfdb
] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #5476785b3edc83b
] - repl: catch\v
and\r
in new-line detection (Aviv Keller) #54512df1f04999e
] - src: decode native error messages as UTF-8 (Joyee Cheung) #5502486d718177a
] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #537577d01b6a9c5
] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993a730cdb622
] - src: remove duplicate code setting AF_INET (He Yang) #54939f10d9ad283
] - stream: treat null asyncIterator as undefined (Jason Zhang) #551196027084245
] - test: maketest-loaders-workers-spawned
less flaky (Antoine du Hamel) #5517266a87d19bd
] - test: update multiple assert tests to use node:test (James M Snell) #545855105188c47
] - test: update wpt test for encoding (devstone) #5515181bcec0b82
] - test: deflake test/pummel/test-timers.js (jakecastelli) #5509882c402265a
] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #5500478021701ed
] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089c908b8a2d8
] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088afc1628e73
] - test: fixassertSnapshot
when path contains a quote (Antoine du Hamel) #550877c88739b83
] - test: fix some tests when path contains%
(Antoine du Hamel) #55082eb4d468671
] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079bc7b5249d4
] - test: maketest-runner-assert
more robust (Aviv Keller) #550366c2a1386f7
] - test: update tls test to support OpenSSL32 (Michael Dawson) #5503096406610fa
] - test: fixtest-vm-context-dont-contextify
when path contains a space (Antoine du Hamel) #5502639a80eed4f
] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016bd8fd4fceb
] - test: addutil.stripVTControlCharacters
test (RedYetiDev) #54865333b5a02d0
] - test: improve coverage for timer promises schedular (Aviv Keller) #53370f48992f433
] - test: remove unused common utilities (RedYetiDev) #5482593a098c56d
] - test: deflake test-http-header-overflow (Luigi Pinca) #54978f849cf677d
] - test: fixsoucre
tosource
(Aviv Keller) #550381a007ea814
] - test: add asserts to validate test assumptions (Michael Dawson) #549976f53c096f8
] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977aba9dc775e
] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976ee5624bffe
] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #549725c11a61140
] - test: update test to support OpenSSL32 (Michael Dawson) #5496862f21470e4
] - test: update DOM events web platform tests (Matthew Aitken) #54642426851705c
] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231b1cad519d7
] - test_runner: usetest:
symbol on second print of parent test (RedYetiDev) #5495663c8f3d436
] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #550130b3fb344f7
] - tools: addpolyfilled
option toprefer-primordials
rule (Antoine du Hamel) #553188981309bd9
] - tools: makechoco install
script more readable (Aviv Keller) #540027310abeae1
] - tools: bump Rollup from 4.18.1 to 4.22.4 forlint-md
(dependabot[bot]) #55093083311e8af
] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892ae4b2aece1
] - tools: update error message for ICU in license-builder (Aviv Keller) #547423ebd31684d
] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951397be8a10e
] - tty: fix links for terminal colors (Aviv Keller) #54596a3c2ef9e98
] - util: update ansi regex (Aviv Keller) #54865efdccc88a2
] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323226836c5ac
] - worker: throw InvalidStateError in postMessage after close (devstone) #55206f39ff4d14b
] - worker: handle--input-type
more consistently (Antoine du Hamel) #5497930383ffb9a
] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698v20.18.0
: 2024-10-03, Version 20.18.0 'Iron' (LTS), @targosCompare Source
Notable Changes
Experimental Network Inspection Support in Node.js
This update introduces the initial support for network inspection in Node.js.
Currently, this is an experimental feature, so you need to enable it using the
--experimental-network-inspection
flag.With this feature enabled, you can inspect network activities occurring within a JavaScript application.
To use network inspection, start your Node.js application with the following command:
$ node --inspect-wait --experimental-network-inspection index.js
Please note that the network inspection capabilities are in active development.
We are actively working on enhancing this feature and will continue to expand its functionality in future updates.
http
andhttps
modules only.feature request on the Chrome DevTools side is addressed.
Contributed by Kohei Ueno in #53593 and #54246
Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
This releases introduces a new option to the API
tls.createSecureContext
. Fromnow on,
tls.createSecureContext({ allowPartialTrustChain: true })
can be usedto treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted.
Contributed by Anna Henningsen in #54790
New option for vm.createContext() to create a context with a freezable globalThis
Node.js implements a flavor of
vm.createContext()
and friends that creates a context without contextifying its globalobject when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context
(impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they
don't need the interceptor behavior.
Contributed by Joyee Cheung in #54394
Deprecations
64aa31f6e5
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #548424c52ee3d7f
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708Other Notable Changes
b80da2f964
] - buffer: optimize createFromString (Robert Nagy) #5432402b36cbd2d
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575879546a9bf
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413f789f4c92d
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #528484eb0749b6c
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280Commits
013c48f0e9
] - benchmark: --no-warnings to avoid DEP/ExpWarn log (Rafael Gonzaga) #54928194fc113ac
] - benchmark: add buffer.isAscii benchmark (RafaelGSS) #547407410d51cb9
] - benchmark: add buffer.isUtf8 bench (RafaelGSS) #547402393f21e8a
] - benchmark: add access async version to bench (Rafael Gonzaga) #54747b8779721f0
] - benchmark: enhance dc publish benchmark (Rafael Gonzaga) #547454078aa83ff
] - benchmark: add match and doesNotMatch bench (RafaelGSS) #5473466acab9976
] - benchmark: add rejects and doesNotReject bench (RafaelGSS) #547346db777fb3a
] - benchmark: add throws and doesNotThrow bench (RafaelGSS) #547348f101560ce
] - benchmark: add strictEqual and notStrictEqual bench (RafaelGSS) #547342c9e4c936e
] - benchmark: adds groups to better separate benchmarks (Giovanni Bucci) #54393671c3ac633
] - benchmark: fix benchmark for file path and URL conversion (Early Riser) #541908c8708cb5b
] - benchmark: use assert.ok searchparams (Rafael Gonzaga) #543348b71fa79e2
] - benchmark: add stream.compose benchmark (jakecastelli) #5430893ee36e3a0
] - benchmark: rename count to n (Rafael Gonzaga) #54271f2971b6f0b
] - benchmark: change assert() to assert.ok() (Rafael Gonzaga) #54254f48f2c212c
] - benchmark: support --help in CLI (Aviv Keller) #533580309b0520b
] - benchmark: remove force option as force defaults to true (Yelim Koo) #54203b6e8305b2d
] - benchmark: use assert.ok instead of assert (Rafael Gonzaga) #5417690c660d26a
] - benchmark: add require-esm benchmark (Joyee Cheung) #521661b8584b52e
] - benchmark,doc: add CPU scaling governor to perf (Rafael Gonzaga) #547230b9161b330
] - benchmark,doc: mention bar.R to the list of scripts (Rafael Gonzaga) #5472284bf93b7ea
] - buffer: allow invalid encoding in from (Robert Nagy) #54533d04246a0d7
] - buffer: optimize byteLength for common encodings (Robert Nagy) #54342f36831f694
] - buffer: optimize createFromString (Robert Nagy) #54324f5f40c8088
] - buffer: optimize for common encodings (Robert Nagy) #5431976c37703be
] - buffer: add JSDoc to blob bytes method (Roberto Simonini) #541173012d31404
] - buffer: use faster integer argument check (Robert Nagy) #540893505782801
] - buffer: make indexOf(byte) faster (Tobias Nießen) #53455d285fc1f68
] - build: upgrade clang-format to v18 (Aviv Keller) #53957d288ec3b0a
] - build: fix conflicting V8 object print flags (Daeyeon Jeong) #54785e862eecac9
] - build: do not build with code cache for core coverage collection (Joyee Cheung) #54633f7a606eb96
] - build: turn off-Wrestrict
(Richard Lau) #5473771ca2665e4
] - build: reclaim disk space on macOS GHA runner (jakecastelli) #5465882d8051c39
] - build: don't clean obj.target directory if it doesn't exist (Joyee Cheung) #543376e550b1f26
] - build: updateruff
to0.5.2
(Aviv Keller) #53909e2ea7b26d7
] - build: fix ./configure --help format error (Zhenwei Jin) #53066eb2402d569
] - build: enable building with shared uvwasi lib (Pooja D P) #4398745732314d4
] - build: sync V8 warning cflags with BUILD.gn (Michaël Zasso) #528736e0a2bb54c
] - build: harmonize Clang checks (Michaël Zasso) #528733f78d4eb28
] - cli: add--expose-gc
flag available toNODE_OPTIONS
(Juan José) #53078a110409b2a
] - console: use validateOneOf for colorMode validation (HEESEUNG) #54245231ab788ea
] - crypto: reject dh,x25519,x448 in {Sign,Verify}Final (Huáng Jùnliàng) #53774a5984e4570
] - crypto: return a clearer error when loading an unsupported pkcs12 (Tim Perry) #54485f287cd77bd
] - crypto: remove unusedkHashTypes
internal (Antoine du Hamel) #546271fc904f8c4
] - deps: update cjs-module-lexer to 1.4.1 (Node.js GitHub Bot) #5484695b55c39b1
] - deps: update simdutf to 5.5.0 (Node.js GitHub Bot) #54434cf6ded5dd3
] - deps: update cjs-module-lexer to 1.4.0 (Node.js GitHub Bot) #547137f8edce3f1
] - deps: update c-ares to v1.33.1 (Node.js GitHub Bot) #545499a4a7b7ecc
](https://reConfiguration
📅 Schedule: Branch creation - "before 1am on Monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.