suggestionsbot / suggestions-bot-js

A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.
https://suggestionsbot.com
GNU Affero General Public License v3.0
25 stars 5 forks source link

Update dependency mongoose to v6.2.9 #82

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongoose (source) 6.2.4 -> 6.2.9 age adoption passing confidence

Release Notes

Automattic/mongoose ### [`v6.2.9`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#​629--2022-03-28) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.2.8...6.2.9) \================== - perf(document+model): make a few small optimizations [#​11380](https://togithub.com/Automattic/mongoose/issues/11380) - fix(types): improve populate return type [#​11560](https://togithub.com/Automattic/mongoose/issues/11560) [mohammad0-0ahmad](https://togithub.com/mohammad0-0ahmad) - fix(document): avoid marking paths as modified on subdocument defaults [#​11528](https://togithub.com/Automattic/mongoose/issues/11528) - docs(schema): add example to index `expires` option [#​11557](https://togithub.com/Automattic/mongoose/issues/11557) [boly38](https://togithub.com/boly38) - docs(model): add change stream docs [#​11275](https://togithub.com/Automattic/mongoose/issues/11275) - docs(lambda): update Lambda docs for Mongoose 6 [#​11275](https://togithub.com/Automattic/mongoose/issues/11275) - docs(connections): add note about connecting with X509 [#​11333](https://togithub.com/Automattic/mongoose/issues/11333) - docs(populate): fix incorrect path name in `refPath` example [#​11565](https://togithub.com/Automattic/mongoose/issues/11565) [chandiwalaaadhar](https://togithub.com/chandiwalaaadhar) ### [`v6.2.8`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#​628--2022-03-22) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.2.7...6.2.8) \================== - fix(document): handle casting array of spread docs [#​11522](https://togithub.com/Automattic/mongoose/issues/11522) - fix(document): avoid setting nested properties on top-level document when initing with strict: false [#​11526](https://togithub.com/Automattic/mongoose/issues/11526) - fix(document): correctly handle deeply nested subdocuments when getting paths to validate [#​11501](https://togithub.com/Automattic/mongoose/issues/11501) - fix(types): avoid making TInstanceMethods any by default leading to `this = any` in middleware [#​11435](https://togithub.com/Automattic/mongoose/issues/11435) - fix(types): allow defining array default if using Types.Array<> in document interface [#​11391](https://togithub.com/Automattic/mongoose/issues/11391) - docs(migrating_to\_6): describe breaking change in Mongoose 6 about default query populate model [#​11289](https://togithub.com/Automattic/mongoose/issues/11289) - docs(middleware): fix typo [#​11537](https://togithub.com/Automattic/mongoose/issues/11537) [x1489](https://togithub.com/x1489) ### [`v6.2.7`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#​627--2022-03-16) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.2.6...6.2.7) \================== - perf(document): avoid running validation on every array element if there's no validators to run [#​11380](https://togithub.com/Automattic/mongoose/issues/11380) - fix(cursor): correctly populate in batches when batchSize is set [#​11509](https://togithub.com/Automattic/mongoose/issues/11509) - fix(connection): avoid setting MongoClient on useDb() connections until after setting on base connection [#​11445](https://togithub.com/Automattic/mongoose/issues/11445) - fix(schema): throw more helpful error when using schema from a different version of Mongoose module [#​10453](https://togithub.com/Automattic/mongoose/issues/10453) - fix: add missing timeseries expiration handling [#​11489](https://togithub.com/Automattic/mongoose/issues/11489) [#​11229](https://togithub.com/Automattic/mongoose/issues/11229) [Uzlopak](https://togithub.com/Uzlopak) - docs: correct Model.findOneAndReplace docs param naming [#​11524](https://togithub.com/Automattic/mongoose/issues/11524) [anatolykopyl](https://togithub.com/anatolykopyl) ### [`v6.2.6`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#​626--2022-03-11) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.2.5...6.2.6) \================== - fix(types): correct reference to cursor TypeScript bindings [#​11513](https://togithub.com/Automattic/mongoose/issues/11513) [SimonHausdorf](https://togithub.com/SimonHausdorf) - fix(types): allow calling Query.prototype.populate() with array of strings [#​11518](https://togithub.com/Automattic/mongoose/issues/11518) - fix(types): export and refactor types of PreMiddlewareFunction, PreSaveMiddlewareFunction, PostMiddlewareFunction, ErrorHandlingMiddlewareFunction [#​11485](https://togithub.com/Automattic/mongoose/issues/11485) [Uzlopak](https://togithub.com/Uzlopak) ### [`v6.2.5`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#​625--2022-03-09) [Compare Source](https://togithub.com/Automattic/mongoose/compare/6.2.4...6.2.5) \================== - fix(mongoose): add isObjectIdOrHexString() to better capture the most common use case for `isValidObjectId()` [#​11419](https://togithub.com/Automattic/mongoose/issues/11419) - fix(query): prevent modifying discriminator key in updates using operators other than `$set` [#​11456](https://togithub.com/Automattic/mongoose/issues/11456) - fix(populate+types): call foreignField functions with doc as 1st param, better typings for `localField` and `foreignField` functions [#​11321](https://togithub.com/Automattic/mongoose/issues/11321) - fix(populate): return an array when using populate count on an array localField [#​11307](https://togithub.com/Automattic/mongoose/issues/11307) - fix(query): avoid error when using $not with arrays [#​11467](https://togithub.com/Automattic/mongoose/issues/11467) - perf: only deep clone validators if necessary [#​11412](https://togithub.com/Automattic/mongoose/issues/11412) [Uzlopak](https://togithub.com/Uzlopak) - fix(types): rename definition files to lowercase to avoid typescript bug [#​11469](https://togithub.com/Automattic/mongoose/issues/11469) - fix(types): aggregate.sort() accepts a string but also `{ field: 'asc'|'ascending'|'desc'|'descending' }` [#​11479](https://togithub.com/Automattic/mongoose/issues/11479) [simonbrunel](https://togithub.com/simonbrunel) - fix(types): extract and refactor aggregationcursor and querycursor [#​11488](https://togithub.com/Automattic/mongoose/issues/11488) [Uzlopak](https://togithub.com/Uzlopak) - fix(types): extract and refactor schemaoptions [#​11484](https://togithub.com/Automattic/mongoose/issues/11484) [Uzlopak](https://togithub.com/Uzlopak) - fix(types): make first param to `Query.prototype.populate()` a string [#​11475](https://togithub.com/Automattic/mongoose/issues/11475) [minhthinhls](https://togithub.com/minhthinhls) - fix(types): improve type checking for doc arrays in schema definitions [#​11241](https://togithub.com/Automattic/mongoose/issues/11241) - docs: fix length comparaison in lean.test.js [#​11493](https://togithub.com/Automattic/mongoose/issues/11493) [zazapeta](https://togithub.com/zazapeta) - docs(timestamps): fix typo [#​11481](https://togithub.com/Automattic/mongoose/issues/11481) [saibbyweb](https://togithub.com/saibbyweb) - docs: fix broken link to rawResult [#​11459](https://togithub.com/Automattic/mongoose/issues/11459) [chhiring90](https://togithub.com/chhiring90)

Configuration

šŸ“… Schedule: At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.