array-flatten
3.0.0 · 21 Nov 2019MIT70.7M / weekRepositorynpmAtom feed
Upgrading array-flatten From 2.0.0 to 3.0.0
4 releases in betweenevery note read
Other targets from 2.0.0Newest 2.x2.1.2
The note of 3.0.0 lists no breaking change or deprecation, which is rare for a major.
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
4 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