node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
* **Version**: 14.5.0 * **Platform**: Win10 x64 * **Subsystem**: fs ### What is the expected behavior? A similar issue https://github.com/nodejs/node/issues/22577 has been closed 2 years ago, but the issue hasn't...
When require(esm) encounters a cached module job that is instantiated but not yet evaluated, run the evaluation. This catches an edge case previously missed in https://github.com/nodejs/node/pull/57187. Fixes: https://github.com/nodejs/node/issues/58061
From my perspective, this file relies on several outdated or redundant practices, including: * Using `os.rm...` instead of `os.unlink` * Not utilizing f-strings * Manually listing V8 headers If there...
Refs: https://github.com/nodejs/node/issues/57934
This change refactors `StringBytes::WriteUCS2()` in multiple ways. The `flags` argument being passed to `WriteUCS2()` is not useful: the only really relevant flag is `NO_NULL_TERMINATION` since V8 ignores `REPLACE_INVALID_UTF8`, `HINT_MANY_WRITES_EXPECTED`, and...
When a function is added to one of the internal bindings its types should be added to the [internalBindings typings](https://github.com/nodejs/node/tree/main/typings/internalBinding) (so that the type can be picked up by IDEs...
add the new `--watch-kill-signal` to allow users to customize what signal is sent to the process on restarts during watch mode
License is likely out of date. This is an automatically generated PR by the `license-builder.yml` GitHub Action, which runs `license-builder.sh` and submits a new PR or updates an existing PR.
### Version v24.1.0 ### Platform ```text Darwin host.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 arm64 Darwin ``` ### Subsystem net ### What steps will...
When a directory cannot be read due to permission issues, the async version of fs.glob() returns null from readdir(), while the sync version returns an empty array. This causes a...