refactor!: remove ufo
dependency
#1235
Annotations
2 errors
src/fetch.ts#L189
FetchError: [GET] "/:3000/echo?b=2&a=1&c=3": <no response> Failed to parse URL from /:3000/echo?b=2&a=1&c=3
❯ $fetchRaw2 src/fetch.ts:189:14
❯ $fetch2 src/fetch.ts:250:15
❯ test/index.test.ts:366:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: '/:3000/echo?b=2&a=1&c=3', options: { query: { b: 2, a: 1, c: 3 }, params: { b: 2, a: 1, c: 3 }, headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, method: undefined, retry: +0 }, response: undefined, data: undefined, status: undefined, statusCode: undefined, statusText: undefined, statusMessage: undefined }
Caused by: Caused by: TypeError: Failed to parse URL from /:3000/echo?b=2&a=1&c=3
❯ $fetchRaw2 src/fetch.ts:177:26
Caused by: Caused by: TypeError: Invalid URL
❯ src/node.ts:38:66
❯ $fetchRaw2 src/fetch.ts:177:32
❯ onError src/fetch.ts:77:16
❯ $fetchRaw2 src/fetch.ts:189:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '/:3000/echo?b=2&a=1&c=3' }
|
|
This job failed
Loading