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.
package/dist/eligius.esm.js
CHANGED
|
@@ -424,7 +424,7 @@ function prepareValueForSerialization(value) {
|
|
|
424
424
|
return value.map(prepareValueForSerialization);
|
|
425
425
|
} else if (value instanceof $) {
|
|
426
426
|
return 'jQuery object';
|
|
427
|
-
} else if (typeof value === 'object') {
|
|
427
|
+
} else if (value !== null && typeof value === 'object') {
|
|
428
428
|
return Object.fromEntries(Object.entries(value).map(function (_ref) {
|
|
429
429
|
var propName = _ref[0],
|
|
430
430
|
propValue = _ref[1];
|