hoffmation-base 3.2.10-alpha.3 → 3.2.10-alpha.4
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/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/utils.js +8 -0
- package/package.json +1 -1
package/lib/utils/utils.js
CHANGED
|
@@ -212,6 +212,14 @@ class Utils {
|
|
|
212
212
|
if (value === undefined || value === null) {
|
|
213
213
|
return;
|
|
214
214
|
}
|
|
215
|
+
if (typeof value === 'function') {
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
else if (typeof value === 'number' || typeof value === 'string' || typeof value === 'boolean') {
|
|
219
|
+
// Always include basic types
|
|
220
|
+
result[key] = value;
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
215
223
|
if (typeof key == 'string') {
|
|
216
224
|
const lowerKey = key.toLowerCase();
|
|
217
225
|
for (const checkKey of combinedOmmitKeys) {
|