manjeshpv / node-oauth2-server-implementation

Using oauth2-server: 3.0.0-b2 & Supports MongoDB, MySQL, PostgreSQL, MSSQL & SQLite
216 stars 103 forks source link

Bump mongoose from 4.13.19 to 5.8.4 #38

Open dependabot[bot] opened 4 years ago

dependabot[bot] commented 4 years ago

Bumps mongoose from 4.13.19 to 5.8.4.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.8.4 / 2020-01-02 > ================== > * fix(populate): ensure populate virtual gets set to empty array if `localField` is undefined in the database [#8455](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8455) > * fix(connection): wrap `mongoose.connect()` server selection timeouts in MongooseTimeoutError for more readable stack traces [#8451](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8451) > * fix(populate): allow deselecting `foreignField` from projection by prefixing with `-` [#8460](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8460) > * fix(populate): support embedded discriminators with `refPath` when not all discriminator schemas have `refPath` [#8452](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8452) > * fix(array): allow defining `enum` on array if an array of numbers [#8449](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8449) > > 5.8.3 / 2019-12-23 > ================== > * fix: upgrade mongodb -> 3.4.1 [#8430](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8430) [jaschaio](https://github.com/jaschaio) > * fix(populate): don't add empty subdocument to array when populating path underneath a non-existent document array [#8432](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8432) > * fix(schema): handle `_id` option for document array schematypes [#8450](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8450) > * fix(update): call setters when updating mixed type [#8444](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8444) > * docs(connections): add note about MongoTimeoutError.reason [#8402](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8402) > > 5.8.2 / 2019-12-20 > ================== > * fix(schema): copy `.add()`-ed paths when calling `.add()` with schema argument [#8429](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8429) > * fix(cursor): pull schema-level readPreference when using `Query#cursor()` [#8421](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8421) > * fix(cursor): wait for all promises to resolve if `parallel` is greater than number of documents [#8422](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8422) > * fix(document): depopulate entire array when setting array path to a partially populated array [#8443](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8443) > * fix: handle setDefaultsOnInsert with deeply nested subdocs [#8392](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8392) > * fix(document): report `DocumentNotFoundError` if underlying document deleted but no changes made [#8428](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8428) [#8371](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8371) [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez) > * docs(populate): clarify limitations of `limit` option for populate and suggest workaround [#8409](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8409) > * docs(deprecations): explain which connection options are no longer relevant with useUnifiedTopology [#8411](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8411) > * chore: allow browser build to be published [#8435](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8435) [#8427](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8427) [captaincaius](https://github.com/captaincaius) > > 5.8.1 / 2019-12-12 > ================== > * fix(documentarray): dont attempt to cast when modifying array returned from map() [#8399](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8399) > * fix(document): update single nested subdoc parent when setting to existing single nested doc [#8400](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8400) > * fix(schema): add `$embeddedSchemaType` property to arrays for consistency with document arrays [#8389](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8389) > > 5.8.0 / 2019-12-09 > ================== > * feat: wrap server selection timeout errors in `MongooseTimeoutError` to retain original stack trace [#8259](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8259) > * feat(model): add `Model.validate()` function that validates a POJO against the model's schema [#7587](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7587) > * feat(schema): add `Schema#pick()` function to create a new schema with a picked subset of the original schema's paths [#8207](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8207) > * feat(schema): add ability to change CastError message using `cast` option to SchemaType [#8300](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8300) > * feat(schema): group indexes defined in schema path with the same name [#6499](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6499) > * fix(model): build all indexes even if one index fails [#8185](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8185) [unusualbob](https://github.com/unusualbob) > * feat(browser): pre-compile mongoose/browser [#8350](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8350) [captaincaius](https://github.com/captaincaius) > * fix(connection): throw error when setting unsupported option [#8335](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8335) [#6899](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6899) [AbdelrahmanHafez](https://github.com/AbdelrahmanHafez) > * feat(schema): support `enum` validator for number type [#8139](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8139) > * feat(update): allow using MongoDB 4.2 update aggregation pipelines, with no Mongoose casting [#8225](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8225) > * fix(update): make update validators run on all subpaths when setting a nested path, even omitted subpaths [#3587](https://github-redirect.dependabot.com/Automattic/mongoose/issues/3587) > * feat(schema): support setting `_id` as an option to single nested schema paths [#8137](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8137) > * feat(query): add Query#mongooseOptions() function [#8296](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8296) > * feat(array): make `MongooseArray#push()` support using `$position` [#4322](https://github-redirect.dependabot.com/Automattic/mongoose/issues/4322) > ... (truncated)
Commits - [`4433d6c`](https://github.com/Automattic/mongoose/commit/4433d6c0bb2dfd267b528bd8e84c4c49c48d3fb0) chore: release 5.8.4 - [`ae80b5b`](https://github.com/Automattic/mongoose/commit/ae80b5bff2cfa67d6ca2a0f99c62227a753522da) chore: update opencollective sponsors - [`f89a67b`](https://github.com/Automattic/mongoose/commit/f89a67b32337d16940544c95ad4b545e7e2187b2) docs(model): clean up some docs re: `aggregate()` - [`0729b23`](https://github.com/Automattic/mongoose/commit/0729b23f0f420fa94a464ecccd882e24debea21d) style: fix lint - [`9261d9d`](https://github.com/Automattic/mongoose/commit/9261d9d0a5667f36123c9e5ab5fb0479e6148944) fix(populate): allow deselecting `foreignField` from projection by prefixing ... - [`b6f6f37`](https://github.com/Automattic/mongoose/commit/b6f6f3740ce9b14a43eec24c32a6a8fc306c26fa) test(populate): repro [#8460](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8460) - [`98724be`](https://github.com/Automattic/mongoose/commit/98724becf41c580d77ed65d769952d04c6ff689b) test: fix tests re: [#8452](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8452) - [`9ce579e`](https://github.com/Automattic/mongoose/commit/9ce579eaec9ee0d372816de432d908cb5905de61) style: fix lint - [`3f776a4`](https://github.com/Automattic/mongoose/commit/3f776a44898b466ce79618dfc4695f7600627b28) fix(populate): support embedded discriminators with `refPath` when not all di... - [`f27fb82`](https://github.com/Automattic/mongoose/commit/f27fb82f88c986e2ce499a5ffefeb1a58f320d22) test(populate): repro [#8452](https://github-redirect.dependabot.com/Automattic/mongoose/issues/8452) - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/4.13.19...5.8.4)


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 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/manjeshpv/node-oauth2-server-implementation/network/alerts).