geodatagouv / geoplatform

Core API and processing tools for geo.data.gouv.fr
MIT License
5 stars 1 forks source link

Bump mongoose from 5.4.18 to 5.6.9 #283

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps mongoose from 5.4.18 to 5.6.9.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.6.9 / 2019-08-07 > ================== > * fix(model): delete versionError after saving to prevent memory leak [#8048](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8048) > * fix(cursor): correctly handle batchSize option with query cursor [#8039](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8039) > * fix(populate): handle virtual populate with count = 0 if virtual embedded in doc array [#7573](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7573) > * fix(schema): allow declaring ObjectId array with `{ type: 'ObjectID' }`, last 'D' case insensitive [#8034](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8034) > > 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) > ... (truncated)
Commits - [`188b4e7`](https://github.com/Automattic/mongoose/commit/188b4e7872fd6da2e70c8463de9b43de12046764) chore: release 5.6.9 - [`347eeeb`](https://github.com/Automattic/mongoose/commit/347eeeb46c9b305e7e4a3a76c5d33cd60cde0163) chore: add papersowl as sponsor - [`379a807`](https://github.com/Automattic/mongoose/commit/379a807b98394406c29cc9191024e0f6c094d099) style: fix lint - [`4a84546`](https://github.com/Automattic/mongoose/commit/4a845467b8035fdb7b4123901a9a864680f7fbc0) fix(schema): fix test failures from previous fix of [#8034](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8034) - [`6149ba3`](https://github.com/Automattic/mongoose/commit/6149ba3f9728ac0be9216e80246cac1b15754c99) docs(index): add dcsl as sponsor - [`f47e936`](https://github.com/Automattic/mongoose/commit/f47e936aa9ff9846d1370e7a70a52a9cb8368afb) fix(schema): allow declaring ObjectId array with `{ type: 'ObjectID' }`, last... - [`bc71f25`](https://github.com/Automattic/mongoose/commit/bc71f252368ee168456f7656a8c2a0264b58308d) test(schema): repro [#8034](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8034) - [`ad41e38`](https://github.com/Automattic/mongoose/commit/ad41e38951198c7b76a2f8d55fe7c8f4a71e3cf0) Merge branch 'master' of github.com:Automattic/mongoose - [`9023f30`](https://github.com/Automattic/mongoose/commit/9023f30a7be5db085aaa9a0ecd85149fc9f5cdfc) docs(guide): add missing further reading link and link to other tutorial - [`419cfef`](https://github.com/Automattic/mongoose/commit/419cfefc27a2f0b67d64187dcb6f8d52e2d97f74) Merge pull request [#8048](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8048) from Fonger/fix/version-error-memory-leak - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.4.18...5.6.9)


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 will not automatically merge this PR because it includes a minor update to a production dependency.


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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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.
codecov[bot] commented 5 years ago

Codecov Report

Merging #283 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #283   +/-   ##
=======================================
  Coverage   23.55%   23.55%           
=======================================
  Files          99       99           
  Lines        2165     2165           
=======================================
  Hits          510      510           
  Misses       1655     1655

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b585762...287cb05. Read the comment docs.

dependabot-preview[bot] commented 5 years ago

Superseded by #288.