From ff6c2938b8739f0bd0b1ca6271095c5563a5a408 Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Wed, 23 Aug 2023 17:16:26 +0200 Subject: [PATCH] fix(NODE-5573): fix saslprep import (#3838) --- src/deps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deps.ts b/src/deps.ts index 52c359bbaf..ef5f24f3a3 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -144,7 +144,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 {