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.2.16 to 5.3.2 #81

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps mongoose from 5.2.16 to 5.3.2.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.3.2 / 2018-10-07 > ================== > * fix(query): make sure to return correct result from `orFail()` [#7101](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7101) [#7099](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7099) [gsandorx](https://github.com/gsandorx) > * fix(schema): handle `{ timestamps: false }` correctly [#7088](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7088) [#7074](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7074) [lineus](https://github.com/lineus) > * docs: fix markdown in options.useCreateIndex documentation [#7085](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7085) [Cyral](https://github.com/Cyral) > * docs(schema): correct field name in timestamps example [#7082](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7082) [kizmo04](https://github.com/kizmo04) > * docs(migrating_to_5): correct markdown syntax [#7078](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7078) [gwuah](https://github.com/gwuah) > * fix(connection): add useFindAndModify option in connect [#7059](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7059) [NormanPerrin](https://github.com/NormanPerrin) > * fix(document): dont mark single nested path as modified if setting to the same value [#7048](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7048) > * fix(populate): use WeakMap to track lean populate models rather than leanPopulateSymbol [#7026](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7026) > * fix(mongoose): avoid unhandled rejection when `mongoose.connect()` errors with a callback [#6997](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6997) > * fix(mongoose): isolate Schema.Types between custom Mongoose instances [#6933](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6933) > > 5.3.1 / 2018-10-02 > ================== > * fix(ChangeStream): expose driver's `close()` function [#7068](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7068) [#7022](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7022) [lineus](https://github.com/lineus) > * fix(model): avoid printing warning if `_id` index is set to "hashed" [#7053](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7053) > * fix(populate): handle nested populate underneath lean array correctly [#7052](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7052) > * fix(update): make timestamps not crash on a null or undefined update [#7041](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7041) > * docs(schematypes+validation): clean up links from validation docs to schematypes docs [#7040](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7040) > * fix(model): apply timestamps to nested docs in bulkWrite() [#7032](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7032) > * docs(populate): rewrite refPath docs to be simpler and more direct [#7013](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7013) > * docs(faq): explain why destructuring imports are not supported in FAQ [#7009](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7009) > > 5.3.0 / 2018-09-28 > ================== > * feat(mongoose): support `mongoose.set('debug', WritableStream)` so you can pipe debug to stderr, file, or network [#7018](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7018) > * feat(query): add useNestedStrict option [#6973](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6973) [#5144](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5144) [lineus](https://github.com/lineus) > * feat(query): add getPopulatedPaths helper to Query.prototype [#6970](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6970) [#6677](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6677) [lineus](https://github.com/lineus) > * feat(model): add `createCollection()` helper to make transactions easier [#6948](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6948) [#6711](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6711) [Fonger](https://github.com/Fonger) > * feat(schema): add ability to do `schema.add(otherSchema)` to merge hooks, virtuals, etc. [#6897](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6897) > * feat(query): add `orFail()` helper that throws an error if no documents match `filter` [#6841](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6841) > * feat(mongoose): support global toObject and toJSON [#6815](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6815) > * feat(connection): add deleteModel() to remove a model from a connection [#6813](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6813) > * feat(mongoose): add top-level mongoose.ObjectId, mongoose.Decimal128 for easier schema declarations [#6760](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6760) > * feat(aggregate+query): support for/await/of (async iterators) [#6737](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6737) > * feat(mongoose): add global `now()` function that you can stub for testing timestamps [#6728](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6728) > * feat(schema): support `schema.pre(RegExp, fn)` and `schema.post(RegExp, fn)` [#6680](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6680) > * docs(query): add better docs for the `mongooseOptions()` function [#6677](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6677) > * feat(mongoose): add support for global strict object [#6858](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6858) > * feat(schema+mongoose): add autoCreate option to automatically create collections [#6489](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6489) > * feat(update): update timestamps on nested subdocs when using `$set` [#4412](https://github-redirect.dependabot.com/Automattic/mongoose/issues/4412) > * feat(query+schema): add query `remove` hook and ability to switch between query `remove` and document `remove` middleware [#3054](https://github-redirect.dependabot.com/Automattic/mongoose/issues/3054) > > 5.2.18 / 2018-09-27 > =================== > * docs(migrating_to_5): add note about overwriting filter properties [#7030](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7030) > * fix(query): correctly handle `select('+c')` if c is not in schema [#7017](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7017) > * fix(document): check path exists before checking for required [#6974](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6974) > * fix(document): retain user-defined key order on initial set with nested docs [#6944](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6944) > ... (truncated)
Commits - [`5c0e444`](https://github.com/Automattic/mongoose/commit/5c0e444ae8c50e352de5c4f7a763419fbb4dd316) chore: release 5.3.2 - [`cffd32d`](https://github.com/Automattic/mongoose/commit/cffd32de42b45f3085913528678c4548f1e55f55) fix(query): make sure to return correct result from `orFail()` - [`2045f0e`](https://github.com/Automattic/mongoose/commit/2045f0e422ad77a342a17164b53e329aeb71e30c) test(schema): test setting updatedAt to `createdAt: false` - [`8872a68`](https://github.com/Automattic/mongoose/commit/8872a6889d00f531e7e63646a39effab91762314) Merge pull request [#7101](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7101) from gsandorx/patch-1 - [`a7b8da4`](https://github.com/Automattic/mongoose/commit/a7b8da4f1a2e3ad5bfdab143549b09b4bd150cb4) Update query.js - [`19d5a06`](https://github.com/Automattic/mongoose/commit/19d5a068cb053111cd8205c0df4820be2b1ea366) chore: add promise-debug for easier debugging unhandled rejections re: [#6997](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6997) - [`1d9f52e`](https://github.com/Automattic/mongoose/commit/1d9f52e1760d5bba4f59032c19187a85b7685be0) Merge branch 'master' of github.com:Automattic/mongoose - [`476c1b9`](https://github.com/Automattic/mongoose/commit/476c1b9031f01a42a9e355b34f88f55e38fb7dea) fix(mongoose): isolate Schema.Types between custom Mongoose instances - [`88a4df8`](https://github.com/Automattic/mongoose/commit/88a4df8029ab59e3337bb57daa47eea462dc8523) test(mongoose): repro [#6933](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6933) - [`817bbcc`](https://github.com/Automattic/mongoose/commit/817bbcc08a667640972bc9fca5afdf48004a6c62) Merge pull request [#7088](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7088) from lineus/fix-7074 - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.2.16...5.3.2)


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 cancel merge` will cancel a previously requested merge - `@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.