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.3.5 to 8.4.0 #481

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

tuanicom
Copy link
Owner

@tuanicom tuanicom commented Jun 8, 2024

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.3.5 to 8.4.0.

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

Release notes
Package name: mongoose
  • 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
  • 8.3.5 - 2024-05-15

    8.3.5 / 2024-05-15

    • fix(query): shallow clone $or, $and if merging onto empty query filter #14580 #14567
    • types(model+query): pass TInstanceMethods to QueryWithHelpers so populated docs have methods #14581 #14574
    • docs(typescript): clarify that setting THydratedDocumentType on schemas is necessary for correct method context #14575 #14573
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.3.5 to 8.4.0.

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 (b589ab2) 260 260 100.00%
Head commit (d5991e5) 260 (+0) 260 (+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 (#481) 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


🚀 Don’t miss a bit, follow what’s new on Codacy.

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

@coveralls
Copy link
Collaborator

coveralls commented Jun 8, 2024

Pull Request Test Coverage Report for Build 1342

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 1339: 0.0%
Covered Lines: 260
Relevant Lines: 260

💛 - Coveralls

Copy link

sonarcloud bot commented Jun 8, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Jun 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b589ab2) to head (d5991e5).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #481   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           29        29           
  Lines          260       260           
  Branches         3         3           
=========================================
  Hits           260       260           

@tuanicom tuanicom merged commit 4cb9f92 into master Jun 9, 2024
24 checks passed
@tuanicom tuanicom deleted the snyk-upgrade-e8bc9ac4db5d10107b6fe6d5a5e24cce branch June 9, 2024 05:32
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