Packages

array-flatten

3.0.0 · 21 Nov 2019MIT70.7M / weekRepositorynpmAtom feed

Upgrading array-flatten From 2.1.0 to 3.0.0

3 releases in betweenevery note read

Other targets from 2.1.0Newest 2.x2.1.2
The note of 3.0.0 lists no breaking change or deprecation, which is rare for a major.
?
changes to make
0
advisories fixed
1
new
1
fix

Release by release

  1. 3.0.0

    21 Nov 20191 new
    • new

      Added ES2015 distributable and renamed primary export to exports.flatten

  2. 2.1.2nothing new or fixed in the note

  3. 2.1.1

    14 Jan 20171 fix
    • fixed

      Fix the TypeScript definition return type for depth functions

4 other lines we could not sort, mostly version bumps
  • 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 depth version of functions, if you know the depth it's better to use something like Array#flat or flatten helpers explicitly in code - you typically don't need anything between 1 and infinity in every day code

    3.0.0
  • Use ReadonlyArray for TypeScript interface to improve type assignability

    2.1.2