Bump to v4.17.2.

This commit is contained in:
John-David Dalton
2016-11-15 22:25:47 -08:00
parent 5585b3ae22
commit db9697dfef
14 changed files with 176 additions and 176 deletions

View File

@@ -1,8 +1,5 @@
var castPath = require('./_castPath'),
isIndex = require('./_isIndex'),
last = require('./last'),
parent = require('./_parent'),
toKey = require('./_toKey');
var baseUnset = require('./_baseUnset'),
isIndex = require('./_isIndex');
/** Used for built-in method references. */
var arrayProto = Array.prototype;
@@ -29,14 +26,8 @@ function basePullAt(array, indexes) {
var previous = index;
if (isIndex(index)) {
splice.call(array, index, 1);
}
else {
var path = castPath(index, array),
object = parent(array, path);
if (object != null) {
delete object[toKey(last(path))];
}
} else {
baseUnset(array, index);
}
}
}