From 277103629fd20aa7e54ce26735c1b6e4fe8819aa Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 3 Jun 2024 17:21:59 +0000
Subject: [PATCH] fix(deps): Bump mongoose from 8.4.0 to 8.4.1 (#342)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.4.0 to 8.4.1.
Release notes
Sourced from mongoose's releases.
8.4.1 / 2024-05-31
- fix: pass options to clone instead of get in applyVirtuals #14606 #14543 andrews05
- fix(document): fire pre validate hooks on 5 level deep single nested subdoc when modifying after save() #14604 #14591
- fix: ensure buildBulkWriteOperations target shard if shardKey is set #14622 #14621 matlpriceshape
- types: pass DocType down to subdocuments so HydratedSingleSubdocument and HydratedArraySubdocument toObject() returns correct type #14612 #14601
Changelog
Sourced from mongoose's changelog.
8.4.1 / 2024-05-31
- fix: pass options to clone instead of get in applyVirtuals #14606 #14543 andrews05
- fix(document): fire pre validate hooks on 5 level deep single nested subdoc when modifying after save() #14604 #14591
- fix: ensure buildBulkWriteOperations target shard if shardKey is set #14622 #14621 matlpriceshape
- types: pass DocType down to subdocuments so HydratedSingleSubdocument and HydratedArraySubdocument toObject() returns correct type #14612 #14601
7.6.12 / 2024-05-21
- fix(array): avoid converting to $set when calling pull() on an element in the middle of the array #14531 #14502
- fix: bump mongodb driver to 5.9.2 #14561 lorand-horvath
- fix(update): cast array of strings underneath doc array with array filters #14605 #14595
Commits
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mongoose&package-manager=npm_and_yarn&previous-version=8.4.0&new-version=8.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
---
package-lock.json | 9 ++++-----
package.json | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 0499f33..2f99cf3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15,7 +15,7 @@
"axios": "^1.6.8",
"env-var": "^7.5.0",
"fast-crc32c": "^2.0.0",
- "mongoose": "^8.3.4",
+ "mongoose": "^8.4.1",
"webcrypto-core": "< 2.0"
},
"devDependencies": {
@@ -39,7 +39,6 @@
"peerDependencies": {
"@relaycorp/relaynet-core": ">=1.88.1, < 2.0",
"@typegoose/typegoose": "< 13.0",
- "mongoose": "< 9.0",
"webcrypto-core": "< 2.0"
}
},
@@ -6718,9 +6717,9 @@
}
},
"node_modules/mongoose": {
- "version": "8.4.0",
- "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.4.0.tgz",
- "integrity": "sha512-fgqRMwVEP1qgRYfh+tUe2YBBFnPO35FIg2lfFH+w9IhRGg1/ataWGIqvf/MjwM29cZ60D5vSnqtN2b8Qp0sOZA==",
+ "version": "8.4.1",
+ "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.4.1.tgz",
+ "integrity": "sha512-odQ2WEWGL3hb0Qex+QMN4eH6D34WdMEw7F1If2MGABApSDmG9cMmqv/G1H6WsXmuaH9mkuuadW/WbLE5+tHJwA==",
"dependencies": {
"bson": "^6.7.0",
"kareem": "2.6.3",
diff --git a/package.json b/package.json
index 4a6c067..238f7b3 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,7 @@
"axios": "^1.6.8",
"env-var": "^7.5.0",
"fast-crc32c": "^2.0.0",
- "mongoose": "^8.3.4",
+ "mongoose": "^8.4.1",
"webcrypto-core": "< 2.0"
},
"peerDependencies": {