diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 28b43d7a1..2a7e056db 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -1,5 +1,5 @@ The following third-party software is used by and included in **mongosh**. -This document was automatically generated on Sun Oct 13 2024. +This document was automatically generated on Tue Oct 15 2024. ## List of dependencies diff --git a/packages/cli-repl/src/cli-repl.ts b/packages/cli-repl/src/cli-repl.ts index db97e18de..18479f05f 100644 --- a/packages/cli-repl/src/cli-repl.ts +++ b/packages/cli-repl/src/cli-repl.ts @@ -1017,12 +1017,11 @@ export class CliRepl implements MongoshIOProvider { } async isTlsKeyFilePasswordMissingURI( - searchParams: ReturnType< - typeof ConnectionString.prototype.typedSearchParams - > + searchParams: unknown ): Promise { - const tlsCertificateKeyFile = searchParams.get('tlsCertificateKeyFile'); - const tlsCertificateKeyFilePassword = searchParams.get( + const searchMap = searchParams as Map; + const tlsCertificateKeyFile = searchMap.get('tlsCertificateKeyFile'); + const tlsCertificateKeyFilePassword = searchMap.get( 'tlsCertificateKeyFilePassword' );