corgicode / api

Backend for the codecorgi platform
http://codecorgi.co
Other
3 stars 0 forks source link

Bump mongoose from 4.13.7 to 5.1.0 #118

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

Bumps mongoose from 4.13.7 to 5.1.0.

Changelog *Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.1.0 / 2018-05-10 > ================== > * feat(ObjectId): add `_id` getter so you can get a usable id whether or not the path is populated [#6415](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6415) [#6115](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6115) > * feat(model): add Model.startSession() [#6362](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6362) > * feat(document): add doc.$session() and set session on doc after query [#6362](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6362) > * feat: add Map type that supports arbitrary keys [#6287](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6287) [#681](https://github-redirect.dependabot.com/Automattic/mongoose/issues/681) > * feat: add `cloneSchemas` option to mongoose global to opt in to always cloning schemas before use [#6274](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6274) > * feat(model): add `findOneAndDelete()` and `findByIdAndDelete()` [#6164](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6164) > * feat(document): support `$ignore()` on single nested and array subdocs [#6152](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6152) > * feat(document): add warning about calling `save()` on subdocs [#6152](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6152) > * fix(model): make `save()` use `updateOne()` instead of `update()` [#6031](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6031) > * feat(error): add version number to VersionError [#5966](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5966) > * fix(query): allow `[]` as a value for `$in` when casting [#5913](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5913) > * fix(document): avoid running validators on single nested paths if only a child path is modified [#5885](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5885) > * feat(schema): print warning if method conflicts with mongoose internals [#5860](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5860) > > 5.0.18 / 2018-05-09 > =================== > * fix(update): stop clobbering $in when casting update [#6441](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6441) [#6339](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6339) [lineus](https://github.com/lineus) > * fix: upgrade mongodb driver -> 3.0.8 to fix session issue [#6437](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6437) [#6357](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6357) [simllll](https://github.com/simllll) > * fix: upgrade bson -> 1.0.5 re: https://snyk.io/vuln/npm:bson:20180225 [#6423](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6423) [ChristianMurphy](https://github.com/ChristianMurphy) > * fix: look for `valueOf()` when casting to Decimal128 [#6419](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6419) [#6418](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6418) [lineus](https://github.com/lineus) > * fix: populate array of objects with space separated paths [#6414](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6414) [lineus](https://github.com/lineus) > * test: add coverage for `mongoose.pluralize()` [#6412](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6412) [FastDeath](https://github.com/FastDeath) > * fix(document): avoid running default functions on init() if path has value [#6410](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6410) > * fix(document): allow saving document with `null` id [#6406](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6406) > * fix: prevent casting of populated docs in document.init [#6390](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6390) [lineus](https://github.com/lineus) > * fix: remove `toHexString()` helper that was added in 5.0.15 [#6359](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6359) > > 5.0.17 / 2018-04-30 > =================== > * docs(migration): certain chars in passwords may cause connection failures [#6401](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6401) [markstos](https://github.com/markstos) > * fix(document): don't throw when `push()` on a nested doc array [#6398](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6398) > * fix(model): apply hooks to custom methods if specified [#6385](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6385) > * fix(schema): support opting out of one timestamp field but not the other for `insertMany()` [#6381](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6381) > * fix(documentarray): handle `required: true` within documentarray definition [#6364](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6364) > * fix(document): ensure `isNew` is set before default functions run on init [#3793](https://github-redirect.dependabot.com/Automattic/mongoose/issues/3793) > > 5.0.16 / 2018-04-23 > =================== > * docs(api): sort api methods based on their string property [#6374](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6374) [lineus](https://github.com/lineus) > * docs(connection): fix typo in `createCollection()` [#6370](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6370) [mattc41190](https://github.com/mattc41190) > * docs(document): remove vestigial reference to `numAffected` [#6367](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6367) [ekulabuhov](https://github.com/ekulabuhov) > * docs(schema): fix typo [#6366](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6366) [dhritzkiv](https://github.com/dhritzkiv) > * docs(schematypes): add missing `minlength` and `maxlength` docs [#6365](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6365) [treble-snake](https://github.com/treble-snake) > * docs(queries): fix formatting [#6360](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6360) [treble-snake](https://github.com/treble-snake) > * docs(api): add cursors to API docs [#6353](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6353) [#6344](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6344) [lineus](https://github.com/lineus) > * docs(aggregate): remove reference to non-existent `.select()` method [#6346](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6346) > * fix(update): handle `required` array with update validators and $pull [#6341](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6341) > * fix(update): avoid setting __v in findOneAndUpdate if it is `$set` [#5973](https://github-redirect.dependabot.com/Automattic/mongoose/issues/5973) > ... (truncated)
Commits - [`9b1fed5`](https://github.com/Automattic/mongoose/commit/9b1fed5a7b76deae4afc53257432f9e1ba87c445) chore: release 5.1.0 - [`2623702`](https://github.com/Automattic/mongoose/commit/2623702f865888be65c50dc6ce8a7c906220ece5) Merge pull request [#6442](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6442) from Automattic/5.1 - [`446bed5`](https://github.com/Automattic/mongoose/commit/446bed58f225845106e4023613c63f807b4e771a) test: fix tests on node 10 - [`a7a0b5e`](https://github.com/Automattic/mongoose/commit/a7a0b5ef3ad862639429b8862777c6859ab50fe9) chore: add node 10.x to build matrix - [`920b134`](https://github.com/Automattic/mongoose/commit/920b134d290e05a7c97b82d2d101e51d67869ab8) docs(schematypes): correct comment - [`238e30b`](https://github.com/Automattic/mongoose/commit/238e30b305ab20567e0a57a62c9c7ede69ca7f16) Merge branch 'master' into 5.1 - [`abc7ff7`](https://github.com/Automattic/mongoose/commit/abc7ff7d098c61ba574f3ca5705653d40e791e47) chore: now working on 5.0.19 - [`37146c2`](https://github.com/Automattic/mongoose/commit/37146c25689ae4e400f2c0ae29c4a4373671b052) chore: release 5.0.18 - [`da198b0`](https://github.com/Automattic/mongoose/commit/da198b07b491bac2a4519031d5a634a27545d9f2) Merge pull request [#6441](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6441) from lineus/fix-6439 - [`13f6ed5`](https://github.com/Automattic/mongoose/commit/13f6ed5375e81888907dd300103f2829766647e5) Merge pull request [#6423](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6423) from ChristianMurphy/chore/update-bson-and-nsp - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/4.13.7...5.1.0)


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 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 (this|these) label[s]` will set the current labels as the default for future PRs for this repo and language - `@dependabot use (this|these) reviewer[s]` will set the current reviewers as the default to be assigned for future PRs for this repo and language - `@dependabot use (this|these) assignees[s]` will set the current assignees as the default for future PRs for this repo and language 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) - 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 6 years ago

Superseded by #121.