This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade mongoose from 6.5.2 to 6.6.1.
![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=mongoose&from_version=6.5.2&to_version=6.6.1&pr_id=ff7e69e8-a5f3-4d19-a3e9-89b24c9bf501&visibility=true&has_feature_flag=false)
:information_source: 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 **5 versions** ahead of your current version.
- The recommended version was released **22 days ago**, on 2022-09-14.
Release notes Package name: mongoose
5f62e70 Merge pull request #12427 from Automattic/vkarpov15/gh-12328
47ce125 fix: correctly apply defaults after subdoc init
b46848d fix(document): correct context for default functions in subdocuments with init
01145a2 Added TopN to AccumulatorOperator type (#12422)
76f7412 test(model.test): move test inside suite (#12421)
97c3bdb Merge pull request #12419 from Automattic/vkarpov15/gh-12294
805c927 Merge pull request #12418 from Automattic/vkarpov15/gh-12365
5798756 Merge pull request #12396 from hasezoey/websiteRemove38
316c54b fix(array): apply fix for #12294 to nested paths
b97d410 fix(array): avoid using default `_id` when using pull()
40b94c0 fix(array): avoid adding defaults to query filter when using `pull()` on a doc array with no `_id`
19dd0a2 fix(query): use correct Query constructor when cloning query
e8ac7d7 Merge branch 'master' of https://github.com/Automattic/mongoose
f203bd4 Merge pull request #12408 from Automattic/dependabot/npm_and_yarn/master/babel/core-7.19.0
0978aeb Merge pull request #12407 from Automattic/dependabot/npm_and_yarn/master/typescript-4.8.3
066cb9d Merge branch 'master' into dependabot/npm_and_yarn/master/typescript-4.8.3
db3563d Merge pull request #12409 from Automattic/dependabot/npm_and_yarn/master/uuid-9.0.0
41f976f chore(deps-dev): bump @ babel/core from 7.18.13 to 7.19.0
162d866 chore(deps-dev): bump typescript from 4.8.2 to 4.8.3
b117557 Merge pull request #12410 from Automattic/dependabot/npm_and_yarn/master/typescript-eslint/parser-5.36.2
3524e0b chore(deps-dev): bump @ typescript-eslint/parser from 5.36.1 to 5.36.2
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](https://app.snyk.io/org/flaviuse/project/4f948c0c-2a6e-4fba-8cd5-e5dfa4f57aab?utm_source=github&utm_medium=referral&page=upgrade-pr)
🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/flaviuse/project/4f948c0c-2a6e-4fba-8cd5-e5dfa4f57aab/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/flaviuse/project/4f948c0c-2a6e-4fba-8cd5-e5dfa4f57aab/settings/integration?pkg=mongoose&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade mongoose from 6.5.2 to 6.6.1.
![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=mongoose&from_version=6.5.2&to_version=6.6.1&pr_id=ff7e69e8-a5f3-4d19-a3e9-89b24c9bf501&visibility=true&has_feature_flag=false) :information_source: 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 **5 versions** ahead of your current version. - The recommended version was released **22 days ago**, on 2022-09-14.
Release notes
Package name: mongoose
6.6.1 / 2022-09-14
6.6.0 / 2022-09-08
6.5.5 / 2022-09-07
6.5.4 / 2022-08-30
6.5.3 / 2022-08-24
discriminator()
generic #10349connection.model()
#12298 #12125 hasezoeyfindById()
type definitions #12309 lpizzinidevCommit messages
Package name: mongoose
**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](https://app.snyk.io/org/flaviuse/project/4f948c0c-2a6e-4fba-8cd5-e5dfa4f57aab?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/flaviuse/project/4f948c0c-2a6e-4fba-8cd5-e5dfa4f57aab/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/flaviuse/project/4f948c0c-2a6e-4fba-8cd5-e5dfa4f57aab/settings/integration?pkg=mongoose&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)