luoyjx / gaoqi-blog

A club based on Node.js and Mongodb with Promise(bluebird)
MIT License
56 stars 21 forks source link

An in-range update of mongoose is breaking the build 🚨 #133

Open greenkeeper[bot] opened 4 years ago

greenkeeper[bot] commented 4 years ago

The dependency mongoose was updated from 5.8.11 to 5.8.12.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details - βœ… **coverage/coveralls:** First build on greenkeeper/mongoose-5.8.12 at 45.487% ([Details](https://coveralls.io/builds/28698751)). - ❌ **Travis CI - Branch:** The build **failed**.

Commits

The new version differs by 16 commits.

  • ca52ead chore: release 5.8.12
  • 989bff5 fix(populate): handle populating when some embedded discriminator schemas have refPath but none of the subdocs have refPath
  • ae2f58d test(populate): repro #8553
  • e93d459 style: fix lint
  • 2c6546d fix(query): correctly cast dbref $id with $elemMatch
  • 2cad4aa Merge pull request #8573 from hugosenari/decouple
  • a746435 refactor(applyHooks): fix poping last arg from args remove from args
  • 3f0473a refactor(eachAsync): removing trailing space
  • 4a627a8 refactor(utils): fix eslint coma
  • a30c8fa docs(populate): clean up typos re: #8572
  • b838d1b refactor(utils): moving lib/utils.promiseOrCallback to lib/helpers/promiseOrCallback
  • 48583fc Merge pull request #8558 from AbdelrahmanHafez/patch-3
  • 00bdfbb Add useUnifiedTopolgy to homepage example
  • 5242e41 docs(queries): remove dead link
  • 9e0cfde test: reuse collections where possible in model.querying.test.js re: #8481

There are 16 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 4 years ago

After pinning to 5.8.11 your tests are passing again. Downgrade this dependency πŸ“Œ.

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 5 commits.

  • 849afd2 chore: release 5.8.13
  • 55a3464 fix(populate): use safe get to avoid crash if schematype doesn't have options
  • b90dbe9 Merge pull request #8584 from hugosenari/decouple-clone
  • 18ea0a8 style(tests) remove comment
  • ff41b74 refactor(utils): moving clone to helpers/clone

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 54 commits.

  • 34eef34 chore: release 5.9.0
  • 868ad17 Merge pull request #8592 from Automattic/5.9
  • 0bf6afc chore: upgrade mongodb driver -> 3.5.3
  • de4e655 Merge branch '5.9' of github.com:Automattic/mongoose into 5.9
  • 79651b7 Merge branch 'master' into 5.9
  • 849afd2 chore: release 5.8.13
  • 55a3464 fix(populate): use safe get to avoid crash if schematype doesn't have options
  • b90dbe9 Merge pull request #8584 from hugosenari/decouple-clone
  • 18ea0a8 style(tests) remove comment
  • ff41b74 refactor(utils): moving clone to helpers/clone
  • f2e4cd3 test: fix tests re: #8403
  • 9a68a21 feat(schematype): enable setting transform option on individual schematypes
  • 7de41dc feat(timestamps): allow setting currentTime option for setting custom function to get the current time
  • 39a63a6 Merge branch 'master' into 5.9
  • fc2e631 Merge pull request #8567 from AbdelrahmanHafez/patch-4

There are 54 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 68 commits.

  • 427633d chore: release 5.9.1
  • 5061e94 test: fix tests re: #8571
  • 15b7f05 fix(model): set session when calling save() with no changes
  • 659f2a5 test(model): repro #8571
  • 56d24b5 Merge branch 'master' of github.com:Automattic/mongoose
  • 8bd4ea2 fix(cursor): respect sort order when using eachAsync() with parallel and a sync callback
  • 636be98 test(cursor): repro #8557
  • 8ea5e98 Merge pull request #8591 from sam-mfb/fix-8588
  • 9aa46a6 fix: use eslint to check for mocha only() until we can drop node 4 support
  • d57c84b fix(queryhelpers): remove Object.values() for Node.js 4.x-6.x support
  • a1b8308 style: fix lint
  • db49e96 fix(schema): return correct pathType when single nested path is embedded under a nested path with a numeric name
  • bb979b3 test(document): repro #8583
  • 34eef34 chore: release 5.9.0
  • 868ad17 Merge pull request #8592 from Automattic/5.9

There are 68 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 95 commits.

  • 8bc18b7 chore: release 5.9.2
  • e0606f3 docs(middleware): clarify that updateOne and deleteOne hooks are query middleware by default, not document middleware
  • bb25b06 fix(document): allow calling validate() in post validate hook without causing parallel validation error
  • b895e01 test(document): repro #8597
  • a8f2020 fix(model): add discriminator key to bulkWrite filters
  • 5d3507d test(model): repro #8590
  • b20a45d fix(virtualtype): correctly copy options when cloning
  • 2afec3a fix(array): fix tests re: #8544
  • cf6b45e fix(document): avoid throwing error if setting path to Mongoose document with nullish _doc
  • f4dc5a9 fix(document): dont leave nested key as undefined when setting nested key to empty object with minimize
  • 1629bae test(document): repro #8565
  • c312d96 docs(aggregate): clarify that Aggregate#unwind() can take object parameters as well as strings
  • 384681b docs(plugins): add mongoose-cast-aggregation to list of plugins re: #8464
  • 3249f23 Merge branch 'master' of github.com:Automattic/mongoose
  • 2b9d3b1 fix(document): when setting nested array path to non-nested array, wrap values top-down rather than bottom up when possible

There are 95 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 113 commits.

  • 77de88b chore: release 5.9.3
  • 4ca8b65 test: remove unnecessarily created collections from schema.test.js and types.array.test.js
  • 3de8efa test: clean up test failures re: #8481 and refactor out clear collection logic
  • dc217d8 test(update): reuse collection names and connections for update tests
  • 3eee840 fix(document): make calling validate() with single nested subpath only validate that single nested subpath
  • b1a094f fix(document): run validation on single nested paths when a single nested subpath is in pathsToValidate
  • dd56746 test(document): repro #8626 part 1
  • 5f79b1a fix: upgrade mongodb driver -> 3.5.4
  • 9f71820 docs(document+model+query): add options.timestamps parameter docs to findOneAndUpdate() and findByIdAndUpdate()
  • 57ca9b7 docs(connection+index): add warnings to explain that bufferMaxEntries does nothing with useUnifiedTopology
  • 0dc3471 docs: fix out of date links to tumblr
  • 8f6b1d7 fix(document): set subpath defaults when overwriting single nested subdoc
  • ebb0ca2 test(document): repro #8603
  • d0ae2cc fix(browser): make mongoose.model() return a class in the browser to allow hydrating populated data in the browser
  • 352502c test: clean up test failure from #8559

There are 113 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 139 commits.

  • 321995d chore: release 5.9.4
  • c9f0ec9 test: fix tests
  • 122985d test: fix tests
  • f197ac3 test: fix tests
  • 5c40f22 test(discriminator): clean up unnecessary collections in model.discriminator.test.js re: #8481
  • 3f0b3a5 Merge branch 'master' of github.com:Automattic/mongoose
  • dfe41e2 fix(document): allow new Model(doc) to set immutable properties when doc is a mongoose document
  • 5b19b31 Merge pull request #8651 from dskrvk/master
  • c213424 chore: undo unnecessary changes
  • 7b0bd36 docs(schema): add a section about the _id path in schemas
  • f00ae51 fix(array): make sure you can call unshift() after slice()
  • 76de112 Update some vulnerable dev dependencies
  • e746c39 Minor JSDoc wording fix for Document
  • b5396f6 Correctly set message for ValidationError
  • 7178eba fix(model): support passing background option to syncIndexes()

There are 139 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 185 commits.

  • 6065eff chore: release 5.9.5
  • 0f1a80a test: remove more unnecessary collections re: #8481
  • 3a7cbb1 chore: get rid of acorn devDependency re: security warning
  • 0e55fe0 style: fix lint
  • 24b6e1e test: clean up more unnecessary collections re: #8481
  • d44d123 chore: quick fix re: #8659
  • 69b4653 fix(updateValidators): don't run Mixed update validator on dotted path underneath mixed type
  • e58f695 test(updateValidators): repro #8659
  • 2c8dd51 fix(connection): emit "disconnected" after losing connectivity to every member of a replica set with useUnifiedTopology: true
  • f70f6cf test: fix tests re: #8481
  • 3885d8b style: fix lint
  • 9670bf4 test: fix some more tests re: #8481
  • 778f574 test: drop indexes after tests to fix some issues with #8481
  • ae823ab style: fix lint
  • bca57f7 fix(map): avoid marking map as modified if setting key to the same value

There are 185 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 206 commits.

  • 1883bc0 chore: release 5.9.6
  • f650191 fix(document): allow saving document with nested document array after setting nestedArr.0
  • a995b5d test(document): repro #8689
  • facbe31 docs: link to mongoose promise tutorial
  • c41ae4d test: fix more tests re: #8481
  • 105c8ae test: fix tests re: #8481
  • b84a338 test: remove remaining unnecessary collections
  • 84b5b45 Merge pull request #8704 from MateRyze/patch-1
  • cfd5294 fix typos
  • a48fd34 Merge pull request #8699 from AbdelrahmanHafez/refactor-test
  • c4c6bf8 docs(connections): expand section about multiple connections to describe patterns for exporting schemas
  • 7053743 Use golang style for catching error in test refactor
  • 163eb07 test: fix tests
  • 288892f refactor: remove more unnecessary collections from model tests re: #8481
  • 0c52681 docs(populate): add note about execPopulate() to "populate an existing document" section

There are 206 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 225 commits.

  • 4015625 chore: release 5.9.7
  • 4cbabb6 fix(map): avoid infinite loop when setting a map of documents to a document copied using spread operator
  • 074c6f5 fix(query): clean stack trace for filter cast errors so they include the calling file
  • 0c09395 Merge branch 'fix-8691'
  • 088633f style: fix lint
  • 486c020 test: fix tests re: #8725
  • c41c638 test: fix tests re: #8691
  • 055b75d refactor(query): always call exec() when executing a query instead of calling query thunks directly
  • ee135ef fix(query): ensure stack trace shows exec() when casting conditions with findOne()
  • bce760d Merge pull request #8732 from AbdelrahmanHafez/patch-1
  • ef14251 Merge pull request #8725 from p3x-robot/master
  • 91560dc Remove mongoose.set('debug', true); from test
  • 52eb75d style: fix lint
  • 713b601 fix(model): make bulkWrite updates error if strict and upsert are set and filter contains a non-schema path
  • 757af84 test: repro #8698

There are 225 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 281 commits.

  • b302138 chore: release 5.9.9
  • 0a83a9f Merge pull request #8788 from dandv/patch-4
  • 89a70e8 chore: update opencollective sponsors
  • 9bb0274 docs(lib/model): fix punctuation
  • 2a73b75 Merge pull request #8782 from AbdelrahmanHafez/bulkWrite-strict
  • b743498 test(transactions): use endSession() in all transactions examples
  • 95351e7 docs(queries): expand streaming section to include async iterators, cursor timeouts, and sesssion idle timeouts
  • b107d90 fix(populate): support clone option with lean
  • c95a2f1 fix(document): skip discriminator key when overwriting a document
  • 7dc8a0a style: fix lint
  • 5a1cec5 test(document): repro #8765
  • c1ff235 Merge branch 'master' of github.com:Automattic/mongoose
  • 78f4298 fix(document): handle validating document array whose docs contain maps and nested paths
  • 9ae6db0 docs: improve options.strict description
  • 5f9f10a docs: add options.strict to Model#bulkWrite

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 318 commits.

  • e328b98 chore: release 5.9.10
  • 3622233 Merge pull request #8828 from AbdelrahmanHafez/lint-rules
  • 3a7be83 Merge pull request #8825 from AbdelrahmanHafez/docs/faq-anchor
  • 4442b1e Use "error" instead of 2 in eslint rules
  • a1260a0 make eslint rules more strict, no-extra-semi
  • 4100452 Add spaced comment rule
  • 0da8eff add eslint rules, space-in-parens "never"
  • fce435b (docs) make questions anchorable on faq
  • 222d89e Merge pull request #8820 from dandv/patch-7
  • cfec602 Merge pull request #8818 from AbdelrahmanHafez/gh-8806
  • 32c5ed0 fix(schematype): throw error if default is set to a schema instance
  • 8fea1d9 fix(document): avoid calling $set() on object keys if object path isn't in schema
  • f1c124c docs(api): detail what the insertMany Promise resolves to
  • fdaf539 revert using passed value on exclusion to projection
  • ec0fb12 fix test

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 376 commits.

  • a523950 chore: release 5.9.11
  • 10d6fa8 Merge pull request #8893 from AbdelrahmanHafez/patch-4
  • 447ff9e upgrade mongodb to v3.5.7
  • e8dc41c Merge pull request #8876 from AbdelrahmanHafez/eslint-arrow
  • 44dd876 automatically add arrow spaces by eslint
  • 798a774 Merge pull request #8861 from AbdelrahmanHafez/patch-1
  • 64d472b Merge pull request #8853 from tusharf5/master
  • 224dcd0 Merge pull request #8848 from AbdelrahmanHafez/gh-8821
  • fa0a67c Remove unnecessary { strict: false } from test
  • 8b055cf fix(populate): handle clone with lean when setting a path to null
  • 63678a8 chore: update opencollective sponsors
  • f5b9b26 docs(faq): clarify setting paths under document arrays with markModified()
  • 49e78ac docs: use ES6 classes for custom schema type example
  • ce0f6f0 Merge pull request #8850 from AbdelrahmanHafez/select-undefined-null
  • e08cf03 Merge pull request #8847 from AbdelrahmanHafez/patch-2

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 430 commits.

  • ba0f199 chore: release 5.9.12
  • 54dd5cb fix(connection): throw more helpful error in case of IP whitelisting issue with Atlas
  • 2bea453 chore: update opencollective sponsors
  • 17b7988 style: fix lint
  • ff60457 fix(document): set defaults if setting nested path to empty object with minimize: false
  • 3ce7c3a test(document): repro #8829
  • ace85cf test: fix more tests re: #8888
  • 5b35f20 test: fix tests re: #8888
  • 5cca9d6 fix(document): report cast error on array elements with array index instead of just being a cast error for the whole array
  • bea601c test(document): repro #8888
  • 7e48689 Merge pull request #8914 from AbdelrahmanHafez/gh-8899
  • 6aec60e Merge pull request #8911 from AbdelrahmanHafez/gh-8901
  • c66c3d4 Merge pull request #8885 from AbdelrahmanHafez/gh-8267
  • b0a3fc4 Merge pull request #8919 from AbdelrahmanHafez/gh-8917
  • fd9d211 Merge pull request #8906 from clhuang/distinctOptions

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 453 commits.

  • a8534e0 chore: release 5.9.13
  • 7911d92 fix(schema): mark correct path as modified when setting a path underneath a nested array of documents
  • 397d812 test(document): repro #8926
  • 68ea2d6 Merge pull request #8952 from philippejer/gh-8951
  • 14a2555 fix(update): moveImmutableProperties() should be called sooner.
  • d98efa3 test(update): repro #8951
  • 4f7dc4f Merge branch 'master' of github.com:Automattic/mongoose
  • cb6294e docs(browser): add back sample webpack config
  • 5e68476 Merge pull request #8929 from AbdelrahmanHafez/gh-8923
  • 718f844 chore: update opencollective sponsors
  • 9037184 refactor(queryhelpers): make exclude depend on falsy values
  • 1b85689 Merge pull request #8937 from AbdelrahmanHafez/patch-3
  • 876577d style: break up line
  • 947b2dc Merge pull request #8930 from AbdelrahmanHafez/gh-8924
  • fe67322 docs(faq): fix broken reference in limit vs perDocumentLimit

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 486 commits.

  • dbdc417 chore: release 5.9.14
  • 1bdec38 Merge pull request #8986 from osher/patch-1
  • b293a36 Merge pull request #8983 from AbdelrahmanHafez/test/casting-discriminator-key
  • 28c845a Merge pull request #8987 from Andrew5569/patch-1
  • d05dc13 chore: fix typo
  • 810efe5 Merge pull request #8978 from AbdelrahmanHafez/gh-8974
  • 52d2986 Merge pull request #8970 from AbdelrahmanHafez/patch-5
  • 4e9c5fe Merge pull request #8976 from AbdelrahmanHafez/gh-8953
  • 78031b7 Merge pull request #8966 from AbdelrahmanHafez/refactor/sort-schema-reserved
  • a93b9a5 Merge pull request #8973 from AbdelrahmanHafez/gh-8962
  • 0dd361a doc: add immutable type to Schema Types
  • c02ce2c fix(errors): user defines its own r/o err.toJSON
  • 537154e test: repro #8982
  • 1383a48 chore: update opencollective sponsors
  • 0a14ab8 fix(populate): populate virtuals defined on child discriminators

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 525 commits.

  • 8ac42aa chore: release 5.9.15
  • 14bba6f Merge pull request #9013 from philippejer/gh-9012
  • ed97aac Merge pull request #9014 from AbdelrahmanHafez/strictQuery-anchor
  • b5c5211 fix(model): report insertedDocs on insertMany() errors
  • faaff44 fix(model): ensure consistent writeErrors property on insertMany error with ordered: false, even if only one op failed
  • e736a73 test(model): repro #8938
  • 59f0024 fix(schema): treat creating dotted path with no parent as creating a nested path
  • c7dec63 test(schema): repro #9020
  • 9c172e9 style: fix lint
  • 6197c74 fix(timestamps): set createdAt and updatedAt on doubly nested subdocs when upserting
  • 3d19ec1 test(timestamps): repro #8894
  • 3c46473 docs(guide): add anchor tag to strict option
  • 2fd29b0 docs: add anchor tag to strictQuery
  • 1b190b6 fix(documentarray): make sure you can call unshift() after map()
  • 71cc8f2 chore: update opencollective sponsors

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 554 commits.

  • 54b3cae chore: release 5.9.16
  • e08670b Merge pull request #9021 from zbjornson/zb/error-class
  • 7aa470e Merge pull request #9052 from AbdelrahmanHafez/patch-6
  • 4a7c715 Merge pull request #9053 from AbdelrahmanHafez/gh-9006
  • 9a21a5b enhancement(connection): make server selection error less deterministic
  • bd2aa99 lint(compile): fix no-setter-return
  • adbf710 lint(document): remove impossible to execute branch
  • c382a57 upgrade eslint to 7.1.0
  • f1e4201 fix(query): throw CastError if filter $and, $or, $nor contain non-object values
  • 8fec66c fix(document): fix one more dangling $__.scope reference re: #8955
  • cf2ba9f fix(model): make syncIndexes() not drop index if all user-specified collation options are the same
  • 64ea7cf fix(document): make internal $__.scope property a symbol instead to work around a bug with fast-safe-stringify
  • 9b082a4 fix(discriminator): remove discriminator schema nested paths pulled from base schema underneath a mixed path in discriminator schema
  • 5cf9d2f test: repro #9042
  • 97569fa Merge pull request #9026 from dandv/patch-10

There are 250 commits in total.

See the full diff

greenkeeper[bot] commented 4 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Commits

The new version differs by 577 commits.

  • e45786f chore: release 5.9.17
  • cd9f9a1 Merge pull request #9078 from AbdelrahmanHafez/gh-9070
  • b4e9fd3 Merge pull request #9075 from tigransimonyan/patch-1
  • 4704f35 Merge pull request #9069 from AbdelrahmanHafez/patch-7
  • 6cb1c92 style: fix lint
  • ec8e87e fix(populate): make populating a nested path a no-op
  • c52ce6c test(populate): repro #9073
  • 421776c fix(document): avoid tracking changes like splice() on slice()-ed arrays
  • 863490b test(document): repro #9011
  • e70b054 fix(document): clear nested cast errors when overwriting an array path
  • f9211b3 test(document): repro #9080
  • a84d246 Update faq.pug
  • ab8def1 docs(document): add validateModifiedOnly to Document#save(), Document#validate() and Document#validateSync()
  • b7c6572 Update faq.pug
  • e87d78e style: fix lint errors

There are 250 commits in total.

See the full diff