[Snyk] Upgrade mongoose from 8.16.2 to 8.16.4 #313
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade mongoose from 8.16.2 to 8.16.4.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 2 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: mongoose
-
8.16.4 - 2025-07-16
- fix(connection): avoid calling connection.close() internally with force: Object #15534 #15531
- types(schema): handle required: string in schema definitions #15538 #15536
- types(document): allow calling $isDefault() with no args #15528 #15522
- types: infer Typescript string enums #15530 ruiaraujo
- types: pass TModelType down to schema statics #15537
-
8.16.3 - 2025-07-10
- fix(document): clean modified subpaths if unsetting map #15520 #15519
- fix: make DocumentArray SchemaType pass all options to embedded SchemaType #15523
- types: support readonly array in query.select #15527 omermizr
-
8.16.2 - 2025-07-07
- fix(cursor): populate after hydrating in queryCursor so populated docs get parent() #15498 #15494
- fix(schema): support toJSONSchema() on mixed types and improve error message about unsupported types #15492 #15489
- types: add _id and __v to toObject/toJSON transform type #15501 #15479
- types(schema): use user-provided THydratedDocumentType as context for virtual get() and set() #15517 #15516
- types: improve typing for transform option to toJSON and toObject #15485
- docs: link to custom setter docs from lowercase, etc. options and note that setters run on query filters #15493 #15491
- docs(jest): add note about resetModules #15515
from mongoose GitHub release notes8.16.4 / 2025-07-16
8.16.3 / 2025-07-10
8.16.2 / 2025-07-07
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: