Bump to v4.13.0.

This commit is contained in:
John-David Dalton
2016-05-18 16:00:35 -07:00
parent 07c844053e
commit 35cdf6513b
513 changed files with 2603 additions and 2423 deletions

View File

@@ -1,5 +1,5 @@
import isStrictComparable from './_isStrictComparable';
import toPairs from './toPairs';
import isStrictComparable from './_isStrictComparable.js';
import keys from './keys.js';
/**
* Gets the property names, values, and compare flags of `object`.
@@ -9,11 +9,14 @@ import toPairs from './toPairs';
* @returns {Array} Returns the match data of `object`.
*/
function getMatchData(object) {
var result = toPairs(object),
var result = keys(object),
length = result.length;
while (length--) {
result[length][2] = isStrictComparable(result[length][1]);
var key = result[length],
value = object[key];
result[length] = [key, value, isStrictComparable(value)];
}
return result;
}