You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

History.md 1.5KB

5 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. 3.1.0 / 2019-01-22
  2. ==================
  3. * Add petabyte (`pb`) support
  4. 3.0.0 / 2017-08-31
  5. ==================
  6. * Change "kB" to "KB" in format output
  7. * Remove support for Node.js 0.6
  8. * Remove support for ComponentJS
  9. 2.5.0 / 2017-03-24
  10. ==================
  11. * Add option "unit"
  12. 2.4.0 / 2016-06-01
  13. ==================
  14. * Add option "unitSeparator"
  15. 2.3.0 / 2016-02-15
  16. ==================
  17. * Drop partial bytes on all parsed units
  18. * Fix non-finite numbers to `.format` to return `null`
  19. * Fix parsing byte string that looks like hex
  20. * perf: hoist regular expressions
  21. 2.2.0 / 2015-11-13
  22. ==================
  23. * add option "decimalPlaces"
  24. * add option "fixedDecimals"
  25. 2.1.0 / 2015-05-21
  26. ==================
  27. * add `.format` export
  28. * add `.parse` export
  29. 2.0.2 / 2015-05-20
  30. ==================
  31. * remove map recreation
  32. * remove unnecessary object construction
  33. 2.0.1 / 2015-05-07
  34. ==================
  35. * fix browserify require
  36. * remove node.extend dependency
  37. 2.0.0 / 2015-04-12
  38. ==================
  39. * add option "case"
  40. * add option "thousandsSeparator"
  41. * return "null" on invalid parse input
  42. * support proper round-trip: bytes(bytes(num)) === num
  43. * units no longer case sensitive when parsing
  44. 1.0.0 / 2014-05-05
  45. ==================
  46. * add negative support. fixes #6
  47. 0.3.0 / 2014-03-19
  48. ==================
  49. * added terabyte support
  50. 0.2.1 / 2013-04-01
  51. ==================
  52. * add .component
  53. 0.2.0 / 2012-10-28
  54. ==================
  55. * bytes(200).should.eql('200b')
  56. 0.1.0 / 2012-07-04
  57. ==================
  58. * add bytes to string conversion [yields]