node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
According to @SimenB, here are the issues that should probably be taken care of before we unflag and mark vm modules as stable: - [x] [SourceTextModule memory leak (#33439)](https://github.com/nodejs/node/issues/33439) -...
I added a testcase about executionAsyncResource with Http Agent. Refs: https://github.com/nodejs/node/blob/master/test/async-hooks/test-async-exec-resource-http.js Signed-off-by: psj-tar-gz ##### Checklist - [x] `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes - [x] tests and/or...
* **Version**: v14.15.1, v15.3.0 * **Platform**: Windows 10 Pro 64-bit / Mac Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64 * **Subsystem**: vm ### What steps...
This PR migrates expressions such as `a ? a.b : c` to `a?.b ?? c` Codemod script: https://github.com/pd4d10/nodejs-codemod/blob/main/src/optional-chaining.ts Also see: https://github.com/nodejs/node/issues/38609
Add documents for constructors of both `tty.ReadStream` and `tty.WriteStream`. Fixes: https://github.com/nodejs/node/issues/37780
On systems with limited memory and that are compiled with debugging information, this particular test is causing OOM condition especially as it is run in parallel. Even when run with...
cc @nodejs/build I reorganized the table this way because personally I found the previous version confusing, especially if you're interested in knowing what are all the platforms on a specific...
Buffer.from(string) is one of the functions that may use the pre-allocated buffer. It's mentioned in the description of Buffer.from(array), but not in Buffer.from(string), or in the two other places where...
For `sigaction()` the `SA_SIGINFO` flag should be set when setting the handler via the `sa_sigaction` member of the `sigaction` struct. This unfortunately doesn't fix https://github.com/nodejs/node/issues/34410 but AFAICT looks correct based...