[web] update mongoose versions (#13953)

* [web] update mongoose and mongodb versions

Updates mongoose version in web and
templates, also in web updates the mongodb
driver to match the version in mongoose

* lockfile changes on npm install

GitOrigin-RevId: 9cb58adba67282e198fe25662ec08509a5bdee10
This commit is contained in:
Miguel Serrano 2023-07-19 19:41:42 +02:00 committed by Copybot
parent f3ac016566
commit 56dcb129cb
2 changed files with 37 additions and 37 deletions

72
package-lock.json generated
View file

@ -33231,9 +33231,9 @@
}
},
"node_modules/mongodb": {
"version": "3.7.3",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.7.3.tgz",
"integrity": "sha512-Psm+g3/wHXhjBEktkxXsFMZvd3nemI0r3IPsE0bU+4//PnvNWKkzhZcEsbPcYiWqe8XqXJJEg4Tgtr7Raw67Yw==",
"version": "3.7.4",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.7.4.tgz",
"integrity": "sha512-K5q8aBqEXMwWdVNh94UQTwZ6BejVbFhh1uB6c5FKtPE9eUMZPUO3sRZdgIEcHSrAWmxzpG/FeODDKL388sqRmw==",
"dependencies": {
"bl": "^2.2.1",
"bson": "^1.1.4",
@ -33301,15 +33301,15 @@
}
},
"node_modules/mongoose": {
"version": "5.13.15",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.13.15.tgz",
"integrity": "sha512-cxp1Gbb8yUWkaEbajdhspSaKzAvsIvOtRlYD87GN/P2QEUhpd6bIvebi36T6M0tIVAMauNaK9SPA055N3PwF8Q==",
"version": "5.13.20",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.13.20.tgz",
"integrity": "sha512-TjGFa/XnJYt+wLmn8y9ssjyO2OhBMeEBtOHb9iJM16EWu2Du6L1Q6zSiEK2ziyYQM8agb4tumNIQFzqbxId7MA==",
"dependencies": {
"@types/bson": "1.x || 4.0.x",
"@types/mongodb": "^3.5.27",
"bson": "^1.1.4",
"kareem": "2.3.2",
"mongodb": "3.7.3",
"mongodb": "3.7.4",
"mongoose-legacy-pluralize": "1.0.2",
"mpath": "0.8.4",
"mquery": "3.2.5",
@ -45091,7 +45091,7 @@
"install": "^0.13.0",
"marked": "^4.1.0",
"method-override": "^3.0.0",
"mongoose": "^5.13.11",
"mongoose": "^5.13.20",
"request": "^2.88.2",
"underscore": "1.9.2"
},
@ -45672,7 +45672,7 @@
"mmmagic": "^0.5.3",
"moment": "^2.29.4",
"mongodb": "^4.13.0",
"mongoose": "^6.9.1",
"mongoose": "^6.11.4",
"multer": "overleaf/multer#e1df247fbf8e7590520d20ae3601eaef9f3d2e9e",
"nocache": "^2.1.0",
"nock": "^13.1.3",
@ -46521,11 +46521,11 @@
}
},
"services/web/node_modules/mongodb": {
"version": "4.13.0",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.13.0.tgz",
"integrity": "sha512-+taZ/bV8d1pYuHL4U+gSwkhmDrwkWbH1l4aah4YpmpscMwgFBkufIKxgP/G7m87/NUuQzc2Z75ZTI7ZOyqZLbw==",
"version": "4.16.0",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.16.0.tgz",
"integrity": "sha512-0EB113Fsucaq1wsY0dOhi1fmZOwFtLOtteQkiqOXGklvWMnSH3g2QS53f0KTP+/6qOkuoXE2JksubSZNmxeI+g==",
"dependencies": {
"bson": "^4.7.0",
"bson": "^4.7.2",
"mongodb-connection-string-url": "^2.5.4",
"socks": "^2.7.1"
},
@ -46538,13 +46538,13 @@
}
},
"services/web/node_modules/mongoose": {
"version": "6.9.1",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.9.1.tgz",
"integrity": "sha512-hOz1ZWV0w6WEVLrj89Wpk7PXDYtDDF6k7/NX79lY5iKqeFtZsceBXW8xW59YFNcW5O3cH32hQ8IbDlhgyBsDMA==",
"version": "6.11.4",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.11.4.tgz",
"integrity": "sha512-q9NaW9/BBYZofx80SqlR7uoSR09CS3g02y+KMj1lNLUxcFFsPshupY3WWisNFauYG9gyuDF4L/RgyIK3obSghg==",
"dependencies": {
"bson": "^4.7.0",
"bson": "^4.7.2",
"kareem": "2.5.1",
"mongodb": "4.13.0",
"mongodb": "4.16.0",
"mpath": "0.9.0",
"mquery": "4.0.3",
"ms": "2.1.3",
@ -53930,7 +53930,7 @@
"marked": "^4.1.0",
"method-override": "^3.0.0",
"mocha": "^10.2.0",
"mongoose": "^5.13.11",
"mongoose": "^5.13.20",
"request": "^2.88.2",
"sandboxed-module": "^2.0.4",
"sinon": "^9.2.4",
@ -54481,7 +54481,7 @@
"mock-fs": "^5.1.2",
"moment": "^2.29.4",
"mongodb": "^4.13.0",
"mongoose": "^6.9.1",
"mongoose": "^6.11.4",
"multer": "overleaf/multer#e1df247fbf8e7590520d20ae3601eaef9f3d2e9e",
"nocache": "^2.1.0",
"nock": "^13.1.1",
@ -55087,25 +55087,25 @@
}
},
"mongodb": {
"version": "4.13.0",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.13.0.tgz",
"integrity": "sha512-+taZ/bV8d1pYuHL4U+gSwkhmDrwkWbH1l4aah4YpmpscMwgFBkufIKxgP/G7m87/NUuQzc2Z75ZTI7ZOyqZLbw==",
"version": "4.16.0",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.16.0.tgz",
"integrity": "sha512-0EB113Fsucaq1wsY0dOhi1fmZOwFtLOtteQkiqOXGklvWMnSH3g2QS53f0KTP+/6qOkuoXE2JksubSZNmxeI+g==",
"requires": {
"@aws-sdk/credential-providers": "^3.186.0",
"bson": "^4.7.0",
"bson": "^4.7.2",
"mongodb-connection-string-url": "^2.5.4",
"saslprep": "^1.0.3",
"socks": "^2.7.1"
}
},
"mongoose": {
"version": "6.9.1",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.9.1.tgz",
"integrity": "sha512-hOz1ZWV0w6WEVLrj89Wpk7PXDYtDDF6k7/NX79lY5iKqeFtZsceBXW8xW59YFNcW5O3cH32hQ8IbDlhgyBsDMA==",
"version": "6.11.4",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.11.4.tgz",
"integrity": "sha512-q9NaW9/BBYZofx80SqlR7uoSR09CS3g02y+KMj1lNLUxcFFsPshupY3WWisNFauYG9gyuDF4L/RgyIK3obSghg==",
"requires": {
"bson": "^4.7.0",
"bson": "^4.7.2",
"kareem": "2.5.1",
"mongodb": "4.13.0",
"mongodb": "4.16.0",
"mpath": "0.9.0",
"mquery": "4.0.3",
"ms": "2.1.3",
@ -74134,9 +74134,9 @@
"integrity": "sha1-FzrwFAMzkALgq9C01nWYfTzc+Z4="
},
"mongodb": {
"version": "3.7.3",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.7.3.tgz",
"integrity": "sha512-Psm+g3/wHXhjBEktkxXsFMZvd3nemI0r3IPsE0bU+4//PnvNWKkzhZcEsbPcYiWqe8XqXJJEg4Tgtr7Raw67Yw==",
"version": "3.7.4",
"resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.7.4.tgz",
"integrity": "sha512-K5q8aBqEXMwWdVNh94UQTwZ6BejVbFhh1uB6c5FKtPE9eUMZPUO3sRZdgIEcHSrAWmxzpG/FeODDKL388sqRmw==",
"requires": {
"bl": "^2.2.1",
"bson": "^1.1.4",
@ -74175,15 +74175,15 @@
}
},
"mongoose": {
"version": "5.13.15",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.13.15.tgz",
"integrity": "sha512-cxp1Gbb8yUWkaEbajdhspSaKzAvsIvOtRlYD87GN/P2QEUhpd6bIvebi36T6M0tIVAMauNaK9SPA055N3PwF8Q==",
"version": "5.13.20",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.13.20.tgz",
"integrity": "sha512-TjGFa/XnJYt+wLmn8y9ssjyO2OhBMeEBtOHb9iJM16EWu2Du6L1Q6zSiEK2ziyYQM8agb4tumNIQFzqbxId7MA==",
"requires": {
"@types/bson": "1.x || 4.0.x",
"@types/mongodb": "^3.5.27",
"bson": "^1.1.4",
"kareem": "2.3.2",
"mongodb": "3.7.3",
"mongodb": "3.7.4",
"mongoose-legacy-pluralize": "1.0.2",
"mpath": "0.8.4",
"mquery": "3.2.5",

View file

@ -195,7 +195,7 @@
"mmmagic": "^0.5.3",
"moment": "^2.29.4",
"mongodb": "^4.13.0",
"mongoose": "^6.9.1",
"mongoose": "^6.11.4",
"multer": "overleaf/multer#e1df247fbf8e7590520d20ae3601eaef9f3d2e9e",
"nocache": "^2.1.0",
"nock": "^13.1.3",