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

feat: improve output for IPv4 and IPv6 #3092

Merged
merged 12 commits into from Mar 22, 2021

Conversation

alexander-akait
Copy link
Member

@alexander-akait alexander-akait commented Mar 17, 2021

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

Will add late

Motivation / Use-Case

finish #2943

Breaking Changes

No

Additional Info

output information for IPv4 and IPv6 + less deps, because internal-ip uses ipaddr.js

lib/Server.js Outdated
Comment on lines 709 to 712
const uri =
localhostForTerminal ||
networkUrlForTerminalIPv6 ||
networkUrlForTerminalIPv6;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const uri =
localhostForTerminal ||
networkUrlForTerminalIPv6 ||
networkUrlForTerminalIPv6;
const uri =
localhostForTerminal ||
networkUrlForTerminalIPv4 ||
networkUrlForTerminalIPv6;

@codecov
Copy link

codecov bot commented Mar 18, 2021

Codecov Report

Merging #3092 (7533810) into master (2496110) will decrease coverage by 0.33%.
The diff coverage is 80.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3092      +/-   ##
==========================================
- Coverage   92.30%   91.97%   -0.34%     
==========================================
  Files          37       37              
  Lines        1261     1283      +22     
  Branches      328      343      +15     
==========================================
+ Hits         1164     1180      +16     
- Misses         92       97       +5     
- Partials        5        6       +1     
Impacted Files Coverage Δ
lib/Server.js 93.64% <80.55%> (-1.03%) ⬇️

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 2496110...7533810. Read the comment docs.

Copy link
Member

@snitin315 snitin315 left a comment

Choose a reason for hiding this comment

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

Nice

@alexander-akait alexander-akait merged commit f362665 into master Mar 22, 2021
@alexander-akait alexander-akait deleted the feat-output-ipv4-and-ipv6 branch March 22, 2021 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants