Lodash v4.14.0 发布,一个JavaScript 实用工具库
jopen 8年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/adcf7dc9dc0cda01700a98efddfc564d.png" /></p> <p>Lodash 是一个 JavaScript 实用工具库,提供一致性,模块化,性能和配件等功能。</p> <h2>更新日志</h2> <ul> <li>Added <a href="/misc/goto?guid=4958992420901221101">_.conformsTo</a> & <a href="/misc/goto?guid=4958992421035012355">_.defaultTo</a></li> <li>Added more “fp” aliases</li> <li>Added “All” variants of <code>fp/assign</code>, <code>fp/defaults</code>,<code>fp/merge</code>, & <code>fp/zip</code> methods</li> <li>Ensured debounced <code>cancel</code> uses <code>clearTimeout</code></li> <li>Ensured <code>_.assignWith</code> respects <code>customizer</code> results of <code>undefined</code></li> <li>Ensured <code>_.divide</code> & <code>_.multiply</code> return <code>1</code> when no arguments are specified</li> <li>Ensured <code>_.isEqual</code> has transitive equivalence for circular references</li> <li>Ensured <code>_.first</code> supports shortcut fusion</li> <li>Fixed argument order of <code>fp/zipObjectDeep</code></li> <li>Made wrapped function <code>toString</code> results more debuggable</li> <li>Made “flatten” methods honor <code>Symbol.isConcatSpreadable</code></li> <li>Made <code>_.isEqual</code> treat invalid dates as equivalent</li> <li>Made <code>LARGE_ARRAY_SIZE</code> check in <code>stackSet</code> align with others</li> <li>Optimized adding values to stacks by not inspecting all key-value pairs</li> <li>Optimized “isType” methods to use faster Node.js C++ helpers when available</li> <li>Optimized <code>_.endsWith</code>, <code>_.negate</code>, & <code>_.startsWith</code></li> </ul> <h2><code>下载</code></h2> <h3><code>4.14.0-npm</code></h3> <ul> <li><a href="/misc/goto?guid=4958992421160745658" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958992421282230335" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <h3>4.14.0-es</h3> <ul> <li><a href="/misc/goto?guid=4958992421407772219" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958992421529438689" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <h3>4.14.0-amd</h3> <ul> <li><a href="/misc/goto?guid=4958992421669830971" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958992421780253482" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <h3>4.14.0</h3> <ul> <li><a href="/misc/goto?guid=4958992421910721793" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958992422032682259" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p> </p>