Closed greenkeeper[bot] closed 5 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
Update to this version instead π
The new version differs by 7 commits.
138f3f1
5.1.1
81b398e
Merge pull request #559 from ctavan/533-matcheddata-oneofs
1412fa6
filter: fix matchedData interop with oneOf
1675fde
check: improve test descriptions and add comments around
c7d835f
Merge pull request #557 from sant123/typescript-isDate
84a106c
docs: add note about mutability of validation chains
b90f426
Deleted 'isDate' from d.ts files.
See the full diff
Update to this version instead π
The new version differs by 6 commits.
3ecc008
5.1.2
1a122c4
Merge pull request #561 from ctavan/431-toDate-sanitizer
d18c898
utils: convert date to ISO string before validating it
ee6bb05
Merge pull request #560 from ctavan/554-double-sanitization
475435e
filter: don't double sanitize data
4bd7129
utils: pass option to selectFields to disable sanitization
See the full diff
Update to this version instead π
The new version differs by 11 commits.
6658b3c
5.2.0
f1e9ac4
npm: update validator to v10.x
96a393f
ci: run with Node 9 and 10
ae4b5aa
typescript: set libs included to only es6
d610f85
npm: update deps to get rid of vulnerabilities
af53398
check: persist values sanitized via oneOf()
fe1f179
Change project path to express-validator/express-validator
2d283d8
Merge pull request #563 from ctavan/531-wildcards-undefined
76c3cc8
Merge pull request #564 from WeiAnAn/master
482f39e
fix "exists" can not customize message when using schema validation
ba8b045
utils: don't filter values when selecting with wildcards
See the full diff
Update to this version instead π
checkNull
and checkFalsy
options to exists
validatormatchedData()
The new version differs by 16 commits.
298177a
5.3.0
422699c
Upgrade validator 10.4 (#615)
dd0fadc
docs: correct function arg name in customSanitizer example (#603)
4ac9ef4
docs: introduce small shameless plug π
878db44
utils: persist empty paths as the req location itself
a30490b
npm: upgrade docusaurus
eaae68a
Remove console.log that was left over
a5875b3
check: don't fail when validator returns nothing
f1f57d5
utils: persist values right after selection
1f63999
filter: matchedData takes includeOptionals, not filterOptionals
8570505
docs: remove weird characters from api-validation-chain.md (#583)
2cb4bcd
docs: remove stuff unreleased on v5.2.0 docs
4f297fa
Docs overhaul (#579)
6df5e8a
Allow including optionals in return of matchedData (#577)
ff0cf46
check: add checkNull and checkFalsy options to exists validator (#570)
There are 16 commits in total.
See the full diff
dependency
express-validator was updated from 4.3.0
to 5.3.1
.Update to this version instead π
;
that would cause TypeScript to throw syntax errorsThe new version differs by 8 commits.
58013ad
5.3.1
42689b5
check: fix TS syntax error (#673)
61a36f5
ci: test Node.js 6, 8, 10 and 11 (#656)
86887c4
docs: update link to dynamic error messages
a955484
ci: don't build docs on Node.js v6
b4f0c25
npm: update docusaurus to ^1.5.1
17e49a1
npm: update some deps
3d81ea8
docs: update "Do not use a common word" example (#633)
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 65 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 65 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: