Skip to content

chore(deps): update dependency byte-size to v9 - #11356

Merged
alextran1502 merged 1 commit into
mainfrom
renovate/byte-size-9.x
Jul 26, 2024
Merged

alextran1502 merged 1 commit into
mainfrom
renovate/byte-size-9.x

Conversation

@renovate

@renovate renovate Bot commented Jul 25, 2024

Copy link
Copy Markdown
Contributor

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
byte-size ^8.1.1 -> ^9.0.0 age adoption passing confidence

Release Notes

75lb/byte-size (byte-size)

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.

v8.2.1

Compare Source

v8.2.0

Compare Source


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.

@renovate renovate Bot added dependencies Pull requests that update a dependency file renovate labels Jul 25, 2024
@alextran1502
alextran1502 merged commit 32ba6e3 into main Jul 26, 2024
@alextran1502
alextran1502 deleted the renovate/byte-size-9.x branch July 26, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant