array-flatten
3.0.0 · 21 Nov 2019MIT70.7M / weekRepositorynpmAtom feed
Upgrading array-flatten From 0.0.1 to 3.0.0
12 releases in betweennotes for 9
Release by release
- new
Added ES2015 distributable and renamed primary export to
exports.flatten
- new
2.1.2nothing new or fixed in the note
- fixed
Fix the TypeScript definition return type for
depthfunctions
- fixed
- new
Add TypeScript definition to project
- new
- new
Add
TypeErrorvalidation to methods
- new
- new
'use strict'
- new
0.0.2 – 1.1.06 releases, nothing new or fixed; 3 without a note
9 other lines we could not sort, mostly version bumps
- 3.0.0
Better TypeScript support for array flattening
- 3.0.0
Removed array type checked entry to
flatten, prefer performance and smaller code - 3.0.0
Removed
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.1.2
Use
ReadonlyArrayfor TypeScript interface to improve type assignability - 2.0.0
Split function into four methods -
flatten,flattenFrom,flattenDepthandflattenFromDepth - 1.1.0
Execute
flattenwithout depth via dedicated code (notdepth(Infinity)) to improve performance - 1.0.2
Remove potential code paths by removing
depth === 1behavior - 1.0.1
Updated documentation in README
- 1.0.1
Ship on
filesneeded for package