1 | 3.1.2 / 2022-01-27
|
2 | ==================
|
3 |
|
4 | * Fix return value for un-parsable strings
|
5 |
|
6 | 3.1.1 / 2021-11-15
|
7 | ==================
|
8 |
|
9 | * Fix "thousandsSeparator" incorrecting formatting fractional part
|
10 |
|
11 | 3.1.0 / 2019-01-22
|
12 | ==================
|
13 |
|
14 | * Add petabyte (`pb`) support
|
15 |
|
16 | 3.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 |
|
23 | 2.5.0 / 2017-03-24
|
24 | ==================
|
25 |
|
26 | * Add option "unit"
|
27 |
|
28 | 2.4.0 / 2016-06-01
|
29 | ==================
|
30 |
|
31 | * Add option "unitSeparator"
|
32 |
|
33 | 2.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 |
|
41 | 2.2.0 / 2015-11-13
|
42 | ==================
|
43 |
|
44 | * add option "decimalPlaces"
|
45 | * add option "fixedDecimals"
|
46 |
|
47 | 2.1.0 / 2015-05-21
|
48 | ==================
|
49 |
|
50 | * add `.format` export
|
51 | * add `.parse` export
|
52 |
|
53 | 2.0.2 / 2015-05-20
|
54 | ==================
|
55 |
|
56 | * remove map recreation
|
57 | * remove unnecessary object construction
|
58 |
|
59 | 2.0.1 / 2015-05-07
|
60 | ==================
|
61 |
|
62 | * fix browserify require
|
63 | * remove node.extend dependency
|
64 |
|
65 | 2.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 |
|
74 | 1.0.0 / 2014-05-05
|
75 | ==================
|
76 |
|
77 | * add negative support. fixes #6
|
78 |
|
79 | 0.3.0 / 2014-03-19
|
80 | ==================
|
81 |
|
82 | * added terabyte support
|
83 |
|
84 | 0.2.1 / 2013-04-01
|
85 | ==================
|
86 |
|
87 | * add .component
|
88 |
|
89 | 0.2.0 / 2012-10-28
|
90 | ==================
|
91 |
|
92 | * bytes(200).should.eql('200b')
|
93 |
|
94 | 0.1.0 / 2012-07-04
|
95 | ==================
|
96 |
|
97 | * add bytes to string conversion [yields]
|