UNPKG

1.77 kBMarkdownView Raw
13.1.2 / 2022-01-27
2==================
3
4 * Fix return value for un-parsable strings
5
63.1.1 / 2021-11-15
7==================
8
9 * Fix "thousandsSeparator" incorrecting formatting fractional part
10
113.1.0 / 2019-01-22
12==================
13
14 * Add petabyte (`pb`) support
15
163.0.0 / 2017-08-31
17==================
18
19 * Change "kB" to "KB" in format output
20 * Remove support for Node.js 0.6
21 * Remove support for ComponentJS
22
232.5.0 / 2017-03-24
24==================
25
26 * Add option "unit"
27
282.4.0 / 2016-06-01
29==================
30
31 * Add option "unitSeparator"
32
332.3.0 / 2016-02-15
34==================
35
36 * Drop partial bytes on all parsed units
37 * Fix non-finite numbers to `.format` to return `null`
38 * Fix parsing byte string that looks like hex
39 * perf: hoist regular expressions
40
412.2.0 / 2015-11-13
42==================
43
44 * add option "decimalPlaces"
45 * add option "fixedDecimals"
46
472.1.0 / 2015-05-21
48==================
49
50 * add `.format` export
51 * add `.parse` export
52
532.0.2 / 2015-05-20
54==================
55
56 * remove map recreation
57 * remove unnecessary object construction
58
592.0.1 / 2015-05-07
60==================
61
62 * fix browserify require
63 * remove node.extend dependency
64
652.0.0 / 2015-04-12
66==================
67
68 * add option "case"
69 * add option "thousandsSeparator"
70 * return "null" on invalid parse input
71 * support proper round-trip: bytes(bytes(num)) === num
72 * units no longer case sensitive when parsing
73
741.0.0 / 2014-05-05
75==================
76
77 * add negative support. fixes #6
78
790.3.0 / 2014-03-19
80==================
81
82 * added terabyte support
83
840.2.1 / 2013-04-01
85==================
86
87 * add .component
88
890.2.0 / 2012-10-28
90==================
91
92 * bytes(200).should.eql('200b')
93
940.1.0 / 2012-07-04
95==================
96
97 * add bytes to string conversion [yields]