Skip to content

Commit dfe1fba

Browse files
authored
fix(NODE-6792): use isUint8Array from driver's utils instead of util/types (#4436)
1 parent 196e08e commit dfe1fba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mongo_logger.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { inspect, promisify } from 'util';
2-
import { isUint8Array } from 'util/types';
32

43
import {
54
type Binary,
@@ -75,7 +74,7 @@ import type {
7574
ServerSelectionSucceededEvent,
7675
WaitingForSuitableServerEvent
7776
} from './sdam/server_selection_events';
78-
import { HostAddress, isPromiseLike, parseUnsignedInteger } from './utils';
77+
import { HostAddress, isPromiseLike, isUint8Array, parseUnsignedInteger } from './utils';
7978

8079
/**
8180
* @public

0 commit comments

Comments
 (0)