Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash._baseclone

Package Overview
Dependencies
Maintainers
5
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash._baseclone - npm Package Compare versions

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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc