Fixin keysIn import in defaults by switching to baseKeysIn.

This commit is contained in:
Michał Lipiński
2017-03-01 14:39:47 +01:00
parent d0f23b67ac
commit e2096c0ef1

View File

@@ -1,5 +1,5 @@
import eq from './eq.js'
import keysIn from './keysIn.js'
import baseKeysIn from './.internal/baseKeysIn.js'
/** Used for built-in method references. */
const objectProto = Object.prototype
@@ -32,7 +32,7 @@ function defaults(object, ...sources) {
const srcLength = sources.length
while (++srcIndex < srcLength) {
const source = sources[srcIndex]
const props = keysIn(source)
const props = baseKeysIn(source)
let propsIndex = -1
const propsLength = props.length
while (++propsIndex < propsLength) {