Open greenkeeper[bot] opened 6 years ago
Update to this version instead 🚀
undefined
values into request when validated key does not existUpdate to this version instead 🚀
body().isUppercase()
.isArray()
and .isString()
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
Version 5.0.0 of express-validator was just published.
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: