chore: Update dependencies

This commit is contained in:
Joachim Van Herwegen
2023-04-26 15:50:47 +02:00
parent 346460cb56
commit 262f6b4558
5 changed files with 4794 additions and 4253 deletions

View File

@@ -21,7 +21,7 @@ export class BaseUrlExtractor extends ShorthandExtractor {
if (typeof args.socket === 'string') {
throw new Error('BaseUrl argument should be provided when using Unix Domain Sockets.');
}
const port = args.port ?? this.defaultPort;
const port = (args.port as string) ?? this.defaultPort;
const url = new URL('http://localhost/');
url.port = `${port}`;
return url.href;