lodash._baseclone
Advanced tools
Comparing version 3.0.1 to 3.1.0
11
index.js
/** | ||
* lodash 3.0.1 (Custom Build) <https://lodash.com/> | ||
* lodash 3.1.0 (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.2 <http://underscorejs.org/LICENSE> | ||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | ||
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
@@ -11,3 +11,3 @@ * Available under MIT license <https://lodash.com/license> | ||
arrayEach = require('lodash._arrayeach'), | ||
baseCopy = require('lodash._basecopy'), | ||
baseAssign = require('lodash._baseassign'), | ||
baseFor = require('lodash._basefor'), | ||
@@ -114,3 +114,3 @@ isArray = require('lodash.isarray'), | ||
} | ||
if (typeof result != 'undefined') { | ||
if (result !== undefined) { | ||
return result; | ||
@@ -134,3 +134,3 @@ } | ||
if (!isDeep) { | ||
return baseCopy(value, result, keys(value)); | ||
return baseAssign(result, value); | ||
} | ||
@@ -247,3 +247,2 @@ } else { | ||
* | ||
* | ||
* @private | ||
@@ -250,0 +249,0 @@ * @param {Object} object The object to clone. |
{ | ||
"name": "lodash._baseclone", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "The modern build of lodash’s internal `baseClone` as a module.", | ||
@@ -21,3 +21,3 @@ "homepage": "https://lodash.com/", | ||
"lodash._arrayeach": "^3.0.0", | ||
"lodash._basecopy": "^3.0.0", | ||
"lodash._baseassign": "^3.0.0", | ||
"lodash._basefor": "^3.0.0", | ||
@@ -24,0 +24,0 @@ "lodash.isarray": "^3.0.0", |
@@ -1,2 +0,2 @@ | ||
# lodash._baseclone v3.0.1 | ||
# lodash._baseclone v3.1.0 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseClone` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [package source](https://github.com/lodash/lodash/blob/3.0.1-npm-packages/lodash._baseclone) for more details. | ||
See the [package source](https://github.com/lodash/lodash/blob/3.1.0-npm-packages/lodash._baseclone) for more details. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13096
298
+ Addedlodash._baseassign@^3.0.0
+ Addedlodash._baseassign@3.2.0(transitive)
- Removedlodash._basecopy@^3.0.0