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

lodash._isiterateecall

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash._isiterateecall - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

25

index.js
/**
* lodash 3.0.6 (Custom Build) <https://lodash.com/>
* lodash 3.0.7 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`

@@ -33,3 +33,3 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>

* **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)
* in Safari on iOS 8.1 ARM64.
* that affects Safari on at least iOS 8.1-8.3 ARM64.
*

@@ -43,2 +43,13 @@ * @private

/**
* Checks if `value` is array-like.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
*/
function isArrayLike(value) {
return value != null && isLength(getLength(value));
}
/**
* Checks if `value` is a valid array-like index.

@@ -71,9 +82,5 @@ *

var type = typeof index;
if (type == 'number') {
var length = getLength(object),
prereq = isLength(length) && isIndex(index, length);
} else {
prereq = type == 'string' && index in object;
}
if (prereq) {
if (type == 'number'
? (isArrayLike(object) && isIndex(index, object.length))
: (type == 'string' && index in object)) {
var other = object[index];

@@ -80,0 +87,0 @@ return value === value ? (value === other) : (other !== other);

{
"name": "lodash._isiterateecall",
"version": "3.0.6",
"version": "3.0.7",
"description": "The modern build of lodash’s internal `isIterateeCall` as a module.",

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

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

# lodash._isiterateecall v3.0.6
# lodash._isiterateecall v3.0.7

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