vsrepo 1.4.1 → 1.4.2
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.
|
@@ -210,7 +210,12 @@ function resolveBaseMethods(instance, config) {
|
|
|
210
210
|
if (!relations) {
|
|
211
211
|
if (showWorking)
|
|
212
212
|
(0, logger_util_1.performanceLoggerEnd)(tableName, "merge", start);
|
|
213
|
-
|
|
213
|
+
const definedObj = {};
|
|
214
|
+
for (const key of Object.keys(obj)) {
|
|
215
|
+
if (obj[key] !== undefined)
|
|
216
|
+
definedObj[key] = obj[key];
|
|
217
|
+
}
|
|
218
|
+
return (0, deepmerge_1.default)(result, definedObj, {
|
|
214
219
|
arrayMerge: (target, source) => target.concat(source),
|
|
215
220
|
});
|
|
216
221
|
}
|