chore: bump deps, cleanup deprecation warnings

This commit is contained in:
Rexogamer
2024-04-30 15:26:08 +01:00
parent e3937ae843
commit 90e41c837b
7 changed files with 2501 additions and 11115 deletions

View File

@@ -96,6 +96,7 @@ export default class EventSource {
}
addEventListener<T extends string>(event: T, handler: Listener<T>[1]) {
// @ts-expect-error TODO: this worked pre-dep bump but i have no idea what broke it - i attempted to downgrade @types/node, undici and typescript to the pre-bump version but no luck?
this._listeners.push([event, handler]);
}

View File

@@ -42,8 +42,8 @@ export function buildProxyAgent(options: ProxyAgentOptions & {
const { origin, port, host } = proxy;
const { socket, statusCode } = await agent.connect({
// @ts-expect-error
origin,
// @ts-expect-error
port,
path: requestedHost,
// @ts-expect-error