Skip to content

Commit

Permalink
dependencies(mongoose): upgrade to version "5.12.9"
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed May 14, 2021
1 parent 6113950 commit 3cc88ae
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/guides/mongoose-compatibility.csv
@@ -1,5 +1,5 @@
Typegoose Version,Mongoose Version
8.0.x,~5.12.4
8.0.x,~5.12.9
7.5.x,5.10.0 - 5.10.18
7.4.x,5.10.0 - 5.10.18
7.3.x,~5.9.22
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/mongoose-compatibility.md
Expand Up @@ -8,7 +8,7 @@ title: 'Mongoose Compatibility'
<!--Everything below here is generated as stated above-->
| Typegoose Version | Mongoose Version |
| ----------------- | ---------------- |
| 8.0.x | ~5.12.4 |
| 8.0.x | ~5.12.9 |
| 7.5.x | 5.10.0 - 5.10.18 |
| 7.4.x | 5.10.0 - 5.10.18 |
| 7.3.x | ~5.9.22 |
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -34,7 +34,7 @@
],
"license": "MIT",
"peerDependencies": {
"mongoose": "~5.12.4"
"mongoose": "~5.12.9"
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
Expand All @@ -61,7 +61,7 @@
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"mongodb-memory-server": "^6.9.6",
"mongoose": "~5.12.4",
"mongoose": "~5.12.9",
"mongoose-findorcreate": "^3.0.0",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
Expand Down
1 change: 0 additions & 1 deletion test/tests/hooks.test.ts
Expand Up @@ -43,7 +43,6 @@ it('should find the unexpected dummies because of pre and post hooks', async ()
});

it('should test the updateMany hook', async () => {
// @ts-expect-error Mongoose 5.12.1+ somehow broke this in requiring the "typegooseName" function here
await Hook2Model.insertMany([{ text: 'foobar42' }, { text: 'foobar42' }]);

await Hook2Model.updateMany({ text: 'foobar42' }, { text: 'lorem ipsum' }).exec();
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Expand Up @@ -5475,10 +5475,10 @@ mongoose-legacy-pluralize@1.0.2:
resolved "https://registry.yarnpkg.com/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz#3ba9f91fa507b5186d399fb40854bff18fb563e4"
integrity sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ==

mongoose@~5.12.4:
version "5.12.4"
resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-5.12.4.tgz#6b7087177380658084912cc115092e35d7d8befb"
integrity sha512-iVREPLK/35ylEdaNBCStwTugyUYDv7ZuI7maSW7CdCgAX4dMW4be1CdKvZHJtlexO/ugKphMMFL9/bppcWXQ9Q==
mongoose@~5.12.9:
version "5.12.9"
resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-5.12.9.tgz#71ab1bff7691fb651d5fdd04dfcc9d624695aff4"
integrity sha512-ZSDjW15DmUbHQcZ2PqoXsJeYnpYipISi6QJH/XHR9dcSg3IRNCa86apcTptBux03/YBPiSZlKNYUNDx7iuMWoA==
dependencies:
"@types/mongodb" "^3.5.27"
bson "^1.1.4"
Expand All @@ -5490,7 +5490,7 @@ mongoose@~5.12.4:
ms "2.1.2"
regexp-clone "1.0.0"
safe-buffer "5.2.1"
sift "7.0.1"
sift "13.5.2"
sliced "1.0.1"

move-concurrently@^1.0.1:
Expand Down Expand Up @@ -7139,10 +7139,10 @@ shellwords@^0.1.1:
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==

sift@7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/sift/-/sift-7.0.1.tgz#47d62c50b159d316f1372f8b53f9c10cd21a4b08"
integrity sha512-oqD7PMJ+uO6jV9EQCl0LrRw1OwsiPsiFQR5AR30heR+4Dl7jBBbDLnNvWiak20tzZlSE1H7RB30SX/1j/YYT7g==
sift@13.5.2:
version "13.5.2"
resolved "https://registry.yarnpkg.com/sift/-/sift-13.5.2.tgz#24a715e13c617b086166cd04917d204a591c9da6"
integrity sha512-+gxdEOMA2J+AI+fVsCqeNn7Tgx3M9ZN9jdi95939l1IJ8cZsqS8sqpJyOkic2SJk+1+98Uwryt/gL6XDaV+UZA==

signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3:
version "3.0.3"
Expand Down

0 comments on commit 3cc88ae

Please sign in to comment.