From 250dc213843a177938fc7bcd11c44a430f13e1fb Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Wed, 23 Aug 2023 17:06:46 +0200 Subject: [PATCH] fix(NODE-5572): fix saslprep import (#3837) --- src/deps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deps.ts b/src/deps.ts index 3185b3fe18..7fe320a1ce 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -137,7 +137,7 @@ export let saslprep: try { // Ensure you always wrap an optional require in the try block NODE-3199 - saslprep = require('saslprep'); + saslprep = require('@mongodb-js/saslprep'); } catch {} // eslint-disable-line interface AWS4 {