diff --git a/apps/auth/package.json b/apps/auth/package.json index 657ad017125..91ea0980736 100644 --- a/apps/auth/package.json +++ b/apps/auth/package.json @@ -36,7 +36,7 @@ "fastify-graceful-shutdown": "3.4.0", "fastify-plugin": "4.5.0", "ioredis": "5.3.2", - "ldapjs": "2.3.3", + "ldapjs": "3.0.2", "nanoid": "4.0.2", "svg-captcha": "1.4.0", "pino-pretty": "10.0.0", @@ -47,7 +47,7 @@ }, "devDependencies": { "@types/asn1": "0.2.0", - "@types/ldapjs": "2.2.5", + "@types/ldapjs": "3.0.0", "@types/nodemailer": "6.4.8", "@types/qrcode": "1.5.0", "@types/speakeasy": "2.0.7" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b70befac5f..d76292764f0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -158,8 +158,8 @@ importers: specifier: 5.3.2 version: 5.3.2 ldapjs: - specifier: 2.3.3 - version: 2.3.3 + specifier: 3.0.2 + version: 3.0.2 liquidjs: specifier: 10.7.1 version: 10.7.1 @@ -189,8 +189,8 @@ importers: specifier: 0.2.0 version: 0.2.0 '@types/ldapjs': - specifier: 2.2.5 - version: 2.2.5 + specifier: 3.0.0 + version: 3.0.0 '@types/nodemailer': specifier: 6.4.8 version: 6.4.8 @@ -4470,6 +4470,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.0.0: + resolution: {integrity: sha512-qPsJDC5dQU2TSkA/IpswvPEg9MU6TIjjq0UOCHtuUeD3eWihTUjHuu/dith4NFRKjBvgFnqRQvo+t0YC+3z0Rw==} + dependencies: + '@ldapjs/asn1': 2.0.0 + process-warning: 2.2.0 + dev: false + + /@ldapjs/filter@2.0.0: + resolution: {integrity: sha512-7hMv5DNlHJk4qoGzCFGbbSV0vgvn2A7hZ4mt15557xDhw+BXjhryBvs8ANTHUpyaWvESbU+oNOsbBobNLZ45Nw==} + dependencies: + '@ldapjs/asn1': 2.0.0 + '@ldapjs/protocol': 1.2.1 + process-warning: 2.2.0 + dev: false + + /@ldapjs/messages@1.0.2: + resolution: {integrity: sha512-aVYyqTDsIfnUt2Qr2syJi99M39h4ll9soggOtUjsf4Sv1xVQ/M5VY11T0h69S2fQ4NnaYi9iXd440LVU4MCCKQ==} + dependencies: + '@ldapjs/asn1': 2.0.0 + '@ldapjs/attribute': 1.0.0 + '@ldapjs/change': 1.0.0 + '@ldapjs/controls': 2.0.0 + '@ldapjs/dn': 1.0.0 + '@ldapjs/filter': 2.0.0 + '@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 @@ -6161,10 +6223,10 @@ packages: '@types/node': 18.16.14 dev: false - /@types/ldapjs@2.2.5: - resolution: {integrity: sha512-Lv/nD6QDCmcT+V1vaTRnEKE8UgOilVv5pHcQuzkU1LcRe4mbHHuUo/KHi0LKrpdHhQY8FJzryF38fcVdeUIrzg==} + /@types/ldapjs@3.0.0: + resolution: {integrity: sha512-Q3QpM+2kqcFFcl7HCF/DC1w/Yg1dlUygft3bAFilrlsOzUTdE3BcN2ZSxa+YcbHAIbxgV7zX0gOTlsXH0mn08Q==} dependencies: - '@types/node': 18.11.18 + '@types/node': 18.16.14 dev: true /@types/long@4.0.2: @@ -12322,22 +12384,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.2: + resolution: {integrity: sha512-EBxQaBmgXk1DEaYYJWkp5i5PtSLRI2CWtm1gzxG5buOt40Q7j3zY6MbpRDkach/Cnxr3qSyLHiyXvvkLCOXw+Q==} dependencies: + '@ldapjs/asn1': 2.0.0 + '@ldapjs/attribute': 1.0.0 + '@ldapjs/change': 1.0.0 + '@ldapjs/controls': 2.0.0 + '@ldapjs/dn': 1.0.0 + '@ldapjs/filter': 2.0.0 + '@ldapjs/messages': 1.0.2 + '@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 @@ -14883,6 +14943,10 @@ packages: /process-warning@2.0.0: resolution: {integrity: sha512-+MmoAXoUX+VTHAlwns0h+kFUWFs/3FZy+ZuchkgjyOu3oioLAo2LB5aCfKPh2+P9O18i3m43tUEv3YqttSy0Ww==} + /process-warning@2.2.0: + resolution: {integrity: sha512-/1WZ8+VQjR6avWOgHeEPd7SDQmFQ1B5mC1eRXsCm5TarlNmx/wCsa5GEaxGm05BORRtyG/Ex/3xq3TuRvq57qg==} + dev: false + /process@0.11.10: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'}