@uform/utils
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -460,2 +460,3 @@ "use strict"; | ||
if (!(0, _types.isObj)(obj[p])) { | ||
if (obj[p] === undefined && value === undefined) return; | ||
obj[p] = {}; | ||
@@ -462,0 +463,0 @@ } |
{ | ||
"name": "@uform/utils", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "main": "lib", | ||
}, | ||
"gitHead": "a500d55b452d2ff8fafe9b399cb60a9089a4753c", | ||
"gitHead": "985af279d0a0cadb7bf258e38232b21ef08a4d92", | ||
"peerDependencies": { | ||
@@ -23,0 +23,0 @@ "@babel/runtime": "^7.4.4" |
@@ -407,2 +407,3 @@ import { isStr, isNum, isPlainObj, isArr, isObj } from './types' | ||
if (!isObj(obj[p])) { | ||
if (obj[p] === undefined && value === undefined) return | ||
obj[p] = {} | ||
@@ -409,0 +410,0 @@ } |
73029
2538