Bump to v3.0.3.

This commit is contained in:
jdalton
2015-02-13 09:18:57 -08:00
committed by John-David Dalton
parent e2db58867b
commit 415e8ce0ed
156 changed files with 599 additions and 625 deletions

View File

@@ -1,4 +1,4 @@
# lodash.clone v3.0.2
# lodash.clone v3.0.3
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodashs](https://lodash.com/) `_.clone` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var clone = require('lodash.clone');
```
See the [documentation](https://lodash.com/docs#clone) or [package source](https://github.com/lodash/lodash/blob/3.0.2-npm-packages/lodash.clone) for more details.
See the [documentation](https://lodash.com/docs#clone) or [package source](https://github.com/lodash/lodash/blob/3.0.3-npm-packages/lodash.clone) for more details.

View File

@@ -1,5 +1,5 @@
/**
* lodash 3.0.2 (Custom Build) <https://lodash.com/>
* lodash 3.0.3 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
@@ -12,10 +12,10 @@ var baseClone = require('lodash._baseclone'),
/**
* Creates a clone of `value`. If `isDeep` is `true` nested objects are cloned,
* otherwise they are assigned by reference. If `customizer` is provided it is
* otherwise they are assigned by reference. If `customizer` is provided it's
* invoked to produce the cloned values. If `customizer` returns `undefined`
* cloning is handled by the method instead. The `customizer` is bound to
* `thisArg` and invoked with two argument; (value [, index|key, object]).
* `thisArg` and invoked with up to three argument; (value [, index|key, object]).
*
* **Note:** This method is loosely based on the
* [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).
@@ -71,7 +71,7 @@ function clone(value, isDeep, customizer, thisArg) {
isDeep = false;
}
return typeof customizer == 'function'
? baseClone(value, isDeep, bindCallback(customizer, thisArg, 1))
? baseClone(value, isDeep, bindCallback(customizer, thisArg, 3))
: baseClone(value, isDeep);
}

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.clone",
"version": "3.0.2",
"version": "3.0.3",
"description": "The modern build of lodashs `_.clone` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",