owl-cli 6.60.0 → 6.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -127,8 +127,18 @@ function diff(obj1, obj2,parentKeys){
|
|
|
127
127
|
obj2 = {};
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
if(typeof v2==='string'){
|
|
131
|
+
result.push({
|
|
132
|
+
type:'changed',
|
|
133
|
+
fieldKey : parentKeys,
|
|
134
|
+
parentKeys: "",
|
|
135
|
+
oldv : '' + JSON.stringify(v1),
|
|
136
|
+
newv : '' + v2
|
|
137
|
+
});
|
|
138
|
+
}
|
|
130
139
|
var keys1 = Object.keys(obj1);
|
|
131
140
|
var keys2 = Object.keys(obj2);
|
|
141
|
+
|
|
132
142
|
keys1.sort();
|
|
133
143
|
keys2.sort();
|
|
134
144
|
|