-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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.x backport] cli: add --watch #44814
Commits on Aug 22, 2022
-
doc: add cola119 to collaborators
Fixes: nodejs#44123 PR-URL: nodejs#44248 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8916fa - Browse repository at this point
Copy the full SHA e8916faView commit details -
test: move "errors" test to "parallel"
PR-URL: nodejs#44233 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Feng Yu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a02492f - Browse repository at this point
Copy the full SHA a02492fView commit details -
report: skip report if uncaught exception is handled
If the exception is handled by the userland process#uncaughtException handler, reports should not be generated repetitively as the process may continue to run. PR-URL: nodejs#44208 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c842ab3 - Browse repository at this point
Copy the full SHA c842ab3View commit details -
http: add max for http keepalive
PR-URL: nodejs#44217 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 851264c - Browse repository at this point
Copy the full SHA 851264cView commit details -
tools: update lint-md-dependencies to [email protected]
PR-URL: nodejs#44244 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87f75a2 - Browse repository at this point
Copy the full SHA 87f75a2View commit details -
PR-URL: nodejs#43253 Reviewed-By: Erick Wendel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2cf3ce8 - Browse repository at this point
Copy the full SHA 2cf3ce8View commit details -
Use the logical OR operator instead of the ternary operator where applicable. PR-URL: nodejs#44236 Reviewed-By: theanarkh <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ecf7b07 - Browse repository at this point
Copy the full SHA ecf7b07View commit details -
tools: update ESLint to 8.22.0
PR-URL: nodejs#44243 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36b39db - Browse repository at this point
Copy the full SHA 36b39dbView commit details -
dgram: add dgram send queue info
PR-URL: nodejs#44149 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19557ad - Browse repository at this point
Copy the full SHA 19557adView commit details -
typings: add JSDoc for
internal/validators
PR-URL: nodejs#44181 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2efce0f - Browse repository at this point
Copy the full SHA 2efce0fView commit details -
meta: update
web streams
in label-pr-configSigned-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44235 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7be92f - Browse repository at this point
Copy the full SHA f7be92fView commit details -
This updates the tests and the status file via running `git node wpt streams`. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44234 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b6126a - Browse repository at this point
Copy the full SHA 7b6126aView commit details -
lib: refactor to avoid prototype pollution
PR-URL: nodejs#43474 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8cfc8b0 - Browse repository at this point
Copy the full SHA 8cfc8b0View commit details -
PR-URL: nodejs#44263 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bce8041 - Browse repository at this point
Copy the full SHA bce8041View commit details -
stream: fix
isDetachedBuffer
validationsSigned-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44114 Refs: nodejs#43866 Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3ac445 - Browse repository at this point
Copy the full SHA a3ac445View commit details -
src: avoid copying BaseObjectPtrs in loop
While copying BaseObjectPtrs is cheap, it is not a no-op, so it is best to iterate over references to BaseObjectPtrs only. PR-URL: nodejs#44270 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2dce59 - Browse repository at this point
Copy the full SHA d2dce59View commit details -
doc,report: document special filenames
Filenames `stdout` and `stderr` have special meanings when writing the report. PR-URL: nodejs#44257 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Erick Wendel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8441a2 - Browse repository at this point
Copy the full SHA e8441a2View commit details -
src: extract common context embedder tag checks
Extract common context embedder tag checks to ContextEmbedderTag so that verifying if a context is a node context doesn't need to access private members of node::Environment. PR-URL: nodejs#44258 Refs: nodejs#44179 Refs: nodejs#44252 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3765c63 - Browse repository at this point
Copy the full SHA 3765c63View commit details -
doc: add TypeScript execution requirements
Add section with high level approach/requirements for enabling TypeScript execution as discussed in the Next-10 [TypeScript mini-summit](nodejs/next-10#150) Signed-off-by: Michael Dawson <[email protected]> PR-URL: nodejs#44030 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a56787 - Browse repository at this point
Copy the full SHA 7a56787View commit details -
report: print javascript stack on fatal error
Try to print JavaScript stack on fatal error. OOMError needs to be distinguished from fatal error since no new handle can be created at that time. PR-URL: nodejs#44242 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8cf6499 - Browse repository at this point
Copy the full SHA 8cf6499View commit details -
test: add coverage for invalid RSA-PSS digests
PR-URL: nodejs#44271 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2707d0 - Browse repository at this point
Copy the full SHA a2707d0View commit details -
src: refactor to avoid using a moved object
KeyPairGenTraits::EncodeKey should not use an object that it previously moved. Make ManagedEVPPKey::ToEncoded(Public|Private)Key non-static members of ManagedEVPPKey and call them on the key object instead. PR-URL: nodejs#44269 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Feng Yu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3dadc95 - Browse repository at this point
Copy the full SHA 3dadc95View commit details -
PR-URL: nodejs#44262 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3f3bf6 - Browse repository at this point
Copy the full SHA d3f3bf6View commit details -
doc: fix optionality of callback arg of checkPrime
The callback argument is required. PR-URL: nodejs#44311 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a933712 - Browse repository at this point
Copy the full SHA a933712View commit details -
test_runner: fix test runner hooks failure stack
PR-URL: nodejs#44284 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0b160c - Browse repository at this point
Copy the full SHA c0b160cView commit details -
perf_hooks: add resourcetiming buffer limit
Add WebPerf API `performance.setResourceTimingBufferSize` and event `'resourcetimingbufferfull'` support. The resource timing entries are added to the global performance timeline buffer automatically when using fetch. If users are not proactively cleaning these events, it can grow without limit. Apply the https://www.w3.org/TR/timing-entrytypes-registry/ default resource timing buffer max size so that the buffer can be limited to not grow indefinitely. PR-URL: nodejs#44220 Reviewed-By: Rafael Gonzaga <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e38fba - Browse repository at this point
Copy the full SHA 0e38fbaView commit details -
PR-URL: nodejs#44321 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8977a87 - Browse repository at this point
Copy the full SHA 8977a87View commit details -
src: use imported namespaces in
node_contextify.cc
PR-URL: nodejs#44299 Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9d19ac - Browse repository at this point
Copy the full SHA e9d19acView commit details -
tools: update lint-md-dependencies to [email protected]
PR-URL: nodejs#44320 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7c1b83 - Browse repository at this point
Copy the full SHA f7c1b83View commit details -
fs: add encoding parameter to benchmarks
PR-URL: nodejs#44278 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ec3f67 - Browse repository at this point
Copy the full SHA 4ec3f67View commit details -
deps: update corepack to 0.13.0
PR-URL: nodejs#44318 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c270b9a - Browse repository at this point
Copy the full SHA c270b9aView commit details
Commits on Aug 23, 2022
-
lib: add diagnostics channel and perf hooks detail
Co-Authored-By: theanarkh <[email protected]> PR-URL: nodejs#43984 Backport-PR-URL: nodejs#44256 Reviewed-By: Matteo Collina [email protected] Reviewed-By: Mohammed Keyvanzadeh [email protected] Reviewed-By: Minwoo Jung [email protected]
Configuration menu - View commit details
-
Copy full SHA for 1a44fbc - Browse repository at this point
Copy the full SHA 1a44fbcView commit details -
test: deflake test-diagnostics-channel-net
This test uses the deprecated methods in `diagnostic_channel` (see the reference), which are deprecated because the channels can be GC'd while in use, leading to lost messages. Change to use the non-deprecated APIs, which should work. I wasn't able to reproduce this locally; I assume it's memory dependent. Refs: nodejs#42714 Fixes: nodejs#44143 PR-URL: nodejs#44144 Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 514e516 - Browse repository at this point
Copy the full SHA 514e516View commit details -
net: create diagnostics channels lazily
PR-URL: nodejs#38905 Refs: nodejs#35711 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b3fcf7 - Browse repository at this point
Copy the full SHA 1b3fcf7View commit details -
bootstrap: implement --snapshot-blob and --build-snapshot
This patch introduces `--build-snapshot` and `--snapshot-blob` options for creating and using user land snapshots. For the initial iteration, user land CJS modules and ESM are not yet supported in the snapshot, so only one single file can be snapshotted (users can bundle their applications into a single script with their bundler of choice to build a snapshot though). A subset of builtins should already work, and support for more builtins are being added. This PR includes tests checking that the TypeScript compiler and the marked markdown renderer (and the builtins they use) can be snapshotted and deserialized. To generate a snapshot using `snapshot.js` as entry point and write the snapshot blob to `snapshot.blob`: ``` $ echo "globalThis.foo = 'I am from the snapshot'" > snapshot.js $ node --snapshot-blob snapshot.blob --build-snapshot snapshot.js ``` To restore application state from `snapshot.blob`, with `index.js` as the entry point script for the deserialized application: ``` $ echo "console.log(globalThis.foo)" > index.js $ node --snapshot-blob snapshot.blob index.js I am from the snapshot ``` Users can also use the `v8.startupSnapshot` API to specify an entry point at snapshot building time, thus avoiding the need of an additional entry script at deserialization time: ``` $ echo "require('v8').startupSnapshot.setDeserializeMainFunction(() => console.log('I am from the snapshot'))" > snapshot.js $ node --snapshot-blob snapshot.blob --build-snapshot snapshot.js $ node --snapshot-blob snapshot.blob I am from the snapshot ``` Note that this patch only adds functionality to the `node` executable for building run-time user-land snapshots, the generated snapshot is stored into a separate file on disk. Building a single binary with both Node.js and an embedded snapshot has already been possible with the `--node-snapshot-main` option to the `configure` script if the user compiles Node.js from source. It would be a different task to enable the `node` executable to produce a single binary that contains both Node.js and an embedded snapshot without building Node.js from source, which should be layered on top of the SEA (Single Executable Apps) initiative. Known limitations/bugs that are being fixed in the upstream: - V8 hits a DCHECK when deserializing certain mutated globals, e.g. `Error.stackTraceLimit` (it should work fine in the release build, however): https://chromium-review.googlesource.com/c/v8/v8/+/3319481 - Layout of V8's read-only heap can be inconsistent after deserialization, resulting in memory corruption: https://bugs.chromium.org/p/v8/issues/detail?id=12921 PR-URL: nodejs#38905 Refs: nodejs#35711 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3561514 - Browse repository at this point
Copy the full SHA 3561514View commit details -
bootstrap: clean up warning setup during serialization
PR-URL: nodejs#38905 Refs: nodejs#35711 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 597a517 - Browse repository at this point
Copy the full SHA 597a517View commit details -
test: add UMD module test with marked
PR-URL: nodejs#38905 Refs: nodejs#35711 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4189ab - Browse repository at this point
Copy the full SHA d4189abView commit details -
test: test snapshotting TypeScript compiler
PR-URL: nodejs#38905 Refs: nodejs#35711 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40b817c - Browse repository at this point
Copy the full SHA 40b817cView commit details -
bootstrap: fixup Error.stackTraceLimit for user-land snapshot
It's difficult for V8 to handle Error.stackTraceLimit in the snapshot, so delete it from the Error constructor if it's present before snapshot serialization, and re-install it after deserialization. In addition try not to touch it from our internals during snapshot building in the first place by updating isErrorStackTraceLimitWritable(). PR-URL: nodejs#44203 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87d7845 - Browse repository at this point
Copy the full SHA 87d7845View commit details -
src: disambiguate terms used to refer to builtins and addons
The term "native module" dates back to some of the oldest code in the code base. Within the context of Node.js core it usually refers to modules that are native to Node.js (e.g. fs, http), but it can cause confusion for people who don't work on this part of the code base, as "native module" can also refer to native addons - which is even the case in some of the API docs and error messages. This patch tries to make the usage of these terms more consistent. Now within the context of Node.js core: - JavaScript scripts that are built-in to Node.js are now referred to as "built-in(s)". If they are available as modules, they can also be referred to as "built-in module(s)". - Dynamically-linked shared objects that are loaded into the Node.js processes are referred to as "addons". We will try to avoid using the term "native modules" because it could be ambiguous. Changes in this patch: File names: - node_native_module.h -> node_builtins.h, - node_native_module.cc -> node_builtins.cc C++ binding names: - `native_module` -> `builtins` `node::Environment`: - `native_modules_without_cache` -> `builtins_without_cache` - `native_modules_with_cache` -> `builtins_with_cache` - `native_modules_in_snapshot` -> `builtins_in_cache` - `native_module_require` -> `builtin_module_require` `node::EnvSerializeInfo`: - `native_modules` -> `builtins `node::native_module::NativeModuleLoader`: - `native_module` namespace -> `builtins` namespace - `NativeModuleLoader` -> `BuiltinLoader` - `NativeModuleRecordMap` -> `BuiltinSourceMap` - `NativeModuleCacheMap` -> `BuiltinCodeCacheMap` - `ModuleIds` -> `BuiltinIds` - `ModuleCategories` -> `BuiltinCategories` - `LoadBuiltinModuleSource` -> `LoadBuiltinSource` `loader.js`: - `NativeModule` -> `BuiltinModule` (the `NativeModule` name used in `process.moduleLoadList` is kept for compatibility) And other clarifications in the documentation and comments. PR-URL: nodejs#44135 Fixes: nodejs#44036 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Jan Krems <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab73cc8 - Browse repository at this point
Copy the full SHA ab73cc8View commit details -
2022-08-24, Version 18.8.0 (Current)
Notable changes: * bootstrap: * implement run-time user-land snapshots via --build-snapshot and --snapshot-blob (Joyee Cheung) in nodejs#38905 * crypto: * (SEMVER-MINOR) allow zero-length IKM in HKDF and in webcrypto PBKDF2 (Filip Skokan) nodejs#44201 * (SEMVER-MINOR) allow zero-length secret KeyObject (Filip Skokan) nodejs#44201 * deps: * upgrade npm to 8.18.0 (npm team) nodejs#44263 - Adds a new npm query cmd * doc: * add Erick Wendel to collaborators (Erick Wendel) nodejs#44088 * add theanarkh to collaborators (theanarkh) nodejs#44131 * add MoLow to collaborators (Moshe Atlow) nodejs#44214 * add cola119 to collaborators (cola119) nodejs#44248 * deprecate --trace-atomics-wait (Keyhan Vakil) nodejs#44093 * http: * (SEMVER-MINOR) make idle http parser count configurable (theanarkh) nodejs#43974 * net: * (SEMVER-MINOR) add local family (theanarkh) nodejs#43975 * src: * (SEMVER-MINOR) print source map error source on demand (Chengzhong Wu) nodejs#43875 * tls: * (SEMVER-MINOR) pass a valid socket on tlsClientError (Daeyeon Jeong) nodejs#44021 PR-URL: nodejs#44353
Configuration menu - View commit details
-
Copy full SHA for c200106 - Browse repository at this point
Copy the full SHA c200106View commit details
Commits on Aug 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 629e51d - Browse repository at this point
Copy the full SHA 629e51dView commit details
Commits on Sep 5, 2022
-
build: added NINJA env to customize ninja binary
Fixes: nodejs#44286 PR-URL: nodejs#44293 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30da2b4 - Browse repository at this point
Copy the full SHA 30da2b4View commit details -
tls: use OpenSSL constant for client random size
Avoid magic numbers in the code and use an OpenSSL constant instead. PR-URL: nodejs#44305 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7039916 - Browse repository at this point
Copy the full SHA 7039916View commit details -
tls: remove SecureContext setFreeListLength
This function was introduced in 2684c90 as an internal helper function. The C++ implementation became a no-op in a57e2f2 when building against OpenSSL 1.1.0 (instead of OpenSSL 1.0.2), and eventually became a no-op in all supported OpenSSL versions in 970ce14. Finally, eb20447 removed the only call site of setFreeListLength (which was already a no-op at that point). Refs: nodejs#1529 Refs: nodejs#10859 Refs: nodejs#19794 Refs: nodejs#38116 PR-URL: nodejs#44300 Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1cdccbc - Browse repository at this point
Copy the full SHA 1cdccbcView commit details -
src: make minor improvements to SecureBuffer
Remove an unnecessary static_cast<char*>(). Use OPENSSL_secure_zalloc() instead of OPENSSL_secure_malloc() + memset(). Update the comment describing the function which predates support for OpenSSL's secure heap. PR-URL: nodejs#44302 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6857ee8 - Browse repository at this point
Copy the full SHA 6857ee8View commit details -
crypto: improve RSA-PSS digest error messages
md and mgf1_md are internal variable names and should not appear in JS error messages. Also include the invalid digest name in the error message. PR-URL: nodejs#44307 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28781a1 - Browse repository at this point
Copy the full SHA 28781a1View commit details -
src: fix multiple format string bugs
The THROW_ERR_* functions interpret the first argument as a printf-like format string, which is problematic when it contains unsanitized user input. This typically happens when a printf-like function is used to produce the error message, which is then passed to a THROW_ERR_* function, which again interprets the error message as a format string. Fix such occurrences by properly formatting error messages using static format strings only, and in a single step. PR-URL: nodejs#44314 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 768c9cb - Browse repository at this point
Copy the full SHA 768c9cbView commit details -
test: make tmpdir.js importable from esm
PR-URL: nodejs#44322 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ian Sutherland <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11e9d6e - Browse repository at this point
Copy the full SHA 11e9d6eView commit details -
doc: fix typo in test runner code examples
PR-URL: nodejs#44351 Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8cc5556 - Browse repository at this point
Copy the full SHA 8cc5556View commit details -
doc: add daeyeon to collaborators
Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44355 Fixes: nodejs#44142 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Kohei Ueno <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a0f750 - Browse repository at this point
Copy the full SHA 4a0f750View commit details -
doc: add history for net.createServer() options
Fixes: nodejs#44298 PR-URL: nodejs#44326 Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65c1f40 - Browse repository at this point
Copy the full SHA 65c1f40View commit details -
vm: make ContextifyContext template context-independent
Instead of creating an object template for every ContextifyContext, we now create one object template that can be reused by all contexts. The native pointer can be obtained through an embdder pointer field in the creation context of the receiver in the interceptors, because the interceptors are only meant to be invoked on the global object of the contextified contexts. This makes the ContextifyContext template context-independent and therefore snapshotable. PR-URL: nodejs#44252 Refs: nodejs#44014 Refs: nodejs#37476 Reviewed-By: Chengzhong Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bce827e - Browse repository at this point
Copy the full SHA bce827eView commit details -
vm: include vm context in the embedded snapshot
Include a minimally initialized contextify context in the embedded snapshot. This paves the way for user-land vm context snapshots. PR-URL: nodejs#44252 Refs: nodejs#44014 Refs: nodejs#37476 Reviewed-By: Chengzhong Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 736a04a - Browse repository at this point
Copy the full SHA 736a04aView commit details -
vm: avoid unnecessary property getter interceptor calls
Access to the global object from within a vm context is intercepted so it's slow, therefore we should try to avoid unnecessary access to it during the initialization of vm contexts. - Remove the Atomics.wake deletion as V8 now does not install it anymore. - Move the Intl.v8BreakIterator deletion into the snapshot. - Do not query the Object prototype if --disable-proto is not set. This should speed up the creation of vm contexts by about ~12%. PR-URL: nodejs#44252 Refs: nodejs#44014 Refs: nodejs#37476 Reviewed-By: Chengzhong Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4a45a9 - Browse repository at this point
Copy the full SHA c4a45a9View commit details -
PR-URL: nodejs#44319 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57da3db - Browse repository at this point
Copy the full SHA 57da3dbView commit details -
test_runner: support programmatically running
--test
PR-URL: nodejs#44241 Fixes: nodejs#44023 Fixes: nodejs#43675 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8175c65 - Browse repository at this point
Copy the full SHA 8175c65View commit details -
debugger: decrease timeout used to wait for the port to be free
By default, the debugger would query the specified inspector sever port to see if it's available before starting the server, and it would keep retrying until a timeout (previously 9999 ms) is reached. This timeout seems to be longer than necessary. This patch decreases the timeout to 3 seconds. PR-URL: nodejs#44359 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1eafe1 - Browse repository at this point
Copy the full SHA b1eafe1View commit details -
test: add OpenSSL 3.x providers test
Add basic tests for providers when using OpenSSL 3.x. PR-URL: nodejs#44148 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c65d7fb - Browse repository at this point
Copy the full SHA c65d7fbView commit details -
report: add queue info for udp
PR-URL: nodejs#44345 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df25900 - Browse repository at this point
Copy the full SHA df25900View commit details -
report: expose report public native apis
Allows APM vendors to generate a diagnostic report without calling into JavaScript. Like, from their own message channels interrupting the isolate and generating a report on demand. PR-URL: nodejs#44255 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f23c17 - Browse repository at this point
Copy the full SHA 1f23c17View commit details -
tty: fix TypeError when stream is closed
Fixes: nodejs#41330 PR-URL: nodejs#43803 Reviewed-By: Joyee Cheung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b0a4af - Browse repository at this point
Copy the full SHA 8b0a4afView commit details -
src: remove KeyObjectData::symmetric_key_len_
symmetric_key_len_ is always equal to symmetric_key_.size(). Storing it separately is redundant and has no significant benefit. PR-URL: nodejs#44346 Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88d9566 - Browse repository at this point
Copy the full SHA 88d9566View commit details -
The test in `test/parallel/test-stream-writable-callback-twice.js` is duplicated in `test/parallel/test-stream-writable-write-cb-twice.js`. PR-URL: nodejs#44313 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e2dcaf - Browse repository at this point
Copy the full SHA 8e2dcafView commit details -
node-api: cleanup redundant static modifiers
Functions declared in anonymous namespaces are not necessarily to be marked as static. PR-URL: nodejs#44301 Refs: nodejs#44141 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2563401 - Browse repository at this point
Copy the full SHA 2563401View commit details -
src: make minor improvements to EnabledDebugList
Change the underlying type of DebugCategory to unsigned int so that it can be safely cast to an unsigned type without having to worry about negative values, removing the need for the DCHECK_GE statements. To fully benefit from type safety, remove DebugCategory::CATEGORY_COUNT and instead add a constexpr kDebugCategoryCount. Remove the second argument from EnabledDebugList::set_enabled() and EnabledDebugList::Parse() because it was always set to true. PR-URL: nodejs#44350 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3eb7918 - Browse repository at this point
Copy the full SHA 3eb7918View commit details -
PR-URL: nodejs#44377 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Adrian Estrada <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed52bd0 - Browse repository at this point
Copy the full SHA ed52bd0View commit details -
PR-URL: nodejs#44344 Fixes: nodejs#43115 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e451dc - Browse repository at this point
Copy the full SHA 1e451dcView commit details -
test: raise sleep times in child process tests
sequential/test-child-process-execsync and parallel/test-child-process-spawnsync-timeout are both flaky on azure Windows machines, where it may take longer for Node.js to launch and receive output from child processes. These tests work by spawning a child processes that is supposed to sleep for a long time, but the option is configured so that Node.js would terminate them early when a shorter timeout is reached. Then the tests assert that the time taken for the whole thing is shorter than the specified sleep time (meaning the process don't actually get to sleep for that long). To make the tests less brittle on azure Windows, this patch raises the sleep times in those tests on Windows platform, so that the overhead can be taken into account there. PR-URL: nodejs#44375 Refs: nodejs/build#3014 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e001aaf - Browse repository at this point
Copy the full SHA e001aafView commit details -
crypto: simplify control flow in HKDF
Unify the implementation and perform the same OpenSSL calls regardless of whether the key and/or salt are empty. This simplifies the code and improves coverage. Refs: nodejs#44201 PR-URL: nodejs#44272 Reviewed-By: Filip Skokan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3dbe18 - Browse repository at this point
Copy the full SHA c3dbe18View commit details -
inspector: prevent integer overflow in open()
PR-URL: nodejs#44367 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Kohei Ueno <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ed3b30 - Browse repository at this point
Copy the full SHA 2ed3b30View commit details -
This doesn't include the other tests for the result when running a specific test in WPT. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44238 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Anto Aravinth <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a5fdac - Browse repository at this point
Copy the full SHA 3a5fdacView commit details -
deps: update icu tzdata to 2022b
Following the documentation at: https://github.com/nodejs/node/blob/main/doc/contributing/maintaining-icu.md#time-zone-data Refs: nodejs/Release#773 Refs: unicode-org/icu-data#29 PR-URL: nodejs#44283 Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b50ff2 - Browse repository at this point
Copy the full SHA 1b50ff2View commit details -
src: simplify ECDH::GetCurves()
There is no need to explicitly branch based on num_curves or on the return value of the second call to EC_get_builtin_curves. Remove unnecessary branches and replace the loop with a functional transform. PR-URL: nodejs#44309 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2be8aca - Browse repository at this point
Copy the full SHA 2be8acaView commit details -
lib: use safe
Promise
alternatives when availablePR-URL: nodejs#43476 Reviewed-By: Moshe Atlow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a86ef1b - Browse repository at this point
Copy the full SHA a86ef1bView commit details -
tools: refactor
avoid-prototype-pollution
lint ruleThe lint rule was not catching all occurences of unsafe primordials use, and was too strict on some methods. PR-URL: nodejs#43476 Reviewed-By: Moshe Atlow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b670954 - Browse repository at this point
Copy the full SHA b670954View commit details -
src: use
if constexpr
where appropriateDoesn't change much but communicates to readers that these are compile-time conditionals. PR-URL: nodejs#44291 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f16177 - Browse repository at this point
Copy the full SHA 7f16177View commit details -
doc: fix release guide example consistency
This changeset fixes two consistency issues in this single example that guides releasers on how to push the tag to the remote repo. The first issue is that the remote git reference is consistently referred as `upstream` elsewhere in the guide. The second issue being that the version example used in the rest of the guide should be a fictional `v1.2.3` as stated in the "How to create a release" guide notes: > * Examples will use the fictional release version `1.2.3`. PR-URL: nodejs#44385 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21437f7 - Browse repository at this point
Copy the full SHA 21437f7View commit details -
stream: fix
ReadableStreamReader.releaseLock()
Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44292 Refs: https://streams.spec.whatwg.org/#default-reader-release-lock Refs: https://streams.spec.whatwg.org/#byob-reader-release-lock Refs: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/releaseLock Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65134d6 - Browse repository at this point
Copy the full SHA 65134d6View commit details -
tools: update eslint to 8.23.0
PR-URL: nodejs#44419 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96df993 - Browse repository at this point
Copy the full SHA 96df993View commit details -
doc: note on release guide to update
main
branchAdded an extra command to make sure to remind me (and other releasers) to update the `main` branch _before_ cherry-picking the release commit to the branch. Adding this command will often avoid unnecessary extra-work in case there are mismatches between the local state of the main branch and remote. PR-URL: nodejs#44384 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cef30f9 - Browse repository at this point
Copy the full SHA cef30f9View commit details -
lib: codify findSourceMap return value when not found
Return `undefined` when no source map is found for the given filename on `findSourceMap`. PR-URL: nodejs#44397 Fixes: nodejs#44391 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8f08e5 - Browse repository at this point
Copy the full SHA b8f08e5View commit details -
PR-URL: nodejs#44422 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c03f28b - Browse repository at this point
Copy the full SHA c03f28bView commit details -
tools: update doc to [email protected]
PR-URL: nodejs#44370 Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 443730c - Browse repository at this point
Copy the full SHA 443730cView commit details -
Refs: v8/v8@10.2.154.13...10.2.154.15 PR-URL: nodejs#44294 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 754d26a - Browse repository at this point
Copy the full SHA 754d26aView commit details -
build: add --libdir flag to configure
This will allow distribution packages to select an alternative location for the unofficial libnode.so. For example, on Fedora it will install into /usr/lib64 on 64-bit systems. Signed-off-by: Stephen Gallagher <[email protected]> PR-URL: nodejs#44361 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e27e709 - Browse repository at this point
Copy the full SHA e27e709View commit details -
src: simplify and optimize GetOpenSSLVersion()
The previous implementation was typically compiled to a fair amount of code even though all inputs are available at compile time. The fact that GetOpenSSLVersion() returns a std::string and used an uninitialized buffer with snprintf made it impossible to make GetOpenSSLVersion() a constexpr, and compilers would typically emit code to dynamically construct the resulting string. The simplified implementation usually boils down to a few mov instructions. (Ideally, this function could be a constexpr returning a std::string_view, but that does not have any advantage in the current design of node::Metadata::Versions which stores versions as std::string instances.) Also make the function static since it is not in an anonymous namespace and change the argument types and the return type of search() to types that are more appropriate, semantically. (The use of snprintf previously made this difficult.) Lastly, make the n argument of search() optional because the simplified implementation always sets it to 0 except during recursive calls within search() itself. PR-URL: nodejs#44395 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Shelley Vohr <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05fb650 - Browse repository at this point
Copy the full SHA 05fb650View commit details -
tools: don't use f-strings in test.py
PR nodejs#43954 introduced the use of f-strings to `test.py` making the script only work with python versions >= 3.6. Remove that use to make it compatible again with older python versions. PR-URL: nodejs#44407 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78c6827 - Browse repository at this point
Copy the full SHA 78c6827View commit details -
cluster: fix cluster rr distribute error
PR-URL: nodejs#44202 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c53548 - Browse repository at this point
Copy the full SHA 3c53548View commit details -
src: restore context default IsCodeGenerationFromStringsAllowed value
Context's default IsCodeGenerationFromStringsAllowed value can be changed by v8 flag `--disallow-code-generation-from-strings`. Restore the value at runtime when delegating the code generation validation to `node::ModifyCodeGenerationFromStrings`. The context's settings are serialized in the snapshot. Reset the setting values to its default values before the serialization so that it can be correctly re-initialized after deserialization at runtime. PR-URL: nodejs#44324 Fixes: nodejs#44287 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f4e98b - Browse repository at this point
Copy the full SHA 0f4e98bView commit details -
PR-URL: nodejs#44057 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc1c95e - Browse repository at this point
Copy the full SHA dc1c95eView commit details -
On some machines the report OOM tests can take too long to complete, resulting in a timeout. This splits the test into several different smaller tests to reduce the flakiness of it. PR-URL: nodejs#44389 Refs: nodejs/reliability#356 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ae1f49 - Browse repository at this point
Copy the full SHA 4ae1f49View commit details -
doc,worker: document resourceLimits overrides
If `--max-old-space-size` is passed on the command line, it takes precedence over `resourceLimits.maxOldSpaceSizeMb` passed to the worker thread. IMO this is a bug, but seems unlikely to change(?), so let's start by documenting it. See the attached issue for more details. Refs: nodejs#43991 PR-URL: nodejs#43992 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b660b74 - Browse repository at this point
Copy the full SHA b660b74View commit details -
PR-URL: nodejs#44416 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6714736 - Browse repository at this point
Copy the full SHA 6714736View commit details -
src: fix ssize_t error from nghttp2.h
The "node_http2.h" include reordering enforced by clang-format broke Electron's Node.js upgrade on Windows. ssize_t is a part of the POSIX standard and it's not available on Windows, so the fix for this is to include "node.h" which typedefs it on Windows in https://github.com/nodejs/node/blob/bb4dff783ddb3b20c67041f7ccef796c335c2407/src/node.h#L212-L220. Refs: electron/electron#35350 (comment) Signed-off-by: Darshan Sen <[email protected]> PR-URL: nodejs#44393 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Shelley Vohr <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 048e440 - Browse repository at this point
Copy the full SHA 048e440View commit details -
doc: mention cherry-pick edge-case on release
PR-URL: nodejs#44408 Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e41dbb - Browse repository at this point
Copy the full SHA 8e41dbbView commit details -
doc: fix spacing issue in
--build-snapshot
help textPR-URL: nodejs#44435 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e6cde5 - Browse repository at this point
Copy the full SHA 3e6cde5View commit details -
tools: fix typo in
avoid-prototype-pollution
lint rulePR-URL: nodejs#44446 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e62bb1 - Browse repository at this point
Copy the full SHA 1e62bb1View commit details
Commits on Sep 6, 2022
-
src: make Endianness an enum class
PR-URL: nodejs#44411 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8db2e66 - Browse repository at this point
Copy the full SHA 8db2e66View commit details -
doc: apply scroll-margin-top to h2, h3 elements
PR-URL: nodejs#44414 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92046e8 - Browse repository at this point
Copy the full SHA 92046e8View commit details
Commits on Sep 7, 2022
-
src: fix uv_err_name memory leak
PR-URL: nodejs#44421 Refs: nodejs#44401 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4776b47 - Browse repository at this point
Copy the full SHA 4776b47View commit details -
test: fix multiple incorrect mustNotCall() uses
This does not fix occurrences in test/parallel/test-dns-* because those tests contain unrelated pre-existing bugs that would cause the tests to fail with this fix. This unrelated bug in those tests should be fixed separately before the use of mustNotCall() can be fixed in those files. PR-URL: nodejs#44022 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2dd88b8 - Browse repository at this point
Copy the full SHA 2dd88b8View commit details -
crypto: use actual option name in error message
oaep_label is the name of the C++ variable. Use oaepLabel instead, which is the name of the documented option. PR-URL: nodejs#44455 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: theanarkh <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35cbe1a - Browse repository at this point
Copy the full SHA 35cbe1aView commit details -
src: remove base64_select_table and base64_table
node::base64_encode() uses ::base64_encode() when the mode is Base64Mode::NORMAL, so base64_select_table is only ever called for Base64Mode::URL and thus only ever returns base64_table_url, but never base64_table. Also move base64_table_url into base64-inl.h. PR-URL: nodejs#44425 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd611cc - Browse repository at this point
Copy the full SHA fd611ccView commit details -
node-api: avoid calling virtual methods in base's dtor
Derived classes' fields are already destroyed if the virtual methods are invoked in the base class's destructor. It is not safe to call virtual methods in base's dtor. PR-URL: nodejs#44424 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef08cbd - Browse repository at this point
Copy the full SHA ef08cbdView commit details -
The original heap prof tests can take too long to complete on azure Windows machines, resulting in timeouts. Split them into smaller tests and move them into the parallel directory to speed up the execution. PR-URL: nodejs#44388 Refs: nodejs/reliability#356 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f071b8 - Browse repository at this point
Copy the full SHA 0f071b8View commit details -
test: make the vm timeout escape tests more lenient
Previously the tests required that Node.js finish the initialization of the watchdog thread and fires the timeout within 100ms, which can be difficult on certain systems under load. This patch relaxes the requirement to 2000ms. If there is a bug and the timeout can actually be escaped, raising the timeout to 2000ms would not make a difference anyway. PR-URL: nodejs#44433 Refs: nodejs/reliability#333 Refs: nodejs/reliability#361 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0af15c7 - Browse repository at this point
Copy the full SHA 0af15c7View commit details -
test: deflake child process exec timeout tests
On Windows it might take too long for the parent to start the communication with a child process, so by the time the parent starts its own timer, the child process might have already completed running, and the parent in those tests won't have a chance to terminate these child processes after the timeout. To address this issue, raise the time for which the child is supposed to run to make sure that the parent starts its own timer before the child terminates in the tests. Also, split the test into smaller ones to reduce the overhead. PR-URL: nodejs#44390 Refs: nodejs/reliability#356 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e36ed44 - Browse repository at this point
Copy the full SHA e36ed44View commit details -
src: add error handling to
uv_uptime
callPR-URL: nodejs#44386 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dcc1cf4 - Browse repository at this point
Copy the full SHA dcc1cf4View commit details -
PR-URL: nodejs#44437 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 255e7fb - Browse repository at this point
Copy the full SHA 255e7fbView commit details -
doc: add missing imports in events sample code
There were missing imports in the example for using `EventEmitterAsyncResource`, so I added them in both ESM and CJS. PR-URL: nodejs#44337 Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71c8696 - Browse repository at this point
Copy the full SHA 71c8696View commit details -
doc: improve assert.snapshot() docs
PR-URL: nodejs#44429 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae028e8 - Browse repository at this point
Copy the full SHA ae028e8View commit details -
test: style updates for assert.snapshot()
This commit updates the assert.snapshot() fixtures to better match the code style of the rest of the codebase. PR-URL: nodejs#44429 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d77342 - Browse repository at this point
Copy the full SHA 0d77342View commit details -
doc: add --update-assert-snapshot to node.1
PR-URL: nodejs#44429 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11452a9 - Browse repository at this point
Copy the full SHA 11452a9View commit details -
src: simplify enable_if logic of
ToStringHelper::BaseConvert
PR-URL: nodejs#44306 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5413a1 - Browse repository at this point
Copy the full SHA c5413a1View commit details -
test: avoid race in file write stream handle tests
The test previously created two fs.promises.open calls on the same file with w+ back-to-back, and one of them could fail when checking the contents of that file if the other happened to be opening the file for write. Split them into different tests (with different tmpdir) to avoid the race. PR-URL: nodejs#44380 Refs: nodejs/reliability#354 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c33e5d - Browse repository at this point
Copy the full SHA 4c33e5dView commit details -
deps: V8: backport ff8d67c88449
Original commit message: Reland "Fix Context PromiseHook behaviour with debugger enabled" This is a reland of commit 872b7faa32d837f9b166d750328357f856168e72 Original change's description: > Fix Context PromiseHook behaviour with debugger enabled > > This is a solution for nodejs#43148. > > Due to differences in behaviour between code with and without the debugger enabled, some promise lifecycle events were being missed and some extra ones were being added. This change resolves this and verifies the event sequence is consistent between code with and without the debugger. > > Change-Id: I3dabf1dceb14233226b1752083d659f1c2f97966 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3779922 > Reviewed-by: Victor Gomes <[email protected]> > Commit-Queue: Camillo Bruni <[email protected]> > Reviewed-by: Camillo Bruni <[email protected]> > Cr-Commit-Position: refs/heads/main@{#82132} Change-Id: Ifdd407261c793887fbd012d5a04ba36b3744c349 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3805979 Reviewed-by: Camillo Bruni <[email protected]> Reviewed-by: Clemens Backes <[email protected]> Commit-Queue: Camillo Bruni <[email protected]> Reviewed-by: Victor Gomes <[email protected]> Cr-Commit-Position: refs/heads/main@{#82575} Refs: v8/v8@ff8d67c Fixes: nodejs#43148 Fixes: nodejs#44415 PR-URL: nodejs#44423 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5630ad - Browse repository at this point
Copy the full SHA c5630adView commit details -
src: expose environment RequestInterrupt api
Allow add-ons to interrupt JavaScript execution, and wake up loop if it is currently idle. PR-URL: nodejs#44362 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4331bbe - Browse repository at this point
Copy the full SHA 4331bbeView commit details -
src: avoid casting std::trunc(... / ...) to size_t
Given that the divisor is not zero, the result of dividing unsigned integers is an unsigned integer that is always rounded down, i.e., there is no need to call std::trunc(). Doing so unnecessarily yields a floating-point number, requiring the result to be cast to an unsigned integer again. PR-URL: nodejs#44467 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18b7208 - Browse repository at this point
Copy the full SHA 18b7208View commit details -
src: fix incorrect comments in crypto
PR-URL: nodejs#44470 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa34f73 - Browse repository at this point
Copy the full SHA aa34f73View commit details -
src: improve error handling in CloneSSLCerts
If sk_X509_new() returns NULL or if sk_X509_push() fails, return instead of silently ignoring the error. PR-URL: nodejs#44410 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 125ab7d - Browse repository at this point
Copy the full SHA 125ab7dView commit details -
doc: use serial comma in addons docs
Refs: nodejs#11321 Refs: nodejs#17384 PR-URL: nodejs#44482 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54b6ed5 - Browse repository at this point
Copy the full SHA 54b6ed5View commit details -
report: fix missing section javascriptHeap on OOMError
`Environment::GetCurrent` may not available in the context of OOM. Removes the cyclic `Environment::GetCurrent` and `env->isolate()` calls to ensure both `isolate` and `env` is present if available. However, this behavior is not guaranteed. As `Environment::GetCurrent` didn't allocate new handles in the heap, when a Context is entered it can still get the valid env pointer. Removes the unstable assertion of the absence of env in the test. PR-URL: nodejs#44398 Reviewed-By: Rafael Gonzaga <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b17cc87 - Browse repository at this point
Copy the full SHA b17cc87View commit details -
report: get stack trace with cross origin contexts
When a new context with a different security token is entered, or when no context is entered, `StackTrace::CurrentStackTrace` need to be explicitly set with flag `kExposeFramesAcrossSecurityOrigins` to avoid crashing. PR-URL: nodejs#44398 Reviewed-By: Rafael Gonzaga <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 807b1e5 - Browse repository at this point
Copy the full SHA 807b1e5View commit details -
PR-URL: nodejs#44486 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf19a79 - Browse repository at this point
Copy the full SHA cf19a79View commit details -
doc: do not use "Returns:" for crypto.constants
This is not a function and should not use the term "return" to describe its type or value. PR-URL: nodejs#44481 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05006ed - Browse repository at this point
Copy the full SHA 05006edView commit details -
crypto: add digest name to INVALID_DIGEST errors
We already do this in some places. This adds the digest name to remaining uses of ERR_CRYPTO_INVALID_DIGEST except for one occurrence in crypto_sig.cc that would require significant refactoring due to the unusual error handling there. PR-URL: nodejs#44468 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c868e36 - Browse repository at this point
Copy the full SHA c868e36View commit details -
crypto: handle invalid prepareAsymmetricKey JWK inputs
Fixes nodejs#44471 PR-URL: nodejs#44475 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5cefd02 - Browse repository at this point
Copy the full SHA 5cefd02View commit details -
stream: fix setting abort reason in
ReadableStream.pipeTo()
In 14.2 in the specification, `error` should be signal’s abort reason. The current behavior seems to assume that only an `AbortError` instance is given as signal’s abort reason. Refs: https://streams.spec.whatwg.org/#readable-stream-pipe-to Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44418 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2facf8b - Browse repository at this point
Copy the full SHA 2facf8bView commit details -
test_runner: fix
duration_ms
to be millisecondsPR-URL: nodejs#44450 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a35c2f9 - Browse repository at this point
Copy the full SHA a35c2f9View commit details -
PR-URL: nodejs#44511 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Feng Yu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e519ac7 - Browse repository at this point
Copy the full SHA e519ac7View commit details -
tools: update lint-md-dependencies to [email protected]
PR-URL: nodejs#44510 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Feng Yu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fe189b - Browse repository at this point
Copy the full SHA 6fe189bView commit details -
src: rename misleading arg in ClientHelloParser
Despite being named onend_arg, the pointer is passed both to the onend_cb and to the onhello_cb. Rename it to cb_arg, which matches the name of the class field cb_arg_. PR-URL: nodejs#44500 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc17b80 - Browse repository at this point
Copy the full SHA fc17b80View commit details -
doc: add missing parenthesis in TLSSocket section
PR-URL: nodejs#44512 Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c87a7e - Browse repository at this point
Copy the full SHA 1c87a7eView commit details -
deps: update corepack to 0.14.0
PR-URL: nodejs#44509 Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ef5c40 - Browse repository at this point
Copy the full SHA 8ef5c40View commit details -
2022-09-08, Version v18.9.0 (Current)
Notable changes: * doc: * add daeyeon to collaborators (Daeyeon Jeong) nodejs#44355 * lib: * (SEMVER-MINOR) add diagnostics channel for process and worker (theanarkh) nodejs#44045 * os: * (SEMVER-MINOR) add machine method (theanarkh) nodejs#44416 * report: * (SEMVER-MINOR) expose report public native apis (Chengzhong Wu) nodejs#44255 * src: * (SEMVER-MINOR) expose environment RequestInterrupt api (Chengzhong Wu) nodejs#44362 * vm: * include vm context in the embedded snapshot (Joyee Cheung) nodejs#44252 PR-URL: nodejs#44521
Configuration menu - View commit details
-
Copy full SHA for 9ae2af4 - Browse repository at this point
Copy the full SHA 9ae2af4View commit details
Commits on Sep 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bf4d390 - Browse repository at this point
Copy the full SHA bf4d390View commit details
Commits on Sep 16, 2022
-
src: fix IPv4 non routable validation
Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> PR-URL: nodejs-private/node-private#337 CVE-ID: CVE-2022-32212, CVE-2018-7160
Configuration menu - View commit details
-
Copy full SHA for 2c379d3 - Browse repository at this point
Copy the full SHA 2c379d3View commit details -
deps: MacOS - fix location of OpenSSL config file
- Restore the location were the OpenSSL config file is loaded by default on MacOS back to where it was on earlier versions - Remove warnings about OPENSSLDIR being multiply defined Signed-off-by: Michael Dawson <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> PR-URL: nodejs-private/node-private#345 CVE-ID: CVE-2022-32222
Configuration menu - View commit details
-
Copy full SHA for ffb6f4d - Browse repository at this point
Copy the full SHA ffb6f4dView commit details
Commits on Sep 22, 2022
-
crypto: fix weak randomness in WebCrypto keygen
Commit dae283d from August 2020 introduced a call to EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. There are two problems with that: 1. It does not check the return value, it assumes EntropySource() always succeeds, but it can (and sometimes will) fail. 2. The random data returned byEntropySource() may not be cryptographically strong and therefore not suitable as keying material. An example is a freshly booted system or a system without /dev/random or getrandom(2). EntropySource() calls out to openssl's RAND_poll() and RAND_bytes() in a best-effort attempt to obtain random data. OpenSSL has a built-in CSPRNG but that can fail to initialize, in which case it's possible either: 1. No random data gets written to the output buffer, i.e., the output is unmodified, or 2. Weak random data is written. It's theoretically possible for the output to be fully predictable because the CSPRNG starts from a predictable state. Replace EntropySource() and CheckEntropy() with new function CSPRNG() that enforces checking of the return value. Abort on startup when the entropy pool fails to initialize because that makes it too easy to compromise the security of the process. Refs: https://hackerone.com/bugs?report_id=1690000 Refs: nodejs#35093 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> PR-URL: nodejs#346 Backport-PR-URL: nodejs#351 CVE-ID: CVE-2022-35255
Configuration menu - View commit details
-
Copy full SHA for 0c2a572 - Browse repository at this point
Copy the full SHA 0c2a572View commit details -
http: disable chunked encoding when OBS fold is used
Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Vladimir de Turckheim <[email protected]> PR-URL: nodejs#341 CVE-ID: CVE-2022-32213, CVE-2022-32215, CVE-2022-35256
Configuration menu - View commit details
-
Copy full SHA for 01bffcd - Browse repository at this point
Copy the full SHA 01bffcdView commit details
Commits on Sep 23, 2022
-
2022-09-23, Version 18.9.1 (Current)
This is a security release. Notable changes: * crypto: fix weak randomness in WebCrypto keygen (Ben Noordhuis) nodejs-private/node-private#346 * deps: MacOS - fix location of OpenSSL config file (Michael Dawson) nodejs-private/node-private#345 * http: disable chunked encoding when OBS fold is used (Paolo Insogna) nodejs-private/node-private#341 * src: fix IPv4 non routable validation (RafaelGSS) nodejs-private/node-private#337 PR-URL: nodejs-private/node-private#350
Configuration menu - View commit details
-
Copy full SHA for df3ed1e - Browse repository at this point
Copy the full SHA df3ed1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe3a0f0 - Browse repository at this point
Copy the full SHA fe3a0f0View commit details -
The upstream merge of nodejs@e27e709d3c accidentally removed code related to systemtap and dtrace. Signed-off-by: Stephen Gallagher <[email protected]> PR-URL: nodejs#44642 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1315a83 - Browse repository at this point
Copy the full SHA 1315a83View commit details
Commits on Sep 26, 2022
-
lib: reset
RegExp
statics before running user codeFixes: nodejs#43740 Backport-PR-URL: nodejs#43741 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Matteo Collina <[email protected]> PR-URL: nodejs#44247 Reviewed-By: Rafael Gonzaga <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8d34ae - Browse repository at this point
Copy the full SHA d8d34aeView commit details -
stream: fix
writableStream.abort()
This includes: - Fixing `writableStream.abort(reason)`. Passing the reason was missing. - Leaving a TODO to remove the internal abortReason property of WritableStreamDefaultController. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44327 Refs: https://streams.spec.whatwg.org/#writable-stream-abort Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 667e8bf - Browse repository at this point
Copy the full SHA 667e8bfView commit details -
doc: move policy docs to the permissions scope
PR-URL: nodejs#44222 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01e584e - Browse repository at this point
Copy the full SHA 01e584eView commit details -
test: add more cases for parse-encoding
PR-URL: nodejs#44427 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Qingyu Deng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb25fe7 - Browse repository at this point
Copy the full SHA eb25fe7View commit details -
test: fix DebugSymbolsTest.ReqWrapList on PPC64LE
Currently, DebugSymbolsTest.ReqWrapList fails on PPC64LE when Node has been configured with Link Time Optimization (LTO) and using RHEL 8.5 and gcc: ```console $ . /opt/rh/gcc-toolset-11/enable $ export CC='ccache gcc' $ export CXX='ccache g++' $ ./configure --enable-lto $ make -j8 cctest ... 21:52:27 [ RUN ] DebugSymbolsTest.ReqWrapList 21:52:27 ../test/cctest/test_node_postmortem_metadata.cc:203: Failure 21:52:27 Expected equality of these values: 21:52:27 expected 21:52:27 Which is: 140736537072320 21:52:27 calculated 21:52:27 Which is: 1099680328560 21:52:27 [ FAILED ] DebugSymbolsTest.ReqWrapList (43 ms) ``` After looking into this is seems that the compiler is tampering with the `last` variable when compiling with LTO enabled. This commit suggests adding volatile to this variable to prevent the compiler from tampering with it. PR-URL: nodejs#44341 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20e04c6 - Browse repository at this point
Copy the full SHA 20e04c6View commit details -
bootstrap: remove unused global parameter in per-context scripts
PR-URL: nodejs#44472 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19f67db - Browse repository at this point
Copy the full SHA 19f67dbView commit details -
doc: document attribute Script.cachedDataRejected
Explicitly document the attribute `Script.cachedDataRejected` in a dedicated section. Removes the documented option `produceCachedData` and the description of `cachedDataRejected` in `vm.runInContext`, `vm.runInNewContext`, and `vm.runInThisContext` as the created `vm.Script` instance is not accessible from userland in these methods. PR-URL: nodejs#44451 Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e6f786 - Browse repository at this point
Copy the full SHA 4e6f786View commit details -
Notable changes: - A bug has been fixed in `uvwasi_fd_readdir()` that caused the number of entries to be processed incorrectly. PR-URL: nodejs#44524 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3cc8f4b - Browse repository at this point
Copy the full SHA 3cc8f4bView commit details -
PR-URL: nodejs#44499 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2baf532 - Browse repository at this point
Copy the full SHA 2baf532View commit details -
bootstrap: clean up inspector console methods during serialization
Some console methods are created by the V8 inspector after an inspector client is created, reset them to undefined during sereialization to avoid holding on to invalid references in the snapshot. V8 will take care of the re-initialization when another inspector client is created during deserialization. PR-URL: nodejs#44279 Fixes: nodejs/node-v8#237 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c5c145 - Browse repository at this point
Copy the full SHA 9c5c145View commit details -
src: consolidate environment cleanup queue
Each Realm tracks its own cleanup hooks and drains the hooks when it is going to be destroyed. Moves the implementations of the cleanup queue to its own class so that it can be used in `node::Realm` too. PR-URL: nodejs#44379 Refs: nodejs#44348 Refs: nodejs#42528 Reviewed-By: Joyee Cheung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6878448 - Browse repository at this point
Copy the full SHA 6878448View commit details -
v8: add setHeapSnapshotNearHeapLimit
PR-URL: nodejs#44420 Refs: nodejs#33010 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9aa6a56 - Browse repository at this point
Copy the full SHA 9aa6a56View commit details -
tools: fix shebang to use python3 by default
PR-URL: nodejs#44531 Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5db9779 - Browse repository at this point
Copy the full SHA 5db9779View commit details -
Revert "build: go faster, drop -fno-omit-frame-pointer"
This reverts commit d0f73d3. The lack of frame pointers unfortunately breaks the --perf_basic_prof flag because perf(1) then no longer understands C++ <-> JS stack frame transitions. PR-URL: nodejs#44566 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a733f7f - Browse repository at this point
Copy the full SHA a733f7fView commit details -
doc: emphasize that createCipher is never secure
The current documentation clearly states that createCipher() and createDecipher() should not be used with ciphers in counter mode, but (1) this is an understatement, and (2) these functions are (semantically) insecure for ciphers in any other supported block cipher mode as well. Semantic security requires IND-CPA, but a deterministic cipher with fixed key and IV, such as those generated by these functions, does not fulfill IND-CPA. Are there justified use cases for createCipher() and createDecipher()? Yes and no. The only case in which these functions can be used in a semantically secure manner arises only when the password argument is not actually a password but rather a random or pseudo-random sequence that is unpredictable and that is never reused (e.g., securely derived from a password with a proper salt). Insofar, it is possible to use these APIs without immediately creating a vulnerability. However, - any application that manages to fulfill this requirement should also be able to fulfill the similar requirements of crypto.createCipheriv() and those of crypto.createDecipheriv(), which give much more control over key and initialization vector, and - the MD5-based key derivation step generally does not help and might even reduce the overall security due to its many weaknesses. Refs: nodejs#13821 Refs: nodejs#19343 Refs: nodejs#22089 PR-URL: nodejs#44538 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3360b1 - Browse repository at this point
Copy the full SHA a3360b1View commit details -
stream: add
ReadableByteStream.tee()
This supports teeing readable byte streams to meet the latest web streams standards. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44505 Refs: https://streams.spec.whatwg.org/#readable-stream-tee Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f2f8d5 - Browse repository at this point
Copy the full SHA 2f2f8d5View commit details -
stream: remove
abortReason
fromWritableStreamDefaultController
The `abortReason` has been removed from the spec since we can get the abort reason via `controller.signal.reason`. This reflects the change. Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44540 Refs: https://streams.spec.whatwg.org/#ws-default-controller-class-definition Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0af6e42 - Browse repository at this point
Copy the full SHA 0af6e42View commit details -
doc: remove ebpf from supported tooling list
PR-URL: nodejs#44549 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5549af - Browse repository at this point
Copy the full SHA f5549afView commit details -
test: use python3 instead of python
On some platforms, such as macOS, the `python` command is no longer available by default. PR-URL: nodejs#44545 Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c35f33 - Browse repository at this point
Copy the full SHA 6c35f33View commit details -
doc: do not use weak MODP group in example
As a first, small step toward deprecating modp1, stop using it in an example that users might copy. Refs: nodejs#44539 PR-URL: nodejs#44585 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: theanarkh <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39b65d2 - Browse repository at this point
Copy the full SHA 39b65d2View commit details -
crypto: restrict PBKDF2 args to signed int
OpenSSL internally represents the output length and the iteration count as signed integers, which is why node's C++ implementation expects these arguments to fit into signed integers as well. The JavaScript validation logic, however, only requires the arguments to be unsigned 32-bit integers, which is a superset of non-negative (signed) 32-bit integers. Change the JavaScript validation to match the expectation within C++. Fixes: nodejs#44570 PR-URL: nodejs#44575 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 993bd9b - Browse repository at this point
Copy the full SHA 993bd9bView commit details -
module: exports & imports map invalid slash deprecation
PR-URL: nodejs#44477 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8ec946 - Browse repository at this point
Copy the full SHA f8ec946View commit details -
PR-URL: nodejs#44591 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe56efd - Browse repository at this point
Copy the full SHA fe56efdView commit details -
PR-URL: nodejs#44594 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea7b44d - Browse repository at this point
Copy the full SHA ea7b44dView commit details -
doc: mention how to get commit release
PR-URL: nodejs#44572 Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2813323 - Browse repository at this point
Copy the full SHA 2813323View commit details -
tools: increase timeout of running WPT
We run all WPT from one subset in the same process using workers. As the number of the tests grow, it can take longer to run some of the subsets, but it's still overall faster than running them in different processes. This patch increases the timeout for WPT to prevent the test from failing because it takes longer to run (even though it would still complete at some point). PR-URL: nodejs#44574 Refs: nodejs/reliability#371 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for caad474 - Browse repository at this point
Copy the full SHA caad474View commit details -
build: rewritten the Android build system
Completely rewritten the Android build system using Python Co-Authored-By: 东灯 <[email protected]> Co-Authored-By: Feng Yu <[email protected]> PR-URL: nodejs#44207 Refs: nodejs#36287 Reviewed-By: Feng Yu <[email protected]> Reviewed-By: Christian Clauss <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70898b4 - Browse repository at this point
Copy the full SHA 70898b4View commit details -
doc: fix vm.Script createCachedData example
`Script.createCachedData` and `SourceTextModule.createCachedData` doesn't serialize JavaScript variables. PR-URL: nodejs#44487 Reviewed-By: Joyee Cheung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48d944b - Browse repository at this point
Copy the full SHA 48d944bView commit details -
Fixes: nodejs#44567 PR-URL: nodejs#44587 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Mestery <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c55734 - Browse repository at this point
Copy the full SHA 6c55734View commit details -
doc: fix heading levels for test runner hooks
before/after/beforeEach/afterEach are exported directly from `node:test` and should not be indented under `it.todo`. PR-URL: nodejs#44603 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0370563 - Browse repository at this point
Copy the full SHA 0370563View commit details -
doc: remove old OpenSSL ENGINE constants
These constants have not existed since OpenSSL 1.1.0 reached EOL a few years ago. Refs: nodejs#19794 PR-URL: nodejs#44589 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d92610 - Browse repository at this point
Copy the full SHA 2d92610View commit details -
doc: deprecate modp1, modp2, and modp5 groups
These MODP groups should not be used by new applications, and existing applications should attempt to migrate to stronger groups (or different key exchange mechanisms). Some applications still rely on these particular groups, so Node.js will likely maintain support, directly or indirectly, for the foreseeable future. Refs: nodejs#44539 PR-URL: nodejs#44588 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ad1b0a - Browse repository at this point
Copy the full SHA 4ad1b0aView commit details -
test: ignore stale process cleanup failures on Windows
In some tests we try to clean up stale child processes on Windows, but they don't necessarily exist, in that case we should ignore any failures from the WMIC.exe command. PR-URL: nodejs#44480 Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7db2974 - Browse repository at this point
Copy the full SHA 7db2974View commit details -
inspector: expose inspector.close on workers
Workers can open their own inspector agent with `inspector.open`. They should be able to close their own inspector agent too with `inspector.close`. PR-URL: nodejs#44489 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b16051 - Browse repository at this point
Copy the full SHA 1b16051View commit details -
win: fix fs.realpath.native for long paths
Unlike other fs.js functions that work with paths, realpath.native isn't using pathModule.toNamespacedPath prior to calling libuv function. This is causing issues on windows. Windows long path test is also improved to cover the mentioned issue. Fixes: nodejs#39721 PR-URL: nodejs#44536 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 360b74e - Browse repository at this point
Copy the full SHA 360b74eView commit details -
dns: refactor default resolver
This patch refactors the DNS default resolver code to make it easier to be included in a snapshot: - The code specific for the callback-based DNS resolver are not in a separate module to make the dependency clearer (it's not actually needed if the user only ever loads `dns/promises`) - The common part of the callback-based resolver and the promise- based resolver is now ResolverBase. The other two user-facing resolvers are now subclasses of ResolverBase. The default Resolver is constructed with just ResolverBase. This would be fine as the default resolver is never actually exposed to the user-land and it has been working using duck-typing anyway. - Move the construction of Resolver subclasses into a common method `createResolverClass()` to reduce code duplication. The two subclasses now also share the same base constructor. This would make it possible for them to also share code for snapshot support later. - `--dns-result-order` is now queried and refreshed during pre-execution. To avoid loading the cares_wrap binding unnecessarily the loading of the binding is also made lazy. PR-URL: nodejs#44541 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 729dd95 - Browse repository at this point
Copy the full SHA 729dd95View commit details -
src: dump isolate stats when process exits
When process exits, dump v8 isolate's internal stats for performance evaluation and debugging. It fixed the incorrect profiling log output when running V8's builtin PGO profiling for node.js service type application,which exits by user pressing CTRL+C etc. keys. PR-URL: nodejs#44534 Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81ea507 - Browse repository at this point
Copy the full SHA 81ea507View commit details -
stream: refactor use es2020 statement
PR-URL: nodejs#44533 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Erick Wendel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73ad9db - Browse repository at this point
Copy the full SHA 73ad9dbView commit details -
benchmark: add stream destroy benchmark
PR-URL: nodejs#44533 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Erick Wendel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c9a946 - Browse repository at this point
Copy the full SHA 0c9a946View commit details -
tools: update lint-md-dependencies to @rollup/[email protected]
PR-URL: nodejs#44590 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5dd86c3 - Browse repository at this point
Copy the full SHA 5dd86c3View commit details -
src: make NearHeapLimitCallback() more robust
Instead of removing the callback before generating heap snapshot and then adding it back after the heap snapshot is generated, just remove it once the heap snapshot limit is reached. Otherwise if the worker callback kicks in and sets the heap limit to higher value during the heap snapshot generation, the current_heap_limit in the heap snapshot callback becomes invalid, and we might return a heap limit lower than the current one, resulting in OOM. In addition add more logs and checks in Worker::NearHeapLimit() to help us catch problems. PR-URL: nodejs#44581 Refs: nodejs/reliability#372 Reviewed-By: theanarkh <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c12abb5 - Browse repository at this point
Copy the full SHA c12abb5View commit details -
tools: update gyp-next to v0.13.0
PR-URL: nodejs#44605 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ae142d - Browse repository at this point
Copy the full SHA 5ae142dView commit details -
build: remove redundant entry in crypto
PR-URL: nodejs#44604 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: theanarkh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9da1142 - Browse repository at this point
Copy the full SHA 9da1142View commit details -
This commit allows throwing an exception after creating `FSReqCallback` Co-authored-by: Anna Henningsen <[email protected]> PR-URL: nodejs#44074 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75cfb13 - Browse repository at this point
Copy the full SHA 75cfb13View commit details -
doc: remove empty line in YAML block
PR-URL: nodejs#44617 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f710fa - Browse repository at this point
Copy the full SHA 3f710faView commit details -
fs: remove unused option in
fs.fstatSync()
PR-URL: nodejs#44613 Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: theanarkh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85ab2f8 - Browse repository at this point
Copy the full SHA 85ab2f8View commit details -
doc: use serial comma in stream docs
Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44609 Reviewed-By: theanarkh <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Harshitha K P <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 226d90a - Browse repository at this point
Copy the full SHA 226d90aView commit details -
test_runner: include stack of uncaught exceptions
PR-URL: nodejs#44614 Fixes: nodejs#44611 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ab3bc9 - Browse repository at this point
Copy the full SHA 5ab3bc9View commit details -
src: avoid copy when creating Blob
PR-URL: nodejs#44616 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29f57b7 - Browse repository at this point
Copy the full SHA 29f57b7View commit details -
test: fix
test-repl
not validating leaked globals properlyPR-URL: nodejs#44640 Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3095d2 - Browse repository at this point
Copy the full SHA a3095d2View commit details -
tools: update lint-md-dependencies to @rollup/[email protected]
PR-URL: nodejs#44638 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9cfb71 - Browse repository at this point
Copy the full SHA b9cfb71View commit details -
doc: use serial comma in report docs
Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44608 Reviewed-By: theanarkh <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3dabb44 - Browse repository at this point
Copy the full SHA 3dabb44View commit details -
tools: update eslint to 8.23.1
PR-URL: nodejs#44639 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd43489 - Browse repository at this point
Copy the full SHA dd43489View commit details -
meta: update test_runner in label-pr-config
PR-URL: nodejs#44615 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c62dfe0 - Browse repository at this point
Copy the full SHA c62dfe0View commit details -
doc: remove comma in README.md
Grammar edit PR-URL: nodejs#44599 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9341fb4 - Browse repository at this point
Copy the full SHA 9341fb4View commit details -
lib,test: fix bug in InternalSocketAddress
InternalSocketAddress must set [kDetails] in order for the inherited properties to function correctly. Co-authored-by: Tobias Nießen <[email protected]> PR-URL: nodejs#44618 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb36351 - Browse repository at this point
Copy the full SHA eb36351View commit details -
tls: fix out-of-bounds read in ClientHelloParser
ClientHelloParser::ParseHeader(data, avail) potentially accesses data beyond avail bytes because it trusts the client to transmit a valid frame length. Sending an impossibly small frame length causes the TLS server to read beyond the buffer provided by the caller. Guard against this by calling End() on the ClientHelloParser when the client transmits an impossibly small frame length. The test is designed to reliable cause a segmentation fault on Linux and Windows when the buffer overrun occurs, and to trigger a spatial safety violation when compiled with an address sanitizer enabled or when running under valgrind. PR-URL: nodejs#44580 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 752e147 - Browse repository at this point
Copy the full SHA 752e147View commit details -
doc,inspector: document changes of inspector.close
Retrospectively document the changes history of the `inspector.close` API. PR-URL: nodejs#44628 Refs: nodejs#44489 Refs: nodejs#13228 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Kohei Ueno <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c209bd6 - Browse repository at this point
Copy the full SHA c209bd6View commit details -
test: improve lib/readline.js coverage
PR-URL: nodejs#42686 Refs: https://coverage.nodejs.org/coverage-a0461255c05c79cf/lib/readline.js.html#L105 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55de013 - Browse repository at this point
Copy the full SHA 55de013View commit details -
tools: add timezone update workflow
Fixes: nodejs#43134 PR-URL: nodejs#43988 Reviewed-By: Steven R Loomis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0df181a - Browse repository at this point
Copy the full SHA 0df181aView commit details -
tools: fix typo in update-nghttp2.sh
PR-URL: nodejs#44664 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef0dc47 - Browse repository at this point
Copy the full SHA ef0dc47View commit details -
doc: add legendecas to TSC list
Refs: nodejs/TSC#1282 Signed-off-by: Michael Dawson <[email protected]> PR-URL: nodejs#44662 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec1cbdb - Browse repository at this point
Copy the full SHA ec1cbdbView commit details -
test: fix test-performance-measure
Refs: nodejs#42949 Looking at the documentation for setTimeout (https://nodejs.org/api/timers.html#settimeoutcallback-delay-args) there is no guarantee that setTimeout won't complete early. From the failure of nodejs#42949 this is likely what happened. I have updated the assert.ok test to allow some variation in the test. PR-URL: nodejs#44637 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a68a80 - Browse repository at this point
Copy the full SHA 8a68a80View commit details -
doc: maintain only one list of MODP groups
There are two lists of MODP groups, one of which is redundant and does not mark weak groups as deprecated. Remove said list and refer readers to the first list instead. Refs: nodejs#43986 Refs: nodejs#44588 PR-URL: nodejs#44644 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05b17e9 - Browse repository at this point
Copy the full SHA 05b17e9View commit details -
doc: improve building doc for Windows Powershell
PR-URL: nodejs#44625 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b209c83 - Browse repository at this point
Copy the full SHA b209c83View commit details -
dns: remove unnecessary parameter from validateOneOf
PR-URL: nodejs#44635 Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4686579 - Browse repository at this point
Copy the full SHA 4686579View commit details -
PR-URL: nodejs#44632 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7129106 - Browse repository at this point
Copy the full SHA 7129106View commit details -
doc: make legacy banner slightly less bright
PR-URL: nodejs#44665 Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ef9af2 - Browse repository at this point
Copy the full SHA 6ef9af2View commit details -
PR-URL: nodejs#44667 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5c1bc4 - Browse repository at this point
Copy the full SHA c5c1bc4View commit details -
http: throw error on content-length mismatch
PR-URL: nodejs#44378 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Robert Nagy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f158656 - Browse repository at this point
Copy the full SHA f158656View commit details -
deps: update ngtcp2 update instructions
Prefer tagged versions over the latest commit on the development branch, and a few other minor improvements. PR-URL: nodejs#44619 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d36c4a3 - Browse repository at this point
Copy the full SHA d36c4a3View commit details -
deps: update corepack to 0.14.1
PR-URL: nodejs#44704 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8da1d6e - Browse repository at this point
Copy the full SHA 8da1d6eView commit details -
module: open stat/readPackage to mutations
PR-URL: nodejs#44537 Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4436ffb - Browse repository at this point
Copy the full SHA 4436ffbView commit details -
deps: update to ngtcp2 0.8.1 and nghttp3 0.7.0
Refs: nodejs#44619 Co-authored-by: James M Snell <[email protected]> PR-URL: nodejs#44622 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca5fb67 - Browse repository at this point
Copy the full SHA ca5fb67View commit details -
src: remove <unistd.h> from node_os.cc
The file does not use sysconf() and its use of gethostname() has been removed, so including <unistd.h> appears to be unnecessary. PR-URL: nodejs#44668 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3036b85 - Browse repository at this point
Copy the full SHA 3036b85View commit details -
PR-URL: nodejs#44705 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35fbd2c - Browse repository at this point
Copy the full SHA 35fbd2cView commit details -
PR-URL: nodejs#44652 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: Tobias Nießen <[email protected]> Co-authored-by: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0cddb0a - Browse repository at this point
Copy the full SHA 0cddb0aView commit details -
meta: add mailmap entry for dnlup
This updates dnlup's name to their preferred email per their last pull request. This will also prevent duplicate entries for dnlup when the update-authors job runs. It also moves one unrelated line in .mailmap so that all lines are sorted in lexical order. PR-URL: nodejs#44716 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97d2ed7 - Browse repository at this point
Copy the full SHA 97d2ed7View commit details -
esm,loader: tidy ESMLoader internals
PR-URL: nodejs#44701 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b3b7d6 - Browse repository at this point
Copy the full SHA 9b3b7d6View commit details -
node-api: add deprecation code of uncaught exception
Deprecation should reference a valid deprecation code. PR-URL: nodejs#44624 Refs: nodejs#36510 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 64cb43a - Browse repository at this point
Copy the full SHA 64cb43aView commit details -
doc: remove extra space on threadpool usage
PR-URL: nodejs#44734 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82cb815 - Browse repository at this point
Copy the full SHA 82cb815View commit details -
doc: mention where to push security commits
PR-URL: nodejs#44691 Reviewed-By: Danielle Adams <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Myles Borins <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4dbe4a0 - Browse repository at this point
Copy the full SHA 4dbe4a0View commit details -
gyp: libnode for ios app embedding
PR-URL: nodejs#44210 Reviewed-By: Jiawen Geng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6091f5 - Browse repository at this point
Copy the full SHA a6091f5View commit details -
src: avoid using v8 on Isolate termination
Fix multiple instances of those uncovered while running the tests on debug builds. Fixes: nodejs/node-v8#227 PR-URL: nodejs#44669 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce1704c - Browse repository at this point
Copy the full SHA ce1704cView commit details -
doc: include code examples for webstreams consumers
Add missing examples for webstreams consumers Doc URL: https://nodejs.org/api/webstreams.html#streamconsumerstextstream PR-URL: nodejs#44387 Reviewed-By: Erick Wendel <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 10a0d75 - Browse repository at this point
Copy the full SHA 10a0d75View commit details -
benchmark: fix startup benchmark
This allows the misc/startup benchmark to run again after the renaming of the C++ `native_module` to `builtins` PR-URL: nodejs#44727 Refs: nodejs#44135 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f497368 - Browse repository at this point
Copy the full SHA f497368View commit details -
doc,crypto: cleanup removed pbkdf2 behaviours
PR-URL: nodejs#44733 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57dac53 - Browse repository at this point
Copy the full SHA 57dac53View commit details -
test: fix addon tests compilation with OpenSSL 1.1.1
openssl/provider.h header is not part of OpenSSL 1.1.1 so do not include it when building with an older instance. Fixes: nodejs#44722 PR-URL: nodejs#44725 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a56cb65 - Browse repository at this point
Copy the full SHA a56cb65View commit details -
doc: add registry number for Electron 22
PR-URL: nodejs#44748 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33a2f17 - Browse repository at this point
Copy the full SHA 33a2f17View commit details -
stream: handle a pending pull request from a released reader
In order to meet the specification, this includes mainly the followings: - Adding the 'release steps' to ReadableStreamController - Responding to a pull request from a released reader in ReadableByteStreamController Signed-off-by: Daeyeon Jeong [email protected] PR-URL: nodejs#44702 Refs: https://streams.spec.whatwg.org/#abstract-opdef-readablebytestreamcontroller-releasesteps Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-respond-in-readable-state Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d42aaa - Browse repository at this point
Copy the full SHA 3d42aaaView commit details -
test: change promise to async/await in debugger-watcher
PR-URL: nodejs#44687 Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79f0f48 - Browse repository at this point
Copy the full SHA 79f0f48View commit details -
doc: update guidance for adding new modules
- updated based on decision to use node: prefix in nodejs/TSC#1206 - updated based on agreement in TSC meeting on adding /promises to existing modules as per minutes - nodejs/TSC#1281 Signed-off-by: Michael Dawson <[email protected]> PR-URL: nodejs#44576 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Danielle Adams <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 064543d - Browse repository at this point
Copy the full SHA 064543dView commit details -
doc: update the deprecation for exit code to clarify its scope
This updates the deprecation, DEP0164, to clarify its scope. Previously, `process.exitCode` wasn't mentioned but it needs to be applied with the same deprecation because its meaning is the same as the `code` value and it's overridden with the `code` value in `process.exit()`. Signed-off-by: Daeyeon Jeong <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> PR-URL: nodejs#44714 Refs: nodejs#44712 Refs: nodejs#43738 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2502f23 - Browse repository at this point
Copy the full SHA 2502f23View commit details -
PR-URL: nodejs#44777 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74dc4d1 - Browse repository at this point
Copy the full SHA 74dc4d1View commit details -
test: check that sysconf returns a positive value
Static analysis insists that sysconf(_SC_PAGE_SIZE) might return a negative integer (even though it never will). This was supposed to be handled by the existing check EXPECT_GE(page, static_cast<int>(N)). I assume that static analysis does not consider this sufficient because static_cast<int>(N) could be negative or zero if N exceeds INT_MAX (even though it never will). To resolve this (theoretical) problem, explicitly check that the return value is positive and then cast it to a size_t. PR-URL: nodejs#44666 Reviewed-By: Darshan Sen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 945aa74 - Browse repository at this point
Copy the full SHA 945aa74View commit details -
lib: don't match
sourceMappingURL
in stringsPrior to this change `sourceMappingURL` in string where being matched by the RegExp which caused sourcemaps not be loaded when using the `--enable-source-maps` flag. This commit changes the RegExp to match the last occurrence. Fixes: nodejs#44654 PR-URL: nodejs#44658 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2eb55a - Browse repository at this point
Copy the full SHA a2eb55aView commit details -
test: update test-debugger-low-level to use await/async
PR-URL: nodejs#44688 Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c9ded8 - Browse repository at this point
Copy the full SHA 6c9ded8View commit details -
test: use async/await in test-debugger-invalid-args
PR-URL: nodejs#44678 Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 858631f - Browse repository at this point
Copy the full SHA 858631fView commit details -
doc: fix description for
napi_get_cb_info()
inn-api.md
Signed-off-by: Daeyeon Jeong <[email protected]> PR-URL: nodejs#44761 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f274b08 - Browse repository at this point
Copy the full SHA f274b08View commit details -
test: change promises to async/await
PR-URL: nodejs#44683 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b512436 - Browse repository at this point
Copy the full SHA b512436View commit details -
PR-URL: nodejs#44791 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
An error occurred while loading commit statuses
If this error continues, check GitHub Status for more information.Configuration menu - View commit details
-
Copy full SHA for daf63d2 - Browse repository at this point
Copy the full SHA daf63d2View commit details -
test: verify napi_remove_wrap with napi_delete_reference
Verify that napi_remove_wrap and napi_delete_reference should be safe to be called consecutively on the in-out params of napi_wrap. PR-URL: nodejs#44754 Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
An error occurred while loading commit statuses
If this error continues, check GitHub Status for more information.Configuration menu - View commit details
-
Copy full SHA for 3112d5d - Browse repository at this point
Copy the full SHA 3112d5dView commit details -
doc: ensure to revert node_version changes
PR-URL: nodejs#44760 Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]>
RafaelGSS committedSep 26, 2022 An error occurred while loading commit statuses
If this error continues, check GitHub Status for more information.Configuration menu - View commit details
-
Copy full SHA for fd971f5 - Browse repository at this point
Copy the full SHA fd971f5View commit details -
doc: mention git node backport
PR-URL: nodejs#44764 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
RafaelGSS committedSep 26, 2022 An error occurred while loading commit statuses
If this error continues, check GitHub Status for more information.Configuration menu - View commit details
-
Copy full SHA for 6dc0382 - Browse repository at this point
Copy the full SHA 6dc0382View commit details
Commits on Sep 27, 2022
-
2022-09-28, Version 18.10.0 (Current)
Notable changes: doc: * (SEMVER-MINOR) deprecate modp1, modp2, and modp5 groups (Tobias Nießen) <nodejs#44588> gyp: * libnode for ios app embedding (chexiongsheng) <nodejs#44210> http: * (SEMVER-MINOR) throw error on content-length mismatch (sidwebworks) (<nodejs#44378>) stream: * (SEMVER-MINOR) add `ReadableByteStream.tee()` (Daeyeon Jeong) (<nodejs#44505>) PR-URL: nodejs#44799
RafaelGSS committedSep 27, 2022 An error occurred while loading commit statuses
If this error continues, check GitHub Status for more information.Configuration menu - View commit details
-
Copy full SHA for bdf069b - Browse repository at this point
Copy the full SHA bdf069bView commit details
Commits on Sep 28, 2022
-
PR-URL: nodejs#44799
RafaelGSS committedSep 28, 2022 An error occurred while loading commit statuses
If this error continues, check GitHub Status for more information.Configuration menu - View commit details
-
Copy full SHA for 2e7a17d - Browse repository at this point
Copy the full SHA 2e7a17dView commit details