luoyjx / gaoqi-blog

A club based on Node.js and Mongodb with Promise(bluebird)
MIT License
57 stars 21 forks source link

Update validator to the latest version 🚀 #92

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 7 years ago

Version 8.0.0 of validator just got published.

Dependency validator
Current Version 7.2.0
Type dependency

The version 8.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of validator. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Commits

The new version differs by 6 commits.

  • b59133b 8.0.0
  • cc8532f Ignore lock files
  • 56e7d33 Throw an error if the isMobilePhone() locale is invalid or unsupported
  • fdea1d7 Reject URLs that are protocol only, closes #642
  • cc96615 Don't whitelist localhost, closes #675
  • 4f10904 Update lock files

See the full diff

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

mention-bot commented 7 years ago

@greenkeeper[bot], thanks for your PR! By analyzing the history of the files in this pull request, we identified @luoyjx, @greenkeeperio-bot and @greenkeeper to be potential reviewers.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 48.059% when pulling e495524127762c1091af1408f517bfe279ca3e8d on greenkeeper/validator-8.0.0 into 82ffd1a71dbcc29ab3f3ca2acf66e4fb43654ac4 on master.

greenkeeper[bot] commented 7 years ago

Version 8.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 26 commits.

  • 225bc3d 8.1.0
  • a8dcf6d Fix a changelog link
  • cb8cc97 Update the changelog and min version
  • a9327d5 Merge pull request #684 from Charliekenney23/more-validators
  • cf217bf Merge branch 'master' into more-validators
  • 63cf406 Don't use Object.values
  • c2ad3a1 Don't use Object.values, fixes #681
  • b3e45da Don't export the isISO8601 regular expression
  • e164140 Update the changelog and min version
  • 4d6a30e Merge pull request #690 from lukyth/lukyth/hotfix/unescape
  • 7faa3fe Merge branch 'master' into lukyth/hotfix/unescape
  • 927254a Update the changelog and min version
  • 304b9c5 Merge pull request #692 from tytoons/master
  • 9b34734 Merge branch 'master' into master
  • 2baabb9 Merge branch 'master' into master

There are 26 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 8.2.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 47 commits.

  • fb4cbd9 8.2.0
  • 9c755a6 Update the changelog and min version
  • cf0010c Merge pull request #711 from linkinmedo/ishash
  • 58b7558 Merge branch 'master' into ishash
  • c6c6c81 Merge pull request #720 from mobify/export-ispostalcode-locales
  • 7e002ff Update the changelog and min version
  • 27073c4 Merge pull request #718 from linkinmedo/uae-egypt-mobile
  • f8f6d56 Merge branch 'master' into uae-egypt-mobile
  • 87044f0 Update the changelog
  • 19a004f Merge pull request #713 from linkinmedo/currency-decimal
  • c721018 Export isPostalCode locales
  • 42a38f5 merge master
  • 391c61f fixes with tests and readme
  • 743af7e regexp clean up
  • 47b90ae add ar-AE, ar-EG and clean ar-JO

There are 47 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 9.0.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 25 commits.

  • 4149060 9.0.0
  • 1d2ed9c Update the changelog and min version
  • cb235f8 Merge branch 'linkinmedo-isfloat-locale-decimal'
  • 3041918 Merge branch 'isfloat-locale-decimal' of https://github.com/linkinmedo/validator.js into linkinmedo-isfloat-locale-decimal
  • bf73de0 Update the changelog and min version
  • 6741ffd Merge pull request #725 from linkinmedo/normalize-email-single-function
  • 571567b Merge branch 'master' into normalize-email-single-function
  • e6d2cc8 Update the HK mobile pattern, closes #665
  • fbd0298 Fix arg quoting on windows, fixes #724
  • 5aeeaee Update the changelog and min version
  • 88d77f1 Merge pull request #731 from Saka7/feature/ukrainian-phone-number-validator
  • dc0b8a0 Merge pull request #729 from fnnzzz/master
  • 167fad4 Merge pull request #730 from gustavohenke/patch-1
  • 1b190ae Merge branch 'master' into feature/ukrainian-phone-number-validator
  • c277078 Merge pull request #733 from frontsideair/isPort

There are 25 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 9.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 18 commits.

  • 375de50 9.1.0
  • f01bb6a Update changelog and min version
  • a4ae257 Merge pull request #734 from IamNguele/isiso3166-1-alpha2
  • eca753f Update changelog and min version
  • a201eb1 Merge pull request #737 from Tarpsvo/patch-1
  • 9e9bc81 Add missing comma
  • 80d08ec Add isMobilePhone 'et-EE' locale to src/lib as well
  • 84b2efe Fix isMobilePhone 'et-EE' locale test case typo
  • c597992 Update README: add 'et-EE' locale to isMobilePhone docs
  • fdbd473 Add tests for isMobilePhone validator's et-EE locale
  • a658c59 Merge pull request #736 from ThePaulMcBride/patch-2
  • 98ed139 Add Estonian locale (et-EE) to isMobilePhone validator
  • 3793360 Fix typo in README.md
  • edbd1c3 Update the changelog and min version
  • 3ee2a50 Merge pull request #735 from tomhelmer/add-gl-and-fo-phone-validation

There are 18 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 9.1.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 9 commits.

  • c3eaddf 9.1.1
  • dba8d9c Update the changelog and min version
  • 92015c5 Merge pull request #738 from PuHsiu/master
  • fd80b15 Remove U+FEFF from the begin of file.
  • 13f3d6f Patch the missing comma in test case.
  • 8c9ffb0 Update the changelog and min version
  • 76834c4 Merge pull request #739 from avilcan/master
  • 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
  • ec62c1d Update the jp mobile phone validator

See the full diff

greenkeeper[bot] commented 6 years ago

Version 9.1.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 8 commits.

  • 85d40ad 9.1.2
  • e9fbc0b Update the changelog and min version
  • 55ae11e Merge pull request #752 from linkinmedo/fix-isFloat
  • 5743012 Fix - and + passing as floats
  • a4c7ec8 Merge pull request #746 from mika-s/master
  • e668cc2 Fix failing test for isBefore().
  • c7fa39d Merge pull request #743 from kmarcisz/master
  • 56e7c97 Fixed typo in the function calls to check for fully qualified domain names

See the full diff

greenkeeper[bot] commented 6 years ago

Version 9.2.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 20 commits.

  • b3be640 9.2.0
  • 5fa95fc Update the changelog and min version
  • cd8fdfa Merge pull request #760 from Ilshidur/feature/isMimeType
  • 4f14456 Merge branch 'master' into feature/isMimeType
  • 30d00e4 Merge branch 'master' into feature/isMimeType
  • 2df50c9 Merge pull request #764 from ProfNandaa/savvakism-master-update
  • 51a5ef1 fix: update readme
  • e4bb8df feat: adds fixes and tests for #679
  • 7df6c5d fix: merge conflicts
  • 7bdb07f docs(readme): add isMimeType description
  • 9031ca1 feat: isMimeType(str)
  • 94132a3 Update changelog and min version
  • df034dc Merge pull request #755 from franciscofsales/master
  • 2e86d1a Merge branch 'master' into master
  • 1d5d326 Merge branch 'master' into master

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 9.3.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 24 commits.

  • ca0f25f 9.3.0
  • e9a4009 Remove the leftover compiled isDate
  • bf46b58 Update the changelog and min version
  • 06d6b16 Merge pull request #774 from vetoshko/new-phones
  • 3920f9d Merge branch 'master' into new-phones
  • f5fcb6d Merge pull request #777 from athivvat/support-thailand-locale
  • cbea0c7 Merge branch 'master' into support-thailand-locale
  • ab898d5 Merge pull request #779 from aniham/master
  • cfca110 Merge branch 'master' into master
  • efa5caa Merge pull request #782 from lfernando-silva/add_pt_br_mobile_phone_readme
  • 121e44e Merge pull request #768 from seentaoInternetOrganization/master
  • 92cce82 Adding pt-BR at docs
  • ba77d6c Add bg-BG alpha, alphanumeric, mobile, and postal code validation
  • 556248b be-BY and kk-KZ mobile phone validation support
  • 45cbe32 add some tests

There are 24 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 9.4.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 8 commits.

  • 4e455d2 9.4.0
  • 4fb34e9 Re-add the change to the en-IN phone regex
  • f2b9806 Updates from the previous merge
  • ca20e91 Merge pull request #785 from geekguy/master
  • f51344f Indian mobile numbers can start with 6 now.
  • 0ccb1c7 Update the changelog and min version
  • e7b8557 Merge pull request #769 from ProfNandaa/feat-741-is-phone-number-cc
  • 5615a12 isMobilePhone: add option for strictMode

See the full diff

greenkeeper[bot] commented 6 years ago

Version 9.4.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 7 commits.

  • 748d499 9.4.1
  • 1950835 Patch a REDOS
  • 77ed1ed Update the changelog and min version
  • 5c4c971 Merge pull request #788 from malachiwa/patch-1
  • 6a91b75 Update Israel's prefixes of mobile phone numbers
  • c93cf2c Merge pull request #786 from amilajack/patch-1
  • eeba049 Run against node 8

See the full diff

greenkeeper[bot] commented 6 years ago

Version 10.0.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 36 commits.

  • cf7483e 10.0.0
  • b22d4fb Update the changelog and min version
  • 5e2cf36 Merge pull request #807 from vodolaz095/yandex_normalize_dedup
  • f96ccb5 Merge branch 'master' into yandex_normalize_dedup
  • 3f5e506 Update the changelog
  • 2b70821 Fix float filters when using comma decimals, fixes #808
  • 4a1a5eb Update the changelog and min version
  • 0db95d8 Merge pull request #805 from salihsagdilek/master
  • a1fd3b9 Clarify some things in the changelog
  • 86caba2 Merge branch 'master' into master
  • da465a8 Update the changelog
  • bb3e542 Reject domain parts longer than 63 bytes, fixes #787
  • f4a9433 Update the changelog and min version
  • 02d31d2 Merge pull request #810 from AmirSasson/master
  • 9e1f629 Merge branch 'master' into master

There are 36 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 10.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 14 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 10.3.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 27 commits.

  • 0a9b52d 10.3.0
  • bf51a17 Merge pull request #839 from radotzki/pr/german-numbers
  • 45f48e8 Support German numbers without a separator after country code
  • 41c2ac0 Update the changelog
  • bf34fac Merge pull request #836 from agims7/newPostalCodesValidation
  • 1ff9804 Added EE, HR, HU, LT, LU, LV SI postal codes validation
  • e218607 Update the changelog
  • 8725ab2 Merge pull request #835 from InhumanSoul/master
  • f2e0c5d Add Swedish locale for isMobilePhone
  • 22495e5 Remove src lint overrides
  • 4174d78 Remove test lint overrides
  • 7390d45 Update eslint
  • 9e7b5c2 Update the changelog
  • 447981f Merge pull request #832 from tux-tn/master
  • 9ad2034 Remove wrong return statement

There are 27 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 10.4.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 24 commits.

  • 0ce2b3c 10.4.0
  • 4d0c0d4 Update the changelog and min version
  • 8e924a2 Merge pull request #842 from excelciordan/master
  • 9d6009b Merge branch 'master' into master
  • 1cb0900 Squased commits, made changes to isIpRange to avoid array destructuring.
  • 186f8d1 Update the changelog
  • 2c6b4d6 Merge pull request #843 from ProfNandaa/update-pr-771-fix
  • 10b12d3 chore: add tests and update readme
  • 64ca8b7 fix: merge conflicts
  • 2e6cc37 Squashing the many disparit commits into a single commit.
  • 1b15be4 Bump
  • c43475d Update the changelog and min version
  • e81230d Merge pull request #742 from vipul-21/master
  • 29c4ff5 Merge branch 'master' into master
  • 76a2db2 t push origin master:Merge branch 'chriso-master'

There are 24 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 10.5.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 72 commits.

  • f003962 Update the changelog
  • d12f275 Merge pull request #874 from towc/improvement-default-mobile-locale-any
  • b45c8f4 added defaulting note in README
  • b113d63 default falsey locale to 'any' in isMobilePhone
  • ed4b52d 10.5.0
  • ae81250 Reject protocol relative URLs unless the flag is set, fixes #860
  • 5733145 Update the changelog and min version
  • bedce99 Add a new prefix for NZ phone numbers, fixes #859
  • 1900ae2 Add a README entry for the new email flag
  • 730dd0d Update the changelog
  • e027403 Merge pull request #873 from chriso/chriso/domain-specific-validation-flag
  • 6030805 Put domain specific email validation behind a flag
  • f0151fa Update the changelog and min version
  • 06d94fd Merge pull request #862 from retrowaver/hotfix/pl-locale-bug
  • f1a1b90 Merge branch 'master' into hotfix/pl-locale-bug

There are 72 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 10.6.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 17 commits.

  • e467d7d 10.6.0
  • 1bdc6d3 Update the min version and changelog
  • 783a69e Merge pull request #880 from ftrevo/improvement/is-empty-allow-string-only-whitespaces
  • c5462d4 Merge pull request #881 from datatypevoid/patch-1
  • a5f7ddd chore(README): correct spelling
  • e8d0883 Changing variable name to be clearer
  • b62a6e0 Update the changelog and min version
  • 16f0029 Merge pull request #879 from ftrevo/improvement/es-MX-mobile-phone-validation
  • 11496bc Improving isEmpty to allow strings with whitespaces only case option whitespace_only_as_empty set to true
  • 87f5cfc Merge pull request #1 from chriso/master
  • 766ea05 Adding 'es-MX' to isMobilePhone possible locales in README.md
  • 5d012d6 Adding 'es-MX' to isMobilePhone possible locales in README.md
  • 10d7f48 Adding es-MX mobile phone validation
  • d9c5c94 Adding es-MX mobile phone validation
  • b1440e9 Update the changelog and min version

There are 17 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 10.7.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 12 commits.

  • d3aa0a8 10.7.0
  • d3ada60 Update the changelog
  • 11b79bd Merge pull request #885 from bgrgndzz/bgrgndzz/isJWT
  • 0b89e56 add isJWT
  • 10d3cdd Update the changelog
  • 65e16f8 Merge pull request #884 from Adibla/Adibla/isMagneticURI
  • 85de543 Update README.md
  • 26dc0ce Merge remote-tracking branch 'origin/Adibla/isMagneticURI' into Adibla/isMagneticURI
  • 75c75c3 fix lint
  • 815eb46 update README.md
  • 5d12818 add isMagneticURI #877
  • f36a863 Use https GitHub URLs, closes #882

See the full diff

greenkeeper[bot] commented 6 years ago

Version 10.7.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 5 commits.

  • 5c86104 10.7.1
  • 182a3e1 Additional stuff for #889
  • 0e6a8ef Merge pull request #889 from MatanBobi/master
  • 047720e Fix he-IL to contain a $ sign at the end
  • 6ce3060 Ignore case when checking protocol, closes #887

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Commits

The new version differs by 27 commits.

  • c4b1eea 10.8.0
  • 7726fcd Update changelog and min version
  • 3fe78c1 Merge pull request #895 from DCtheTall/master
  • d859be0 Merge branch 'master' into master
  • 8474862 Update changelog and min version
  • a9ea6b1 Merge pull request #896 from SloCompTech/master
  • f000550 Merge branch 'master' into master
  • 3f5e8f6 Update the changelog
  • 0649c05 Merge pull request #846 from hitbits/master
  • dd23cd3 remove unnecessary reference
  • b590c6d Shortened error message
  • 43540cd chore: add maintainers details (#898)
  • 1ae2254 Added slovenian isMobilePhone
  • 5e2a0fa Added sl-SI to isAlpha and isAlphaNumeric
  • 1e10333 Merge branch 'locale-si'

There are 27 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for 10.9.0

See the changelog.

Commits

The new version differs by 20 commits.

  • ef5f7a1 10.9.0
  • 2ea9186 chore: update changelog and min version
  • 4d409bd feat(isMobilePhone): add en-GH locale (Ghana) (#928)
  • 209a801 feat(isMobilePhone): add en-MU locale (Mauritian) (#925)
  • c12af3c fix: sync changelog and min version
  • d557d44 fix(isMobilePhone): Indonesian locale update (#916)
  • 8445383 fix: sync changelog and min version
  • cec8841 fix(isMobilePhone): fix bn-BD locale prefixes (#913)
  • 0031015 chore: rebuild with babel 7
  • 425320c chore: upgrade to babel 7 (#915)
  • dad8961 fix: extra validation for dates (#910)
  • 509324f chore: update changelog and min version
  • 3a2d661 fix: transpile isJWT changes (#906)
  • 439c51f feat(isJWT): signature is not required (#906)
  • 8c4a74c feat(isURL): add option to reject email-like URLs (#901)

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Commits

The new version differs by 7 commits.

  • b32d21e 10.10.0
  • 556f54f fix(isMobilePhone): update ms-MY locale (#950)
  • 52f7673 feat(isPostalCode): added UA locale (#947)
  • 285f58d fix(isMobilePhone): update de-DE validation (#933)
  • 635c0af chore: update changelog and min version
  • bf5b2dc fix(isISO8601): strict mode now works with other JS engines (#932)
  • f67111d fix(isMobilePhone): update en-US validation (#931)

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for 10.11.0

See the changelog

Commits

The new version differs by 6 commits.

  • c0b905e 10.11.0
  • c8bb935 fix: always add default property to allow require+import (#961)
  • 5a937d9 chore: update changelog
  • b30c2ca feat(isMobilePhone): add Ireland locale (en-IE) (#958)
  • 5ca54d2 fix: correct OpenCollective badge URL
  • 8b09f76 Add OpenCollective badges

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Commits

The new version differs by 16 commits.

  • 90cc022 11.0.0
  • 7c079b7 chore: remove toString export from combined version
  • 0277eb0 chore: remove the toString util
  • c2ff8bf fix: sync src/lib and lib
  • 5830e66 fix(isMobilePhone): update bn-BD validation (#1032)
  • daaf1f7 fix(isMobilePhone): update vi-VN validation (#1031)
  • 9fc9388 feat: add isBase32 validator (#1023)
  • fd7a793 fix(isMobilePhone): update zh-CN validation (#1022)
  • 41a940f feat(isEmail): check total email length (#1007)
  • 57ed38f feat(isEmail): validate display name according to RFC2822 (#1004)
  • 074168a chore: add JSON reference test case in isURL validator (#978)
  • 330ad51 fix: sync src/lib with lib
  • 63e4c78 feat(isMobilePhone): add es-PY locale (Paraguay) (#1017)
  • 251041b feat(isPostalCode): add Indonesia validation (#999)
  • 2c68a31 feat(isMobilePhone): add support for ar-EG 015 (#1010)

There are 16 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀