|
欢迎加入运维网交流群:263444886>>> »
Immutable.js 3.8.0 发布了。
更新内容:
新增:
- Now exports Flow types (#805)
- Now exports typings for TypeScript use. (#808)
- Cursor TypeScript definitions (#765)
- No longer warns when accessing length property of a collection. (88f880f)
- Map.of() takes key, value interleaved pairs (#727)
- findEntry and findLastEntry now respect notSetValue argument (#822)
修复:
- Iterable::take(Infinity) takes infinitely instead of 0 (#834)
- Proper toOrderedMap and toOrderedSet method definitions (#761)
- Records return themselves for no-op Record#set calls for better performance (#795)
- Range#toString propertly reports step (#759)
- Add missing Set#contains (96b0946)
更新详情参见发行说明
下载地址:
- Source code (zip)
- Source code (tar.gz)
Immutable 是>Sequence,允许高效的队列方法链,类似 map 和 filter ,不用创建中间代表。
immutable 通过惰性队列和哈希映射提供 Sequence, Range, Repeat, Map,OrderedMap, Set 和一个稀疏 Vector。 |
|
|