Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade mongoose from 8.9.0 to 8.9.2 #544

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

tuanicom
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade mongoose from 8.9.0 to 8.9.2.

ℹ️ 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 25 days ago.

Release notes
Package name: mongoose
  • 8.9.2 - 2024-12-19

    8.9.2 / 2024-12-19

    • fix(schema): avoid throwing duplicate index error if index spec keys have different order or index has a custom name #15112 #15109
    • fix(map): clean modified subpaths when overwriting values in map of subdocs #15114 #15108
    • fix(aggregate): pull session from transaction local storage for aggregation cursors #15094 IchirokuXVI
    • types: correctly handle union types in BufferToBinary and related helpers #15103 #15102 #15057
    • types: add UUID to RefType #15115 #15101
    • docs: remove link to Mongoose 5.x docs from dropdown #15116
    • docs(connection+document+model): remove remaining references to remove(), clarify that deleteOne() does not execute until then() or exec() #15113 #15107
  • 8.9.1 - 2024-12-16

    8.9.1 / 2024-12-16

    • fix(connection): remove heartbeat check in load balanced mode #15089 #15042 #14812
    • fix(discriminator): gather childSchemas when creating discriminator to ensure $getAllSubdocs() can properly get all subdocs #15099 #15088 #15092
    • fix(model): handle discriminators in castObject() #15096 #15075
    • fix(schema): throw error if duplicate index definition using unique in schema path and subsequent .index() call #15093 #15056
    • fix: mark documents that are populated using hydratedPopulatedDocs option as populated in top-level doc #15080 #15048
    • fix(document+schema): improve error message for get() on invalid path #15098 #15071
    • docs: remove more callback doc references & some small other changes #15095
  • 8.9.0 - 2024-12-13

    8.9.0 / 2024-12-13

    • feat: upgrade mongodb -> 6.12
    • feat: add int32 schematype #15054 aditi-khare-mongoDB
    • feat: add double schematype #15061 aditi-khare-mongoDB
    • feat: allow specifying error message override for duplicate key errors unique: true #15059 #12844
    • feat(connection): add support for Connection.prototype.bulkWrite() with MongoDB server 8.0 #15058 #15028
    • feat: add forceRepopulate option for populate() to allow avoiding repopulating already populated docs #15044 #14979
    • fix(connection): remove heartbeat check in load balanced mode #15089 #15042
    • fix(query): clone PopulateOptions when setting _localModel to avoid state leaking between subpopulate instances #15082 #15026
    • types: add splice() to DocumentArray to allow adding partial objects with splice() #15085 #15041
    • types(aggregate): add $firstN, $lastN, $bottom, $bottomN, $minN and $maxN operators #15087 mlomnicki
    • docs: Remove merge conflict markers #15090 sponrad
from mongoose GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade mongoose from 8.9.0 to 8.9.2.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/tuanicom/project/37045203-d79c-4568-837a-36d05a44dbb3?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (5d08cb9) 262 262 100.00%
Head commit (5134bcf) 262 (+0) 262 (+0) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#544) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 1597

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 1594: 0.0%
Covered Lines: 262
Relevant Lines: 262

💛 - Coveralls

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5d08cb9) to head (5134bcf).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #544   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          262       262           
  Branches         3         3           
=========================================
  Hits           262       262           

@tuanicom tuanicom merged commit d34ce24 into master Jan 13, 2025
22 checks passed
@tuanicom tuanicom deleted the snyk-upgrade-bfbb9ffc8983e5c27f58cddb85098412 branch January 13, 2025 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants