Skip to content

Commit

Permalink
deps(mongoose): upgrade to 8.6.0
Browse files Browse the repository at this point in the history
also typegoose to 12.7.0
  • Loading branch information
hasezoey committed Aug 31, 2024
1 parent 90c2564 commit 434a7a7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ I started `@typegoose/auto-increment` because `mongoose-auto-increment` and `mon

- Node 16.20.1+
- TypeScript 5.3+ (older versions could work, but are not tested)
- mongoose 8.5.0+
- mongoose 8.6.0+

## Install

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"contributors": [],
"license": "MIT",
"peerDependencies": {
"mongoose": "~8.5.0"
"mongoose": "~8.6.0"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@typegoose/typegoose": "~12.6.0",
"@typegoose/typegoose": "~12.7.0",
"@types/jest": "^29.5.12",
"@types/node": "~16.11.7",
"@typescript-eslint/eslint-plugin": "^6.19.0",
Expand All @@ -48,7 +48,7 @@
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"mongodb-memory-server": "^10.0.0",
"mongoose": "~8.5.0",
"mongoose": "~8.6.0",
"prettier": "^3.3.3",
"rimraf": "5.0.7",
"ts-jest": "^29.2.5",
Expand Down
2 changes: 1 addition & 1 deletion test/utils/globalSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ export = async function globalSetup() {
}

const connection = await connect({ dbName: config.DataBase });
await connection.db.dropDatabase();
await connection.db?.dropDatabase();
await connection.close();
};
35 changes: 15 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1135,16 +1135,16 @@
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e"
integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==

"@typegoose/typegoose@~12.6.0":
version "12.6.0"
resolved "https://registry.yarnpkg.com/@typegoose/typegoose/-/typegoose-12.6.0.tgz#49e5169b3a98434568383313774bbabd0c509c53"
integrity sha512-CUhJaQ6krTYH6y4ZzxShEYu2IltlK5o/gWLp56gTozQvk6BU7g7NNZlBWpBW625LSgSQgae/JqjnBwmgQrIQig==
"@typegoose/typegoose@~12.7.0":
version "12.7.0"
resolved "https://registry.yarnpkg.com/@typegoose/typegoose/-/typegoose-12.7.0.tgz#9a101f0fefda67ded31eb2d871559439b42525e8"
integrity sha512-UOjNlNzzJ4O/Y82I7EV9imBRhmIvZvAOVgmKUEpQbUVF63RrOU8ltHUVd7n/gADD4tZRUzM8siOBXaGY19rTXg==
dependencies:
lodash "^4.17.20"
loglevel "^1.9.1"
reflect-metadata "^0.2.2"
semver "^7.6.2"
tslib "^2.6.3"
semver "^7.6.3"
tslib "^2.7.0"

"@types/babel__core@^7.1.14":
version "7.1.16"
Expand Down Expand Up @@ -3652,23 +3652,23 @@ mongodb-memory-server@^10.0.0:
mongodb-memory-server-core "10.0.0"
tslib "^2.6.3"

mongodb@6.7.0, mongodb@^6.7.0:
version "6.7.0"
resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-6.7.0.tgz#f86e51e6530e6a2ca4a99d7cfdf6f409223ac199"
integrity sha512-TMKyHdtMcO0fYBNORiYdmM25ijsHs+Njs963r4Tro4OQZzqYigAzYQouwWRg4OIaiLRUEGUh/1UAcH5lxdSLIA==
mongodb@^6.7.0, mongodb@6.8.0:
version "6.8.0"
resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-6.8.0.tgz#680450f113cdea6d2d9f7121fe57cd29111fd2ce"
integrity sha512-HGQ9NWDle5WvwMnrvUxsFYPd3JEbqD3RgABHBQRuoCEND0qzhsd0iH5ypHsf1eJ+sXmvmyKpP+FLOKY8Il7jMw==
dependencies:
"@mongodb-js/saslprep" "^1.1.5"
bson "^6.7.0"
mongodb-connection-string-url "^3.0.0"

mongoose@~8.5.0:
version "8.5.0"
resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-8.5.0.tgz#70e5f032225c20ab8819513fd8cb94b7e6a956bb"
integrity sha512-iGgZvgO+fIgX1AQMehkG+Wj8qrWc9it8vUZrSKWjrebgfwHTqUcIdTgWK8mT1us1xd83NOQxiuGbg9ZJtLxs2Q==
mongoose@~8.6.0:
version "8.6.0"
resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-8.6.0.tgz#52a7cc6026c4d49cd14e4a40e6601c44b1186e49"
integrity sha512-p6VSbYKvD4ZIabqo8C0kS5eKX1Xpji+opTAIJ9wyuPJ8Y/FblgXSMnFRXnB40bYZLKPQT089K5KU8+bqIXtFdw==
dependencies:
bson "^6.7.0"
kareem "2.6.3"
mongodb "6.7.0"
mongodb "6.8.0"
mpath "0.9.0"
mquery "5.0.0"
ms "2.1.3"
Expand Down Expand Up @@ -4173,11 +4173,6 @@ semver@^7.3.4:
dependencies:
lru-cache "^6.0.0"

semver@^7.6.2:
version "7.6.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13"
integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==

semver@^7.6.3:
version "7.6.3"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143"
Expand Down

0 comments on commit 434a7a7

Please sign in to comment.