• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

npm / cli / #2792
97%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 11 Aug 2021 04:38PM UTC
Jobs 1
Files 124
Run time 27s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#2792

push

wraithgar
deps: remove byte-size

In its latest release, byte-size dropped support for node versions lower
than 14.  The cli currently supports node 10 and up.

The actual functionality we needed and was using was extremely limited
in scope, and didn't warrant an external module.  It's just pretty
printing a file size, and the files we are dealing with are limited in
size so we don't need to support so many suffixes.

PR-URL: https://github.com/npm/cli/pull/3569
Credit: @wraithgar
Close: #3569
Reviewed-by: @isaacs

3190 of 3288 branches covered (97.02%)

Branch coverage included in aggregate %.

15 of 15 new or added lines in 3 files covered. (100.0%)

5427 of 5580 relevant lines covered (97.26%)

27.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
100.0
lib/utils/format-bytes.js
Jobs
ID Job ID Ran Files Coverage
1 #2792.1 11 Aug 2021 04:38PM UTC 0
97.17
Source Files on build #2792
  • Tree
  • List 124
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a1bdbea9 on github
  • Prev Build on gar/pretty-bytes
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc