diff --git a/package.json b/package.json index 6153573f4..fef98f68e 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dotenv": "4.0.0", "fs-extra": "5.0.0", "jszip": "3.8.0", - "mongodb": "^4.13.0", + "mongodb": "^4.17.0", "node-fetch": "^2.6.7", "restify": "^10.0.0" }, diff --git a/packages/autotest/package.json b/packages/autotest/package.json index 4b30c4478..a450d4e19 100644 --- a/packages/autotest/package.json +++ b/packages/autotest/package.json @@ -23,7 +23,7 @@ "dotenv": "4.0.0", "fs-extra": "5.0.0", "jszip": "^3.8.0", - "mongodb": "^4.13.0", + "mongodb": "^4.17.0", "restify": "^10.0.0", "ts-node": "^7.0.0" }, diff --git a/packages/portal/backend/package.json b/packages/portal/backend/package.json index 41c94df59..56b9024c4 100644 --- a/packages/portal/backend/package.json +++ b/packages/portal/backend/package.json @@ -32,7 +32,7 @@ "dotenv": "^5.0.1", "fs-extra": "^5.0.0", "markdown-table": "^1.1.2", - "mongodb": "^4.13.0", + "mongodb": "^4.17.0", "parse-link-header": "^2.0.0", "restify": "^10.0.0", "source-map-loader": "^0.2.3", diff --git a/yarn.lock b/yarn.lock index c966e03a5..254a4eb66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1016,6 +1016,13 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@mongodb-js/saslprep@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@mongodb-js/saslprep/-/saslprep-1.1.0.tgz#022fa36620a7287d17acd05c4aae1e5f390d250d" + integrity sha512-Xfijy7HvfzzqiOAhAepF4SGN5e9leLkMvg/OPOF97XemjfVCYN/oWa75wnkc6mltMSTwY+XlbhWgUOJmkFspSw== + dependencies: + sparse-bitfield "^3.0.3" + "@netflix/nerror@^1.0.0": version "1.1.3" resolved "https://registry.npm.taobao.org/@netflix/nerror/download/@netflix/nerror-1.1.3.tgz#9d88eccca442f1d544f2761d15ea557dc0a44ed2" @@ -1720,17 +1727,10 @@ browserslist@^4.14.5, browserslist@^4.16.6: escalade "^3.1.1" node-releases "^1.1.73" -bson@*: - version "4.6.1" - resolved "https://registry.yarnpkg.com/bson/-/bson-4.6.1.tgz#2b5da517539bb0f7f3ffb54ac70a384ca899641c" - integrity sha512-I1LQ7Hz5zgwR4QquilLNZwbhPw0Apx7i7X9kGMBTsqPdml/03Q9NBtD9nt/19ahjlphktQImrnderxqpzeVDjw== - dependencies: - buffer "^5.6.0" - -bson@^4.7.0: - version "4.7.1" - resolved "https://registry.yarnpkg.com/bson/-/bson-4.7.1.tgz#6bc4aa4ae5b4fbd1b03799b4fb3e0e4bdcfac38c" - integrity sha512-XkuFtlCzi0WSy8D6PMhvrQ/q8VlZHN/2bJ/shJglwuA6TPD2ZP/hHLB7iDxOEWVINHN/UVTxP4pqZqOKMXPIXg== +bson@*, 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" @@ -3888,7 +3888,7 @@ moment@^2.29.4: resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== -mongodb-connection-string-url@^2.5.4: +mongodb-connection-string-url@^2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/mongodb-connection-string-url/-/mongodb-connection-string-url-2.6.0.tgz#57901bf352372abdde812c81be47b75c6b2ec5cf" integrity sha512-WvTZlI9ab0QYtTYnuMLgobULWhokRjtC7db9LtcVfJ+Hsnyr5eo6ZtNAt3Ly24XZScGMelOcGtm7lSn0332tPQ== @@ -3896,17 +3896,17 @@ mongodb-connection-string-url@^2.5.4: "@types/whatwg-url" "^8.2.1" whatwg-url "^11.0.0" -mongodb@^4.13.0: - version "4.13.0" - resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-4.13.0.tgz#2aa832b827e2891eb2e52e8235c201cbb4701ed2" - integrity sha512-+taZ/bV8d1pYuHL4U+gSwkhmDrwkWbH1l4aah4YpmpscMwgFBkufIKxgP/G7m87/NUuQzc2Z75ZTI7ZOyqZLbw== +mongodb@^4.17.0: + version "4.17.0" + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-4.17.0.tgz#10202357c1a5910ce9a4aecb4e5f79df500db31c" + integrity sha512-LZGMIPjPfWEfhPJATk1s9IvVTD18tyfKdT/0blCMih5vGagk2SwA9wFAUPMdtJpTrhXmyfGgwAaMkvneX2bn2A== dependencies: - bson "^4.7.0" - mongodb-connection-string-url "^2.5.4" + bson "^4.7.2" + mongodb-connection-string-url "^2.6.0" socks "^2.7.1" optionalDependencies: "@aws-sdk/credential-providers" "^3.186.0" - saslprep "^1.0.3" + "@mongodb-js/saslprep" "^1.1.0" ms@2.0.0: version "2.0.0" @@ -4651,13 +4651,6 @@ safe-stable-stringify@^2.3.1: resolved "https://registry.npm.taobao.org/safer-buffer/download/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo= -saslprep@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/saslprep/-/saslprep-1.0.3.tgz#4c02f946b56cf54297e347ba1093e7acac4cf226" - integrity sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag== - dependencies: - sparse-bitfield "^3.0.3" - sax@>=0.6.0: version "1.2.4" resolved "https://registry.npm.taobao.org/sax/download/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"