Closed realityking closed 3 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/truncateTableData.js | 0 | 1 | 0.0% | ||
src/createStream.js | 1 | 3 | 33.33% | ||
<!-- | Total: | 16 | 19 | 84.21% | --> |
Totals | |
---|---|
Change from base Build 215: | 0.0% |
Covered Lines: | 172 |
Relevant Lines: | 236 |
My bad, I didn't see that. I've opened #127 for the other two commits in this branch as they still make sense.
I know there's been some recent bad experience with lodash refactors but I hope this more conservative approach here is safer.
The PR does 2 things:
table
String.prototype.trimEnd
andObject.values
. Both are available now thattable
requires Node.js 10Some other things might be possible but I think they're better kept for follow-up PRs.
Note I did not use the per-method packages as they're deprecated and actually hurt deduplication. They also load more code than this approach.