diff --git a/backend/package.json b/backend/package.json index 947175055..9d8c661ff 100644 --- a/backend/package.json +++ b/backend/package.json @@ -23,7 +23,7 @@ "http-status-codes": "^2.2.0", "json-stable-stringify-without-jsonify": "^1.0.1", "ldapts": "^4.0.0", - "mongodb": "^4.0.0", + "mongodb": "^6.0.0", "mysql": "^2.18.1", "nodemailer": "^6.3.0", "openapi-types": "^12.0.2", diff --git a/backend/yarn.lock b/backend/yarn.lock index b27ca3177..a50e11e2a 100644 --- a/backend/yarn.lock +++ b/backend/yarn.lock @@ -116,48 +116,6 @@ "@aws-sdk/util-utf8-browser" "^3.0.0" tslib "^1.11.1" -"@aws-sdk/client-cognito-identity@3.405.0": - version "3.405.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.405.0.tgz#6e20c35af1cc9a22d960cd9fb176179b338482fa" - integrity sha512-kvmNAREFQbhaZoEMQzBOYTaN7cFIOLgk2DZYYlHh2ErUYXSbvbVOBUriMRW9hRDtKLooe3ZFBLO3sWKvQE/AfA== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sts" "3.405.0" - "@aws-sdk/credential-provider-node" "3.405.0" - "@aws-sdk/middleware-host-header" "3.398.0" - "@aws-sdk/middleware-logger" "3.398.0" - "@aws-sdk/middleware-recursion-detection" "3.398.0" - "@aws-sdk/middleware-signing" "3.398.0" - "@aws-sdk/middleware-user-agent" "3.398.0" - "@aws-sdk/types" "3.398.0" - "@aws-sdk/util-endpoints" "3.398.0" - "@aws-sdk/util-user-agent-browser" "3.398.0" - "@aws-sdk/util-user-agent-node" "3.405.0" - "@smithy/config-resolver" "^2.0.5" - "@smithy/fetch-http-handler" "^2.0.5" - "@smithy/hash-node" "^2.0.5" - "@smithy/invalid-dependency" "^2.0.5" - "@smithy/middleware-content-length" "^2.0.5" - "@smithy/middleware-endpoint" "^2.0.5" - "@smithy/middleware-retry" "^2.0.5" - "@smithy/middleware-serde" "^2.0.5" - "@smithy/middleware-stack" "^2.0.0" - "@smithy/node-config-provider" "^2.0.6" - "@smithy/node-http-handler" "^2.0.5" - "@smithy/protocol-http" "^2.0.5" - "@smithy/smithy-client" "^2.0.5" - "@smithy/types" "^2.2.2" - "@smithy/url-parser" "^2.0.5" - "@smithy/util-base64" "^2.0.0" - "@smithy/util-body-length-browser" "^2.0.0" - "@smithy/util-body-length-node" "^2.1.0" - "@smithy/util-defaults-mode-browser" "^2.0.6" - "@smithy/util-defaults-mode-node" "^2.0.6" - "@smithy/util-retry" "^2.0.0" - "@smithy/util-utf8" "^2.0.0" - tslib "^2.5.0" - "@aws-sdk/client-s3@^3.400.0": version "3.405.0" resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.405.0.tgz#c63b14bc8c8b6b8ed3164e36a5f93649ae5401e8" @@ -300,17 +258,6 @@ fast-xml-parser "4.2.5" tslib "^2.5.0" -"@aws-sdk/credential-provider-cognito-identity@3.405.0": - version "3.405.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.405.0.tgz#170eec353b79b1d28e5582bf9aea8020c7f7a336" - integrity sha512-tmu8r0kB3qHHIitQAwiziWzxoaGCv/vCh00EcabuW3x3UsKQUF71ZLuNcMOv5wqTsQw0Fmv3dKy2tzVmRm3Z5g== - dependencies: - "@aws-sdk/client-cognito-identity" "3.405.0" - "@aws-sdk/types" "3.398.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/types" "^2.2.2" - tslib "^2.5.0" - "@aws-sdk/credential-provider-env@3.398.0": version "3.398.0" resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.398.0.tgz#28d0d4d2de85dd35fdf83298191ea495da8f8646" @@ -388,27 +335,6 @@ "@smithy/types" "^2.2.2" tslib "^2.5.0" -"@aws-sdk/credential-providers@^3.186.0": - version "3.405.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-providers/-/credential-providers-3.405.0.tgz#be18021199af20a34674fe4e0a9a92c0ca9f1d71" - integrity sha512-332QZ2Wrr5gfFUGPLwITcjhxnBD4y94fxKg7qerSBq7fjjIkl/OjnchZf5ReePrjpglxs6hgLdGrPYIYPC4Hhw== - dependencies: - "@aws-sdk/client-cognito-identity" "3.405.0" - "@aws-sdk/client-sso" "3.405.0" - "@aws-sdk/client-sts" "3.405.0" - "@aws-sdk/credential-provider-cognito-identity" "3.405.0" - "@aws-sdk/credential-provider-env" "3.398.0" - "@aws-sdk/credential-provider-ini" "3.405.0" - "@aws-sdk/credential-provider-node" "3.405.0" - "@aws-sdk/credential-provider-process" "3.405.0" - "@aws-sdk/credential-provider-sso" "3.405.0" - "@aws-sdk/credential-provider-web-identity" "3.398.0" - "@aws-sdk/types" "3.398.0" - "@smithy/credential-provider-imds" "^2.0.0" - "@smithy/property-provider" "^2.0.0" - "@smithy/types" "^2.2.2" - tslib "^2.5.0" - "@aws-sdk/middleware-bucket-endpoint@3.405.0": version "3.405.0" resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.405.0.tgz#2dced0cf4753decfc15df7bbe865d431636c1772" @@ -1909,26 +1835,16 @@ browser-stdout@1.3.1: resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== -bson@^4.7.2: - version "4.7.2" - resolved "https://registry.yarnpkg.com/bson/-/bson-4.7.2.tgz#320f4ad0eaf5312dd9b45dc369cc48945e2a5f2e" - integrity sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ== - dependencies: - buffer "^5.6.0" +bson@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/bson/-/bson-6.0.0.tgz#685f631a2ce255e2ed3987a7355210e4beace17e" + integrity sha512-FoWvdELfF2wQaUo8S/a1Rh2BDwJEUancDDnzdTpYymJTZjmvRpLWoqRPelKn+XSeh5D4YddWDG66cLtEhGGvcg== buffer-writer@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/buffer-writer/-/buffer-writer-2.0.0.tgz#ce7eb81a38f7829db09c873f2fbb792c0c98ec04" integrity sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw== -buffer@^5.6.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - buffer@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" @@ -3356,7 +3272,7 @@ iconv-lite@^0.6.2: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -ieee754@^1.1.13, ieee754@^1.2.1: +ieee754@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== @@ -4116,17 +4032,14 @@ mongodb-connection-string-url@^2.6.0: "@types/whatwg-url" "^8.2.1" whatwg-url "^11.0.0" -mongodb@^4.0.0: - version "4.17.1" - resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-4.17.1.tgz#ccff6ddbda106d5e06c25b0e4df454fd36c5f819" - integrity sha512-MBuyYiPUPRTqfH2dV0ya4dcr2E5N52ocBuZ8Sgg/M030nGF78v855B3Z27mZJnp8PxjnUquEnAtjOsphgMZOlQ== +mongodb@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-6.0.0.tgz#a01f989d0c1ceb7b08068551c545e6131557a1e8" + integrity sha512-wUIYesF4DTyDccm0noE5TwGi9ISdXUAi9T2cQ4xPc+EUBZG44bfMVt2ecOG5Ypca7eCz3oRpJm6YI6c7jAnuNw== dependencies: - bson "^4.7.2" - mongodb-connection-string-url "^2.6.0" - socks "^2.7.1" - optionalDependencies: - "@aws-sdk/credential-providers" "^3.186.0" "@mongodb-js/saslprep" "^1.1.0" + bson "^6.0.0" + mongodb-connection-string-url "^2.6.0" ms@2.0.0: version "2.0.0" @@ -4957,7 +4870,7 @@ socks-proxy-agent@^6.0.0: debug "^4.3.3" socks "^2.6.2" -socks@^2.6.2, socks@^2.7.1: +socks@^2.6.2: version "2.7.1" resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==