Skip to content
New issue

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

Add ability to format bytes as metric or IEC; affects [bundlejs bundlephobia CratesSize DockerSize GithubRepoSize GithubCodeSize GithubSize NpmUnpackedSize SpigetDownloadSize steam VisualStudioAppCenterReleasesSize whatpulse] #10547

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Sep 21, 2024

  1. add renderSizeBadge helper, use it everywhere

    - switch from pretty-bytes to byte-size
    - add renderSizeBadge() helper function
    - match upstream conventions for metric/IEC units
    - add new test helpers and use them in service tests
    chris48s committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    3395601 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. unrelated: fix npm unpacked size query param schema

    not strictly related to this PR
    but I noticed it was broken
    chris48s committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    cbac43b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6028f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4513955 View commit details
    Browse the repository at this point in the history