From e80b3028abc3ac3910000ca322e07bf4a17c0ab6 Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Thu, 27 Feb 2025 11:04:41 -0500 Subject: [PATCH] fix(NODE-6792): use driver version of isUint8Array --- src/mongo_logger.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mongo_logger.ts b/src/mongo_logger.ts index 90cfac37153..73d8203ec7a 100644 --- a/src/mongo_logger.ts +++ b/src/mongo_logger.ts @@ -1,5 +1,4 @@ import { inspect, promisify } from 'util'; -import { isUint8Array } from 'util/types'; import { type Binary, @@ -75,7 +74,7 @@ import type { ServerSelectionSucceededEvent, WaitingForSuitableServerEvent } from './sdam/server_selection_events'; -import { HostAddress, isPromiseLike, parseUnsignedInteger } from './utils'; +import { HostAddress, isPromiseLike, isUint8Array, parseUnsignedInteger } from './utils'; /** * @public