Ecosyste.ms: OpenCollective

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

express-validator

An express.js middleware for validator.js.
Collective - Host: opensource - https://opencollective.com/express-validator - Website: https://express-validator.github.io/ - Code: https://github.com/express-validator

docs: write about sanitization chain

github.com/express-validator/express-validator - 1156aa27e6f637e197b3aab2891020006247103f authored over 7 years ago
typescript: type sanitize middleware

Also remove duplicated code

github.com/express-validator/express-validator - 4c57ca02bd5d81811e527fed1ddc3d20d9705392 authored over 7 years ago
filter: create and expose sanitize middleware variations

github.com/express-validator/express-validator - a3f45975146b11de22de471bed7d2eceb58fe8ae authored over 7 years ago
filter: create base sanitize middleware

github.com/express-validator/express-validator - bcbd375dd891ad7d71828cdca2678862d83c5c2a authored over 7 years ago
Extract the list of extra validators/sanitizers to a constants file

github.com/express-validator/express-validator - e69bc1479877f654dc1975d3e97759e7f1d07eea authored over 7 years ago
Merge pull request #418 from ctavan/v4-sanitization

Sanitizers in the validation chain API

github.com/express-validator/express-validator - 5e8ed2fe52c7e8a3425d5580b12245ac14c4b36d authored over 7 years ago
docs: add mentions about sanitizers in the validation chain

github.com/express-validator/express-validator - 3138e54ef36970c573be6044e5befb6c3eb10317 authored over 7 years ago
typescript: add sanitizers to the validation chain API

github.com/express-validator/express-validator - 08d219c6e1faaef1f29742257e819bc2fa9f88d8 authored over 7 years ago
legacy: add support for chaining sanitizers

github.com/express-validator/express-validator - a0b2e89247d0773fec11b26cd5a43f3d07717e4b authored over 7 years ago
check: select fields passing them thru sanitizers

github.com/express-validator/express-validator - ae9ed7e0e9a0e3ac64158cd6e3eab112b8231dbe authored over 7 years ago
check: add sanitization methods to the chain

github.com/express-validator/express-validator - 985797262069d82383988fe302ab5196dd954f7e authored over 7 years ago
typescript: set withMessage() arg type to any

With hint from https://github.com/ctavan/express-validator/issues/401#issuecomment-329821262

github.com/express-validator/express-validator - dfb6d0327040cc1c210cf57e6a3c231a8c6df2e8 authored over 7 years ago
docs: add example of custom validator

Closes #413

github.com/express-validator/express-validator - 1908341739781b7862fb34a162c5421365ee10a0 authored over 7 years ago
legacy: use pretty message when schema validator doesn't exist

Instead of a cryptic error message!

Closes #299

github.com/express-validator/express-validator - 4a5278888e2dd84259f2f18319dbe79b49d87ce2 authored over 7 years ago
check: make validationResult work even though no validators ran

Related to #411

github.com/express-validator/express-validator - 1cd52ca33999e01945fe1ec2f58415e02abac799 authored over 7 years ago
docs: don't showcase .throw() without try..catch

It gets weird!

Closes #410

github.com/express-validator/express-validator - 57fbab15a593798a397cfabba565980217708bc8 authored over 7 years ago
legacy: remove deprecation warnings

Since the whole legacy API is deprecated now,
there's no need to keep warnings of v3.

github.com/express-validator/express-validator - 6cc9483ea2341be8ae99295a52b58c8707cc1edd authored over 7 years ago
docs: fix req.asyncValidationErrors() return value description

Closes #406

github.com/express-validator/express-validator - 447d1227b656873e1d847e1a45075f3ac713ef28 authored over 7 years ago
Remove trailing comma in object def

github.com/express-validator/express-validator - 08138cfc5b03bd91e26091a85bcb11c1faaa3c64 authored over 7 years ago
check: require formatParamOutput from utils dir

github.com/express-validator/express-validator - 0a9fc0cacc734cca626f94bca2b79023f652112b authored over 7 years ago
legacy: extract utils to their own files

github.com/express-validator/express-validator - db4f4764b14ec3b39d05a0a68831535d1eae494d authored over 7 years ago
legacy/tests: check string conversion when validating

github.com/express-validator/express-validator - 964a95381c7494231839067101c97f3b04e5ac0f authored over 7 years ago
legacy: remove monkeypatch of toDate method

github.com/express-validator/express-validator - e4952457a7bf9678815fb0470d792d1327db4138 authored over 7 years ago
check: convert value to string just like v3

Fixes #399

github.com/express-validator/express-validator - 2107164d2c21e5af176ec5c750f284cdd5194b97 authored over 7 years ago
check: use any rejection cause as error message

The chain runner expected all rejection causes to be
instances of Error, but that's not always t...

github.com/express-validator/express-validator - dddbe782a78b8810f2d8a8d345bfb38d08368339 authored over 7 years ago
legacy: restore support for non-string error messages

Fixes #401

github.com/express-validator/express-validator - 15f1b57f8649a1e06b4c568057359b1bdfce51c1 authored over 7 years ago
legacy: don't set optional twice

github.com/express-validator/express-validator - 04a004ec6107210b3ac2c56b958bb6f74da20cc7 authored over 7 years ago
check: don't fail when .withMessage() is called without validators

Fixes #398

github.com/express-validator/express-validator - 21ef4403e9fcf281f1d3cd368844d09ee573cd25 authored over 7 years ago
Typescript: add .exists() to the validation chain

Fixes #390

github.com/express-validator/express-validator - f344801828739125b4cf7c11a6bfcb60eea3890b authored over 7 years ago
Merge pull request #393 from ctavan/error-formatter

check API - error formatter

github.com/express-validator/express-validator - 5c152dd119573d0360ea1ee0f30ada92a1a7845f authored over 7 years ago
Typescript: adds typings for validationResult .formatWith()

github.com/express-validator/express-validator - 45b3d81a67539445003d0b6bdb4af06b19e4f29e authored over 7 years ago
docs: add info around .formatWith() of validationResult

github.com/express-validator/express-validator - cfca9d28a50cb0a128d10a6eb13e17a009d7e8ed authored over 7 years ago
legacy: delegate errorFormatter to validationResult.formatWith()

github.com/express-validator/express-validator - 5b14c6f5f303b206c1f948bb9de89fc1a2f87df6 authored over 7 years ago
check/validationResult: add .formatWith()

This will allow to change the shape of the errors
before returning them.

github.com/express-validator/express-validator - 1eaf36f11731a4a00c53b6683c723a6eb7635e16 authored over 7 years ago
docs: make explicit that Node.js 6 is required

github.com/express-validator/express-validator - fb316ff17c91b005038a1c28cb16c13305d177f6 authored over 7 years ago
git: remove package-lock.json from ignore list

It seems like npm really wants it to be commited...

github.com/express-validator/express-validator - fb1f0324fb590a146c68a3ed78cd572764478c14 authored over 7 years ago
docs: add notice before usage example

github.com/express-validator/express-validator - df224549047cf6f90406ccc7737645bdb027dfd7 authored over 7 years ago
docs: change syntax from json to js

github.com/express-validator/express-validator - ad2c521cc2400143a90f8bd64346b4e86635c34b authored over 7 years ago
Merge pull request #389 from ctavan/v4-docs

Version 4 - Docs

github.com/express-validator/express-validator - 1155743f6cccbe4914305d8c912a75895869667a authored over 7 years ago
docs: describe errors format in validation result API

github.com/express-validator/express-validator - 83a9a21ebad68b35f77afd19da7be26666e95e0f authored over 7 years ago
docs: update oneOf behaviour description

github.com/express-validator/express-validator - 1452c6567ab2ad8caee61910589c7e6fc41097f1 authored over 7 years ago
EditorConfig: disable trimming in markdown files

Lines that end with whitespaces have special meaning in this language!

github.com/express-validator/express-validator - 60abeb9ef9f6d894f0d0854d722c6e057060467d authored over 7 years ago
docs: add links and extend the TOC

github.com/express-validator/express-validator - 0c3b4560d3305e95330120e72a328a7a0c146b11 authored over 7 years ago
docs: create base README for v4

github.com/express-validator/express-validator - 0117709e466581a61d827ff91ce3d0e2400865c9 authored over 7 years ago
docs: add v3 -> v4 upgrade guide

github.com/express-validator/express-validator - 5e83e445a028c9eb8dd99b9cde88a54660fc4ac4 authored over 7 years ago
docs: add details regarding validation execution

github.com/express-validator/express-validator - 6ce84b91eded98ebcde85cb7c7a33c5a6e0cb604 authored over 7 years ago
check/oneOf: set a single error in case any chain fails

github.com/express-validator/express-validator - 31ae7657012228e0762c322e339483b32e09a211 authored over 7 years ago
check: use param/msg instead of path/message in errors

This is to keep v3 compatibility.

github.com/express-validator/express-validator - 98bb61cf60b78c8491ecbf27538d178c987ae834 authored over 7 years ago
check, legacy: add built-in exists validator

github.com/express-validator/express-validator - 80ba1f239496992b875ea026e87e829cf3c75b44 authored over 7 years ago
Merge pull request #388 from ctavan/v4-matched-data

Version 4 - Get subset of validated data

github.com/express-validator/express-validator - ff855ff43bdb877ac2ecb266bb3bd6418403ac14 authored over 7 years ago
Typescript: add typings + tests for filter directory

github.com/express-validator/express-validator - 54fc0bcd3c0b3eba14ff5bcdc0b2287dc4c841ba authored over 7 years ago
Typescript: switch from 'files' config to 'includes'

github.com/express-validator/express-validator - 38cac1851131c3e84c9b8328645fb25ce4103b77 authored over 7 years ago
filter: create matchedData to get data used in the validation

See #168

github.com/express-validator/express-validator - 2766cb4ad7c1996ad4a54bf3dc83f2b263488c9e authored over 7 years ago
Merge pull request #387 from ctavan/v4-oneof

Version 4 - oneOf

github.com/express-validator/express-validator - 42fa8d9bbd4dc4e71b9c506cd297a90ee88d607d authored over 7 years ago
Typescript: add typings for oneOf

github.com/express-validator/express-validator - ef561e7e2bd09205a8e7dc96148d6113e3dcb73e authored over 7 years ago
check: add support for oneOf checks

This is quite a OR support.
See #200

github.com/express-validator/express-validator - 8ebb3c85e6e516e3fc9a6c05b5b8603e65df7ae1 authored over 7 years ago
check: use more semantic exports

github.com/express-validator/express-validator - 6389d26a0f20663e262d76ffb5f2f602b95520af authored over 7 years ago
Fix indentation of some comments

github.com/express-validator/express-validator - 508e594543f3f7dfdb2d7640e269613fa2271454 authored over 7 years ago
npm: remove and update some dev dependencies

github.com/express-validator/express-validator - f960259bd9687da3c4920f02cd8f49bcc2f6634a authored over 7 years ago
Tests: test that req.validationErrors() is false when no errors exist

github.com/express-validator/express-validator - 628ea422f762f40625d60dc75e011f1920482d94 authored over 7 years ago
Merge pull request #386 from ctavan/v4-wildcard

Version 4 - Wildcard field selection

github.com/express-validator/express-validator - a74633b4656b7295742ed2ba47b45813f77f90de authored over 7 years ago
legacy: remove utils.locate

It's not used anymore!

github.com/express-validator/express-validator - bbe8c77339b84f50eaacffdfe52517ae5dceca93 authored over 7 years ago
check: implement wildcard field selection

github.com/express-validator/express-validator - 5929a5c18a1162af22278ae88e470f22001b9e03 authored over 7 years ago
Tests: check that validators are run serially

See #349

github.com/express-validator/express-validator - 0f756c3a718a04ce13cc0a846dbc26fb8cf19336 authored over 7 years ago
Merge pull request #385 from ctavan/v4-negate

Version 4 - .not()

github.com/express-validator/express-validator - 8bf34647358e2e02c6512a332bebeb0fade79976 authored over 7 years ago
Typescript: add .not() to validation chain

github.com/express-validator/express-validator - d1bcafb8e4b54766954a66f8cec07fc92ca2ab61 authored over 7 years ago
Adds .not() to validation chain

github.com/express-validator/express-validator - b7cce1b60c7930d3a454dbb06c20deecbc74057f authored over 7 years ago
Merge pull request #384 from ctavan/v4-result

Version 4 - validation result retrieval

github.com/express-validator/express-validator - f32569e988c66562a2fa31b5eb37008cb1db694f authored over 7 years ago
Migrate internal error building logic to check APIs

github.com/express-validator/express-validator - 8c49ee489d000c6ed98a94a437e66ff43a42269b authored over 7 years ago
npm: ignore all spec files

github.com/express-validator/express-validator - fe3a86cb42dfba8cdf287230f7dd2409ae4e7460 authored over 7 years ago
TypeScript: add v4 .ts files to config

github.com/express-validator/express-validator - 68a477be3b803831e66f4b68476498356f4567e7 authored over 7 years ago
Typescript: add validationResult typings and tests

github.com/express-validator/express-validator - d1e65410f4ab44d5aa3c4bf97bcfb56df4707434 authored over 7 years ago
check: create validationResult method

github.com/express-validator/express-validator - 2e5455fa955ad04fb9aefb0a6b4f841ce2378268 authored over 7 years ago
Merge pull request #383 from ctavan/v4

Version 4 - validation

github.com/express-validator/express-validator - 22311b40560eb2f5e7430bbc52f90f709b5678ef authored over 7 years ago
Tests: remove *.spec.js and /test from the coverage

github.com/express-validator/express-validator - 3762a7b93bba55b0992075c1c535141b4b38e485 authored over 7 years ago
npm: set node engine to minimum of 6.0.0

github.com/express-validator/express-validator - a428ecdf310564e124498534f78c53e62379913d authored over 7 years ago
check: pass path and location to custom validators

In addition to the request, already passed to them.

github.com/express-validator/express-validator - 980151f1bdabda69722a31f45cd4bcfab6ad4d47 authored over 7 years ago
tests: guarantee .custom() behaviour

github.com/express-validator/express-validator - d211abf2fd67b377fe24f7fb8ce7bbb014480a01 authored over 7 years ago
npm: update nyc dependency

github.com/express-validator/express-validator - 408363f8141e7096ac3aa2e82c7fc8b940ff4b40 authored over 7 years ago
typescript: add typings for check directory

github.com/express-validator/express-validator - 2f9a6228cacc71460b2badcdb7db55206aed738f authored over 7 years ago
typescript: upgrade base types to match validator v8.0.0

github.com/express-validator/express-validator - e409bb9a2999bd936a02bbfd6253780fd0412654 authored over 7 years ago
typescript: extract base typings to shared file

github.com/express-validator/express-validator - 763d625ce828a18cee76d6026285485a7db3dffb authored over 7 years ago
npm: update validator dependency to ~8.0.0

github.com/express-validator/express-validator - dc9384125bdbc91c11da1294f59d541db5d4c4f6 authored over 7 years ago
CI: remove support for Node 4

github.com/express-validator/express-validator - 72b386f507ab881cd858f6fd6b58e2bac5fa4098 authored over 7 years ago
legacy: use new check API under the hood

github.com/express-validator/express-validator - d3de9ae033e90a169088a51701feee86cb678765 authored over 7 years ago
check: use message from context as 3rd option

github.com/express-validator/express-validator - cff81818468bd57e2735da8b43d66e86d95ea537 authored over 7 years ago
check: add support for setting optional flag

github.com/express-validator/express-validator - e05886ad4a3230a4dde30e0db1ccc01ccb941c36 authored over 7 years ago
check: add support for passing a context message

github.com/express-validator/express-validator - 4bcecc3624b405535c254d91ce00f28a591ddf30 authored over 7 years ago
check: extract field selection logic to own file

github.com/express-validator/express-validator - 1d57d0001d7ddbb6d002b76df1e9b36fbd08605e authored over 7 years ago
check: extract validation running to another function

This is so that we can reuse this logic later on

github.com/express-validator/express-validator - f3c0960cb22c4dfda76cf6b1d99773458f55f7a7 authored over 7 years ago
Tests: prefix check suites with "check: "

github.com/express-validator/express-validator - 18f47ab0303d5c605a1e6196cd93c1dfe0705b07 authored over 7 years ago
Tests: prefix legacy tests with “Legacy: “

github.com/express-validator/express-validator - a9b618928a753b129f636db8d63e4091bc557a15 authored over 7 years ago
check: rename index exports

github.com/express-validator/express-validator - 4ad479dca1fa85bdbbf6dfcbfe4a49ee13faebba authored over 7 years ago