eligius 1.0.8 → 1.0.81
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.
|
@@ -436,7 +436,7 @@ function prepareValueForSerialization(value) {
|
|
|
436
436
|
return value.map(prepareValueForSerialization);
|
|
437
437
|
} else if (value instanceof $__default["default"]) {
|
|
438
438
|
return 'jQuery object';
|
|
439
|
-
} else if (typeof value === 'object') {
|
|
439
|
+
} else if (value !== null && typeof value === 'object') {
|
|
440
440
|
return Object.fromEntries(Object.entries(value).map(function (_ref) {
|
|
441
441
|
var propName = _ref[0],
|
|
442
442
|
propValue = _ref[1];
|