Comparing version 3.3.0 to 3.3.1
@@ -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", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "The modern build of lodash modular utilities.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash v3.3.0 | ||
# lodash v3.3.1 | ||
@@ -31,3 +31,3 @@ The [modern 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/tree/3.3.0-npm) for more details. | ||
See the [package source](https://github.com/lodash/lodash/tree/3.3.1-npm) for more details. | ||
@@ -43,4 +43,4 @@ **Note:**<br> | ||
* npm packages for [modern](https://www.npmjs.com/package/lodash), [compatibility](https://www.npmjs.com/package/lodash-compat), & [per method](https://www.npmjs.com/browse/keyword/lodash-modularized) builds | ||
* AMD modules for [modern](https://github.com/lodash/lodash/tree/3.3.0-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.3.0-amd) builds | ||
* ES modules for the [modern](https://github.com/lodash/lodash/tree/3.3.0-es) build | ||
* AMD modules for [modern](https://github.com/lodash/lodash/tree/3.3.1-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.3.1-amd) builds | ||
* ES modules for the [modern](https://github.com/lodash/lodash/tree/3.3.1-es) build | ||
@@ -79,3 +79,2 @@ ## Further Reading | ||
* [_.forOwn](https://lodash.com/docs#forOwn) for iterating own properties | ||
* [_.includes](https://lodash.com/docs#includes) accepts a `fromIndex` | ||
* [_.inRange](https://lodash.com/docs#inRange) for checking whether a number is within a given range | ||
@@ -117,4 +116,4 @@ * [_.isNative](https://lodash.com/docs#isNative) to check for native functions | ||
Tested in Chrome 39-40, Firefox 34-35, IE 6-11, Opera 26-27, Safari 5-8, io.js 1.2.0, Node.js 0.8.28, 0.10.36, & 0.12.0, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7RC5. | ||
Tested in Chrome 39-40, Firefox 34-35, IE 6-11, Opera 26-27, Safari 5-8, io.js 1.3.0, Node.js 0.8.28, 0.10.36, & 0.12.0, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7RC5. | ||
Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available. Special thanks to [Sauce Labs](https://saucelabs.com/) for providing automated browser testing. |
@@ -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
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
781289
22503
116