anikethsaha / mern

:tada: This is boilerplate for MERN stack with integrations like Redux and SSR :tada:
https://mern.netlify.com
MIT License
98 stars 44 forks source link

Bump mongoose from 5.6.0 to 5.6.8 #86

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps mongoose from 5.6.0 to 5.6.8.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.6.8 / 2019-08-02 > ================== > * fix(aggregate): allow modifying pipeline in pre('aggregate') hooks [#8017](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8017) > * fix(query): make `findOneAndReplace()` work with `orFail()` [#8030](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8030) > * fix(document): allow saving an unchanged document if required populated path is null [#8018](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8018) > * fix(debug): support disabling colors in debug mode [#8033](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8033) [Mangosteen-Yang](https://github.com/Mangosteen-Yang) > * docs: add async-await guide [#8028](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8028) [Rossh87](https://github.com/Rossh87) > * docs(plugins): rewrite plugins docs to be more modern and not use strange `= exports` syntax [#8026](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8026) > * docs(transactions): clarify relationship between `session` in docs and MongoDB driver ClientSession class, link to driver docs [#8009](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8009) > > 5.6.7 / 2019-07-26 > ================== > * fix(document): support validators on nested arrays [#7926](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7926) > * fix(timestamps): handle `timestamps: false` in child schema [#8007](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8007) > * fix(query): consistently support `new` option to `findOneAndX()` as an alternative to `returnOriginal` [#7846](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7846) > * fix(document): make `inspect()` never return `null`, because a document or nested path is never `== null` [#7942](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7942) > * docs(query+lean): add links to mongoose-lean-virtuals, mongoose-lean-getters, mongoose-lean-defaults [#5606](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5606) > * docs: add example for `Schema#pre(Array)` [#8022](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8022) [Mangosteen-Yang](https://github.com/Mangosteen-Yang) > * docs(schematype): updated comment from Schema.path to proper s.path [#8013](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8013) [chrisweilacker](https://github.com/chrisweilacker) > * chore: upgrade nyc [#8015](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8015) [kolya182](https://github.com/kolya182) > > 5.6.6 / 2019-07-22 > ================== > * fix(populate): handle refPath returning a virtual with `Query#populate()` [#7341](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7341) > * fix(populate): handle `refPath` in discriminator when populating top-level model [#5109](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5109) > * fix(mongoose): ensure destucturing and named imports work for Mongoose singleton methods like `set()`, etc. [#6039](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6039) > * fix(query): add missing options for deleteOne and deleteMany in Query [#8004](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8004) [Fonger](https://github.com/Fonger) > * fix(schema): make embedded discriminators `instanceof` their parent types [#5005](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5005) > * fix(array): make `validators` a private property that doesn't show up in for/in [#6572](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6572) > * docs(api): fix array API docs that vanished because of [#7798](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7798) [#7979](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7979) > * docs(discriminators+api): add single nested discriminator to discriminator docs and API docs [#7983](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7983) > * docs(connection+mongoose): make option lists consistent between `mongoose.connect()`, `mongoose.createConnection()`, and `conn.openUri()` [#7976](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7976) > * docs(validation): clarify resolve(false) vs reject() for promise-based async custom validators [#7761](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7761) > * docs(guide): use correct `mongoose.set()` instead of `mongoose.use()` [#7998](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7998) > * docs: add redis cache example [#7997](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7997) [usama-asfar](https://github.com/usama-asfar) > > 5.6.5 / 2019-07-17 > ================== > * fix(document): handle setting non-schema path to ObjectId or Decimal128 if strict: false [#7973](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7973) > * fix(connection): remove backwards-breaking multiple mongoose.connect() call for now [#7977](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7977) > * fix(schema): print invalid value in error message when a schema path is set to undefined or null [#7956](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7956) > * fix(model): throw readable error if calling `new Model.discriminator()` [#7957](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7957) > * fix(mongoose): export `cast()` function [#7975](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7975) [perfectstorm88](https://github.com/perfectstorm88) > * docs(model): fix link to Model.inspect() and add example [#7990](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7990) > * docs: fix broken anchor links on validation tutorial [#7966](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7966) > * docs(api): fix broken links to split API pages [#7978](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7978) > * chore: create LICENSE.md [#7989](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7989) [Fonger](https://github.com/Fonger) > > 5.6.4 / 2019-07-08 > ================== > ... (truncated)
Commits - [`bd03c4d`](https://github.com/Automattic/mongoose/commit/bd03c4d2cec5a470a46777fa2b7c44377fdc715c) chore: release 5.6.8 - [`6fd4975`](https://github.com/Automattic/mongoose/commit/6fd497579aec10813fcb0dc4e5911ece47a993fe) chore: add ehic cards as opencollective sponsor - [`01b182e`](https://github.com/Automattic/mongoose/commit/01b182e7d68b8a9907f5926178afe95a4c2e1d79) refactor: handle arrays underneath mixed paths for [#6405](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6405) - [`4b2f770`](https://github.com/Automattic/mongoose/commit/4b2f77098cb930387990c8a6560e13b38e12262a) Merge pull request [#8033](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8033) from Mangosteen-Yang/new-feature-[#6403](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6403) - [`f58c45f`](https://github.com/Automattic/mongoose/commit/f58c45f7d6b4f4dc8a4192935adaab0fcab3b43b) fix(document): allow saving an unchanged document if required populated path ... - [`c698590`](https://github.com/Automattic/mongoose/commit/c698590fadff25d370e24bb6dfacfdce7e12827e) test(document): repro [#8018](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8018) - [`eced064`](https://github.com/Automattic/mongoose/commit/eced064d46ac48077fa409eb69360b84720d663b) docs(transactions): clarify relationship between `session` in docs and MongoD... - [`c8e270e`](https://github.com/Automattic/mongoose/commit/c8e270e804d9645422a9fcd5875290a86dc94e71) docs(plugins): rewrite plugins docs to be more modern and not use strange `= ... - [`f4aaa9c`](https://github.com/Automattic/mongoose/commit/f4aaa9c298649daa538f2cc092b5da3684bad706) test: fix tests - [`9db4857`](https://github.com/Automattic/mongoose/commit/9db48577da77cce3529b65e0bc105bd76bb72e73) fix(query): make `findOneAndReplace()` work with `orFail()` - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.6.0...5.6.8)


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). To ignore the version in this PR you can just close it - `@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) - 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.