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.7 to 5.2.13 #66

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

Bumps mongoose from 5.2.7 to 5.2.13.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.2.13 / 2018-09-04 > =================== > * fix(map): throw TypeError if keys are not string [#6968](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6968) [Fonger](https://github.com/Fonger) > * fix(update): make array op casting work with strict:false and {} [#6962](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6962) [#6952](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6952) [lineus](https://github.com/lineus) > * fix(document): add doc.deleteOne(), doc.updateOne(), doc.replaceOne() re: deprecation warnings [#6959](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6959) [#6940](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6940) [lineus](https://github.com/lineus) > * docs(faq+schematypes): add note about map keys needing to be strings [#6957](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6957) [#6956](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6956) [lineus](https://github.com/lineus) > * fix(schematype): remove unused if statement [#6950](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6950) [#6949](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6949) [cacothi](https://github.com/cacothi) > * docs: add /docs/deprecations.html for dealing with MongoDB driver deprecation warnings [#6922](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6922) > * fix(populate): handle refPath where first element in array has no refPath [#6913](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6913) > * fix(mongoose): allow setting useCreateIndex option after creating a model but before initial connection succeeds [#6890](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6890) > * fix(updateValidators): ensure $pull validators always get an array [#6889](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6889) > > 5.2.12 / 2018-08-30 > =================== > * fix(document): disallow setting `constructor` and `prototype` if strict mode false > > 4.13.17 / 2018-08-30 > ==================== > * fix(document): disallow setting `constructor` and `prototype` if strict mode false > > 5.2.11 / 2018-08-30 > =================== > * fix(document): disallow setting __proto__ if strict mode false > * fix(document): run document middleware on docs embedded in maps [#6945](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6945) [#6938](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6938) [Fonger](https://github.com/Fonger) > * fix(query): make castForQuery return a CastError [#6943](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6943) [#6927](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6927) [lineus](https://github.com/lineus) > * fix(query): use correct `this` scope when casting query with legacy 2dsphere pairs defined in schema [#6939](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6939) [#6937](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6937) [Fonger](https://github.com/Fonger) > * fix(document): avoid crash when calling `get()` on deeply nested subdocs [#6929](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6929) [#6925](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6925) [jakemccloskey](https://github.com/jakemccloskey) > * fix(plugins): make saveSubdocs execute child post save hooks _after_ the actual save [#6926](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6926) > * docs: add dbName to api docs for .connect() [#6923](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6923) [p722](https://github.com/p722) > * fix(populate): convert to array when schema specifies array, even if doc doesn't have an array [#6908](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6908) > * fix(populate): handle `justOne` virtual populate underneath array [#6867](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6867) > * fix(model): dont set versionKey on upsert if it is already `$set` [#5973](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5973) > > 4.13.16 / 2018-08-30 > ==================== > * fix(document): disallow setting __proto__ if strict mode false > * feat(error): backport adding modified paths to VersionError [#6928](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6928) [freewil](https://github.com/freewil) > > 5.2.10 / 2018-08-27 > =================== > * fix: bump mongodb driver -> 3.1.4 [#6920](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6920) [#6903](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6903) [#6884](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6884) [#6799](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6799) [#6741](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6741) [Fonger](https://github.com/Fonger) > * fix(model): track `session` option for `save()` as the document's `$session()` [#6909](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6909) > * fix(query): add Query.getOptions() helper [#6907](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6907) [Fonger](https://github.com/Fonger) > * fix(document): ensure array atomics get cleared after save() [#6900](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6900) > * fix(aggregate): add missing redact and readConcern helpers [#6895](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6895) [Fonger](https://github.com/Fonger) > * fix: add global option `mongoose.set('useCreateIndex', true)` to avoid ensureIndex deprecation warning [#6890](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6890) > * fix(query): use `projection` option to avoid deprecation warnings [#6888](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6888) [#6880](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6880) [Fonger](https://github.com/Fonger) > * fix(query): use `findOneAndReplace()` internally if using `overwrite: true` with `findOneAndUpdate()` [#6888](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6888) [Fonger](https://github.com/Fonger) > * fix(document): ensure required cache gets cleared correctly between subsequent saves [#6892](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6892) > * fix(aggregate): support session chaining correctly [#6886](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6886) [#6885](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6885) [Fonger](https://github.com/Fonger) > ... (truncated)
Commits - [`223db52`](https://github.com/Automattic/mongoose/commit/223db5268d6493868893ad779ecaaedd5c92c0f6) chore: release 5.2.13 - [`5e02523`](https://github.com/Automattic/mongoose/commit/5e02523a6404e7d1e1b8378b09584cbc78e73cfd) Merge pull request [#6968](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6968) from Fonger/patch-1 - [`59d2c70`](https://github.com/Automattic/mongoose/commit/59d2c703a301b80b776ff9a28f9680e71dcc7a13) Merge branch 'gh6922' - [`1ecd562`](https://github.com/Automattic/mongoose/commit/1ecd562f410c6a61e6b8eece1ab9303404ab78b2) docs(deprecations): add note re: update() re: [#6922](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6922) - [`fa9b860`](https://github.com/Automattic/mongoose/commit/fa9b860dbcc436198d4e6eee0fd3ac52a3a66f06) fix(map): throw TypeError if keys are not string - [`d20f33f`](https://github.com/Automattic/mongoose/commit/d20f33f60333713e795696573d68f110607b9f18) docs(deprecations): add note re: useCreateIndex - [`ea1f1f7`](https://github.com/Automattic/mongoose/commit/ea1f1f7e7b70937307c35632d5946883c5ce54ba) Merge pull request [#6957](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6957) from lineus/docs-6956 - [`95de37d`](https://github.com/Automattic/mongoose/commit/95de37d79ab460e3bc95bb0396ec054b5dc65875) Merge pull request [#6959](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6959) from lineus/fix-6940 - [`92fcdac`](https://github.com/Automattic/mongoose/commit/92fcdac5dd34fa607476463645a345508635d361) Merge pull request [#6962](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6962) from lineus/fix-6952 - [`a92574f`](https://github.com/Automattic/mongoose/commit/a92574fcb3edd1c04243c124e6a3bc98a30ae82c) Merge pull request [#6965](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6965) from Fonger/patch-1 - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.2.7...5.2.13)


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 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.