Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Update express-validator to the latest version 🚀 #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Feb 10, 2018

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. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Feb 17, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 17, 2018

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 added a commit that referenced this pull request Feb 26, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 26, 2018

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 added a commit that referenced this pull request Mar 3, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 3, 2018

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 added a commit that referenced this pull request Mar 30, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 30, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants