Showing 1 of 1 files from the diff.

@@ -40,7 +40,6 @@
Loading
40 40
// Special case for a simple path URL
41 41
const simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/;
42 42
43 -
const hostnameMaxLen = 255;
44 43
// protocols that can allow "unsafe" and "unwise" chars.
45 44
const unsafeProtocol = {
46 45
  javascript: true,
@@ -293,12 +292,8 @@
Loading
293 292
      if (result !== undefined) rest = result;
294 293
    }
295 294
296 -
    if (this.hostname.length > hostnameMaxLen) {
297 -
      this.hostname = '';
298 -
    } else {
299 -
      // hostnames are always lower case.
300 -
      this.hostname = this.hostname.toLowerCase();
301 -
    }
295 +
    // hostnames are always lower case.
296 +
    this.hostname = this.hostname.toLowerCase();
302 297
303 298
    if (!ipv6Hostname) {
304 299
      // IDNA Support: Returns a punycoded representation of "domain".
Files Coverage
src 93.82%
Project Totals (169 files) 93.82%
12123.5
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12119.2
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12123.3
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12123.2
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12123.4
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12123.1
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12103.2
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12103.1
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12103.5
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12103.3
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12103.4
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12103.4
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12119.3
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12119.5
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12119.4
TRAVIS_OS_NAME=linux
10.14.2=0.14.2
12119.1
TRAVIS_OS_NAME=linux
10.14.2=0.14.2

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading