#1889
47f574d
None of the tests seem to be running:
The workflow is not valid. .github/workflows/nodejs.yml (Line: 13, Col: 5): Unexpected value 'uses' .github/workflows/nodejs.yml (Line: 14, Col: 5): Unexpected value 'with'
Bug Description
When running multiple LONG running fetches in parallel, some of them seem to just die and hit a timeout that doesnt really seem relevant
name: HeadersTimeoutError
message: Headers Timeout Error
stack: >-
HeadersTimeoutError: Headers Timeout Error
at onParse...
Bug Description
a blocking flag was added in https://github.com/nodejs/undici/pull/1034/files but was not added to https://github.com/nodejs/undici/blob/main/types/dispatcher.d.ts
I am not super clear on what this flag does/prevents/changes but wanted to try it for a long running request I am having...
Bug Description
The undici error types provided here do not correspond to all errors declared here.
Reproducible By
A couple of examples:
The ConnectTimeoutError is not available in the errors type definitions
Using SocketTimeoutError in a type check like
if (error instanceof errors.SocketTimeoutEr...
Bug Description
I am facing a problem when intercepting and mocking responses from external APIs when using Node.js built-in fetch.
I am following MockAgent docs and I noticed that it doesn't work when using Jest as test runner.
Intercepting works correctly only when
I am using fetch imported from...
Bug Description
When trying to run unit tests with jest for files which use undici an error is thrown.
Reproducible By
You can reproduce this error by cloning this repo. README contains steps to reproduce the bug.
Expected Behavior
Unit tests should complete successfully.
Logs & Screenshots
This...
This would solve...
ProxyAgent currently only allows configuring the Authorization header for its CONNECT request to the proxy. I'd like to add different custom headers (e.g. User-Agent) as well. This header should only be sent in the CONNECT request, not in the tunneled requests to the target URL....
isFormDataLike currently only checks that the constructor.name is 'FormData'. We should also check the interface as there are npm packages that have the correct name but wrong interface causing confusion where it's read as a FOrmData instead of a async generator..
Failed to compile.
C:/Users/nick_/VSCodeProjects/nft-school-examples/end-to-end/node_modules/hardhat/node_modules/undici/lib/fetch/headers.js
SyntaxError: C:\Users\nick_\VSCodeProjects\nft-school-examples\end-to-end\node_modules\hardhat\node_modules\undici\lib\fetch\headers.js: Missing class proper...