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

mocha: run tests from check directory as well

0d56ab833dee0dbe3443082996baf7909ec62f2c authored over 7 years ago by Gustavo Henke <[email protected]>
check: guarantee multiple middleware calls don't overwrite each other

2d3b9062aaef19bb8fc8666465cbba2a339115a4 authored over 7 years ago by Gustavo Henke <[email protected]>
git: ignore package-lock.json and reorganize the file

0c60db0b7600b3e90029872503ea6626e5a21e23 authored over 7 years ago by Gustavo Henke <[email protected]>
Add alternative v4 features (check API)

f37be0271482a9c233de08d3d9596ce67cadec9d authored over 7 years ago by Gustavo Henke <[email protected]>
Tests: use only syntax supported by Node 4+

161d14cb4bfc6d964f74e385d9be35e4041c5647 authored over 7 years ago by Gustavo Henke <[email protected]>
Add test for customValidators with schemas

d611aa32230dc45f9d9ff21b05f09952953635d1 authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #370 from plumpNation/incorrectDepClaim

Innaccurate dependency claim

134e8e257b3c3a0a12d69724cb9e2fb3e5c0fb69 authored over 7 years ago by Gustavo Henke <[email protected]>
Innaccurate dependency claim

4ad3b94918f1fcb513ee46a50a21ff890984a2fa authored over 7 years ago by Gavin King <[email protected]>
Keeps validators/sanitizers from other middleware instances

Fixes #341

a7a42efd2cb0167690b0711bf81cb34b30fa08ad authored over 7 years ago by Gustavo Henke <[email protected]>
Move util functions out of main file

2563d801321957d23bd2cb0252e4d0d8d0ff0c62 authored over 7 years ago by Gustavo Henke <[email protected]>
schema: make it work with cookies

Closes #292

ca312716fed647861b7ccbf7ec43adcd3cec5a27 authored over 7 years ago by Gustavo Henke <[email protected]>
typescript: add customValidators to the Validator interface

a8dde3138b5edabfe12c318404f14c1d78205e32 authored over 7 years ago by Gustavo Henke <[email protected]>
Schema: ignore validator if its value is falsy

Closes #263

817af05a60234b0d081b84e0dbe91303f7bc7199 authored over 7 years ago by Gustavo Henke <[email protected]>
typescript: make isBefore/isAfter accept only strings

Yep, that's what they want... no Dates allowed

Fixes #345

77299b940e5d1d7dfd88ab12db2b5af1c642eef5 authored over 7 years ago by Gustavo Henke <[email protected]>
3.2.1

e27ed6b76333b5b2e3c4adf1f67edade3938710e authored over 7 years ago by Gustavo Henke <[email protected]>
typescript: add support for async customValidators

Fixes #318

30016f9df83ec39fcad22f31b7f8192c06a9287b authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #366 from ctavan/tests-refactor

Move to unit tests

3780f87b816b06f59b5aedb577e8ef9fb2505eb4 authored over 7 years ago by Gustavo Henke <[email protected]>
Tests: don't use syntax unsupported to Node 4

7b5d3924fa4e6b49d5373045caed69f55963f763 authored over 7 years ago by Gustavo Henke <[email protected]>
Fix lint problems

b1229eb7c7a9a8940ced62f761c038fbfea2f030 authored over 7 years ago by Gustavo Henke <[email protected]>
eslint: use ES6

d308410506c7089105a84284f7b1a2051e09ba89 authored over 7 years ago by Gustavo Henke <[email protected]>
Tests: move everything to unit tests

44c3214fe8058e6e16a4b77a4c03c54186b1a28f authored over 7 years ago by Gustavo Henke <[email protected]>
git: ignore .DS_Store from OSX and .vscode

b4c0f5a39e3d9c2bb1645eb37f6a18039d943bcc authored over 7 years ago by Gustavo Henke <[email protected]>
Remove unused Promise variable

4d302cbe3008b4496d7924add328e1139f03aa7c authored over 7 years ago by Gustavo Henke <[email protected]>
CI: Add node 8

799a817c3c84dd0ce7f426bf2827eac7aee90fe7 authored over 7 years ago by Gustavo Henke <[email protected]>
Update typescript version

So that CI builds don't fail anymore :)

cd055436f45c9e370c5b8b367c6f4722fea0aaeb authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #354 from cotko/master

Fix `isValid.then` check bug in case validator returns undefined/null

bcb674460825693ec0f17a51d08010b618552acf authored over 7 years ago by Gustavo Henke <[email protected]>
eslint fixes

2fb0afc157df9c4311fafc7e2f7b8306c80bfbaa authored over 7 years ago by cotko <[email protected]>
Treat null and undefined as unexpected values returned by validators and print warning for each validator which returns them

9df002e988462649ebdc728fe6c20d9d3ad68b45 authored over 7 years ago by cotko <[email protected]>
Treat null and undefined as unexpected values returned by validators and print warning for each validator which returns them

092cd32f45e5f21c53d9ab1d4d582b8c5f8317f6 authored over 7 years ago by cotko <[email protected]>
Merge remote-tracking branch 'upstream/master'

9af53b774552af48cdf5cf219957e2cf3f5c4403 authored over 7 years ago by cotko <[email protected]>
Merge pull request #358 from hansmaad/patch-1

Update @types/bluebird package. Closes #357

ac1a1b68e6226919f589db1db47128974b502009 authored over 7 years ago by Gustavo Henke <[email protected]>
Update @types/bluebird package. Closes #357

18170e0a0d9cd307d57a41298321951e07df83ff authored over 7 years ago by Hannes Kamecke <[email protected]>
Tests: Import from .ts file

454bb081627cf78d5d6787b132d408d0b85ddbf3 authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #352 from taicho/master

REF #350 Fix for TypeScript Typings Revisted

ede8f7d3602371002148e7ab88a98e355dfeeb04 authored over 7 years ago by Gustavo Henke <[email protected]>
Create express_validator.js

796b36e35e86be099060c07e60e8e8c33574c547 authored over 7 years ago by cotko <[email protected]>
Fix for TypeScript Typings.

This has been a bad day. This is tested both in project tests and in
real project and should res...

16123b3a3518ea4ac851e5573e74c879d06a7a86 authored over 7 years ago by Azad Ratzki <[email protected]>
OK. This should resolve any and all issues with TypeScript import.

On a side note…obviously I suck at writing definitions but this should
be it.

974d413941391f4c57ab0231a9878cb8a012a167 authored over 7 years ago by Azad Ratzki <[email protected]>
Fix for TypeScript Typings + Correction to Pull

This fixes the TypeScript Typings so a proper import can be performed
using TypeScript import sy...

41e1782324ebf5bd98d36d1b73947d111f2b2865 authored over 7 years ago by Azad Ratzki <[email protected]>
Fix for TypeScript Typings

Without this fix users of TypeScript (at least 2.3.4) unable to import
the library using standar...

e2370636c25e1354d355f3d46f7161c30aa568c9 authored over 7 years ago by Azad Ratzki <[email protected]>
Merge pull request #348 from nicolashenry/master

declare trim parameter as optional in type definitions

2a622ff85fb067b9ee8e8863d3f9088277f3282e authored over 7 years ago by Gustavo Henke <[email protected]>
declare trim parameter as optional in type definitions

9dc4e38bece61ec708046b5d630ec7fca8dd32e8 authored over 7 years ago by E020873 <[email protected]>
Docs: fix problems of unavailable request params/body

Fixes #316

5331c97de366124884586c37d9c6e6a3cf5e033a authored over 7 years ago by Gustavo Henke <[email protected]>
Remove trailing space

cb6768d5ca99a0ac0ffd2cb9ef69513465a1049d authored over 7 years ago by Gustavo Henke <[email protected]>
Add deprecation warnings

req.validationErrors() and req.asyncValidationErrors()
are deprecated since v3.0.0.
Adding warni...

addbecd58e1e9a5240da3271f5e24f8f72a8c546 authored over 7 years ago by Gustavo Henke <[email protected]>
3.2.0

153de3209212ffae246377e1a4e046a5729b0b41 authored over 7 years ago by Gustavo Henke <[email protected]>
Merge pull request #337 from ChaseMoskal/testable

Reduce module state to improve testability

95ae3c48c108e536a6c4fbdecc32382d86b1c49b authored over 7 years ago by Gustavo Henke <[email protected]>
Improve testability and class scoping

[lib/express_validator.js]

Move the following parts inside the `expressValidator` constructor:...

ea2c2ab68fb5fb2b2ba34830be8c3d3bc799b1f5 authored over 7 years ago by Chase Moskal <[email protected]>
Add test suite for general testability

f85819dae064353c9f9cb09a0b503e175831812d authored over 7 years ago by Chase Moskal <[email protected]>
3.1.3

b983e4f31b7d6ccccf53b1349329c9f93c84f5b0 authored almost 8 years ago by Gustavo Henke <[email protected]>
Merge pull request #329 from jyotman/markdown-fix

fix markdown title syntax in README.md

0bdadadeda76ba72d48a6eea8371956898c944b2 authored almost 8 years ago by Gustavo Henke <[email protected]>
fix markdown title syntax in README.md

194faef7bed18300a5b2d512d7586f5460ebd7f1 authored almost 8 years ago by Jyot <[email protected]>
Merge pull request #310 from kacepe/patch-1

Allow to use fully custom error formatter without typescript error.

841944e40b5bbc48aa5a92287ccb8436b26e9e5c authored almost 8 years ago by Gustavo Henke <[email protected]>
Allow to use fully custom error formatter.

a6f689d615b04da17e3046a8b16bbd5979090635 authored almost 8 years ago by Kacper Polak <[email protected]>
Merge branch 'eslint'

6652e0448f6f9c47b2c85472392935e45ecdd823 authored almost 8 years ago by Gustavo Henke <[email protected]>
Remove JSHint and JSCS stuff

3c997fda30cee455604176bb17e52c9221224344 authored almost 8 years ago by Gustavo Henke <[email protected]>
npm: switch JSCS and JSHint scripts with ESLint

eaced95de07a672d70e4d36017e21cfe470e9bd2 authored almost 8 years ago by Gustavo Henke <[email protected]>
eslint: add initial config and fix offending code

34eb328b7fe066c47df776ae667366782d875e12 authored almost 8 years ago by Gustavo Henke <[email protected]>
Travis: use only LTS + current Node.js versions

59099b898c92664b16f41af7fda079709bd2e680 authored almost 8 years ago by Gustavo Henke <[email protected]>
Merge pull request #304 from akifo/master

Fix deprecated sample code based on express

8e8f635ffdb32862fd8e076a4103c9fef29e651b authored almost 8 years ago by Gustavo Henke <[email protected]>
Fix deprecated sample code

137f6e69a58e0dd9334c9e76e0d2e1d512da3418 authored almost 8 years ago by akifo <[email protected]>
Upgrade to 3.1.2

54a5c4629aa4e1c37a3c635ea481a195e0f9e72d authored about 8 years ago by Gustavo Henke <[email protected]>
Merge pull request #300 from levani/patch-1

customValidators should accept variable number of arguments

fc2ef48058c0850dd52ecd54738e24e941760453 authored about 8 years ago by Gustavo Henke <[email protected]>
Update typeDefinitionTest.ts

750c777f72b0123743ba4f9ffd9286fd85009aef authored about 8 years ago by Levani Melikishvili <[email protected]>
Update index.d.ts

customValidators should accept variable number of arguments

5ac8446e0c85be0bf8dac789c9d672bb299a5490 authored about 8 years ago by Levani Melikishvili <[email protected]>
Upgrade to 3.1.1

5a357ae7d0e544c430ca8a7545cf689f86b64d45 authored about 8 years ago by Gustavo Henke <[email protected]>
Merge pull request #293 from IOAyman/patch-tsdefs

Moved necessary dependencies back to `dependencies`

d5c8cf374067b26a4bb8ff05a40212d251efce6b authored about 8 years ago by Gustavo Henke <[email protected]>
Moved necessary dependencies back to `dependencies`

Fix for https://github.com/ctavan/express-validator/commit/fd2631f

670ee7313aca883d007a69b666b44e8ca3597a35 authored about 8 years ago by Ayman Nedjmeddine <[email protected]>
Point changelog to GitHub releases page

548590361d9a0ac5f82bab40faeec838e5a37ff0 authored about 8 years ago by Gustavo Henke <[email protected]>
Update changelog to v3.1.0

cc0b83d02794a5c18f2ce239fe596b8e0a3a7b00 authored about 8 years ago by Gustavo Henke <[email protected]>
Upgrade to 3.1.0

cca7cbd732efceb0b41351751a99e8452d54d5e7 authored about 8 years ago by Gustavo Henke <[email protected]>
Merge branch 'pr-289'

Closes #289

fd2631fe4992d5adecec90cba4e6ec4c62ca9774 authored about 8 years ago by Gustavo Henke <[email protected]>
README: Add TypeScript section

0d7b95b7c256c8fd035ca5a42e6611f7da9c0bd4 authored about 8 years ago by Ayman Nedjmeddine <[email protected]>
Finished remaining tests & added IPVersion type

1a07b88e472aef2f7eff6cc8ebaf5b149bd06062 authored about 8 years ago by Ayman Nedjmeddine <[email protected]>
Added validation schema definition

424c6ce0848ce03404bfe34117ac6d31aaba51b9 authored about 8 years ago by Ayman Nedjmeddine <[email protected]>
If a schema is passed, the validator should not accept a message

ed14f8855a3eea24d9e76c7b4611ba7770510b78 authored about 8 years ago by Ayman Nedjmeddine <[email protected]>
Added type definitions test

3b1d0fad4a5271097374c210b20ad376ca8c8b4b authored about 8 years ago by Ayman Nedjmeddine <[email protected]>
Moved dev dependencies to devDependencies

a61e698fca35885150756adb80ea1fab9c49bc62 authored about 8 years ago by IOAyman <[email protected]>
Added test command

5d1502d57aa243c06352f61e261002157451d990 authored about 8 years ago by IOAyman <[email protected]>
Upgraded type definition to v3.0.0

a2794122b8151643be64f8e5d4fa2d3d468537aa authored about 8 years ago by IOAyman <[email protected]>
init type definition file

based on https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e2af6d0bd5dffabdb363e779c5ab7f4...

dfbddc9e7c80e89b9539c4023013f6b8cd1bd791 authored about 8 years ago by IOAyman <[email protected]>
Upgraded validator.js to v6.2.0

ff1e53cb96dd074c2122b5dd2e392a16135da46a authored about 8 years ago by IOAyman <[email protected]>
Travis: update npm before installing anything

8c7ec86526d63ff9d06b383a878d4d6e987e3e5a authored about 8 years ago by Gustavo Henke <[email protected]>
Merge branch 'pr-290'

Closes #290, closes #288

68242d92fba7c529727f55761a90f751862953b1 authored about 8 years ago by Gustavo Henke <[email protected]>
Updated REAMDME, added tests for req.check with in: headers

b2877ce76a6ade87620db10091e335165b708628 authored about 8 years ago by Pascal Opitz <[email protected]>
Adding checkHeaders schema functionality

28935b916de617cda9e80b58276c31f8079d975b authored about 8 years ago by Pascal Opitz <[email protected]>
Update changelog up to v3.

c84820ff1b50bbeb7b82bb6c58bd08cc17541e49 authored about 8 years ago by Rusty Bailey <[email protected]>
Upgrade to 3.0.0

cdfb5dc114bea4bfb481ae360406bc163496d3da authored about 8 years ago by Gustavo Henke <[email protected]>
Specify fail message of optional when using schema

This one wasn't included in #282

fa25f11fe211663e902160b921db8e1eb7a07ce3 authored about 8 years ago by Gustavo Henke <[email protected]>
Ignore tests and other dotfiles from npm package

d99417f35d92bf3d751c979639ac04958fbc1aec authored about 8 years ago by Gustavo Henke <[email protected]>
Move optional flag after other validation in optionalSchemaTest

This is in order to 'test' #262/#282/#222.

f3c0a40027a780a8e4c61d8215309ed916699951 authored about 8 years ago by Gustavo Henke <[email protected]>
Merge pull request #285 from ctavan/errors-result

#getValidationResult() validation result object

417a65317e85a01d4d92f86561ba82b86744fb53 authored about 8 years ago by Gustavo Henke <[email protected]>
readme: rename non existing variable in Usage

ebdd10d14c136aa6bec6d5ba3ecccc23f623d308 authored about 8 years ago by Gustavo Henke <[email protected]>
readme: add missing regex routes section

6d96a976b16e5bc05eb69893b64334e108158775 authored about 8 years ago by Gustavo Henke <[email protected]>
readme: readd docs about deprecated methods

5e204dc7b9c4aca773139198429e8f09a52faba2 authored about 8 years ago by Gustavo Henke <[email protected]>
readme: add a table of contents

8f10fa6bd1cb6f36a2d9f42d173c7a307b93575a authored about 8 years ago by Gustavo Henke <[email protected]>
Rename #getValidationErrors() to #getValidationResult()

bbb9b4e93cf6fe34f9f8178e56a7245188c9f657 authored about 8 years ago by Gustavo Henke <[email protected]>
readme: update docs for usage of #getValidationErrors()

40e966fc0c4dc42a42f3deb17207dcabfff3faac authored about 8 years ago by Gustavo Henke <[email protected]>
JSHint: set expr rule to true

This is in order to allow some Chai assertions to work.

d05460820cf430f87d23c58682dd8fdac10bddc7 authored about 8 years ago by Gustavo Henke <[email protected]>
getValidationErrors(): return a result object instead of errors directly

This new format is more powerful and flexible than its counterparts.
There is no longer a boolea...

5db0b0f8db2829c0b4e43357d00c06e119aec85d authored about 8 years ago by Gustavo Henke <[email protected]>
Merge branch 'pr-280'

Closes #280

d6b666accab7104cf7864df85c3a0a546abe6962 authored about 8 years ago by Gustavo Henke <[email protected]>