Kamahl19 / node-api-starter

Full-featured starter for Node Rest API server using ExpressJS
MIT License
6 stars 0 forks source link

Update dependency mongoose to v5.13.11 - autoclosed #216

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

Automattic/mongoose ### [`v5.13.11`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​51311--2021-10-12) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.10...5.13.11) \==================== - fix: upgrade mongodb -> 3.7.2 [#​10871](https://togithub.com/Automattic/mongoose/issues/10871) [winstonralph](https://togithub.com/winstonralph) - fix(connection): call setMaxListeners(0) on MongoClient to avoid event emitter memory leak warnings with `useDb()` [#​10732](https://togithub.com/Automattic/mongoose/issues/10732) ### [`v5.13.10`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​51310--2021-10-05) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.9...5.13.10) \==================== - fix(index.d.ts): allow using type: SchemaDefinitionProperty in schema definitions [#​10674](https://togithub.com/Automattic/mongoose/issues/10674) - fix(index.d.ts): allow AnyObject as param to findOneAndReplace() [#​10714](https://togithub.com/Automattic/mongoose/issues/10714) ### [`v5.13.9`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5139--2021-09-06) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.8...5.13.9) \=================== - fix(populate): avoid setting empty array on lean document when populate result is undefined [#​10599](https://togithub.com/Automattic/mongoose/issues/10599) - fix(document): make depopulate() handle populated paths underneath document arrays [#​10592](https://togithub.com/Automattic/mongoose/issues/10592) - fix: peg [@​types/bson](https://togithub.com/types/bson) version to 1.x || 4.0.x to avoid stubbed 4.2.x release [#​10678](https://togithub.com/Automattic/mongoose/issues/10678) - fix(index.d.ts): simplify UpdateQuery to avoid "excessively deep and possibly infinite" errors with `extends Document` and `any` [#​10647](https://togithub.com/Automattic/mongoose/issues/10647) - fix(index.d.ts): allow specifying weights as an IndexOption [#​10586](https://togithub.com/Automattic/mongoose/issues/10586) - fix: upgrade to mpath v0.8.4 re: security issue [#​10683](https://togithub.com/Automattic/mongoose/issues/10683) ### [`v5.13.8`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5138--2021-08-23) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.7...5.13.8) \=================== - fix(populate): handle populating subdoc array virtual with sort [#​10552](https://togithub.com/Automattic/mongoose/issues/10552) - fix(model): check for code instead of codeName when checking for existing collections for backwards compat with MongoDB 3.2 [#​10420](https://togithub.com/Automattic/mongoose/issues/10420) - fix(index.d.ts): correct value of this for custom query helper methods [#​10545](https://togithub.com/Automattic/mongoose/issues/10545) - fix(index.d.ts): allow strings for ObjectIds in nested properties [#​10573](https://togithub.com/Automattic/mongoose/issues/10573) - fix(index.d.ts): add match to VirtualTypeOptions.options [#​8749](https://togithub.com/Automattic/mongoose/issues/8749) - fix(index.d.ts): allow QueryOptions populate parameter type PopulateOptions [#​10587](https://togithub.com/Automattic/mongoose/issues/10587) [osmanakol](https://togithub.com/osmanakol) - docs(api): add Document#$where to API docs [#​10583](https://togithub.com/Automattic/mongoose/issues/10583) ### [`v5.13.7`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5137--2021-08-11) [Compare Source](https://togithub.com/Automattic/mongoose/compare/477afdc8aa1297b87e784085133617765a059a4d...5.13.7) \=================== - perf(index.d.ts): loosen up restrictions on ModelType generic for Schema for a ~50% perf improvement when compiling TypeScript and using intellisense [#​10536](https://togithub.com/Automattic/mongoose/issues/10536) [#​10515](https://togithub.com/Automattic/mongoose/issues/10515) [#​10349](https://togithub.com/Automattic/mongoose/issues/10349) - fix(index.d.ts): fix broken `Schema#index()` types [#​10562](https://togithub.com/Automattic/mongoose/issues/10562) [JaredReisinger](https://togithub.com/JaredReisinger) - fix(index.d.ts): allow using SchemaTypeOptions with array of raw document interfaces [#​10537](https://togithub.com/Automattic/mongoose/issues/10537) - fix(index.d.ts): define IndexOptions in terms of mongodb.IndexOptions [#​10563](https://togithub.com/Automattic/mongoose/issues/10563) [JaredReisinger](https://togithub.com/JaredReisinger) - fix(index.d.ts): improve intellisense for DocumentArray `push()` [#​10546](https://togithub.com/Automattic/mongoose/issues/10546) - fix(index.d.ts): correct type for expires [#​10529](https://togithub.com/Automattic/mongoose/issues/10529) - fix(index.d.ts): add Query#model property to ts bindings [#​10531](https://togithub.com/Automattic/mongoose/issues/10531) - refactor(index.d.ts): make callbacks use the new Callback and CallbackWithoutResult types [#​10550](https://togithub.com/Automattic/mongoose/issues/10550) [thiagokisaki](https://togithub.com/thiagokisaki) ### [`v5.13.6`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5136--2021-08-09) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.5...477afdc8aa1297b87e784085133617765a059a4d) \=================== - fix: upgrade mongodb driver -> 3.6.11 [#​10543](https://togithub.com/Automattic/mongoose/issues/10543) [maon-fp](https://togithub.com/maon-fp) - fix(schema): throw more helpful error when defining a document array using a schema from a different copy of the Mongoose module [#​10453](https://togithub.com/Automattic/mongoose/issues/10453) - fix: add explicit check on constructor property to avoid throwing an error when checking objects with null prototypes [#​10512](https://togithub.com/Automattic/mongoose/issues/10512) - fix(cursor): make sure to clear stack every 1000 docs when calling `next()` to avoid stack overflow with large batch size [#​10449](https://togithub.com/Automattic/mongoose/issues/10449) - fix(index.d.ts): allow calling new Model(...) with generic Model param [#​10526](https://togithub.com/Automattic/mongoose/issues/10526) - fix(index.d.ts): update type declarations of Schema.index method [#​10538](https://togithub.com/Automattic/mongoose/issues/10538) [#​10530](https://togithub.com/Automattic/mongoose/issues/10530) [Raader](https://togithub.com/Raader) - fix(index.d.ts): add useNewUrlParser and useUnifiedTopology to ConnectOptions [#​10500](https://togithub.com/Automattic/mongoose/issues/10500) - fix(index.d.ts): add missing type for diffIndexes [#​10547](https://togithub.com/Automattic/mongoose/issues/10547) [bvgusak](https://togithub.com/bvgusak) - fix(index.d.ts): fixed incorrect type definition for Query's .map function [#​10544](https://togithub.com/Automattic/mongoose/issues/10544) [GCastilho](https://togithub.com/GCastilho) - docs(schema): add more info and examples to Schema#indexes() docs [#​10446](https://togithub.com/Automattic/mongoose/issues/10446) - chore: add types property to package.json [#​10557](https://togithub.com/Automattic/mongoose/issues/10557) [thiagokisaki](https://togithub.com/thiagokisaki) ### [`v5.13.5`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5135--2021-07-30) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.4...5.13.5) \=================== - perf(index.d.ts): improve typescript type checking performance [#​10515](https://togithub.com/Automattic/mongoose/issues/10515) [andreialecu](https://togithub.com/andreialecu) - fix(index.d.ts): fix debug type in MongooseOptions [#​10510](https://togithub.com/Automattic/mongoose/issues/10510) [thiagokisaki](https://togithub.com/thiagokisaki) - docs(api): clarify that `depopulate()` with no args depopulates all [#​10501](https://togithub.com/Automattic/mongoose/issues/10501) [gfrancz](https://togithub.com/gfrancz) ### [`v5.13.4`](https://togithub.com/Automattic/mongoose/blob/master/CHANGELOG.md#​5134--2021-07-28) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.13.3...5.13.4) \=================== - fix: avoid pulling non-schema paths from documents into nested paths [#​10449](https://togithub.com/Automattic/mongoose/issues/10449) - fix(update): support overwriting nested map paths [#​10485](https://togithub.com/Automattic/mongoose/issues/10485) - fix(update): apply timestamps to subdocs that would be newly created by `$setOnInsert` [#​10460](https://togithub.com/Automattic/mongoose/issues/10460) - fix(map): correctly clone subdocs when calling toObject() on a map [#​10486](https://togithub.com/Automattic/mongoose/issues/10486) - fix(cursor): cap parallel batchSize for populate at 5000 [#​10449](https://togithub.com/Automattic/mongoose/issues/10449) - fix(index.d.ts): improve autocomplete for new Model() by making `doc` an object with correct keys [#​10475](https://togithub.com/Automattic/mongoose/issues/10475) - fix(index.d.ts): add MongooseOptions interface [#​10471](https://togithub.com/Automattic/mongoose/issues/10471) [thiagokisaki](https://togithub.com/thiagokisaki) - fix(index.d.ts): make LeanDocument work with PopulatedDoc [#​10494](https://togithub.com/Automattic/mongoose/issues/10494) - docs(mongoose+connection): correct default value for bufferTimeoutMS [#​10476](https://togithub.com/Automattic/mongoose/issues/10476) - chore: remove unnecessary 'eslint-disable' comments [#​10466](https://togithub.com/Automattic/mongoose/issues/10466) [thiagokisaki](https://togithub.com/thiagokisaki)

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.