RevolutionUC / revolutionuc-website

(legacy) Development repository for RevolutionUC website
MIT License
3 stars 4 forks source link

Update express-validator to the latest version 🚀 #143

Open greenkeeper[bot] opened 6 years ago

greenkeeper[bot] commented 6 years ago

Version 5.0.0 of express-validator was just published.

Dependency express-validator
Current Version 3.2.1
Type dependency

The version 5.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of express-validator.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Commits

The new version differs by 214 commits.

  • ed68037 5.0.0
  • 19ceffa npm: update validator to v9.4.0
  • 6d969db Merge pull request #506 from ctavan/matched-data-oneof
  • 5d366d7 filter: only include oneOf valid data by default
  • 401ec0f filter: add failing test for matchedData use with oneOf
  • 18d8b89 check: run standard validators with array's first item
  • 3cc9dbb check: persist sanitized values back to request
  • 11ec747 Merge pull request #516 from ctavan/custom-sanitizer
  • 9b8d65f docs: fix link for .customSanitizer() in validation chain
  • 7d3ef72 docs: add .customSanitizer() to docs
  • 6f5a1f3 check: implement .customSanitizer()
  • 2c5003e filter: implement .customSanitizer()
  • 186a7d9 utils: support custom sanitizers in selectFields
  • f0ae8b4 npm: update validator to v9.3.0
  • 15142c6 Merge pull request #511 from ctavan/check-schema

There are 214 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 6 years ago

Version 5.0.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

  • 1399d64 5.0.1
  • 0dab7b9 check: add exists to schema typings
  • a2abc4f docs: say no to new features to legacy in upgrade notice
  • df3f006 utils: add selectFields test for #520

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

  • 3d610f7 5.0.2
  • 9e20780 legacy: add base sanitizers to the TS interface

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.3 just got published.

Update to this version instead 🚀

Release Notes v5.0.3
  • Don't set undefined values into request when validated key does not exist
Commits

The new version differs by 2 commits.

  • 5d771e4 5.0.3
  • 58bd070 utils: don't persist undefined values when key doesn't exist

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.1.0 just got published.

Update to this version instead 🚀

Release Notes v5.1.0

New features

  • #520 - check: whole body validation, like body().isUppercase()
  • #524 - check: add new standard validations like .isArray() and .isString()
  • check: implement validator negation when using schemas

Bug fixes 🐛

  • #542 - check: support sanitizers in checkSchema() TypeScript
  • #548 - check: report errors using original, unsanitized value
  • #548 - check: don't override validator messages from non-validators in schemas
Commits

The new version differs by 15 commits.

  • e70759e 5.1.0
  • 1aa4084 utils: use syntax supported by Node 6
  • 4227809 utils: make selectFields handle no paths
  • aaf03f2 check: add standard validators isArray and isString
  • d554935 check: implement negation of validator in schemas
  • f62807d check: report errors using original, unsanitized value
  • daa83c3 utils: keeps pre-sanitization value around when selecting field
  • 8b99852 check: don't override with messages from non-validators in schemas
  • 10ec9c4 utils: extract reusable sanitizer/validator method checks
  • 7680914 legacy: move around utils that aren't used by other APIs
  • 17e30e7 Merge pull request #546 from sant123/master
  • a595b4f + Added docs to README about custom validators and sanitizers
  • 62fdad2 Added SanitizersSchema
  • 77dd698 Merge pull request #539 from muratsu/patch-1
  • 8aa26a1 docs: method name typo at README.md

See the full diff