Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/express-validator/express-validator

An express.js middleware for validator.js.
https://github.com/express-validator/express-validator

5.0.0

ed680377579e8cff5df31d3d7af4d69aefa98030 authored almost 7 years ago by Gustavo Henke <[email protected]>
npm: update validator to v9.4.0

19ceffa2db204a565081f14b173352f6992227d0 authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #506 from ctavan/matched-data-oneof

Fix matchedData use with oneOf

6d969db2cd293a4c2b532fc2e3e0192efc142a0b authored almost 7 years ago by Gustavo Henke <[email protected]>
filter: only include oneOf valid data by default

Fixes #482

5d366d7a2c1cef647f8d283767ad64217ea538d8 authored almost 7 years ago by Gustavo Henke <[email protected]>
filter: add failing test for matchedData use with oneOf

401ec0f771907003b9cf45a3638b8762bc454bc1 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: run standard validators with array's first item

Fixes #463

18d8b89f4c9c65ea258ef90124ca088ed62ec2ba authored almost 7 years ago by Gustavo Henke <[email protected]>
check: persist sanitized values back to request

Fixes #461

3cc9dbbe9412ad780d52f761f8731e57cb4436dd authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #516 from ctavan/custom-sanitizer

11ec7477f90cede97d47dd458a9247ae6e1d58af authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: fix link for .customSanitizer() in validation chain

9b8d65fbe3f24050c665d2e4f90d4d3282e5e630 authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: add .customSanitizer() to docs

7d3ef7217e6b8c079f9a5df3b5fbc10d94625c48 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: implement .customSanitizer()

6f5a1f3e2406f90b19a0bd3475cd7a02224bd53e authored almost 7 years ago by Gustavo Henke <[email protected]>
filter: implement .customSanitizer()

2c5003efc5072c26fabe6c8bafb760f8dbd31d5b authored almost 7 years ago by Gustavo Henke <[email protected]>
utils: support custom sanitizers in selectFields

186a7d9cabb107f204d6ff398573133307e9359a authored almost 7 years ago by Gustavo Henke <[email protected]>
npm: update validator to v9.3.0

f0ae8b4f286a6459aade96afbe6e4ca367a648ad authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #511 from ctavan/check-schema

check: schema to chain mapper

15142c6682c06396f62c73db4b51a04ffa956902 authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: document schema validation

Closes #512

f4ebd85f057e91eb9129626cbcdfe2bc0c0905b0 authored almost 7 years ago by Gustavo Henke <[email protected]>
legacy: use checkSchema from check API

4254b787e94074cf8a3c101d59d0fb9ec10385a0 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: make schema use a list of default locations

ce0b506cc5be03d16cdf5132dc6ef26ab1bf5d11 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: allow creating schemas using a custom chain

1f4311c8fc0d18c80d22aa97ba9af93859fc8b05 authored almost 7 years ago by Gustavo Henke <[email protected]>
legacy: modularize chain creation logic

26ff2105449e8482a7e935a38b124ed94511f99c authored almost 7 years ago by Gustavo Henke <[email protected]>
check: type checkSchema function and friends

dfeea709157af8d64f8342a1a10c134cdc7efac7 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: remove in from schema root for now

1954d8154282d9a8dacf6ecfe6f8b2626a2e36f6 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: expose checkSchema

a5fd4edd60b9dd0319e2fe936a5d2e67834c39cf authored almost 7 years ago by Gustavo Henke <[email protected]>
check: implement schema to chain mapper

See #433

6de2887e00bb95664396b18e61f30993dab8c751 authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: fix matchedData accepted locations

Fixes #483

96637fa1631c9be5f10e6a6f6b89e8500c0aeadf authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: add formatWith example

Fixes #462

4ca1ac5558ae2601b8f7b3c04243649ddcaffbc4 authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: indent sections of the TOC

067db86203e85c897708cf5313cef926ef3ab51a authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: describe dynamic messages building

5e7913b368c762f46e070755d6a61a0cdb60dd72 authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: lower build*Function priority

47b620c099350017e4097da088200e5c6a6a15dd authored almost 7 years ago by Gustavo Henke <[email protected]>
npm: improve ignored files list

7e6f9dc91b6f550d74a0688c2bd043f5330af00b authored almost 7 years ago by Gustavo Henke <[email protected]>
move selectFields to utils

7712ecdb1307e01ce9258552ab659f399ff37caf authored almost 7 years ago by Gustavo Henke <[email protected]>
legacy: remove unused variable

7b4c1e4026b05e4be2700691ba8b11e08a5d4f1f authored almost 7 years ago by Gustavo Henke <[email protected]>
legacy: make sure wildcard reports multiple errors

a7156181a5262342b7abdd1ba7cb80da85680bc3 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: improve error message strategy

The current strategy was quite clunky and not
scaling well given we just added support for
dynam...

e3fcfeda882a8387ccdedf54887ecb10f6702130 authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: document buildCheckFunction and buildSanitizeFunction

Related to #480

ccdfb419d75ecc29d1b09bd5cead1a09c4d2c994 authored almost 7 years ago by Gustavo Henke <[email protected]>
docs: move wildcards section

606b0ab4c4f8b724b3a00faccb495921c8b01e17 authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #484 from VaibhavAjayGupta/master

docs : updated when and how to use wildcards(*).

87d9e2ad3c532bb29411976ea2350727775fcf25 authored almost 7 years ago by Gustavo Henke <[email protected]>
npm: remove everyone from contributors except repo maintainers

a47c8cc6e051bf2d20e97b165cc5bc918bc0b063 authored almost 7 years ago by Gustavo Henke <[email protected]>
npm: move @types/express to dev deps

6c7d0f296dbf3d34bbc888d4ce93087c53087372 authored almost 7 years ago by Gustavo Henke <[email protected]>
npm: upgrade dev deps

...and tests, because of chai!

8ff7cf8ef9dea3411ee4084405ff69dc2e914608 authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #501 from ctavan/validator-9

Upgrade to validator 9.2.0

d3de03665718d9bf2d9320f50f9127be7f8b02ba authored almost 7 years ago by Gustavo Henke <[email protected]>
legacy: improve typings tests and update to validator v9.2.0

4a4380b0b1dc6babcffda9e8484ec6c9ec3429de authored almost 7 years ago by Gustavo Henke <[email protected]>
check: update typings to validator v9.2.0

da1ecef2b62399d355ed0040ee5b2a6c673f3f40 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: update typings to validator v9.1.0

2030c8e1a454fcaea7ff2fceac6085f5a8bc544f authored almost 7 years ago by Gustavo Henke <[email protected]>
check: update typings to validator v9.0.0

979ef1bdab5522e217d2e3aa87826e97292b7181 authored almost 7 years ago by Gustavo Henke <[email protected]>
npm: upgrade validator to ~9.2.0

7c72cdc34eba57da81cb2a12c2526af017817fc8 authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #498 from ctavan/dynamic-message

Dynamic messages

6e11d72365f0eb0a50334e3cf160a2bb2a0c17a1 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: accept message builder in oneOf

3d685c55a823156e844077847ba602d1aeabc00f authored almost 7 years ago by Gustavo Henke <[email protected]>
Wildcards(*) usage updated

c5cf141963d67cd98750c214e5c70a47f9d2781e authored almost 7 years ago by VaibhavAjayGupta <[email protected]>
Wildcards(*) usage updated

ae325f9c672907ca3af4a38d1791af38ef4be3c1 authored almost 7 years ago by VaibhavAjayGupta <[email protected]>
check: add typings for withMessage as a function

2ca3ccd440034d729f0fcd18f5d94a356ecdb942 authored almost 7 years ago by Gustavo Henke <[email protected]>
check: build dynamic messages when it's a function

b8606384d6f8c3877d126027463e8e0987670091 authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge remote-tracking branch 'upstream/master'

67e2b94f372187c1dc73b7960ec807e115bbe504 authored almost 7 years ago by VaibhavAjayGupta <[email protected]>
check: consider validators that resolve promise as success

Fixes #444

a73a36983717c88bbe9807fdd90eebb519e3969f authored almost 7 years ago by Gustavo Henke <[email protected]>
Revamp TypeScript usage throughout the codebase

Closes #496

a3d967300ae1675eec216d836e3c3666c903fb5a authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #492 from cquotient/torra/wildcard-undefined

fix issue where undefined nested properties under a wildcard are not validated

58bee20dfd2a8faa8010e4698d75ee9da14ee6bb authored almost 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #491 from joaofnds/patch-1

Fix minor typo

d48facb88cffab6dc40c8a7d0125d50d0b83e91b authored almost 7 years ago by Gustavo Henke <[email protected]>
fix issue where undefined nested properties under a wildcard are not validated

02843d090ff83e7c980de6ebfa2cb1fc6f5f7032 authored almost 7 years ago by Mike Torra <[email protected]>
Fix minor typo

17f2b28b75f0b03b394b245f0f02cf1dfb3dad89 authored almost 7 years ago by João Fernandes <[email protected]>
docs : updated when and how to use wildcards(*). Also added the note that validation and sanitization are different.

98c97949822d6df6db9d43ba9de8225095a00923 authored about 7 years ago by VaibhavAjayGupta <[email protected]>
docs : wpdated when and how to use wildcards(*). Also added the note that validation and sanitization are different.

f369ff71ceb7eda8ec0720137c5675ec978145a3 authored about 7 years ago by VaibhavAjayGupta <[email protected]>
Merge pull request #474 from alrav/issue-427-validation-result-defaults

check: support default options for validationResult

85d1f8f34273c2169fb80ee10407485dceb2a1ad authored about 7 years ago by Gustavo Henke <[email protected]>
typescript: refactor validationResult to support withDefaults

8c6245e84b9a0f31a1e7df3381889ff8513fc2a5 authored about 7 years ago by alrav <[email protected]>
docs: update withDefaults to specify a function is returned

e94da5bb17591b0fbf75f7adb16b6aec21b94147 authored about 7 years ago by alrav <[email protected]>
check: support default options for validationResult

68c949fac1306aba4cdb3126519fea87a76f6fa5 authored about 7 years ago by alrav <[email protected]>
4.3.0

ead6b7507d01efba0433d04e4a7dd540b9787832 authored about 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #453 from villamide/matched-data-separated

Implemented separated matched data for different locations

b7dbb5ab9017b38111994b0d72586ea16a36993b authored about 7 years ago by Gustavo Henke <[email protected]>
typescript: add support for locations option in matchedData

bb5f928f4de145003c9527cf80681fa31474a367 authored about 7 years ago by Gustavo Henke <[email protected]>
filter: allow customization of req locations in matchedData

84b2afe7b07f30a8d6bd3bc36671e20ea9589349 authored about 7 years ago by villamide <[email protected]>
Remove trailing space

94e8c1f467b0c6da4b98a01bd1c7dcc7736d8813 authored about 7 years ago by Gustavo Henke <[email protected]>
check: push contexts properly for groups of validations in oneOf()

Related to https://github.com/ctavan/express-validator/pull/446#issuecomment-335931554

0a6ef610e961026611c241ff3b59f858b75ed6fb authored about 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #446 from ctavan/one-of-array

oneOf() with subgroups of validations

5f84536bc6cde34a085899c9d68e32ce05c69483 authored over 7 years ago by Gustavo Henke <[email protected]>
typescript: add support for oneOf using array of arrays and message arg

67a1a58e241010321b650a29b8922f686c2cb7af authored over 7 years ago by Gustavo Henke <[email protected]>
docs: add details and example of oneOf with array of arrays

86628332e96c9b75573971affec83e6186a480fb authored over 7 years ago by Gustavo Henke <[email protected]>
EditorConfig: set end_of_line to lf

Avoids problems with Windows users, like myself (usually) :)

bf5a33e6ba290fb157314c9943eb88a3d55fdc67 authored over 7 years ago by Gustavo Henke <[email protected]>
check: deal with array of arrays of validations in oneOf

Fixes #434

6817353ba9fee44721dd7171d8f0730eb4357cb7 authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #441 from ctavan/nullable

Optional - nullable option

f4d92dcd8023ec9b7f5e8da4a3c3eee4ea0ad027 authored over 7 years ago by Gustavo Henke <[email protected]>
Revert "typescript: move .custom() to shared typings"

This reverts commit c3d8f4e06cc8791ae37c4e5bb2999d9672b88862.

a4321e0587c54b6ff3d4f7fe5e6449160813f6f5 authored over 7 years ago by Gustavo Henke <[email protected]>
4.2.2

7d6a09609ed3a83717aeb2c0ada3b750c5ecc52e authored over 7 years ago by Gustavo Henke <[email protected]>
typescript: move .custom() to shared typings

Closes #440

c3d8f4e06cc8791ae37c4e5bb2999d9672b88862 authored over 7 years ago by Markus Perl <[email protected]>
docs: describe the nullable option of optional

502a3fd55c7384d9c7254838ce22e6c699791a4b authored over 7 years ago by Gustavo Henke <[email protected]>
typescript: add nullable to optional options

3abd1c75bfac1207c5ec3ac28e10a648604a9b9a authored over 7 years ago by Gustavo Henke <[email protected]>
check: implement nullable option when using .optional()

174268015838928d76c824ca103bcde9aa1e4a79 authored over 7 years ago by Gustavo Henke <[email protected]>
git: ignore .iml files from IntelliJ

663a2b78ca305c25728298b48ea9b3f424ad008a authored over 7 years ago by Gustavo Henke <[email protected]>
docs: destruct sanitize function

Closes #437

6045ee0e6b7ce3d2f47fb5e0fc0621757829bdb6 authored over 7 years ago by Gustavo Henke <[email protected]>
4.2.1

be10c540827127fbd8da6ba31a17f37f174fccac authored over 7 years ago by Gustavo Henke <[email protected]>
check: don't sanitize non-string values

Fixes #425

48b8e52205dad1b80fac7c9f64438ddb5db979a2 authored over 7 years ago by Gustavo Henke <[email protected]>
Remove validator customization for automatic toString() call

7c5ac58eb22c7fecc5aaa6640689cb1ea452bd32 authored over 7 years ago by Gustavo Henke <[email protected]>
Unify stringification logic

It was duplicated both in the check and legacy APIs

d6dd625e24757086ece3a7e7458483a543fee553 authored over 7 years ago by Gustavo Henke <[email protected]>
check: remove random console.log call

818ad467f4fa5049a2b91c6fff0e1b45d928a199 authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #423 from joturako/patch-1

Update README.md

44e03f3fb69f612d42f2614ec42d41769fac267a authored over 7 years ago by Gustavo Henke <[email protected]>
Update README.md

Correct the example where err is being used instead of errors

698e3ea0aa6cc3f70a03e26b36a34c3ffb56e8b9 authored over 7 years ago by Luong Vu <[email protected]>
4.2.0

d79e33a2abba2a2a774b6c545dc82522d5c1eaeb authored over 7 years ago by Gustavo Henke <[email protected]>
typescript: add validator v8.2.0 typings

ce921eec26c74c1144e8890563089221a69799c6 authored over 7 years ago by Gustavo Henke <[email protected]>
npm: update validator to v8.2.0

ef3c222ebb9cfd2594db89cb5931c20df62ec46d authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #422 from tuliobraga/patch-1

Fix onlyFirstError attribute name on UPDATE-GUIDE

7b4df857d359b86e3d83a218a7fbd9b7100f2c74 authored over 7 years ago by Gustavo Henke <[email protected]>
Fix onlyFirstError attribute name

The right attribute name is 'onlyFirstError' instead of 'firstErrorOnly'

a770c0b135d9bad0f4532b4a62a2bdc63c67d4e3 authored over 7 years ago by Túlio Braga <[email protected]>
Fix lint errors from check directory

85c89534aa110f66d00ffe4b9c90bdad8c622bc6 authored over 7 years ago by Gustavo Henke <[email protected]>
npm: lint check and filter directories as well

48c2c25595a8c6bc8a2b11d64189e3c47e13c999 authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #419 from ctavan/standalone-sanitization

Filter API - Standalone Sanitization

70a26b2c9f4938e5a5e56fe3a177d3aadc15ce90 authored over 7 years ago by Gustavo Henke <[email protected]>