Immutable.js 2.5.0ダウンロード、不変のデータ集合

ダウンロード
提供元サイトからダウンロード

新機能:

  • seq.toStack() as alias for Stack(seq)
  • flatten now accepts a depth number or shallow boolean to describe how deep it should flatten, by default it now flattens deeply.

Bug修復:

  • Cursors can now represent Indexed sequences #97
  • Readme updates: explain CDN, update examples.
  • record.clear() no longer mysteriously vanishes.
  • Unsafe get and has optimizations removed from ValuesSeq.
  • last on a sequence with unknown length no longer returns undefined #141
  • seq.reverse().get(i) no longer returns incorrect values for indexed sequences.
  • seq.filter().get(i) no longer returns incorrect values for indexed sequences.
  • flatten no longer flattens sequencible values (string, array, object), but only Sequence instances, leading to more predictable flattening.

OpenSource

Posted by arkgame