Skip to content

Commit 0334266

Browse files
committed
Deprecate getGenuineMongoDB
1 parent a6dc933 commit 0334266

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/mongodb-build-info/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ export function isDigitalOcean(uri: string): boolean {
112112
return !!getHostnameFromUrl(uri).match(DIGITAL_OCEAN_REGEX);
113113
}
114114

115+
/**
116+
* @deprecated Use `identifyServerName` instead.
117+
*/
115118
export function getGenuineMongoDB(uri: string): {
116119
isGenuine: boolean;
117120
serverName: string;

0 commit comments

Comments
 (0)