红联Linux门户
Linux帮助

lodash 3.9.0发布,JavaScript实用工具库

发布时间:2015-05-20 09:13:33来源:红联作者:empast
lodash 3.9.0 发布,此版本更新内容如下:

Added _.gt, _.gte, _.lt, & _.lte

Added support for an ImmutableMap to _.memoize.Cache

Avoided using require in source comments to improve browserify build times

Ensured baseCreate works in ExtendScript

Ensured customizer results are respected by _.isEqual

Ensured LodashWrapper.prototype.thru exists before creating a wrapper in flow

Ensured _.bind works with ES6 class constructors

Ensured _.get can return null values

Ensured _.intersection works with a single array

Ensured _.has treats sparse arrays as dense

Ensured _.merge skips undefined values if a destination value exists

Made null sort behind undefined & NaN

Made _.eq an alias of _.isEqual

Optimized object comparisons in _.isEqual

Optimized _.max & _.min when invoked with iteratees

Optimized pullAt & remove

Used hasOwnProperty for the creation of reIsNative to avoid issues with core-js

此版本现已提供下载:https://github.com/lodash/lodash/archive/3.9.0-npm.zip

lodash 是一个 JavaScript 实用工具库,提供一致性,模块化,性能和配件等功能。

当前支持 Chrome 39-40, Firefox 34-35, IE 6-11, Opera 25-26, Safari 5-8, io.js 1.0.4, Node.js 0.8.28 & 0.10.35, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7RC5。

来自:开源中国社区
文章评论

共有 0 条评论