ThalKod / discord-clone

A "Discord clone" with Socket.io, Node.js & MongoDB... Create channel, invite other people to your channel, chat with everyone...
MIT License
153 stars 81 forks source link

Bump mongoose from 5.4.16 to 5.5.3 #190

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps mongoose from 5.4.16 to 5.5.3.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.5.3 / 2019-04-22 > ================== > * fix: add findAndModify deprecation warning that references the useFindAndModify option [#7644](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7644) > * fix(document): handle pushing a doc onto a discriminator that contains a doc array [#7704](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7704) > * fix(update): run setters on array elements when doing $set [#7679](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7679) > * fix: correct usage of arguments while buffering commands [#7718](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7718) [rzymek](https://github.com/rzymek) > * fix(document): avoid error clearing modified subpaths if doc not defined [#7715](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7715) [bitflower](https://github.com/bitflower) > * refactor(array): move `_parent` property behind a symbol [#7726](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7726) [#7700](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7700) > * docs(model): list out all operations and options for `bulkWrite()` [#7055](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7055) > * docs(aggregate): use `eachAsync()` instead of nonexistent `each()` [#7699](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7699) > * docs(validation): add CastError validation example [#7514](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7514) > * docs(query+model): list out all options and callback details for Model.updateX() and Query#updateX() [#7646](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7646) > > 5.5.2 / 2019-04-16 > ================== > * fix(document): support setting nested path to non-POJO object [#7639](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7639) > * perf(connection): remove leaked event handler in `Model.init()` so `deleteModel()` frees all memory [#7682](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7682) > * fix(timestamps): handle custom statics that conflict with built-in functions (like mongoose-delete plugin) [#7698](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7698) > * fix(populate): make `Document#populated()` work for populated subdocs [#7685](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7685) > * fix(document): support `.set()` on document array underneath embedded discriminator path [#7656](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7656) > > 5.5.1 / 2019-04-11 > ================== > * fix(document): correctly overwrite all properties when setting a single nested subdoc [#7660](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7660) [#7681](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7681) > * fix(array): allow customization of array required validator [#7696](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7696) [freewil](https://github.com/freewil) > * fix(discriminator): handle embedded discriminators when casting array defaults [#7687](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7687) > * fix(collection): ensure collection functions return a promise even if disconnected [#7676](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7676) > * fix(schematype): avoid indexing properties with `{ unique: false, index: false }` [#7620](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7620) > * fix(aggregate): make `Aggregate#model()` with no arguments return the aggregation's model [#7608](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7608) > > 5.5.0 / 2019-04-08 > ================== > * feat(model): support applying hooks to custom static functions [#5982](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5982) > * feat(populate): support specifying a function as `match` [#7397](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7397) > * perf(buffer): avoid calling `defineProperties()` in Buffer constructor [#7331](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7331) > * feat(connection): add `plugin()` for connection-scoped plugins [#7378](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7378) > * feat(model): add Model#deleteOne() and corresponding hooks [#7538](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7538) > * feat(query): support hooks for `Query#distinct()` [#5938](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5938) > * feat(model): print warning when calling create() incorrectly with a session [#7535](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7535) > * feat(document): add Document#isEmpty() and corresponding helpers for nested paths [#5369](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5369) > * feat(document): add `getters` option to Document#get() [#7233](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7233) > * feat(query): add Query#projection() to get or overwrite the current projection [#7384](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7384) > * fix(document): set full validator path on validatorProperties if `propsParameter` set on validator [#7447](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7447) > * feat(document): add Document#directModifiedPaths() [#7373](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7373) > * feat(document): add $locals property [#7691](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7691) > * feat(document): add validateUpdatedOnly option that only validates modified paths in `save()` [#7492](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7492) [captaincaius](https://github.com/captaincaius) > * chore: upgrade MongoDB driver to v3.2.0 [#7641](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7641) > * fix(schematype): deprecate `isAsync` option for custom validators [#6700](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6700) > * chore(mongoose): deprecate global.MONGOOSE_DRIVER_PATH so we can be webpack-warning-free in 6.0 [#7501](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7501) > > ... (truncated)
Commits - [`63be350`](https://github.com/Automattic/mongoose/commit/63be35041fc157e4c74c6901ded50728a6dfce99) chore: release 5.5.3 - [`6a94b74`](https://github.com/Automattic/mongoose/commit/6a94b74763c09881e11333f8afc55a4bc3f56d40) chore: add tekhattan as an opencollective sponsor - [`082b729`](https://github.com/Automattic/mongoose/commit/082b72952eeaa4ebc172fdc1bc58e77a226f0ea5) docs(aggregate): use `eachAsync()` instead of nonexistent `each()` - [`b5a6f22`](https://github.com/Automattic/mongoose/commit/b5a6f22770ab5d33d9f4d5eba17627a17c9c164d) docs(model): list out all operations and options for `bulkWrite()` - [`ac10789`](https://github.com/Automattic/mongoose/commit/ac107899850346494037bfb778fcf576abe2de60) docs(validation): add CastError validation example - [`8f37ebf`](https://github.com/Automattic/mongoose/commit/8f37ebf522e32d2e3021d7fe0ef73b7ca3ed5395) refactor(array): move `_parent` property behind a symbol - [`0b84971`](https://github.com/Automattic/mongoose/commit/0b849710508566e86194a925f1248a2c3d200f16) fix(query): dont show useFindAndModify deprecation warning if useFindAndModif... - [`191994e`](https://github.com/Automattic/mongoose/commit/191994e4f75b60a96d670a6a40330d702bd11912) style: fix lint re: [#7679](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7679) - [`d7c0f20`](https://github.com/Automattic/mongoose/commit/d7c0f20ce636e9c9eb6f801f72433ddca001bdf3) fix(update): run setters on array elements when doing $set - [`c0000e0`](https://github.com/Automattic/mongoose/commit/c0000e07d2b1177d1fd78ef2ed7e2e92cc2bdbc3) test(update): repro [#7679](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7679) - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.4.16...5.5.3)


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.