array-flatten
3.0.0 · 21 Nov 2019MIT70.7M / weekRepositorynpmAtom feed
13 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 3.x · latest line
3.0.0
21 Nov 2019Better TypeScript support for array flattening
Added ES2015 distributable and renamed primary export to
exports.flattenRemoved array type checked entry to
flatten, prefer performance and smaller code
Added
Better TypeScript support for array flattening
Changed
Added ES2015 distributable and renamed primary export to
exports.flatten
Removed
Removed array type checked entry to
flatten, prefer performance and smaller codeRemoved
depthversion of functions, if you know the depth it's better to use something likeArray#flatorflattenhelpers explicitly in code - you typically don't need anything between 1 and infinity in every day code
- 2.x
2.1.2
3 Dec 2018Use
ReadonlyArrayfor TypeScript interface to improve type assignability
Fixed
Use
ReadonlyArrayfor TypeScript interface to improve type assignability
2.1.1
14 Jan 2017Fix the TypeScript definition return type for
depthfunctions
Changed
Fix the TypeScript definition return type for
depthfunctions
2.1.0
29 Apr 2016Add TypeScript definition to project
Added
Add TypeScript definition to project
2.0.0
16 Nov 2015Add
TypeErrorvalidation to methodsSplit function into four methods -
flatten,flattenFrom,flattenDepthandflattenFromDepth
Changed
Add
TypeErrorvalidation to methodsSplit function into four methods -
flatten,flattenFrom,flattenDepthandflattenFromDepth
- 1.x
1.1.1
9 Jul 2015'use strict'
Added
'use strict'
1.1.0
9 May 2015Execute
flattenwithout depth via dedicated code (notdepth(Infinity)) to improve performance
Added
Execute
flattenwithout depth via dedicated code (notdepth(Infinity)) to improve performance
1.0.2
13 Jan 2015Remove potential code paths by removing
depth === 1behavior
Fixed
Remove potential code paths by removing
depth === 1behavior
1.0.1
12 Jan 2015Updated documentation in README
Ship on
filesneeded for package
Added
Updated documentation in README
Ship on
filesneeded for package
1.0.0
17 Aug 2014- 0.0.x