lodash 4.2.1 发布,该版本没有改进记录,但 4.2.0 的改进记录包括:
Added
fp/assoc
&fp/assocPath
as aliases offp/set
Added
fp/dissoc
&fp/dissocPath
as aliases offp/unset
Added
start
param to_.spread
Ensured
_.attempt
preserves custom errorsEnsured
fp/partial
&fp/partialRight
accept anargs
paramEnsured
fp/unset
is immutableEnsured
_.iteratee
clones sources for “_.matchesProperty” shorthandMade
_.flatMap
a “Collection” methodRemoved
global
references from the npm package
lodash 是一个 JavaScript 实用工具库,提供一致性,模块化,性能和配件等功能。