Skip to content

Update dependency validator to ^9.0.0

renovateBOT requested to merge renovate/validator-9.x into stable-v1

This Merge Request updates dependency validator from ^5.6.0 to ^9.0.0

Release Notes

v6.0.0

  • Renamed isNull() to isEmpty()
    (#574)
  • Backslash is now escaped in escape()
    (#516)
  • Improved normalizeEmail()
    (#583)
  • Allow leading zeroes by default in isInt()
    (#532)

v6.1.0

  • Added support for greater or less than in isFloat()
    (#544)
  • Added support for ISSN validation via isISSN()
    (#593)
  • Fixed a bug in normalizeEmail()
    (#594)
  • New locales
    (#585)

v6.2.0

  • Added an option to require an email display name
    (#607)
  • Added support for lt and gt to isInt()
    (#588)
  • New locales
    (#601)

v6.2.1

  • Disallow < and > in URLs
    (#613)
  • New locales
    (#610)

v6.3.0


v7.0.0

  • Remove isDate()

v7.1.0


v7.2.0

  • Added an option to validate any phone locale
    (#663)
  • Fixed a bug in credit card validation
    (#672)
  • Disallow whitespace, including unicode whitespace, in TLDs
    (#677)
  • New locales
    (#673,
    #676)

v8.0.0

  • isURL() now requires the require_tld: false option to validate localhost
    (#675)
  • isURL() now rejects URLs that are protocol only
    (#642)
  • Fixed a bug where isMobilePhone() would silently return false if the locale was invalid or unsupported
    (#657)

v8.1.0

  • Fix require('validator/lib/isIS8601') calls
    (#688)
  • Added an isLatLong() and isPostalCode() validator
    (#684)
  • Allow comma in email display names
    (#692)
  • Add missing string to unescape()
    (#690)
  • Fix isMobilePhone() with Node <= 6.x
    (#681)
  • New locales
    (#695)

v8.2.0


v9.0.0

  • normalizeEmail() no longer validates the email address
    (#725)
  • Added locale-aware validation to isFloat() and isDecimal()
    (#721)
  • Added an isPort() validator
    (#733)
  • New locales
    (#731)

v9.1.0

  • Added an isISO31661Alpha2() validator
    (#734)
  • New locales
    (#735,
    #737)

v9.1.1


v9.1.2

  • Fixed a bug with the isFloat validator
    (#752)

v9.2.0

  • Added an isMimeType() validator
    (#760)
  • New and improved locales
    (#753,
    #755,
    #764)

v9.3.0


v9.4.0

  • Added an option to isMobilePhone to require a country code
    (#769)
  • New and improved locales
    (#785)

v9.4.1

  • Patched a REDOS vulnerability in isDataURI
  • New and improved locales
    (#788)

Commits

**v9.0.0** **v9.1.0**
  • a4d0ac6 Add ISO-3166-1 alpha-2 validation
  • c42f5a8 Add README entry for ISO 3166-1 alpha-2 validation
  • f227da9 Add FO/GL mobilehphone validation and update DA validation
  • 3ee2a50 Merge pull request #735 from tomhelmer/add-gl-and-fo-phone-validation
  • edbd1c3 Update the changelog and min version
  • 3793360 Fix typo in README.md
  • 98ed139 Add Estonian locale (et-EE) to isMobilePhone validator
  • ec62c1d Update the jp mobile phone validator
  • a658c59 Merge pull request #736 from ThePaulMcBride/patch-2
  • fdbd473 Add tests for isMobilePhone validator's et-EE locale
  • c597992 Update README: add 'et-EE' locale to isMobilePhone docs
  • 84b2efe Fix isMobilePhone 'et-EE' locale test case typo
  • 80d08ec Add isMobilePhone 'et-EE' locale to src/lib as well
  • 9e9bc81 Add missing comma
  • a201eb1 Merge pull request #737 from Tarpsvo/patch-1
  • eca753f Update changelog and min version
  • a4ae257 Merge pull request #734 from IamNguele/isiso3166-1-alpha2
  • f01bb6a Update changelog and min version
  • 375de50 9.1.0
**v9.1.1**
  • 78f36c0 isPostalCode validation for AU locale was checking for six digits, but Australian Postal Codes are 4 digits. Added a unit test for the use case also
  • 76834c4 Merge pull request #739 from avilcan/master
  • 8c9ffb0 Update the changelog and min version
  • 13f3d6f Patch the missing comma in test case.
  • fd80b15 Remove U+FEFF from the begin of file.
  • 92015c5 Merge pull request #738 from PuHsiu/master
  • dba8d9c Update the changelog and min version
  • c3eaddf 9.1.1
**v9.1.2**
  • 56e7c97 Fixed typo in the function calls to check for fully qualified domain names
  • c7fa39d Merge pull request #743 from kmarcisz/master
  • e668cc2 Fix failing test for isBefore().
  • a4c7ec8 Merge pull request #746 from mika-s/master
  • 5743012 Fix - and + passing as floats
  • 55ae11e Merge pull request #752 from linkinmedo/fix-isFloat
  • e9fbc0b Update the changelog and min version
  • 85d40ad 9.1.2
**v9.2.0**
  • e93b373 Added Singapore locale support to isMobilePhone
  • 999f156 Added test case for isMobilePhone in Singapore locale
  • 22d0f40 fixing postal code validation for Portugal
  • 57ab6cf Merge pull request #753 from dennis-ng/master
  • 1d5d326 Merge branch 'master' into master
  • 2e86d1a Merge branch 'master' into master
  • df034dc Merge pull request #755 from franciscofsales/master
  • 94132a3 Update changelog and min version
  • 9031ca1 feat: isMimeType(str)
  • 7bdb07f docs(readme): add isMimeType description
  • 68cbfbb added sk-SK for isAplha and isAlphaNumeric functions
  • 7df6c5d fix: merge conflicts
  • e4bb8df feat: adds fixes and tests for #679
  • 51a5ef1 fix: update readme
  • 2df50c9 Merge pull request #764 from ProfNandaa/savvakism-master-update
  • 30d00e4 Merge branch 'master' into feature/isMimeType
  • 4f14456 Merge branch 'master' into feature/isMimeType
  • cd8fdfa Merge pull request #760 from Ilshidur/feature/isMimeType
  • 5fa95fc Update the changelog and min version
  • b3be640 9.2.0
**v9.3.0**
  • 5e9f445 pull request requirements
  • 0d20029 Merge remote-tracking branch 'upstream/master'
  • f881224 validator miniified
  • 679d133 added el-GR to readme.md
  • d92815e Merge pull request #763 from lysektomas/master
  • e241676 Update the changelog
  • 41aeec2 Add Thailand locale support to IsMobilePhone
  • 1df4d30 support 166 section
  • 45cbe32 add some tests
  • 556248b be-BY and kk-KZ mobile phone validation support
  • ba77d6c Add bg-BG alpha, alphanumeric, mobile, and postal code validation
  • 92cce82 Adding pt-BR at docs
  • 121e44e Merge pull request #768 from seentaoInternetOrganization/master
  • efa5caa Merge pull request #782 from lfernando-silva/add_pt_br_mobile_phone_readme
  • cfca110 Merge branch 'master' into master
  • ab898d5 Merge pull request #779 from aniham/master
  • cbea0c7 Merge branch 'master' into support-thailand-locale
  • f5fcb6d Merge pull request #777 from athivvat/support-thailand-locale
  • 3920f9d Merge branch 'master' into new-phones
  • 06d6b16 Merge pull request #774 from vetoshko/new-phones
  • bf46b58 Update the changelog and min version
  • e9a4009 Remove the leftover compiled isDate
  • ca0f25f 9.3.0
**v9.4.0**
  • 5615a12 isMobilePhone: add option for strictMode
  • e7b8557 Merge pull request #769 from ProfNandaa/feat-741-is-phone-number-cc
  • 0ccb1c7 Update the changelog and min version
  • f51344f Indian mobile numbers can start with 6 now.
  • ca20e91 Merge pull request #785 from geekguy/master
  • f2b9806 Updates from the previous merge
  • 4fb34e9 Re-add the change to the en-IN phone regex
  • 4e455d2 9.4.0
**v9.4.1**

This MR has been generated by Renovate Bot.

Merge request reports

Loading