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.1 #80

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps mongoose from 5.2.16 to 5.3.1.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 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) > * fix(populate): handle multiple localFields + foreignFields using `localField: function() {}` syntax [#5704](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5704) > > 5.2.17 / 2018-09-21 > =================== > * docs(guide): clarify that Mongoose only increments versionKey on `save()` and add a workaround for `findOneAndUpdate()` [#7038](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7038) > * fix(model): correctly handle `createIndex` option to `ensureIndexes()` [#7036](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7036) [#6922](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6922) [lineus](https://github.com/lineus) > * docs(migrating_to_5): add a note about changing debug output from stderr to stdout [#7034](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7034) [#7018](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7018) [lineus](https://github.com/lineus) > * fix(query): add `setUpdate()` to allow overwriting update without changing op [#7024](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7024) [#7012](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7012) [lineus](https://github.com/lineus) > * fix(update): find top-level version key even if there are `$` operators in the update [#7003](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7003) > * docs(model+query): explain which operators `count()` supports that `countDocuments()` doesn't [#6911](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6911)
Commits - [`164ebad`](https://github.com/Automattic/mongoose/commit/164ebadbe43033b2e45509f608f8e7c9d3e539b7) chore: release 5.3.1 - [`bb020a7`](https://github.com/Automattic/mongoose/commit/bb020a75c389f4ff56506c1b35e8b8e41c2268e1) fix(model): avoid printing warning if `_id` index is set to "hashed" - [`50b9dae`](https://github.com/Automattic/mongoose/commit/50b9daefff0dd508ab225c020133ef3d265f123d) docs(schematypes+validation): clean up links from validation docs to schematy... - [`b3f9705`](https://github.com/Automattic/mongoose/commit/b3f970572046ef239e2a14d030040e1e7362acba) docs(populate): rewrite refPath docs to be simpler and more direct - [`b1e3725`](https://github.com/Automattic/mongoose/commit/b1e37258c34693f27c708cec2d1fd1db2c91eb4c) test: fix tests re: [#7068](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7068) - [`da6eab3`](https://github.com/Automattic/mongoose/commit/da6eab39901ceee8fe0e1d65a21c157d20dbde3e) Merge pull request [#7068](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7068) from lineus/fix-7022 - [`acc4783`](https://github.com/Automattic/mongoose/commit/acc4783d1961e496fba38dd1c83726a2918b2210) docs(faq): explain why destructuring imports are not supported in FAQ - [`d2d9926`](https://github.com/Automattic/mongoose/commit/d2d9926f5d82d4db84658fa07b425dbea2146d92) fix(populate): handle nested populate underneath lean array correctly - [`cd0ce5d`](https://github.com/Automattic/mongoose/commit/cd0ce5d2b74cddeda022e80933bbf7fd26bd53e9) test(populate): repro [#7052](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7052) - [`c30c31c`](https://github.com/Automattic/mongoose/commit/c30c31ce01104cfd9f7703f3741c93654464a40c) fix(update): make timestamps not crash on a null or undefined update - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.2.16...5.3.1)


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

Superseded by #81.