Ran
|
Jobs
2
|
Files
25
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci-com
<a href="https://github.com/gajus/table/commit/<a class=hub.com/gajus/table/commit/<a class="double-link" href="https://git"><a class=hub.com/gajus/table/commit/<a class="double-link" href="https://git"><a class=hub.com/gajus/table/commit/66ff66140ac2b0549c588e6f2808ac4218b97c25">66ff66140"><a href="https://github.com/gajus/table/commit/</a><a class="double-link" href="https://github.com/gajus/table/commit/<a class="double-link" href="https://git"><a class=</a>hub.com/gajus/table/commit/66ff66140ac2b0549c588e6f2808ac4218b97c25">66ff66140</a><a href="https://github.com/gajus/table/commit/66ff66140ac2b0549c588e6f2808ac4218b97c25"><a href="https://github.com/gajus/table/commit/66ff66140ac2b0549c588e6f2808ac4218b97c25">&quot;&gt;fix: simplify dependencies (#159) * Removed usage of is-boolean-object This package was only used once, and incorrectly. is-boolean-object checks whether the input is `true`, `false` or an object created with the `Boolean` constructor. I doubt that this last case was really intended and properly supported since the Typescript type is `boolean` (so, only true/false) and the only code that uses the boolean is this one: ```ts if (useWrapWord) { ``` however, `if (new Boolean(false))` yields `true`. * Removed `is-number-object` dependency This library checks whether the input is a number or a Number object (i.e. created with `new Number(5)`). I never saw anyone using the latter syntax, and I&amp;#39;m not sure the 17+kB-and-10-files dependency is really useful. This is a breaking change since `new Number(5)` will not be allowed anymore for column width. Does anyone really do that? This change is in line with the typescript type annotations for the width, which only allow `number`s to be provided. * Removed the dependency on `is-string` The package tests whether the input is a string or a string object (i.e. created with `new Object(&amp;#39;hello&amp;#39;)`). I&amp;#39;m not sure we should support the latter syntax, especially since the string is passed to string-width, which explicitely returns 0 if `typeof` doesn&amp;#... (continued)
123 of 124 branches covered (99.19%)
Branch coverage included in aggregate %.
6 of 6 new or added lines in 3 files covered. (100.0%)
340 of 340 relevant lines covered (100.0%)
144.42 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 303.1 | 25 |
99.78 |
Travis Job 303.1 | |
2 | 303.2 | 25 |
99.78 |
Travis Job 303.2 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|