Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump validator and express-validator #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 16, 2024

Bumps validator to 13.11.0 and updates ancestor dependency express-validator. These dependencies need to be updated together.

Updates validator from 5.7.0 to 13.11.0

Release notes

Sourced from validator's releases.

13.11.0

New Features / Validators

Fixes, New Locales and Enhancements

New Contributors 🎉

Full Changelog: validatorjs/validator.js@13.9.0...13.11.0

13.9.0

13.9.0

... (truncated)

Changelog

Sourced from validator's changelog.

13.11.0

New Features / Validators

Fixes, New Locales and Enhancements

13.9.0

New Features / Validators

Fixes and Enhancements

... (truncated)

Commits
  • f074abd 13.11.0
  • 6be9634 feat(isEmail) extend to enable allow_underscores in domain (#2229)
  • 2f551c6 fix(isMobilePhone): fixed pl-PL matching numbers that start with 45 (#2202)
  • ad41eba feat(IsFQDN): Add a test that asserts numeric chars in tld are rejected by de...
  • f303d39 feat(isIBAN): add white and blacklist options to the isIBAN validator (#2235)
  • 2ef9a83 feat(isMobilePhone): Added regex for Sudan ar-SD (#2246)
  • 2440c39 feat(isIBAN): add Morocco (MA) IBAN format (#2025)
  • 4c25f26 refactor(isCreditCard): create allCards dynamically (#2117)
  • 3507d27 fix(isJWT): fix validation issue in isJWT function (#2217)
  • 63b1e4d fix(isEmail) do not allow non-breaking space in user part (#2237)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by profnandaa, a new releaser for validator since your current version.


Updates express-validator from 2.21.0 to 7.0.1

Release notes

Sourced from express-validator's releases.

v7.0.1

  • Fixed checkSchema() warning that known validators are unknown when its value is false - #1223

v7.0.0

🚀 🙌 First major version in almost 4 years! 🚀 🤯 Thanks everybody for having the patience. Hopefully this version brings many improvements to your developer experience!

Breaking changes 💥

  • Minimum supported Node.js version is now 14+
  • Removed deprecated APIs - #993
    • Import paths express-validator/check and express-validator/filter
    • Sanitization-only middlewares (e.g. sanitize(), sanitizeBody(), etc)
    • Deprecated TypeScript types (ValidationParamSchema and ValidationSchema)
  • isObject() validator now assumes options.strict = true by default
  • Validation errors changed shape
    • Field validation errors param property has been renamed to path
    • oneOf() validation errors no longer have a param: '_error' property
  • (TypeScript only) The ValidationError type is now a discriminated union, it might be necessary to use switch or if statements to check that you're dealing with the type that you want to debug/format
  • oneOf() signature changed: from oneOf(chains, message) to oneOf(chains, options: { message, errorType })
  • oneOf() default error structure now groups errors by their... validation group!, instead of in a flat list

Checkout the migration guide for examples on how to work around some of these: https://express-validator.github.io/docs/migration-v6-to-v7

New features ✨

  • Added validation for no unknown fields - #558, #578, #612, #1148, #809, #927, #1204
  • Added globstars (deep wildcard) support - #790, #1137, #1216
  • Added support for multiple custom validators/sanitizers in checkSchema() - #552, #1180
  • Added request-level bail - #1100, #1214
  • Added a ExpressValidator class which allows adding "persistent" custom validators, sanitizers, and options - #1077, #1079, #1209
  • Added oneOf() support to .if() - #1170
  • Added new error types to oneOf() - #956, #1022

Bug fixes 🐛

  • Validating/sanitizing arrays no longer drops all but the first value - #791, #755, #704, #1002
  • Added missing ko-KR to MobilePhoneLocale - #1218, #1219
  • Don't silently fail when setting withMessage and not in schemas - #664

New Contributors

Full Changelog: express-validator/express-validator@v6.15.0...v7.0.0

v6.15.0

What's Changed

... (truncated)

Commits
  • 924cbb6 7.0.1
  • cf7687f Schema: don't warn when schema entry is falsy
  • a7d76ad docs: add missing list of links at end of Getting Started guide
  • caf9555 docs: fix broken links
  • c75d364 7.0.0
  • 16fb680 docs: cut new version
  • b873319 fix AlternativeMessageFactory test
  • ecb37e4 exists: add values option + missing docs
  • d43834e Update build badge on readme
  • 5d5da09 checkSchema: don't silently fail when using not/withMessage
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 16, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/validator-and-express-validator-13.11.0 branch from 9659f17 to 501c034 Compare February 17, 2024 05:24
Bumps [validator](https://github.com/validatorjs/validator.js) to 13.11.0 and updates ancestor dependency [express-validator](https://github.com/express-validator/express-validator). These dependencies need to be updated together.


Updates `validator` from 5.7.0 to 13.11.0
- [Release notes](https://github.com/validatorjs/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](validatorjs/validator.js@5.7.0...13.11.0)

Updates `express-validator` from 2.21.0 to 7.0.1
- [Release notes](https://github.com/express-validator/express-validator/releases)
- [Commits](express-validator/express-validator@v2.21.0...v7.0.1)

---
updated-dependencies:
- dependency-name: validator
  dependency-type: indirect
- dependency-name: express-validator
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/validator-and-express-validator-13.11.0 branch from 501c034 to 5196596 Compare February 17, 2024 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants