Socket
Socket
Sign inDemoInstall

lodash-compat

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-compat - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

2

array/findLastIndex.js

@@ -40,3 +40,3 @@ var baseCallback = require('../internal/baseCallback');

* // using the `_.matches` callback shorthand
* _.findLastIndex(users, { user': 'barney', 'active': true });
* _.findLastIndex(users, { 'user': 'barney', 'active': true });
* // => 0

@@ -43,0 +43,0 @@ *

@@ -29,3 +29,3 @@ var baseIndexOf = require('../internal/baseIndexOf'),

* _.indexOf([1, 2, 1, 2], 2);
* // => 2
* // => 1
*

@@ -32,0 +32,0 @@ * // using `fromIndex`

@@ -37,3 +37,3 @@ var baseIndexOf = require('../internal/baseIndexOf'),

args.push(value);
caches.push(isCommon && value.length >= 120 && createCache(argsIndex && value));
caches.push((isCommon && value.length >= 120) ? createCache(argsIndex && value) : null);
}

@@ -40,0 +40,0 @@ }

@@ -44,3 +44,3 @@ var arraySome = require('../internal/arraySome'),

* // using the `_.matches` callback shorthand
* _.some(users, { user': 'barney', 'active': false });
* _.some(users, { 'user': 'barney', 'active': false });
* // => false

@@ -47,0 +47,0 @@ *

@@ -29,3 +29,3 @@ var isObject = require('../lang/isObject'),

* @param {Function} func The function to debounce.
* @param {number} wait The number of milliseconds to delay.
* @param {number} [wait=0] The number of milliseconds to delay.
* @param {Object} [options] The options object.

@@ -88,3 +88,3 @@ * @param {boolean} [options.leading=false] Specify invoking on the leading

}
wait = wait < 0 ? 0 : wait;
wait = wait < 0 ? 0 : (+wait || 0);
if (options === true) {

@@ -91,0 +91,0 @@ var leading = true;

@@ -33,3 +33,3 @@ var debounce = require('./debounce'),

* @param {Function} func The function to throttle.
* @param {number} wait The number of milliseconds to throttle invocations to.
* @param {number} [wait=0] The number of milliseconds to throttle invocations to.
* @param {Object} [options] The options object.

@@ -36,0 +36,0 @@ * @param {boolean} [options.leading=true] Specify invoking on the leading

@@ -24,3 +24,3 @@ var baseIndexOf = require('./baseIndexOf'),

isCommon = true,
cache = isCommon && values.length >= 200 && createCache(values),
cache = (isCommon && values.length >= 200) ? createCache(values) : null,
valuesLength = values.length;

@@ -27,0 +27,0 @@

@@ -20,3 +20,3 @@ var baseIndexOf = require('./baseIndexOf'),

isLarge = isCommon && length >= 200,
seen = isLarge && createCache(),
seen = isLarge ? createCache() : null,
result = [];

@@ -23,0 +23,0 @@

@@ -25,6 +25,9 @@ var isIndex = require('./isIndex'),

}
var other = object[index];
return prereq && (value === value ? value === other : other !== other);
if (prereq) {
var other = object[index];
return value === value ? value === other : other !== other;
}
return false;
}
module.exports = isIterateeCall;
{
"name": "lodash-compat",
"version": "3.3.0",
"version": "3.3.1",
"description": "The compatibility build of lodash modular utilities.",

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

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

# lodash-compat v3.3.0
# lodash-compat v3.3.1

@@ -31,3 +31,3 @@ The [compatibility build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) exported as [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) modules.

See the [package source](https://github.com/lodash/lodash-compat/tree/3.3.0-npm) for more details.
See the [package source](https://github.com/lodash/lodash-compat/tree/3.3.1-npm) for more details.

@@ -34,0 +34,0 @@ **Note:**<br>

@@ -114,6 +114,6 @@ var assignOwnDefaults = require('../internal/assignOwnDefaults'),

* // => function(data) {
* var __t, __p = '';
* __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';
* return __p;
* }
* // var __t, __p = '';
* // __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';
* // return __p;
* // }
*

@@ -120,0 +120,0 @@ * // using the `source` property to inline compiled templates for meaningful

Sorry, the diff of this file is too big to display

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