Immutable.js 2.5.0ダウンロード、不変のデータ集合
ダウンロード
提供元サイトからダウンロード
新機能:
seq.toStack()
as alias forStack(seq)
flatten
now accepts adepth
number orshallow
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
andhas
optimizations removed from ValuesSeq. last
on a sequence with unknown length no longer returns undefined #141seq.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.