Packages

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

Other targets from 0.0.1Newest 0.x0.0.3
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below. The note of 3.0.0, 2.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 0.0.1yours
  2. 2 releases
  3. 1.0.0major
  4. 4 releases
  5. 2.0.0major
  6. 3 releases
  7. 3.0.0target
?
changes to make
0
advisories fixed
4+
new
1+
fix

Counted from 9 of 12 release notes. Advisories are counted from the advisory database, in full.

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. 2.1.0

    29 Apr 20161 new
    • new

      Add TypeScript definition to project

  5. 2.0.0

    16 Nov 20151 new
    • new

      Add TypeError validation to methods

  6. 1.1.1

    9 Jul 20151 new
    • new

      'use strict'

  7. 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
  • 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
  • Split function into four methods - flatten, flattenFrom, flattenDepth and flattenFromDepth

    2.0.0
  • Execute flatten without depth via dedicated code (not depth(Infinity)) to improve performance

    1.1.0
  • Remove potential code paths by removing depth === 1 behavior

    1.0.2
  • Updated documentation in README

    1.0.1
  • Ship on files needed for package

    1.0.1