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 7.5.0 to 7.5.2 #239

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

wkylin
Copy link
Owner

@wkylin wkylin commented Oct 9, 2023

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


Snyk has created this PR to upgrade mongoose from 7.5.0 to 7.5.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 24 days ago, on 2023-09-15.
Release notes
Package name: mongoose
  • 7.5.2 - 2023-09-15

    7.5.2 / 2023-09-15

    • fix(schema): handle number discriminator keys when using Schema.prototype.discriminator() #13858 #13788
    • fix: ignore id property when calling set() with both id and _id specified to avoid id setter overwriting #13762
    • types: pass correct document type to required and default function #13851 #13797
    • docs(model): add examples of using diffIndexes() to syncIndexes()and diffIndexes() api docs #13850 #13771
  • 7.5.1 - 2023-09-11

    7.5.1 / 2023-09-11

    • fix: set default value for _update when no update object is provided and versionKey is set to false #13795 #13783 MohOraby
    • fix: avoid unexpected error when accessing null array element on discriminator array when populating #13716 ZSabakh
    • types(schematypes): use DocType for instance method this #13822 #13800 pshaddel
    • types: remove duplicated 'exists' method in Model interface in models.d.ts #13818 ohzeno
    • docs(model): replace outdated docs on deprecated findOneAndUpdate() overwrite option #13821 #13715
    • docs: add example of using virtuals.pathsToSkip option for toObject() and toJSON() #13798 RobertHunter-Pluto
  • 7.5.0 - 2023-08-29

    7.5.0 / 2023-08-29

    • feat: use mongodb driver v5.18.1
    • feat: allow top level dollar keys with findOneAndUpdate(), update() for MongoDB 5 #13786
    • fix(document): make array getters avoid unintentionally modifying array, defer getters until index access instead #13774
    • feat: deprecate overwrite option for findOneAndUpdate() #13578
    • feat: add pathsToSkip option for Model.validate #13663 #10353
    • feat: support alias when declaring index #13659 #13276
    • fix(query): remove unnecessary check for atomic operators in findOneAndReplace() #13678
    • types: add SearchMeta Interface for Atlas Search #13792 mreouven
    • types(schematypes): add missing BigInt SchemaType #13787
from mongoose GitHub release notes
Commit messages
Package name: mongoose
  • 6148d96 chore: release 7.5.2
  • f9bfae0 Merge pull request #13858 from Automattic/vkarpov15/gh-13788
  • 4c38056 style: fix lint
  • aa90acd fix(schema): handle number discriminator keys when using `Schema.prototype.discriminator()`
  • 87619d0 Merge pull request #13854 from Automattic/IslandRhythms/gh-13762
  • a6d4213 Merge branch 'master' into IslandRhythms/gh-13762
  • 71bbf64 Merge pull request #13851 from pshaddel/master
  • 64cec02 Merge branch 'master' into master
  • c27500b Merge pull request #13850 from Automattic/vkarpov15/gh-13771
  • cf576fc Update document.js
  • 294d287 fix: lint
  • bad9615 fix: `id` won't override `_id`
  • e293fe2 works as expected
  • 91bd797 chore: release 7.5.1
  • 5c03f80 fix linting problems and add this type to default function
  • cfbccec add test of 13797
  • e14e049 docs: quick fix for diffIndexes() api docs
  • db29929 docs(model): add examples of using `diffIndexes()` to `syncIndexes()` and `diffIndexes()` api docs
  • 97dec38 type this in required function
  • 1b6ecd5 fix: 🐛 pass document type to required function
  • f552fe2 Merge pull request #13842 from Automattic/vkarpov15/gh-13839
  • e42aaaf style: fix lint
  • 41de90c Merge pull request #13716 from Hajjiri/discriminator-update-fix
  • 8df3699 Merge pull request #13822 from pshaddel/master

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@vercel
Copy link

vercel bot commented Oct 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pro-react-admin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 9, 2023 8:20am

@sonarcloud
Copy link

sonarcloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@wkylin wkylin merged commit d6f07c8 into main Oct 16, 2023
8 checks passed
@wkylin wkylin deleted the snyk-upgrade-d4ba470a15d293c3d7f075bba3723309 branch October 16, 2023 14:35
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.

2 participants