node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
### What is the problem this feature will solve? The `assert` syntax has been replaced by `with`, and it's currently only shipped by Chrome and Node.js. Other browsers will only...
Make module.paths a getter which computes the property when it's requested. The paths property is entirely deterministically computed from the path property, and so it's not necessary to keep the...
Use ByteLengthQueuingStrategy when not in object mode After this PR Array buffers memory usage is 0 MiB Array buffers memory usage is 0 MiB converting node stream to web stream...
local benchmark: ``` confidence improvement accuracy (*) (**) (***) perf_hooks/time-origin.js method='timeOrigin' n=1000000 *** 75.84 % ±1.07% ±1.44% ±1.91% perf_hooks/time-origin.js method='toJSON' n=1000000 *** 27.41 % ±1.24% ±1.66% ±2.16% ```
This pull request adds an enhanced property to the X509Certificate class, providing additional functionality for X.509 certificates. The new property improves the handling of certificate subjects, issuers, and other related...
This is a proposal to add suite hooks to the test runner. Makes it possible to add setup and teardown for an entire suite.
Unifies the CJS and ESM source map cache map and allows the CJS cache entries to be queried more efficiently with a source url without iteration on an IterableWeakMap. Reclaims...
Currently `url.fileURLtoPath` produces different output based on the operating system the program is ran on. I couldn't find an helper similar to `path.posix` or `path.win32`.
### Version 21.6.1 ### Platform linux-x64 (github actions runner), ubuntu 22.04.3 ### Subsystem junit test reporter ### What steps will reproduce the bug? I was not able to reproduce, unfortunately....
the embedding API document is out of date and doesn't work, as import node module doesn't need node: prefix after checking the embedtest.cc, the minor fix works ref: https://github.com/nodejs/node/blob/main/test/embedding/embedtest.cc