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.0 #180

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps mongoose from 5.4.16 to 5.5.0.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 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) > > 5.4.23 / 2019-04-08 > =================== > * fix(document): report cast error when string path in schema is an array in MongoDB [#7619](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7619) > * fix(query): set deletedCount on result of remove() [#7629](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7629) > * docs(subdocs): add note about parent() and ownerDocument() to subdocument docs [#7576](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7576) > > 5.4.22 / 2019-04-04 > =================== > * fix(aggregate): allow modifying options in pre('aggregate') hook [#7606](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7606) > * fix(map): correctly init maps of maps when loading from MongoDB [#7630](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7630) > * docs(model+query): add `omitUndefined` option to docs for updateX() and findOneAndX() [#3486](https://github-redirect.dependabot.com/Automattic/mongoose/issues/3486) > * docs: removed duplicate Query.prototype.merge() reference from doc [#7684](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7684) [shihabmridha](https://github.com/shihabmridha) > * docs(schema): fix shardKey type to object instead of bool [#7668](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7668) [kyletsang](https://github.com/kyletsang) > * docs(api): fix `Model.prototypedelete` link [#7665](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7665) [pixcai](https://github.com/pixcai) > > 5.4.21 / 2019-04-02 > =================== > * fix(updateValidators): run update validators correctly on Decimal128 paths [#7561](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7561) > * fix(update): cast array filters in nested doc arrays correctly [#7603](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7603) > * fix(document): allow .get() + .set() with aliased paths [#7592](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7592) > * fix(document): ensure custom getters on single nested subdocs don't get persisted if toObject.getters = true [#7601](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7601) > * fix(document): support setting subdoc path to subdoc copied using object rest `{...doc}` [#7645](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7645) > * docs(schema): correct out-of-date list of reserved words [#7593](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7593) > * docs(model+query): add link to update results docs and examples of using results of updateOne(), etc. [#7582](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7582) > * docs: use atomic as opposed to $atomic consistently [#7649](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7649) [720degreeLotus](https://github.com/720degreeLotus) > > 5.4.20 / 2019-03-25 > =================== > * docs(tutorials): add tutorial about `lean()` [#7640](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7640) > * fix(discriminator): fix wrong modelName being used as value to partialFilterExpression index [#7635](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7635) [#7634](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7634) [egorovli](https://github.com/egorovli) > ... (truncated)
Commits - [`c04e01b`](https://github.com/Automattic/mongoose/commit/c04e01bba7fefbda31a5cdf92c2e8e21e7db447d) chore: release 5.5.0 - [`2cd939e`](https://github.com/Automattic/mongoose/commit/2cd939e4cfc42329b046f1ef197f8f8bb0472981) Merge pull request [#7691](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7691) from Automattic/5.5 - [`6fc2991`](https://github.com/Automattic/mongoose/commit/6fc299173b5b8bdc86aaa712f7d53b89eada6a3a) chore: release 5.4.23 - [`bb4a49c`](https://github.com/Automattic/mongoose/commit/bb4a49cd51f2cb983637272bd50849b84159bb9b) test: fix tests - [`51e0160`](https://github.com/Automattic/mongoose/commit/51e0160ee6169fa66d730cbb14694581429839a2) fix(document): report cast error when string path in schema is an array in Mo... - [`46c319e`](https://github.com/Automattic/mongoose/commit/46c319e470ca57171aa5cb2d00689fc317a0a5a8) test(document): repro [#7619](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7619) - [`8df00fb`](https://github.com/Automattic/mongoose/commit/8df00fbc04efbb4bcd235912c90c240da28a37b0) docs(subdocs): add note about parent() and ownerDocument() to subdocument docs - [`76d8ca5`](https://github.com/Automattic/mongoose/commit/76d8ca5e80ba99431953e3d8036ec4527fa0e093) fix(query): set deletedCount on result of remove() - [`d101c68`](https://github.com/Automattic/mongoose/commit/d101c684645a136722d157115934afc6faedbe6f) test(query): repro [#7629](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7629) - [`a9fcf85`](https://github.com/Automattic/mongoose/commit/a9fcf859ed21ee792360be52ec17c7613a74c31f) chore: now working on 5.4.23 - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.4.16...5.5.0)


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.
dependabot-preview[bot] commented 5 years ago

Superseded by #184.