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.4.0 to 8.4.1 #93

Merged

Conversation

bukhosi-eugene-mpande
Copy link
Contributor

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade mongoose from 8.4.0 to 8.4.1.

ℹ️ 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 1 version ahead of your current version.

  • The recommended version was released on 24 days ago.

Release notes
Package name: mongoose
  • 8.4.1 - 2024-05-31

    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
  • 8.4.0 - 2024-05-17

    8.4.0 / 2024-05-17

    • feat: upgrade mongodb -> 6.6.2 #14584
    • feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions #14583 #13889
    • feat: handle initially null driver when instantiating Mongoose for Rollup support #14577 #12335
    • feat(mongoose): export omitUndefined() helper #14582 #14569
    • feat: add Model.listSearchIndexes() #14519 #14450
    • feat(connection): add listDatabases() function #14506 #9048
    • feat(schema): add schema-level readConcern option to apply default readConcern for all queries #14579 #14511
    • fix(error): remove model property from CastError to avoid printing all model properties to console #14568 #14529
    • fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid #14587 #14572
    • fix(document): ensure transform function passed to toObject() options applies to subdocs #14600 #14589
    • types: add inferRawDocType helper #13900 #13772
    • types(document): make document _id type default to unknown instead of any #14541
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:

Joshua Wereley and others added 8 commits June 17, 2024 19:17
The following things have been updated: Added Links to documentation and demo vidoes, updated styling for images
Merge pull request #89 from COS301-SE-2024/develop
Demo 2 Video
Snyk has created this PR to upgrade mongoose from 8.4.0 to 8.4.1.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/bukhosi-eugene-mpande/project/1f7a71db-80cd-4288-8b50-40dd240d4a58?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.96%. Comparing base (35b055e) to head (001fad8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #93   +/-   ##
=======================================
  Coverage   66.96%   66.96%           
=======================================
  Files          41       41           
  Lines         451      451           
  Branches       14       14           
=======================================
  Hits          302      302           
  Misses        149      149           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bukhosi-eugene-mpande bukhosi-eugene-mpande changed the base branch from main to develop June 26, 2024 13:04
Copy link
Contributor

@JoshuaTristanWereley JoshuaTristanWereley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me

@bukhosi-eugene-mpande bukhosi-eugene-mpande merged commit 85f1de0 into develop Jul 2, 2024
7 checks passed
@bukhosi-eugene-mpande bukhosi-eugene-mpande deleted the snyk-upgrade-1b39bc068e6935fa5caffa1e6ac3e324 branch July 2, 2024 17:43
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.

None yet

5 participants