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

lodash._baseisequal

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._baseisequal - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

25

index.js
/**
* lodash 3.0.3 (Custom Build) <https://lodash.com/>
* lodash 3.0.4 (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

@@ -19,3 +19,2 @@ * Available under MIT license <https://lodash.com/license>

errorTag = '[object Error]',
funcTag = '[object Function]',
numberTag = '[object Number]',

@@ -106,4 +105,4 @@ objectTag = '[object Object]',

}
var objIsObj = (objTag == objectTag || (isLoose && objTag == funcTag)),
othIsObj = (othTag == objectTag || (isLoose && othTag == funcTag)),
var objIsObj = objTag == objectTag,
othIsObj = othTag == objectTag,
isSameTag = objTag == othTag;

@@ -114,7 +113,3 @@

}
if (isLoose) {
if (!isSameTag && !(objIsObj && othIsObj)) {
return false;
}
} else {
if (!isLoose) {
var valWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),

@@ -126,6 +121,6 @@ othWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');

}
if (!isSameTag) {
return false;
}
}
if (!isSameTag) {
return false;
}
// Assume cyclic values are equal.

@@ -188,3 +183,3 @@ // For more information on detecting circular references see https://es5.github.io/#JO.

}
if (typeof result == 'undefined') {
if (result === undefined) {
// Recursively compare arrays (susceptible to call stack limits).

@@ -288,3 +283,3 @@ if (isLoose) {

}
if (typeof result == 'undefined') {
if (result === undefined) {
// Recursively compare objects (susceptible to call stack limits).

@@ -291,0 +286,0 @@ result = (objValue && objValue === othValue) || equalFunc(objValue, othValue, customizer, isLoose, stackA, stackB);

2

package.json
{
"name": "lodash._baseisequal",
"version": "3.0.3",
"version": "3.0.4",
"description": "The modern build of lodash’s internal `baseIsEqual` as a module.",

@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/",

@@ -1,2 +0,2 @@

# lodash._baseisequal v3.0.3
# lodash._baseisequal v3.0.4

@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseIsEqual` 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.3-npm-packages/lodash._baseisequal) for more details.
See the [package source](https://github.com/lodash/lodash/blob/3.0.4-npm-packages/lodash._baseisequal) 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