node
node copied to clipboard
Node.js JavaScript runtime β¨π’πβ¨
The issue is likely the same as other tests that time out. Refs: https://github.com/nodejs/node/issues/54918 Refs: https://github.com/nodejs/node/pull/54844 Refs: https://github.com/nodejs/node/pull/54802
util: Add a method to get the encoding information of a string. Currently, we should check the encoding of the string before we use `latin1WriteStatic` and `ucs2Write` to write to...
### Version v22.10.0 ### Platform Reproducible on: ```text Linux smooreswork 6.11.8-300.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 14 20:37:39 UTC 2024 x86_64 GNU/Linux Linux 04d2433b1ce0 6.1.49-Unraid #1 SMP PREEMPT_DYNAMIC Wed Aug...
This PR fixes the issue by giving the user the responsibility to add/remove trailing slashes for `fs.readdir`. Examples: ``` > require('fs').readdirSync('\\\\.\\pipe').length Uncaught Error: ENOTDIR: not a directory, scandir '\\.\pipe' at...
This PR adds the `ESM` counterparts of the `CJS` examples for [the Performance measurement APIs documentation](https://nodejs.org/api/perf_hooks.html). There is one particular example in which I'd like to get a more in...
The first PR for https://github.com/nodejs/node/issues/55000 - [x] `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added...
ref: #55842 Added a new environment variable, `NODE_TEST_WORKER_ID`, which ranges from 1 to N when `--experimental-test-isolation=process` is enabled and defaults to 1 when `--experimental-test-isolation=none` is used. Before merging, I want...
## 2024-12-05, Version 23.4.0 (Current), @targos ### Notable Changes #### Introducing experimental `assert.partialDeepStrictEqual` Sometimes, when writing test, we want to validate that some specific properties are present, and the mere...
### Version - v22.9.0 - v22.12.0 ### Platform ```text Linux a54ff73afbfe 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux ``` ```text Linux SURFACE9PRO 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri...
### Version v22.12.0 ### Platform ```text Windows 11 (Microsoft Windows NT 10.0.26100.0 x64) ``` ### Subsystem dns ### What steps will reproduce the bug? On my Windows 11 system, the...