Releases: alexbykoff/array-cop
Releases · alexbykoff/array-cop
Final stable release
Proper documentation, 100% test coverage
Complete JSDoc installation, failproof methods
- Added JSDoc documentation: generate by
gulp docs
- Optimized methods
- Fool(fail)proof arguments analyzis
- 100% downwards compatibility
Stability and testing
Redesigned nearly all the methods.
Many failproofing.
100% test coverage by @cyb3rD
Critical bugfix: index()
Consider updating to 0.6.3 if you are using index
method
Properly reworked and extended index
API
Mean() bugfix, extended test coverage
Median empty array bug was caught and fixed, courtesy of @cyb3rD test coverage.
Numerous non-criticals
Code styling, added defaults
for switch
to make code more fail-proof. Extended test coverage
New feature - index()
(+) index(arr, element)
returns an array
of index values;
(=) precision
argument is failproof now;
New arrify() method, extensive testing
Added arrify()
method:
Converts an object (associative array) into an array
where object keys are array items.
Argument provided should be an object
. Will throw an error if not an object type.
Better testing, better methods.
Minor non-critical fixes, extensive testing
Extensive testing, Error handling.
- Now with proper Travis CI and Codecov.
- Better logic in error handling