Skip to content

add(isURL): added require_port option#1436

Merged
profnandaa merged 1 commit into
validatorjs:masterfrom
yshanli:master
Sep 18, 2020
Merged

add(isURL): added require_port option#1436
profnandaa merged 1 commit into
validatorjs:masterfrom
yshanli:master

Conversation

@yshanli

@yshanli yshanli commented Sep 15, 2020

Copy link
Copy Markdown
Contributor

Add require_port option for isURL. Default require_port is false.

In my isURL test scenario, a port in URL is must, so I want to add a require_port option.

Checklist

  • README updated (where applicable)
  • Tests written (where applicable)

@codecov

codecov Bot commented Sep 15, 2020

Copy link
Copy Markdown

Codecov Report

Merging #1436 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1436   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           95        95           
  Lines         1254      1256    +2     
=========================================
+ Hits          1254      1256    +2     
Impacted Files Coverage Δ
src/lib/isURL.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3f9d2b...4979ece. Read the comment docs.

@profnandaa profnandaa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contrib! 🎉

/cc. @tux-tn @ezkemboi

@tux-tn tux-tn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants