mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6f9660ab0 |
@@ -1,4 +1,4 @@
|
||||
# lodash v3.9.0
|
||||
# lodash v3.9.1
|
||||
|
||||
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) exported as [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) modules.
|
||||
|
||||
@@ -28,7 +28,7 @@ var array = require('lodash/array');
|
||||
var chunk = require('lodash/array/chunk');
|
||||
```
|
||||
|
||||
See the [package source](https://github.com/lodash/lodash/tree/3.9.0-npm) for more details.
|
||||
See the [package source](https://github.com/lodash/lodash/tree/3.9.1-npm) for more details.
|
||||
|
||||
**Note:**<br>
|
||||
Don’t assign values to the [special variable](http://nodejs.org/api/repl.html#repl_repl_features) `_` when in the REPL.<br>
|
||||
@@ -39,8 +39,8 @@ Install [n_](https://www.npmjs.com/package/n_) for a REPL that includes lodash b
|
||||
lodash is also available in a variety of other builds & module formats.
|
||||
|
||||
* npm packages for [modern](https://www.npmjs.com/package/lodash), [compatibility](https://www.npmjs.com/package/lodash-compat), & [per method](https://www.npmjs.com/browse/keyword/lodash-modularized) builds
|
||||
* AMD modules for [modern](https://github.com/lodash/lodash/tree/3.9.0-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.9.0-amd) builds
|
||||
* ES modules for the [modern](https://github.com/lodash/lodash/tree/3.9.0-es) build
|
||||
* AMD modules for [modern](https://github.com/lodash/lodash/tree/3.9.1-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.9.1-amd) builds
|
||||
* ES modules for the [modern](https://github.com/lodash/lodash/tree/3.9.1-es) build
|
||||
|
||||
## Further Reading
|
||||
|
||||
|
||||
4
index.js
4
index.js
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* lodash 3.9.0 (Custom Build) <https://lodash.com/>
|
||||
* lodash 3.9.1 (Custom Build) <https://lodash.com/>
|
||||
* Build: `lodash modern -d -o ./index.js`
|
||||
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
@@ -13,7 +13,7 @@
|
||||
var undefined;
|
||||
|
||||
/** Used as the semantic version number. */
|
||||
var VERSION = '3.9.0';
|
||||
var VERSION = '3.9.1';
|
||||
|
||||
/** Used to compose bitmasks for wrapper metadata. */
|
||||
var BIND_FLAG = 1,
|
||||
|
||||
@@ -2,7 +2,7 @@ var cachePush = require('./cachePush'),
|
||||
getNative = require('./getNative');
|
||||
|
||||
/** Native method references. */
|
||||
var Set = getNative(root, 'Set');
|
||||
var Set = getNative(global, 'Set');
|
||||
|
||||
/* Native method references for those with the same name as other `lodash` methods. */
|
||||
var nativeCreate = getNative(Object, 'create');
|
||||
|
||||
@@ -2,10 +2,10 @@ var constant = require('../utility/constant'),
|
||||
getNative = require('./getNative');
|
||||
|
||||
/** Native method references. */
|
||||
var ArrayBuffer = getNative(root, 'ArrayBuffer'),
|
||||
var ArrayBuffer = getNative(global, 'ArrayBuffer'),
|
||||
bufferSlice = getNative(ArrayBuffer && new ArrayBuffer(0), 'slice'),
|
||||
floor = Math.floor,
|
||||
Uint8Array = getNative(root, 'Uint8Array');
|
||||
Uint8Array = getNative(global, 'Uint8Array');
|
||||
|
||||
/** Used to clone array buffers. */
|
||||
var Float64Array = (function() {
|
||||
@@ -13,7 +13,7 @@ var Float64Array = (function() {
|
||||
// where the array buffer's `byteLength` is not a multiple of the typed
|
||||
// array's `BYTES_PER_ELEMENT`.
|
||||
try {
|
||||
var func = getNative(root, 'Float64Array'),
|
||||
var func = getNative(global, 'Float64Array'),
|
||||
result = new func(new ArrayBuffer(10), 0, 1) && func;
|
||||
} catch(e) {}
|
||||
return result || null;
|
||||
|
||||
@@ -3,7 +3,7 @@ var SetCache = require('./SetCache'),
|
||||
getNative = require('./getNative');
|
||||
|
||||
/** Native method references. */
|
||||
var Set = getNative(root, 'Set');
|
||||
var Set = getNative(global, 'Set');
|
||||
|
||||
/* Native method references for those with the same name as other `lodash` methods. */
|
||||
var nativeCreate = getNative(Object, 'create');
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
var getNative = require('./getNative');
|
||||
|
||||
/** Native method references. */
|
||||
var WeakMap = getNative(root, 'WeakMap');
|
||||
var WeakMap = getNative(global, 'WeakMap');
|
||||
|
||||
/** Used to store function metadata. */
|
||||
var metaMap = WeakMap && new WeakMap;
|
||||
|
||||
@@ -14,7 +14,7 @@ var objectProto = Object.prototype;
|
||||
var objToString = objectProto.toString;
|
||||
|
||||
/** Native method references. */
|
||||
var Uint8Array = getNative(root, 'Uint8Array');
|
||||
var Uint8Array = getNative(global, 'Uint8Array');
|
||||
|
||||
/**
|
||||
* Checks if `value` is classified as a `Function` object.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lodash",
|
||||
"version": "3.9.0",
|
||||
"version": "3.9.1",
|
||||
"description": "The modern build of lodash modular utilities.",
|
||||
"homepage": "https://lodash.com/",
|
||||
"icon": "https://lodash.com/icon.svg",
|
||||
|
||||
Reference in New Issue
Block a user