From 606ecfe96b8999cb19b969ea898b8242ccdf579e Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 18 Oct 2023 09:01:58 +0000
Subject: [PATCH] fix(deps): update dependency ldapjs to v3

---
 apps/auth/package.json |  4 +-
 pnpm-lock.yaml         | 98 ++++++++++++++++++++++++++++++++++--------
 2 files changed, 81 insertions(+), 21 deletions(-)

diff --git a/apps/auth/package.json b/apps/auth/package.json
index 7381f3a61c1..84ad3c588b5 100644
--- a/apps/auth/package.json
+++ b/apps/auth/package.json
@@ -37,7 +37,7 @@
     "fastify-graceful-shutdown": "3.5.1",
     "fastify-plugin": "4.5.1",
     "ioredis": "5.3.2",
-    "ldapjs": "2.3.3",
+    "ldapjs": "3.0.5",
     "nanoid": "5.0.1",
     "svg-captcha": "1.4.0",
     "pino-pretty": "10.2.0",
@@ -49,7 +49,7 @@
   },
   "devDependencies": {
     "@types/asn1": "0.2.1",
-    "@types/ldapjs": "2.2.5",
+    "@types/ldapjs": "3.0.3",
     "@types/nodemailer": "6.4.9",
     "@types/qrcode": "1.5.1",
     "@types/speakeasy": "2.0.7"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 023dc4fa286..45ec7db31a0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -222,8 +222,8 @@ importers:
         specifier: 5.3.2
         version: 5.3.2
       ldapjs:
-        specifier: 2.3.3
-        version: 2.3.3
+        specifier: 3.0.5
+        version: 3.0.5
       liquidjs:
         specifier: 10.8.4
         version: 10.8.4
@@ -256,8 +256,8 @@ importers:
         specifier: 0.2.1
         version: 0.2.1
       '@types/ldapjs':
-        specifier: 2.2.5
-        version: 2.2.5
+        specifier: 3.0.3
+        version: 3.0.3
       '@types/nodemailer':
         specifier: 6.4.9
         version: 6.4.9
@@ -5686,6 +5686,68 @@ packages:
       '@jridgewell/sourcemap-codec': 1.4.14
     dev: true
 
+  /@ldapjs/asn1@1.2.0:
+    resolution: {integrity: sha512-KX/qQJ2xxzvO2/WOvr1UdQ+8P5dVvuOLk/C9b1bIkXxZss8BaR28njXdPgFCpj5aHaf1t8PmuVnea+N9YG9YMw==}
+    dev: false
+
+  /@ldapjs/asn1@2.0.0:
+    resolution: {integrity: sha512-G9+DkEOirNgdPmD0I8nu57ygQJKOOgFEMKknEuQvIHbGLwP3ny1mY+OTUYLCbCaGJP4sox5eYgBJRuSUpnAddA==}
+    dev: false
+
+  /@ldapjs/attribute@1.0.0:
+    resolution: {integrity: sha512-ptMl2d/5xJ0q+RgmnqOi3Zgwk/TMJYG7dYMC0Keko+yZU6n+oFM59MjQOUht5pxJeS4FWrImhu/LebX24vJNRQ==}
+    dependencies:
+      '@ldapjs/asn1': 2.0.0
+      '@ldapjs/protocol': 1.2.1
+      process-warning: 2.2.0
+    dev: false
+
+  /@ldapjs/change@1.0.0:
+    resolution: {integrity: sha512-EOQNFH1RIku3M1s0OAJOzGfAohuFYXFY4s73wOhRm4KFGhmQQ7MChOh2YtYu9Kwgvuq1B0xKciXVzHCGkB5V+Q==}
+    dependencies:
+      '@ldapjs/asn1': 2.0.0
+      '@ldapjs/attribute': 1.0.0
+    dev: false
+
+  /@ldapjs/controls@2.0.0:
+    resolution: {integrity: sha512-NpFmdIc2q83tYRGR2a3NDulKgU1e4YOgqjQmmMezCoN4Xz0tju4yB4eibQNC+Zg8YRW06KPwFPKbebDaCqFF0w==}
+    dependencies:
+      '@ldapjs/asn1': 1.2.0
+      '@ldapjs/protocol': 1.2.1
+    dev: false
+
+  /@ldapjs/dn@1.1.0:
+    resolution: {integrity: sha512-R72zH5ZeBj/Fujf/yBu78YzpJjJXG46YHFo5E4W1EqfNpo1UsVPqdLrRMXeKIsJT3x9dJVIfR6OpzgINlKpi0A==}
+    dependencies:
+      '@ldapjs/asn1': 2.0.0
+      process-warning: 2.2.0
+    dev: false
+
+  /@ldapjs/filter@2.1.1:
+    resolution: {integrity: sha512-TwPK5eEgNdUO1ABPBUQabcZ+h9heDORE4V9WNZqCtYLKc06+6+UAJ3IAbr0L0bYTnkkWC/JEQD2F+zAFsuikNw==}
+    dependencies:
+      '@ldapjs/asn1': 2.0.0
+      '@ldapjs/protocol': 1.2.1
+      process-warning: 2.2.0
+    dev: false
+
+  /@ldapjs/messages@1.2.1:
+    resolution: {integrity: sha512-QPeDcwEJmYou6QxPZqr2VibJlrZkb+qSjwxmFJgfss2Hz9wTncgs27CDloD5vOQlE65fUnhEKlzuzMi1a4oxUQ==}
+    dependencies:
+      '@ldapjs/asn1': 2.0.0
+      '@ldapjs/attribute': 1.0.0
+      '@ldapjs/change': 1.0.0
+      '@ldapjs/controls': 2.0.0
+      '@ldapjs/dn': 1.1.0
+      '@ldapjs/filter': 2.1.1
+      '@ldapjs/protocol': 1.2.1
+      process-warning: 2.2.0
+    dev: false
+
+  /@ldapjs/protocol@1.2.1:
+    resolution: {integrity: sha512-O89xFDLW2gBoZWNXuXpBSM32/KealKCTb3JGtJdtUQc7RjAk8XzrRgyz02cPAwGKwKPxy0ivuC7UP9bmN87egQ==}
+    dev: false
+
   /@leichtgewicht/ip-codec@2.0.4:
     resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==}
     dev: false
@@ -7506,10 +7568,10 @@ packages:
       '@types/node': 18.17.6
     dev: false
 
-  /@types/ldapjs@2.2.5:
-    resolution: {integrity: sha512-Lv/nD6QDCmcT+V1vaTRnEKE8UgOilVv5pHcQuzkU1LcRe4mbHHuUo/KHi0LKrpdHhQY8FJzryF38fcVdeUIrzg==}
+  /@types/ldapjs@3.0.3:
+    resolution: {integrity: sha512-Tb67j7IUpoBbnWWSSPIgwWUHsirR92lpi1+wCWe5rFR1S0uOFba9Pp/bdnOF4s+y21skOyFzI5TFqFqB/DUjhg==}
     dependencies:
-      '@types/node': 18.16.14
+      '@types/node': 18.17.6
     dev: true
 
   /@types/mdast@3.0.10:
@@ -13803,22 +13865,20 @@ packages:
     engines: {node: '>=0.2.0'}
     dev: true
 
-  /ldap-filter@0.3.3:
-    resolution: {integrity: sha512-/tFkx5WIn4HuO+6w9lsfxq4FN3O+fDZeO9Mek8dCD8rTUpqzRa766BOBO7BcGkn3X86m5+cBm1/2S/Shzz7gMg==}
-    engines: {node: '>=0.8'}
-    dependencies:
-      assert-plus: 1.0.0
-    dev: false
-
-  /ldapjs@2.3.3:
-    resolution: {integrity: sha512-75QiiLJV/PQqtpH+HGls44dXweviFwQ6SiIK27EqzKQ5jU/7UFrl2E5nLdQ3IYRBzJ/AVFJI66u0MZ0uofKYwg==}
-    engines: {node: '>=10.13.0'}
+  /ldapjs@3.0.5:
+    resolution: {integrity: sha512-W1baa/R/i5itkGdteMbz9Mwu/Tvs7DQQ2jy4cirwo6uQo1kpFzaQftNr45kC6xLC6/L24fUPcWf4tZ0cgkAiDQ==}
     dependencies:
+      '@ldapjs/asn1': 2.0.0
+      '@ldapjs/attribute': 1.0.0
+      '@ldapjs/change': 1.0.0
+      '@ldapjs/controls': 2.0.0
+      '@ldapjs/dn': 1.1.0
+      '@ldapjs/filter': 2.1.1
+      '@ldapjs/messages': 1.2.1
+      '@ldapjs/protocol': 1.2.1
       abstract-logging: 2.0.1
-      asn1: 0.2.6
       assert-plus: 1.0.0
       backoff: 2.5.0
-      ldap-filter: 0.3.3
       once: 1.4.0
       vasync: 2.2.1
       verror: 1.10.1