From e0b596b05662ee4ff1c7e19a0c0501795314585f Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 14 Oct 2024 17:11:45 +0000
Subject: [PATCH] fix(deps): Bump mongoose from 8.7.0 to 8.7.1 (#386)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.7.0 to 8.7.1.
Release notes
Sourced from mongoose's releases.
8.7.1 / 2024-10-09
- fix: set flattenObjectIds to false when calling toObject() for internal purposes #14938
- fix: add mongodb 8 to test matrix #14937
- fix: handle buffers stored in MongoDB as EJSON representation with { $binary } #14932
- docs: indicate that Mongoose 8.7 is required for full MongoDB 8 support #14937
Changelog
Sourced from mongoose's changelog.
8.7.1 / 2024-10-09
- fix: set flattenObjectIds to false when calling toObject() for internal purposes #14938
- fix: add mongodb 8 to test matrix #14937
- fix: handle buffers stored in MongoDB as EJSON representation with { $binary } #14932
- docs: indicate that Mongoose 8.7 is required for full MongoDB 8 support #14937
Commits
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mongoose&package-manager=npm_and_yarn&previous-version=8.7.0&new-version=8.7.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 739b89e..db3b760 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -15,7 +15,7 @@
"axios": "^1.7.7",
"env-var": "^7.5.0",
"fast-crc32c": "^2.0.0",
- "mongoose": "^8.6.3",
+ "mongoose": "^8.7.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"
}
},
@@ -6730,9 +6729,9 @@
}
},
"node_modules/mongoose": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.7.0.tgz",
- "integrity": "sha512-rUCSF1mMYQXjXYdqEQLLlMD3xbcj2j1/hRn+9VnVj7ipzru/UoUZxlj/hWmteKMAh4EFnDZ+BIrmma9l/0Hi1g==",
+ "version": "8.7.1",
+ "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-8.7.1.tgz",
+ "integrity": "sha512-RpNMyhyzLVCVbf8xTVbrf/18G3MqQzNw5pJdvOJ60fzbCa3cOZzz9L+8XpqzBXtRlgZGWv0T7MmOtvrT8ocp1Q==",
"dependencies": {
"bson": "^6.7.0",
"kareem": "2.6.3",
diff --git a/package.json b/package.json
index d92b2d0..ce50423 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,7 @@
"axios": "^1.7.7",
"env-var": "^7.5.0",
"fast-crc32c": "^2.0.0",
- "mongoose": "^8.6.3",
+ "mongoose": "^8.7.1",
"webcrypto-core": "< 2.0"
},
"peerDependencies": {