James M Snell
a724a9e8dd
src: replace NewFromUtf8 with OneByteString where appropriate
...
PR-URL: https://github.com/nodejs/node/pull/57096
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-02-18 21:40:13 +00:00
Antoine du Hamel
2086877e81
src: port defineLazyProperties to native code
...
This allows us to have getters not observable from JS side.
PR-URL: https://github.com/nodejs/node/pull/57081
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-02-18 21:23:01 +00:00
Antoine du Hamel
7a6b12895e
doc: fix link and history of SourceMap sections
...
PR-URL: https://github.com/nodejs/node/pull/57098
Fixes: https://github.com/nodejs/node/issues/57094
Refs: https://github.com/nodejs/node/pull/48461
Refs: https://github.com/nodejs/node/pull/47790
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-18 19:26:40 +00:00
Dario Piotrowicz
0192a7d05b
doc: add module namespace object links
...
PR-URL: https://github.com/nodejs/node/pull/57093
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-02-18 10:51:21 -08:00
Rithvik Vibhu
ef91595e2f
dns: add TLSA record query and parsing
...
PR-URL: https://github.com/nodejs/node/pull/52983
Refs: https://github.com/nodejs/node/issues/39569
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2025-02-18 10:37:48 -08:00
Joyee Cheung
ea2004a2ac
module: allow omitting context in synchronous next hooks
...
This aligns the behavior of synchronous hooks with asynchronous
hooks by allowing omission of the context parameter in the
invocation of next hooks. The contexts are merged along the
chain.
PR-URL: https://github.com/nodejs/node/pull/57056
Fixes: https://github.com/nodejs/node/issues/57030
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-18 15:28:59 +00:00
Dario Piotrowicz
ecf803daca
doc: disambiguate pseudo-code statement
...
the statement `set Y to be the file system root` can be wrongly
interpreted as the file system root being updated to match Y,
removing the `be` term removes this potential interpretation
PR-URL: https://github.com/nodejs/node/pull/57092
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-02-18 13:13:29 +00:00
koooge
6fe0723e40
sea: suppress builtin warning with disableExperimentalSEAWarning option
...
Signed-off-by: koooge <koooooge@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/57086
Refs: https://github.com/nodejs/single-executable/issues/107
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-17 19:42:17 -08:00
RafaelGSS
0a4572d6a7
build: add skip_apidoc_files and include QUIC
...
PR-URL: https://github.com/nodejs/node/pull/56941
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2025-02-17 19:23:39 -08:00
Joyee Cheung
b755ae1fe7
doc: update clang-cl on Windows building guide
...
- Mention that when the individual components cannot be found
despite already being installed, try re-installing.
- Mention that with newer version of Visual Studio, ccache
should be copied to `clang-cl.exe` instead.
- Mention how to use clang-cl with ccache
PR-URL: https://github.com/nodejs/node/pull/57087
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-02-18 01:29:22 +00:00
James M Snell
4afc136efa
src: improve error handling in node_blob
...
PR-URL: https://github.com/nodejs/node/pull/57078
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2025-02-17 17:09:04 -08:00
James M Snell
11e753536e
src: improve error handling in multiple files
...
PR-URL: https://github.com/nodejs/node/pull/56962
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2025-02-17 13:26:44 -08:00
Michaël Zasso
714ced18ef
doc: update Xcode version used for arm64 and pkg
...
PR-URL: https://github.com/nodejs/node/pull/57104
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2025-02-17 13:50:40 +00:00
Dario Piotrowicz
666e773f22
doc: fix wrong articles used to address modules
...
PR-URL: https://github.com/nodejs/node/pull/57090
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-02-17 11:50:49 +00:00
Dario Piotrowicz
f1b951fd22
doc: update module.builtinModules sentence
...
updates the sentence saying that `module.builtinModule`
only contains the modules that can be loaded without
`node:` (since v23.5.0 also prefix-only modules are
included in the list)
PR-URL: https://github.com/nodejs/node/pull/57089
Refs: https://github.com/nodejs/node/pull/56185
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2025-02-16 22:31:15 +00:00
Elves Vieira
610e474728
benchmark: add a warmup on bench-openSync
...
PR-URL: https://github.com/nodejs/node/pull/57051
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Raz Luvaton <rluvaton@gmail.com >
2025-02-16 20:37:42 +00:00
Alexander “weej” Jones
b6cd6b7e31
doc: modules.md: fix distance definition
...
It's somewhat esoteric at best to define distance in terms of squared
length!
PR-URL: https://github.com/nodejs/node/pull/57046
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-02-16 18:26:30 +00:00
Dario Piotrowicz
69fdce2c7f
doc: fix wrong verb form
...
PR-URL: https://github.com/nodejs/node/pull/57091
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-16 15:28:33 +00:00
Joyee Cheung
e892e79f17
doc: fix transpiler loader hooks documentation
...
The loader hooks examples have been broken for a while:
1. The nextLoad() hook cannot be used on a .coffee file that ends
up going to the default load step without an explict format,
which would cause a ERR_UNKNOWN_FILE_EXTENSION. Mention
adding a package.json with a type field to work around it
in the example.
2. Pass the context parameter to the nextLoad() invocation and
document that context.format is mandatory when module type
is not explicitly inferrable from the module.
3. Correct the getPackageType() implementation which returns
false instead of undefined in the absence of an explict format,
which is not a valid type for format.
PR-URL: https://github.com/nodejs/node/pull/57037
Refs: https://github.com/nodejs/node/issues/57030
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2025-02-16 12:48:56 +00:00
Cheng
1d8593e3b1
src: fix accessing empty string
...
PR-URL: https://github.com/nodejs/node/pull/57014
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-16 06:45:40 +00:00
Joyee Cheung
d3841517e9
src: lock the isolate properly in IsolateData destructor
...
Otherwise it may fail the DCHECK that uses the locked thread
as a fast path to get the current thread.
PR-URL: https://github.com/nodejs/node/pull/57031
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2025-02-15 23:49:38 +00:00
Joyee Cheung
579fc67d49
crypto: support --use-system-ca on non-Windows and non-macOS
...
On other platforms, load from the OpenSSL default certificate
file and diretory.
This is different from --use-openssl-ca in that it caches
the certificates on first load, instead of always reading
from disk every time a new root store is needed.
When used together with the statically-linked OpenSSL, the
default configuration usually leads to this behavior:
- If SSL_CERT_FILE is used, load from SSL_CERT_FILE. Otherwise
load from /etc/ssl/cert.pem
- If SSL_CERT_DIR is used, load from all the files under
SSL_CERT_DIR. Otherwise, load from all the files under
/etc/ssl/certs
PR-URL: https://github.com/nodejs/node/pull/57009
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-15 22:54:31 +00:00
Aditi
794f35f0c0
doc: add a note about require('../common') in testing documentation
...
PR-URL: https://github.com/nodejs/node/pull/56953
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2025-02-15 23:11:00 +01:00
Juan José Arboleda
409e28d5aa
fs: handle UV_ENOTDIR in fs.statSync with throwIfNoEntry provided
...
Fixes: https://github.com/nodejs/node/issues/56993
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/56996
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-15 11:47:31 -08:00
Jacob Smith
61a57f7761
test: add case for unrecognised fields within pjson "exports"
...
PR-URL: https://github.com/nodejs/node/pull/57026
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-15 11:45:13 -08:00
Joyee Cheung
a613f2f312
test: fix test-without-async-context-frame.mjs in debug mode
...
The test is spawning the python test runner directly without
considering whether the current build is a debug build or not
i.e. does not propage the mode parameter when the test is
run with --mode=debug, so it always ends up using the release
build to run the test even if the test is being run for debug
builds. This patch fixes that.
PR-URL: https://github.com/nodejs/node/pull/57034
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-02-15 19:37:31 +00:00
Rich Trott
47ae886e43
tools: do not run major-release workflow on forks
...
PR-URL: https://github.com/nodejs/node/pull/57064
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-15 15:01:25 +00:00
Joyee Cheung
ff51d83c96
doc: recommend writing tests in new files and including comments
...
The previous phrasing encouraged or did not discourage appending
new test cases to existing files - a practice that can reduce
the debuggability of the tests over time as they get bigger and
bigger, some times thousands of lines long with hundreds of
test cases, and make the CI output increasingly difficult to
read when one of the test cases fail in a very long test.
This patch updates the guideline to explicitly discourage appending
test cases this way. Also recommend including an opening comment
to describe what the test does to optimize the test towards the
scenario when it fails.
PR-URL: https://github.com/nodejs/node/pull/57028
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
2025-02-15 12:58:08 +00:00
Cheng
44e2671b44
build: fix GN build failure
...
PR-URL: https://github.com/nodejs/node/pull/57013
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2025-02-15 12:11:49 +00:00
Shelley Vohr
59cdd4f1c2
test,crypto: make tests work for BoringSSL
...
Ref https://github.com/nodejs/node/pull/56559
PR-URL: https://github.com/nodejs/node/pull/57021
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2025-02-15 09:08:02 +00:00
Dario Piotrowicz
cc7018ec51
test: remove unnecessary assert requiring from tests
...
PR-URL: https://github.com/nodejs/node/pull/57008
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2025-02-14 17:19:20 +00:00
Aditi
f208027c3b
doc: improve documentation on argument validation
...
PR-URL: https://github.com/nodejs/node/pull/56954
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2025-02-14 15:27:33 +00:00
tpoisseau
e4f2c25527
doc: buffer: fix typo on Buffer.copyBytesFrom( offset option
...
PR-URL: https://github.com/nodejs/node/pull/57015
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-14 14:54:29 +00:00
Joyee Cheung
1e6a6569dc
tools: fix release URL computation in update-root-certs.mjs
...
Previously this would compute the release tag to be something
like FIREFOX_134_0.2_RELEASE which would not lead to a valid
URL, failing to pull the latest NSS updates from the Firefox
release. It should replace all the dots with underscores to
compute something like FIREFOX_134_0_2_RELEASE instead.
PR-URL: https://github.com/nodejs/node/pull/56843
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2025-02-14 14:15:14 +00:00
Shelley Vohr
fc7682ca4b
crypto: fix missing OPENSSL_NO_ENGINE guard
...
PR-URL: https://github.com/nodejs/node/pull/57012
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-14 12:26:15 +00:00
Node.js GitHub Bot
69d32d1cfe
2025-02-13, Version 23.8.0 (Current)
...
Notable changes:
crypto:
* (SEMVER-MINOR) support --use-system-ca on Windows (Joyee Cheung) https://github.com/nodejs/node/pull/56833
* (SEMVER-MINOR) added support for reading certificates from macOS system store (Tim Jacomb) https://github.com/nodejs/node/pull/56599
deps:
* update timezone to 2025a (Node.js GitHub Bot) https://github.com/nodejs/node/pull/56876
sqlite:
* (SEMVER-MINOR) allow returning `ArrayBufferView`s from user-defined functions (René) https://github.com/nodejs/node/pull/56790
src:
* set signal inspector io thread name (RafaelGSS) https://github.com/nodejs/node/pull/56416
* set thread name for main thread and v8 worker (RafaelGSS) https://github.com/nodejs/node/pull/56416
* set worker thread name using worker.name (RafaelGSS) https://github.com/nodejs/node/pull/56416
* use a default thread name for inspector (RafaelGSS) https://github.com/nodejs/node/pull/56416
url:
* (SEMVER-MINOR) add URLPattern implementation (Yagiz Nizipli) https://github.com/nodejs/node/pull/56452
zlib:
* (SEMVER-MINOR) add zstd support (Jan Krems) https://github.com/nodejs/node/pull/52100
PR-URL: https://github.com/nodejs/node/pull/57005
2025-02-13 18:28:25 +01:00
Jan Olaf Martin
128ec44d21
meta: update last name for jkrems
...
Also adds current work email to mailmap.
PR-URL: https://github.com/nodejs/node/pull/57006
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jordan Harband <ljharb@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2025-02-13 17:47:52 +01:00
Joyee Cheung
79f96b6e84
crypto: cleanup root certificates and skip PEM deserialization
...
- We do not actually need them in PEM format, so just pass them
around as X509 direcrtly.
- The cached global X509 structures were previously never cleaned
up. Clean them up at process teardown.
- Use function-local static to ensure thread-safety in
initialization.
- Add more comments about how the various options differ.
PR-URL: https://github.com/nodejs/node/pull/56999
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2025-02-13 15:58:22 +00:00
Rafael Gonzaga
5c83957601
doc: update cleanup to trust on vuln db automation
...
Since https://github.com/nodejs-private/security-release/pull/56 this
process has been automated.
PR-URL: https://github.com/nodejs/node/pull/57004
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2025-02-13 14:20:14 +00:00
Antoine du Hamel
a7f648c8ba
tools: add support for import source syntax in linter
...
PR-URL: https://github.com/nodejs/node/pull/56992
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-02-12 21:56:04 +00:00
Antoine du Hamel
25b4a5d2fe
doc: move stability index after history section for consistency
...
PR-URL: https://github.com/nodejs/node/pull/56997
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com >
2025-02-12 18:25:09 +00:00
Burkov Egor
85f5a6cc1e
src: add self-assigment memcpy checks
...
Fixes: https://github.com/nodejs/node/issues/56718
PR-URL: https://github.com/nodejs/node/pull/56986
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2025-02-12 13:13:02 +00:00
Yukihiro Hasegawa
9ce1fffcdc
doc: add signal to filehandle.writeFile() options
...
PR-URL: https://github.com/nodejs/node/pull/56804
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
2025-02-12 09:33:06 +01:00
Cheng
b07ff551db
build: fix GN build of uv
...
PR-URL: https://github.com/nodejs/node/pull/56955
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2025-02-12 00:58:31 +00:00
github-actions[bot]
83ff1ae88f
doc: run license-builder
...
PR-URL: https://github.com/nodejs/node/pull/56985
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2025-02-12 00:32:22 +00:00
Node.js GitHub Bot
b7ca23f50e
test: update WPT for urlpattern to ef6d83d789
...
PR-URL: https://github.com/nodejs/node/pull/56984
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2025-02-12 00:32:07 +00:00
Dario Piotrowicz and Yagiz Nizipli
43ffcf1d2e
src: improve node::Dotenv trimming
...
the trimming functionality that the dotenv parsing uses currently
only takes into consideration plain spaces (' '), other type of
space characters such as tabs and newlines are not trimmed, this
can cause subtle bugs, so the changes here make sure that such
characters get trimmed as well
Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com >
PR-URL: https://github.com/nodejs/node/pull/56983
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2025-02-11 22:26:51 +00:00
James M Snell
cbedcd1696
src: improve error handling in string_bytes/decoder
...
PR-URL: https://github.com/nodejs/node/pull/56978
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2025-02-11 16:40:02 +00:00
James M Snell
888e5eb4fd
src: improve error handling in process_wrap
...
Replace ToLocalChecked uses.
PR-URL: https://github.com/nodejs/node/pull/56977
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2025-02-11 16:28:04 +00:00
Yagiz Nizipli
66549b4ff5
test: reduce flakiness on test-net-write-fully-async-buffer
...
PR-URL: https://github.com/nodejs/node/pull/56971
Refs: https://github.com/nodejs/node/actions/runs/13220154720/job/36904132463?pr=56970
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2025-02-11 15:24:19 +00:00