github quasarframework/quasar quasar-v2.35.6

27 minutes ago

Changes

  • fix(format): humanStorageSize unit near a boundary -> the unit was picked from the raw value while the output shows the rounded one, so a size just below a boundary rounded up to 1024 of the smaller unit: 1048575 gave 1024.0KB and 1023.5 with 0 decimals gave 1024B. These now read 1.0MB and 1KB (#18604)
  • fix(format): humanStorageSize with negative values -> a negative size never left the B unit (-2048 gave -2048.0B). The unit is now picked from the magnitude, so it reads -2.0KB (#18604)
  • fix(format): humanStorageSize input handling -> a numeric string is now accepted whatever its size ('500' used to throw while '2048' worked), and the types allow number | string. Any other value throws a TypeError with a clear message. Behavior change: NaN used to return NaNB and now throws too (#18604)

Donations

Quasar Framework is an open-source MIT-licensed project made possible due to the generous contributions by sponsors and backers. If Quasar is useful in your workflow and you want to support ongoing maintenance, please consider the following:

Don't miss a new quasar release

NewReleases is sending notifications on new releases.