Skip to content

fix(deps): update dependency express-validator to v6 (jwt-staging)

Renovate requested to merge renovate/jwt-staging-express-validator-6.x into jwt-staging

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
express-validator (source) ^5.3.1 -> ^6.14.2 age adoption passing confidence

Release Notes

express-validator/express-validator

v6.14.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/express-validator/express-validator/compare/v6.14.1...v6.14.2

v6.14.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/express-validator/express-validator/compare/v6.14.0...v6.14.1

v6.14.0

Compare Source

What's Changed

Full Changelog: https://github.com/express-validator/express-validator/compare/v6.13.0...v6.14.0

v6.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/express-validator/express-validator/compare/v6.12.2...v6.13.0

v6.12.2

Compare Source

Fixes:
  • #​1072: add type for checkSchema function return
  • #​1092, #​1086: correctly allow falsy values as options in checkSchema

v6.12.1

Compare Source

v6.12.0

Compare Source

v6.11.1

Compare Source

v6.11.0

Compare Source

v6.10.1

Compare Source

v6.10.0

Compare Source

big kudos to @​fedeci for the many improvements! 🎉

v6.9.2

Compare Source

  • #​973 - TypeScript - republish of v6.9.1 without the source .ts files

v6.9.1

Compare Source

  • #​963 - TypeScript - Updated signature of isAlpha() to work again with the underlying validator

v6.9.0

Compare Source

v6.8.2

Compare Source

  • #​963 - TypeScript - Update IsAlphaOptions#ignore to allow RegExps, in addition to string[]

v6.8.1

Compare Source

v6.8.0

Compare Source

  • #​952 - Upgraded validator to v13.5.x

v6.7.0

Compare Source

v6.6.1

Compare Source

  • #​907 - upgrade lodash due to security concerns

v6.6.0

Compare Source

  • #​886 - Update validator to v13.1
  • #​887 - fix bug in Getting Started docs example
  • #​888 - Add ability to dry-run validations with check().run(req, { dryRun: boolean }). See docs for more information.

v6.5.0

Compare Source

v6.4.1

Compare Source

  • #​544 - Create field paths considering . to be a special character

v6.4.0

Compare Source

  • #​781 - Warn on use of sanitization-only middlewares
  • #​792 - Upgrade validator to v12.1
  • #​826 - Compile TS code to ES2017. This should not be a breaking change, as Node 8 should fully support the output code.

v6.3.1

Compare Source

  • #​813 - don't use Symbol internally to avoid breaking express-validator reuse

v6.3.0

Compare Source

  • #​476 - Bring notEmpty validator back
  • #​772, #​776 - Add missing pt-BR mobile phone locale
  • #​794, #​795 - Make all properties available in all union branches of ValidationError

v6.2.0

Compare Source

  • #​500, #​638, #​751 - Bail validation when there's an error
  • #​761 - Add min/max options to isArray() validator
  • #​693, #​742, #​765 - Fix typing for optional when using checkSchema
  • #​762 - Don't log a validation error when using .if() with another validation chain
  • #​745 - Upgrade Lodash to fix vulnerability and validator to v11.1
  • #​748 - Correct typo in a validator name in the docs

v6.1.1

Compare Source

  • #​729 - Fix optional data being sanitized

v6.1.0

Compare Source

  • #​439, #​655, #​658 - Conditional validation support
  • #​625 - Improve field selection performance massively
  • #​728, #​731 - Fix imperative validations (await body('email').isEmail().run(req)) not generating any errors
  • #​730, #​733 - docs: some improvements to the "Running imperatively" page

v6.0.1

Compare Source

  • #​726 - Fix TypeScript declarations incorrectly importing validator module

v6.0.0

Compare Source

BREAKING CHANGES 💥
  • Legacy APIs (req.check(), req.checkBody(), req.filter(), etc) have been removed;
  • require('express-validator/check') and require('express-validator/filter) are now deprecated. Instead, just use require('express-validator');
  • #​616, #​722 - Validators and sanitizers will now run in the order they are specified, instead of always running sanitizers first, then validators;
  • #​592, #​641, #​632, #​630, #​580, #​651, #​711 - non-string values will now be sanitized;
  • Node.js version 6 is no longer supported. Use version 8 or newer.
New features
  • #​698 - express-validator is now written in TypeScript!
  • #​407 - express-validator now works with other libraries like Restify or similar;
  • #​679, #​713 - Add a toArray() sanitizer;
  • Validations can now be run imperatively with check('field').run(req). See docs.
Other changes 🐛

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports