Bump to v4.14.0.

This commit is contained in:
John-David Dalton
2016-07-24 09:52:22 -07:00
parent 6b3e0da93c
commit 51ed7e7707
231 changed files with 1136 additions and 820 deletions

View File

@@ -1,7 +1,7 @@
import arrayMap from './_arrayMap.js';
import baseIntersection from './_baseIntersection.js';
import baseRest from './_baseRest.js';
import castArrayLikeObject from './_castArrayLikeObject.js';
import rest from './rest.js';
/**
* Creates an array of unique values that are included in all given arrays
@@ -20,7 +20,7 @@ import rest from './rest.js';
* _.intersection([2, 1], [2, 3]);
* // => [2]
*/
var intersection = rest(function(arrays) {
var intersection = baseRest(function(arrays) {
var mapped = arrayMap(arrays, castArrayLikeObject);
return (mapped.length && mapped[0] === arrays[0])
? baseIntersection(mapped)