31 KiB
Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by auto-changelog
.
6.1.0
22 February 2020
- Adding
exponent
toobject
output, fixes #112#113
- Merge pull request #113 from avoidwork/exponents
#112
- Adding
exponent
toobject
output, fixes #112#112
- Using
auto-changelog
to generate a formatted changelog, fixes #110#110
- Updating CHANGELOG
d1b726a
- Updating LICENSE
8acef4c
- Create FUNDING.yml
6eb9744
6.0.1
8 November 2019
6.0.0
31 October 2019
- This reverts commit 1263ce4990ea3219c4b14aa2a8e941869dd808fc, reversing
#104
- This reverts commit 3a088db57570ff352eb9a33ccdcb9d07c9fcb04d, reversing
#106
- Create FUNDING.yml
#106
- Revert "Fixing the hackish type definition, fixes #105"
#105
- Reverting modern build as it's too problematic at this time, major version bump to roll forward
71a9ead
- Updating
CHANGELOG
5b88732
5.0.3
8 October 2019
5.0.2
7 October 2019
- git-log based CHANGELOG via
npm run changelog
d8415f5
- Adding CHANGELOG to
.npmignore
with minor version bump to prep for changes2a9e78d
5.0.1
1 October 2019
- Fixing the hackish type definition, fixes #105
#105
5.0.0
1 October 2019
- Modernizing build & outputs
#104
- Updating
.npmignore
5715622
- Updating typescript module definition
2e3d1bb
4.2.1
25 September 2019
- Fixing case where rounding results in the wrong exponent, fixes #103
#103
- Updating travis-ci.org config
5b362af
4.2.0
11 September 2019
- Add support for localeOptions option: allow customization of i18n output
#102
- Bump mixin-deep from 1.3.1 to 1.3.2
#101
- Bump eslint-utils from 1.3.1 to 1.4.2
#99
- Updating dependencies, version bump to release #102
ab80f87
- add support for localeOptions
6505945
- build
b9f7fb4
4.1.2
15 February 2019
- Refactoring
locale
option to acceptString
orBoolean
values, re-organizing code such that anexponent
output skips unneeded opsdd8f754
4.1.1
13 February 2019
- Fixing order of ops that could've impacted
object
output3b71615
4.1.0
13 February 2019
- Adding
locale
option which overridesseparator
, fixes #96#96
4.0.0
12 January 2019
- Removing deprecated
suffixes
option with a major version bump, updating README & LICENSE copyrights, updating dev dependenciesa0b268f
- Updating README
81e5499
- Updating travis-ci.org configuration
5bcc3c4
3.6.1
24 March 2018
- Including ES6 version with
npm install
, updating grunt build such that more files are lintedfb9bd3e
- oops
dc04050
3.6.0
3 February 2018
- Adding
separator
option, fixes #93#93
3.5.11
18 October 2017
- Add CDNJS version badge in README.md
#90
- Updating build dependencies, travis-ci.org config, fixing banner alignment in uglify output
20baedd
3.5.10
19 May 2017
3.5.9
30 April 2017
- Removing loader script as it apparently breaks browserify/webpack loading (sigh)
54d9770
3.5.8
29 April 2017
- Adding
index.js
to load es5 or es6 depending on the test environment0e07bba
3.5.7
29 April 2017
- Adding
babili
task to minify the es6 file, fixes #86#86
3.5.6
7 March 2017
- Building missing files, updating README
77db546
3.5.5
24 February 2017
- Changing things such that you can do
filesize(0, {exponent: n})
and get the correct result, adding a test, fixes #85#85
- Updating example in README
7c75121
- Updating example in README
1f6c51f
3.5.4
25 January 2017
- Adding
fullforms
for overriding full form727db07
3.5.3
25 January 2017
- Fixing
0 bytes
d957df3
3.5.2
25 January 2017
- Updating README
7bc227e
3.5.1
24 January 2017
- Correcting
longform
tofullform
1dee34f
3.5.0
24 January 2017
- Adding
longform
flag, fixing markdown in README7d8b650
3.4.3
23 January 2017
- Oops, fixes #84
#84
3.4.2
21 January 2017
- Simplifying
filesize.partial()
& adding a test4d1e9ea
3.4.1
20 January 2017
- Changing a statement to be a little easier to read, updating build status graphic to be SVG for better rendering on various devices
de2e388
- Updating
travis-ci.org
config 'cause the eslint dep requires es6 engine without astrictEngine
(so pro)c1d40b5
- Fixing alignment of the example in README
245aa6d
3.4.0
19 January 2017
- improve format
#83
- Creating
filesize.partial()
for creating a partial application / functional programming style, updating dependencies, fixing lint errors, updating README & LICENSE copyright year, updating README to coverfilesize.partial()
1ba7b0c
- Adding a downloads shield to the README ... 'cause why not
81bc1d2
3.3.0
23 April 2016
- Adding support for IEC standard via new
standard
descriptor property (defaults tojedec
), fixes #80#80
- Handling bits, and
base
collision70048cb
- Minor optimization by looking at the exponent vs the string length
d795026
- Updating a comment
0521336
3.2.1
30 January 2016
- add test case for huge number
#76
- Fixing invalid results for small & large bit values, fixes #77
#77
3.2.0
22 January 2016
- Fixing a poor choice in wording by marking
suffixes
for deprecation & moving tosymbols
, updating README (fixes #72, #73)#72
3.1.6
19 January 2016
- Fixing kilobit & kilobyte symbols by ensuring JEDEC for base 2 & SI for base 10, fixes #69
#69
- Removing
.idea
file from npm, fixes #71#71
- Updating travis-ci to test node 5.4.x
df5d39d
3.1.5
22 December 2015
- Add bower manifest
#67
- Fixing
bit
suffix & updating build to use latest version of babel, fixes #68#68
- Fixing package.json
71cc5a5
3.1.4
13 November 2015
3.1.3
27 July 2015
3.1.2
28 February 2015
- Removing unneeded nesting of conditionals
a4448cd
3.1.1
24 February 2015
- Updating to transpiler to
babel
4.0.0, reformatting some statements for readability, movingconsts
to the top of the libfc3714f
- Updating travis file
4fd4373
3.1.0
4 February 2015
- Add a Gitter chat badge to README.md
#60
- Refactored to ES6, with transpiling to ES5
f214346
- Update README.md
db1df8e
- Added Gitter badge
905c6b5
3.0.2
29 January 2015
- Fixing an error in exponent calculation such that
ceil
is utilized & added two tests, fixes #59#59
3.0.1
12 January 2015
- Adding the ability to specify the
exponent
used for determining the file size, and addingexponent
as an output value (feature request by email)0af5ea1
3.0.0
4 January 2015
- Composer support
#58
- Refactoring
filesize()
to outputArray
&Object
shapes, & changing defaultbase
to2
, reformatting code based on IDE settings (not included)a7fe91b
- add composer.json
f53152d
2.0.4
2 October 2014
- Fixes #55 by avoiding type mutation, fixing CI tests by removing node 0.8.x
#55
2.0.3
1 March 2014
2.0.2
1 March 2014
- Removing a file
#52
- Optimizations
#51
- Changing the method of generating
result
98f34a1
- Generating a String instead of an Array for 'unix mode'
7e46fd9
2.0.1
25 February 2014
- Adding language overriding via optional
suffixes
dictionary#49
2.0.0
12 October 2013
- Major refactoring, API change
#47
- Initial refactor for 2.0.0
c401052
- Completing 2.0.0
09a7dbc
- Updating README
d68c555
1.10.0
19 July 2013
- Typo
#42
- Updating README
#41
- Switching to base 10
#40
- Updating example in README
c148806
- Minor change
49ecfc2
1.9.6
5 July 2013
1.9.5
18 June 2013
1.9.4
13 June 2013
- Minor change
#35
- Updating
README.md
examples#34
- Refactoring
#33
- Updated grunt build, implemented
jshint
for linting, fixes #32#32
- Removing unused grunt module
11f0d72
- Returning
grunt-cli
topackage.json
191baa4
1.9.3
14 April 2013
1.9.2
11 April 2013
1.9.1
7 April 2013
- Minor change
#29
- Updating README.md
#27
- Updating
.npmignore
to ignore unneeded files for distribution, fixes #28#28
1.9.0
7 April 2013
1.8.0
3 March 2013
- Optimizations
#24
- Caching variables in closure scope, upgraded to grunt 0.4.0, fixed license link in README.md
7648fee
1.7.9
5 February 2013
1.7.8
5 February 2013
1.7.7
5 February 2013
- Optimizations
#18
- Optimizations; kudos to @marktucker for looking over the lib
e5965f0
- 💎 Added travis.yml file 💎
785ae92
1.7.6
5 February 2013
- Minor optimization
#17
- Optimizing the negative number flip using the simplest method (minus operator)
0fb401c
1.7.5
2 February 2013
1.7.4
2 February 2013
1.7.3
2 February 2013
- Minor refactoring
#13
- Adding support for negative sizes, fixes #12
#12
- Adding license for proper attribution in a retail product
e1a3ea5
- Adding license for proper attribution in a retail product
4a167c2
1.7.2
3 November 2012
- Minor changes
#11
- Refactored to utilize regex tests instead of string comparisons, minor version bump
bfa1398
1.7.1
3 November 2012
- Minor changes
#10
- Fixing shorthand for
bit
suffixes2222c6e
- Updated README
1d0eb61
- Updated README
5ffc824
1.7.0
2 November 2012
- Refactored
#9
- Extended size ranges to support Byte - PetaByte based on the new standard definitions
97a497c
- Version bump
5341f0b
1.6.7
2 November 2012
- Minor refactoring
#8
- The repo your repo could be like!
#7
- Specified the base/radix for parseInt() & simplified the number cast
8315027
- Fixing a test
f487a26
- 💎 Added travis.yml file 💎
497a6f9
1.6.6
15 August 2012
- Shouldn't have been in the commit
#6
- Correcting dir structure
#5
- Implemented a grunt build process & unit tests
#4
- Removing deprecated variables, moving tag
6cfdca0
- Fixing npm path
cc36eac
- Updating npm package.json, moving tag
ce70843
1.6.5
22 June 2012
- Add a jam ignore to reduce packaged size
#3
- Made it faster
f2126d0
- Removing unnecessary ops, making the AMD loading anonymous, updated docblock
cf2c698
- Generated a proper package.json
59d04ab
1.6.0
2 May 2012
1.5.0
30 April 2012
- Added an optional third boolean parameter to emulate "ls -lh" output, which overrides "pos" parameter
33b074c
1.4.0
16 March 2012
- Add parameter validation, fixed byte output, updated docblock
329e874
- Removing window references
1375bdc
- Fixing AMD loading
21e2aa7
1.3.0
8 March 2012
1.2.0
4 March 2012
1.1.0
2 March 2012
- Added 'byte' as the smallest size, fixes S3 file size computing, etc.
829b250
- Updated README
11f5015
1.0.0
2 March 2012