diff --git a/package-lock.json b/package-lock.json index 7f61bc855..d5630532d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "@graphql-yoga/redis-event-target": "^3.0.0", "@mikro-orm/core": "^5.9.7", "@mikro-orm/postgresql": "^5.9.0", - "@typegoose/typegoose": "^11.6.0", + "@typegoose/typegoose": "^12.0.0", "@types/jest": "^29.5.3", "@types/lodash.merge": "^4.6.7", "@types/node": "^20.8.6", @@ -75,7 +75,7 @@ "lodash.merge": "^4.6.2", "markdownlint": "^0.31.1", "markdownlint-cli": "^0.37.0", - "mongoose": "^7.4.0", + "mongoose": "^8.0.3", "npm-run-all": "^4.1.5", "pg": "^8.11.1", "prettier": "^3.0.0", @@ -2922,7 +2922,6 @@ "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.0.tgz", "integrity": "sha512-Xfijy7HvfzzqiOAhAepF4SGN5e9leLkMvg/OPOF97XemjfVCYN/oWa75wnkc6mltMSTwY+XlbhWgUOJmkFspSw==", "dev": true, - "optional": true, "dependencies": { "sparse-bitfield": "^3.0.3" } @@ -3176,9 +3175,9 @@ "dev": true }, "node_modules/@typegoose/typegoose": { - "version": "11.6.0", - "resolved": "https://registry.npmjs.org/@typegoose/typegoose/-/typegoose-11.6.0.tgz", - "integrity": "sha512-c6m5aTrv9tzqLmtR/txlg4sFKXfupBXMJlO4yRfg757rK5h2YfIoshMG3yi+0IEe8gkF5utCV/uh9vf8a+re4Q==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@typegoose/typegoose/-/typegoose-12.0.0.tgz", + "integrity": "sha512-ZkRtjiCO4k05bLPtUXX3Ho7zMLLOKvg6+3JBVtadpC4xUu5htfDf5H+TI+w1jL1d8Q51aN8mHH7L5hr7OSkzoA==", "dev": true, "dependencies": { "lodash": "^4.17.20", @@ -3188,10 +3187,10 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.17.0" + "node": ">=16.20.1" }, "peerDependencies": { - "mongoose": "~7.6.1" + "mongoose": "~8.0.1" } }, "node_modules/@types/babel__core": { @@ -4795,6 +4794,8 @@ "resolved": "https://registry.npmjs.org/bson/-/bson-5.5.0.tgz", "integrity": "sha512-B+QB4YmDx9RStKv8LLSl/aVIEV3nYJc3cJNNTK2Cd1TL+7P+cNpw9mAPeCgc5K+j01Dv6sxUzcITXDx7ZU3F0w==", "dev": true, + "optional": true, + "peer": true, "engines": { "node": ">=14.20.1" } @@ -11269,8 +11270,7 @@ "version": "1.5.0", "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", - "dev": true, - "optional": true + "dev": true }, "node_modules/memorystream": { "version": "0.3.1", @@ -11587,6 +11587,8 @@ "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-5.9.0.tgz", "integrity": "sha512-g+GCMHN1CoRUA+wb1Agv0TI4YTSiWr42B5ulkiAfLLHitGK1R+PkSAf3Lr5rPZwi/3F04LiaZEW0Kxro9Fi2TA==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "bson": "^5.5.0", "mongodb-connection-string-url": "^2.6.0", @@ -11634,27 +11636,82 @@ } }, "node_modules/mongoose": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-7.6.2.tgz", - "integrity": "sha512-OVx6RWbfNOzBbfTvXoOkgZmaizdXDU/B/KbBjietXQoInSg/OSULjOavXJzL51XWFkbefqkOvbeE07DfvW6FkQ==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.0.3.tgz", + "integrity": "sha512-LJRT0yP4TW14HT4r2RkxqyvoTylMSzWpl5QOeVHTnRggCLQSpkoBdgbUtORFq/mSL2o9cLCPJz+6uzFj25qbHw==", "dev": true, "dependencies": { - "bson": "^5.5.0", + "bson": "^6.2.0", "kareem": "2.5.1", - "mongodb": "5.9.0", + "mongodb": "6.2.0", "mpath": "0.9.0", "mquery": "5.0.0", "ms": "2.1.3", "sift": "16.0.1" }, "engines": { - "node": ">=14.20.1" + "node": ">=16.20.1" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/mongoose" } }, + "node_modules/mongoose/node_modules/bson": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.2.0.tgz", + "integrity": "sha512-ID1cI+7bazPDyL9wYy9GaQ8gEEohWvcUl/Yf0dIdutJxnmInEEyCsb4awy/OiBfall7zBA179Pahi3vCdFze3Q==", + "dev": true, + "engines": { + "node": ">=16.20.1" + } + }, + "node_modules/mongoose/node_modules/mongodb": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.2.0.tgz", + "integrity": "sha512-d7OSuGjGWDZ5usZPqfvb36laQ9CPhnWkAGHT61x5P95p/8nMVeH8asloMwW6GcYFeB0Vj4CB/1wOTDG2RA9BFA==", + "dev": true, + "dependencies": { + "@mongodb-js/saslprep": "^1.1.0", + "bson": "^6.2.0", + "mongodb-connection-string-url": "^2.6.0" + }, + "engines": { + "node": ">=16.20.1" + }, + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.1.0", + "gcp-metadata": "^5.2.0", + "kerberos": "^2.0.1", + "mongodb-client-encryption": ">=6.0.0 <7", + "snappy": "^7.2.2", + "socks": "^2.7.1" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "gcp-metadata": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + }, + "socks": { + "optional": true + } + } + }, "node_modules/mongoose/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -14211,7 +14268,6 @@ "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", "dev": true, - "optional": true, "dependencies": { "memory-pager": "^1.0.2" } diff --git a/package.json b/package.json index 0b0ab9bfd..fd7bffd41 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "@graphql-yoga/redis-event-target": "^3.0.0", "@mikro-orm/core": "^5.9.7", "@mikro-orm/postgresql": "^5.9.0", - "@typegoose/typegoose": "^11.6.0", + "@typegoose/typegoose": "^12.0.0", "@types/jest": "^29.5.3", "@types/lodash.merge": "^4.6.7", "@types/node": "^20.8.6", @@ -162,7 +162,7 @@ "lodash.merge": "^4.6.2", "markdownlint": "^0.31.1", "markdownlint-cli": "^0.37.0", - "mongoose": "^7.4.0", + "mongoose": "^8.0.3", "npm-run-all": "^4.1.5", "pg": "^8.11.1", "prettier": "^3.0.0",