node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
If one explicitly deletes the array prototype in the repl instance then the method to check for `pop` seen in the context starts giving error. Reason being primordials is not...
Keep the same output format with `find_python.cmd`  ##### Checklist - [x] `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes - [x] commit message follows [commit guidelines](https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines)
This is a POC for compiled WebAssembly module cache proposal (#36671). ##### Checklist - [ ] `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes - [ ] tests and/or...
This is a WIP. It might take a while. This PR should enable `emitClose` in `net.Socket`, ideally without changing any tests. Fixes: #36636 ##### Checklist - [ ] `make -j4...
This PR tries to support negative options like the format `--no-foo` for `parseArgs` by adding a flag `allowNegative` in the `config` of `parseArgs`. It works for general CLI flag and...
When I written module path with a typo: ```js import {readdir} from 'fs/promisesxxx'; ``` The error message tell me cannot find package 'fs'. ```sh $ node test.js node:internal/modules/esm/resolve:853 throw new...
refs: https://github.com/nodejs/node/issues/53103#issuecomment-2125716659 see tests verifying this behavior: https://github.com/nodejs/node/blob/c7a63b074017b57e5c8a3341151696039ae49499/test/parallel/test-runner-v8-deserializer.mjs#L50
### Version 22.2.0 ### Platform Linux Nitro 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ### Subsystem _No response_ ### What steps will reproduce...
Fixes: #53113 Open the PR to first verify the idea and picking up how to do things properly. If the fix is on the right track, I will add tests...
## 2024-05-28, Version 20.14.0 'Iron' (LTS), @marco-ippolito ### Notable Changes * \[[`28d2baa17c`](https://github.com/nodejs/node/commit/28d2baa17c)] - **src,permission**: throw async errors on async APIs (Rafael Gonzaga) [#52730](https://github.com/nodejs/node/pull/52730) * \[[`77e2bf029a`](https://github.com/nodejs/node/commit/77e2bf029a)] - **(SEMVER-MINOR)** **test\_runner**: support forced...