jfhr
jfhr
When calling a method that accepts a `PauseToken`, sometimes I know I'll never need to pause the operation. In that case, it would be convenient to pass `PauseToken.None` as an...
The first parameter passed to listeners on an http.Servers upgrade event is the client request. This changes the docs to call that parameter 'request'; before, it was confusingly called 'response'....
### Affected URL(s) https://nodejs.org/api/http.html#event-upgrade ### Description of the problem The first argument passed to listeners on the `'upgrade'` event on an `http.Server` is called `response` in the docs, even though...
The current Bundesanzeiger implementation only fetches one page of results with up to 20 reports, but sometimes it might be interesting to get older reports as well. This adds a...
Thank you for submitting a Pull Request (PR) to the Cheat Sheet Series. > :triangular_flag_on_post: If your PR is related to grammar/typo mistakes, please double-check the file for other mistakes...
## What is missing or needs to be updated? Some security headers such as `Content-Security-Policy` are (as far as I can tell) relevant on all HTML pages, including error pages....
## This relates to... This closes #3378 ## Changes This adds a `TOpaque` generic type parameter to the type definitions for request(), connect(), stream(), and pipeline(). The type parameter defaults...
## This would solve... Currently, when using `stream()` or `pipeline()`, `opaque` is typed as `unknown` in the callback, e.g: ```javascript const bufs = []; undici.stream("https://example.com", { method: 'GET', opaque: {...