node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
process: add process.getBuiltinModule(id) `process.getBuiltinModule(id)` provides a way to load built-in modules in a globally available function. ES Modules that need to support other environments can use it to conditionally load...
### What is the problem this feature will solve? When ESM loader resolve and load a virtual CJS module, named export not found. ### Reproduce Description - use ESM loader...
### Notable Changes * \[[`44ee04cf9f`](https://github.com/nodejs/node/commit/44ee04cf9f)] - **buffer**: improve `base64` and `base64url` performance (Yagiz Nizipli) [#52428](https://github.com/nodejs/node/pull/52428) * \[[`3c37ce5710`](https://github.com/nodejs/node/commit/3c37ce5710)] - **(SEMVER-MINOR)** **dns**: add order option and support ipv6first (Paolo Insogna) [#52492](https://github.com/nodejs/node/pull/52492) *...
### Version v20.10.0 ### Platform MacOS and Linux ### Subsystem Ubuntu ### What steps will reproduce the bug? When I run this snippet of code, I got `1 2 4...
### Version 20.12, 22 ### Platform Microsoft Windows NT 10.0.19045.0 x64 ### Subsystem _No response_ ### What steps will reproduce the bug? Below are two examples of code that read...
### What is the problem this feature will solve? In Node.js v21 with [`--experimental-websocket`](https://nodejs.org/en/blog/announcements/v21-release-announce#built-in-websocket-client), the [**`CloseEvent`**](https://developer.mozilla.org/Web/API/CloseEvent) class isn't defined. This event is sent to clients using [WebSockets](https://developer.mozilla.org/docs/Glossary/WebSockets) when the connection...
Before it's unflagged - [x] Figure out default export interop with transpilers, either adding `__esModule` to required ESM on our end (https://github.com/nodejs/node/pull/52166), or transpilers update themselves to check the result...
#### tools: support != in test status files #### tools: support max_virtual_memory test configuration #### tools: fix get_asan_state() in tools/test.py The output of `node -p process.config.variables.asan` includes a newline character...
This has been constantly failing on macOS recently and given to the fact an issue has been opened since 2021 and no one worked on that, we should just drop...
Refs: https://github.com/v8/node/pull/180