node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
There are many npm modules for this functionality and I think it is a common requirements because I see 452k weekly downloads of multistream npm package.
The bug posted by @szmarczak is because of not checking the truthy value of `options.servername` in line 3101 and 3102 of `lib/internal/http2/core.js`, instead the `options.servername` is strictly checked against `undefined`,...
This patch also adds some more tests for this new feature. Follow-up to https://github.com/nodejs/node/pull/39814.
These accessors cause too much noise in npm security audits for the ecosystem, we should start a path to removal. Figuring out/warning on usage seems a good first step prior...
While implementing tests for new option `tries` on Resolver I noticed that it took at least 900ms more than it should when the timeout was > 1000. So a 1000ms...
Included some tests to pipeline error with createTransformStream
Spec mention stopImmediatePropagation should set both flags: "stop propagation" and "stop immediate propagation". So the second is not supported by Node as there is no hierarchy and bubbling, but the...
Relate issues: #3094 #39033 According to RFC 2730 5.4 https://datatracker.ietf.org/doc/html/rfc7230#section-5.4: A server MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message that lacks a Host...
This is a draft PR for fixing #39137 ... primarily for the test-case for now. My changes to `lib/_http_server.js` are just an experiment as a base for discussion - it...