node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
### Test test-http-server-request-timeouts-mixed ### Platform macos ### Console output ```console not ok 1173 parallel/test-http-server-request-timeouts-mixed --- duration_ms: 3.244 severity: fail exitcode: 1 stack: |- node:assert:399 throw err; ^ AssertionError [ERR_ASSERTION]: The...
Backport of: - https://github.com/nodejs/node/pull/43402 - https://github.com/nodejs/node/pull/43748 - https://github.com/nodejs/node/pull/43965 - https://github.com/nodejs/node/pull/44159 - https://github.com/nodejs/node/pull/44229 - https://github.com/nodejs/node/pull/44318 - https://github.com/nodejs/node/pull/44509 - https://github.com/nodejs/node/pull/44704
Close #44153 This PR added new custom ESLint rule named `sort-requires` that verify all destructed members of `{} = require()` and `{} = primordials` are sorted alphabetically inspired by [`eslint/sort-imports`](https://eslint.org/docs/latest/rules/sort-imports)...
- This throws if the view is zero-length when there is an active reader when using `ReadableStreamBYOBRequest.respondWithNewView()`. - By doing that, we can get all tests passed in `wpt/streams/readable-byte-streams/bad-buffers-and-views.any.js`. Refs:...
This PR adds support for instantiation and further interaction with an embedded version of Node.js (libnode) entirely through Node-API. Refs: #43516
### What is the problem this feature will solve? Currently ESlint doesn't have any rule to detect `require` statement with out of order variables (i.e. `{b, a} = require("path")`, and...
### Version v17.8.0, v16.4.2 ### Platform _No response_ ### Subsystem esm ### What steps will reproduce the bug? Let's say we have the following files: **`package.json`:** ```json { "type": "module",...
To comply with RFC 7301, make TLS servers send a fatal alert during the TLS handshake if both the client and the server are configured to use ALPN and if...
### What is the problem this feature will solve? Can you add the support of RFC 9266: Channel Bindings for TLS 1.3? - https://datatracker.ietf.org/doc/html/rfc9266 Little details, to know easily: -...
Currently, starting a `.mjs` or `.cjs` file allow to skip the lookup and the parsing of a `package.json` file, I'm reluctant to change that but I'm curious what others think....