From d2bbdf491b3659b7e013ad7ee8043b858fa0e642 Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Wed, 23 Aug 2023 14:41:09 +0200 Subject: [PATCH] fix(NODE-5572): fix saslprep import --- 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 {