node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
## `git node wpt FileAPI` Note one new failure: `Passing a Float16Array as element of the blobParts array should work.` Note that several tests now **pass** that previously **failed**.
Move options that are only relevant for opening the database into a self-contained class. Refs: https://github.com/nodejs/node/pull/54777#discussion_r1745988310
## `git node wpt performance-timeline` Note that `not-restored-reasons/*` depends on the HTML WPT, and has been skipped. `idlharness-shadowrealm.window.js` requires ShadowRealm, and has been skipped. `droppedentriescount.any.js` requires WPTRunner to have `fetch`...
The type of `ArrayBufferPrototypeGetByteLength` was missing in `primordials.d.ts`.
Replaced String.prototype.endsWith with manual string length and index checks for performance improvements.
To keep the Web API behavior synchronized with the latest Web specs and WPT tests, add a GitHub Action to automatically update WPT fixtures with WPT weekly epoch. The status...
This PR adds the ESM counterparts of the CJS examples for [the REPL documentation](https://nodejs.org/api/repl.html). I've tested every single example and they all work/behave as expected. Best regards!
Updated the implementation of the `readable.compose()` method to ensure that it correctly returns a Duplex stream when applicable, avoiding unintended conversion to Readable streams. fixes: #55203
Ref: #52464 `ares_query` has been deprecated in favor of `ares_query_dnsrec`, so this PR switches our implementation to use it.
Fixes #35209 Closes #35378 Time spent: 90h > [!CAUTION] > **These bug fixes are potentially `semver-major`**! 1. Fixed `stream.close(NGHTTP2_CANCEL)` closing with `0` aka `NGHTTP2_NO_ERROR`. 2. `serverStream.destroy()` closed with `0`, now...