jonluca / Anubis-DB

Database to store previously found subdomains
56 stars 11 forks source link

Update dependency mongoose to v5.6.0 #27

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change
mongoose (source) dependencies minor 5.5.13 -> 5.6.0

Release Notes

Automattic/mongoose ### [`v5.6.0`](https://togithub.com/Automattic/mongoose/blob/master/History.md#​560--2019-06-14) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.5.15...5.6.0) ================== - feat(schematype): add `immutable` option to disallow changing a given field [#​7671](https://togithub.com/Automattic/mongoose/issues/7671) - docs: split API docs into separate pages to make API documentation more Google-able [#​7812](https://togithub.com/Automattic/mongoose/issues/7812) - perf(array): remove all mixins in favor of ES6 classes, ~20% faster in basic benchmarks [#​7798](https://togithub.com/Automattic/mongoose/issues/7798) - feat(document): use promise rejection error message when async custom validator throws an error [#​4913](https://togithub.com/Automattic/mongoose/issues/4913) - feat(virtual): pass document as 3rd parameter to virtual getters and setters to enable using arrow functions [#​4143](https://togithub.com/Automattic/mongoose/issues/4143) - feat(model): add `Model.exists()` function to quickly check whether a document matching `filter` exists [#​6872](https://togithub.com/Automattic/mongoose/issues/6872) - feat(index+connection): support setting global and connection-level `maxTimeMS` - feat(populate): support setting `ref` to a function for conventional populate [#​7669](https://togithub.com/Automattic/mongoose/issues/7669) - feat(document): add overwrite() function that overwrites all values in a document [#​7830](https://togithub.com/Automattic/mongoose/issues/7830) - feat(populate): support `PopulateOptions#connection` option to allow cross-db populate with refPath [#​6520](https://togithub.com/Automattic/mongoose/issues/6520) - feat(populate): add skipInvalidIds option to silently skip population if id is invalid, instead of throwing [#​7706](https://togithub.com/Automattic/mongoose/issues/7706) - feat(array): skip empty array default if there's a 2dsphere index on a geojson path [#​3233](https://togithub.com/Automattic/mongoose/issues/3233) - feat(query): add `getFilter()` as an alias of `getQuery()` to be more in line with API docs [#​7839](https://togithub.com/Automattic/mongoose/issues/7839) - feat(model): add Model.inspect() to make models not clutter `util.inspect()` [#​7836](https://togithub.com/Automattic/mongoose/issues/7836) - perf(discriminator): skip calling `createIndex()` on indexes that are defined in the base schema [#​7379](https://togithub.com/Automattic/mongoose/issues/7379) - docs: upgrade from Jade to latest Pug [#​7812](https://togithub.com/Automattic/mongoose/issues/7812) - docs(README): update reference to example schema.js [#​7899](https://togithub.com/Automattic/mongoose/issues/7899) [sharils](https://togithub.com/sharils) - docs(README): improve variable name [#​7900](https://togithub.com/Automattic/mongoose/issues/7900) [sharils](https://togithub.com/sharils) - chore: replace charAt(0) with startsWith [#​7897](https://togithub.com/Automattic/mongoose/issues/7897) [Fonger](https://togithub.com/Fonger) - chore: replace indexOf with includes, startsWith and endsWith for String [#​7897](https://togithub.com/Automattic/mongoose/issues/7897) [Fonger](https://togithub.com/Fonger) ### [`v5.5.15`](https://togithub.com/Automattic/mongoose/blob/master/History.md#​5515--2019-06-12) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.5.14...5.5.15) =================== - fix(connection): reject initial connect promise even if there is an on('error') listener [#​7850](https://togithub.com/Automattic/mongoose/issues/7850) - fix(map): make `of` automatically convert POJOs to schemas unless typeKey is set [#​7859](https://togithub.com/Automattic/mongoose/issues/7859) - fix(update): use discriminator schema to cast update if discriminator key specified in filter [#​7843](https://togithub.com/Automattic/mongoose/issues/7843) - fix(array): copy atomics from source array [#​7891](https://togithub.com/Automattic/mongoose/issues/7891) [#​7889](https://togithub.com/Automattic/mongoose/issues/7889) [jyrkive](https://togithub.com/jyrkive) - fix(schema): return this when Schema.prototype.add is called with Schema [#​7887](https://togithub.com/Automattic/mongoose/issues/7887) [Mickael-van-der-Beek](https://togithub.com/Mickael-van-der-Beek) - fix(document): add `numAffected` and `result` to DocumentNotFoundError for better debugging [#​7892](https://togithub.com/Automattic/mongoose/issues/7892) [#​7844](https://togithub.com/Automattic/mongoose/issues/7844) ### [`v5.5.14`](https://togithub.com/Automattic/mongoose/blob/master/History.md#​5514--2019-06-08) [Compare Source](https://togithub.com/Automattic/mongoose/compare/5.5.13...5.5.14) =================== - fix(query): correct this scope of setters in update query [#​7876](https://togithub.com/Automattic/mongoose/issues/7876) [Fonger](https://togithub.com/Fonger) - fix(model): reset modifiedPaths after successful insertMany [#​7852](https://togithub.com/Automattic/mongoose/issues/7852) [#​7873](https://togithub.com/Automattic/mongoose/issues/7873) [Fonger](https://togithub.com/Fonger) - fix(populate): allow using `refPath` with virtual populate [#​7848](https://togithub.com/Automattic/mongoose/issues/7848) - fix(document): prepend private methods getValue and setValue with $ [#​7870](https://togithub.com/Automattic/mongoose/issues/7870) [Fonger](https://togithub.com/Fonger) - fix: update mongodb driver -> 3.2.7 [#​7871](https://togithub.com/Automattic/mongoose/issues/7871) [Fonger](https://togithub.com/Fonger) - docs(tutorials): add tutorial about custom casting functions [#​7045](https://togithub.com/Automattic/mongoose/issues/7045) - docs(connection): fix outdated events document [#​7874](https://togithub.com/Automattic/mongoose/issues/7874) [Fonger](https://togithub.com/Fonger) - docs: fix typo in lean docs [#​7875](https://togithub.com/Automattic/mongoose/issues/7875) [tannakartikey](https://togithub.com/tannakartikey) - docs: move off of KeenIO for tracking and use self-hosted analytics instead

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



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