We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happens When the size is 4632 bytes, size-limit reports 4.52 KB. However, this size is in KiB. This is due to the bytes package not currently following, and not willing to follow, the standard set forth by ISO, BIPM, and IEC.
4632 bytes
4.52 KB
KiB
What should happen size-limit should follow the standard and report 4.63 KB.
4.63 KB
Solution Use a package like pretty-bytes or bytes-iec which follows the standards and converts sizes properly.
The text was updated successfully, but these errors were encountered:
I like the idea of moving KiB units =^_^=
Can you send PR and change the text in the code? You can replace bytes with any library, which has 0 dependencies.
bytes
Sorry, something went wrong.
Fix was released in 4.10.2
Successfully merging a pull request may close this issue.
What happens
When the size is
4632 bytes
, size-limit reports4.52 KB
. However, this size is inKiB
. This is due to the bytes package not currently following, and not willing to follow, the standard set forth by ISO, BIPM, and IEC.What should happen
size-limit should follow the standard and report
4.63 KB
.Solution
Use a package like pretty-bytes or bytes-iec which follows the standards and converts sizes properly.
The text was updated successfully, but these errors were encountered: