diff --git a/package-lock.json b/package-lock.json index c492eaa65..acb56532b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "lodash": "^4.17.21", "luxon": "^3.2.1", "mathjs": "^11.4.0", - "migrate-mongo": "^9.0.0", + "migrate-mongo": "^10.0.0", "mongoose": "^6.5.1", "node-fetch": "^3.3.0", "nodemailer": "^6.7.8", @@ -10260,9 +10260,9 @@ } }, "node_modules/migrate-mongo": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/migrate-mongo/-/migrate-mongo-9.0.0.tgz", - "integrity": "sha512-Hs+5kmNdYtKo5574pvIxRAgHUkWtoXE0pIC5QPMCY1m7kwUVViuCtvOZQo0rd9rirtbI9+WDpYtI5ceG32Prgw==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/migrate-mongo/-/migrate-mongo-10.0.0.tgz", + "integrity": "sha512-QA/bBKNMq/FmuK3fDbgwfNoW2riiU1wLDWGXv/tGhUItPLGqcciPPmu29SrnYAzRKMOVaGEXxzmrBs1zp5cQ7Q==", "dependencies": { "cli-table3": "^0.6.1", "commander": "^9.1.0", @@ -10270,7 +10270,6 @@ "fn-args": "^5.0.0", "fs-extra": "^10.0.1", "lodash": "^4.17.21", - "mongodb": "^4.4.1", "p-each-series": "^2.2.0" }, "bin": { @@ -10278,6 +10277,9 @@ }, "engines": { "node": ">=8" + }, + "peerDependencies": { + "mongodb": "^4.4.1 || ^5.0.0" } }, "node_modules/migrate-mongo/node_modules/commander": { @@ -23013,9 +23015,9 @@ } }, "migrate-mongo": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/migrate-mongo/-/migrate-mongo-9.0.0.tgz", - "integrity": "sha512-Hs+5kmNdYtKo5574pvIxRAgHUkWtoXE0pIC5QPMCY1m7kwUVViuCtvOZQo0rd9rirtbI9+WDpYtI5ceG32Prgw==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/migrate-mongo/-/migrate-mongo-10.0.0.tgz", + "integrity": "sha512-QA/bBKNMq/FmuK3fDbgwfNoW2riiU1wLDWGXv/tGhUItPLGqcciPPmu29SrnYAzRKMOVaGEXxzmrBs1zp5cQ7Q==", "requires": { "cli-table3": "^0.6.1", "commander": "^9.1.0", @@ -23023,7 +23025,6 @@ "fn-args": "^5.0.0", "fs-extra": "^10.0.1", "lodash": "^4.17.21", - "mongodb": "^4.4.1", "p-each-series": "^2.2.0" }, "dependencies": { diff --git a/package.json b/package.json index 662f0e1a7..37091c65c 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "lodash": "^4.17.21", "luxon": "^3.2.1", "mathjs": "^11.4.0", - "migrate-mongo": "^9.0.0", + "migrate-mongo": "^10.0.0", "mongoose": "^6.5.1", "node-fetch": "^3.3.0", "nodemailer": "^6.7.8",