Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Jul 20, 2024

This PR contains the following updates:

Package Change Age Confidence
byte-size ^8.1.0^9.0.0 age confidence

Release Notes

75lb/byte-size (byte-size)

v9.0.1

Compare Source

v9.0.0

Compare Source

Whether this is a breaking change or not is debatable so it has been released as a major version just in case.

Non-breaking change since v8.2.1

These changes affect the output only, there are no changes to the API or minimum supported Node version (still v12.17).

  • Fixed an issue where precision and Intl formatting was not applied to small numbers. #​15
  • Removed minimumFractionDigits from unit number formatting. This removes superfluous precision, some examples:
    • byteSize(1000).toString() now returns 1 kB instead of 1.0 kB, removing the superfluous one decimal place of precision.
    • byteSize(1500000, { precision: 5 }).toString() now returns 1.5 MB instead of 1.50000 MB, again removing superfluous precision.
    • However, byteSize(1500010, { precision: 5 }).toString() will return 1.50001 MB as there is meaningful, non-zero precision to display.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@renovate renovate bot force-pushed the renovate/byte-size-9.x branch from 64efb85 to a3762ba Compare August 10, 2025 15:15
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedbyte-size@​8.2.1 ⏵ 9.0.1100 +110010077100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant