@optionfactory/ful 1.0.11 → 1.0.12
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/ful.iife.js +1 -1
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +1 -1
- package/dist/ful.mjs.map +1 -1
- package/package.json +1 -1
package/dist/ful.mjs
CHANGED
|
@@ -1148,7 +1148,7 @@ class Bindings {
|
|
|
1148
1148
|
static flatten(obj, prefix, stops) {
|
|
1149
1149
|
return Object.keys(obj).reduce((acc, k) => {
|
|
1150
1150
|
const pre = prefix.length ? prefix + '.' + k : k;
|
|
1151
|
-
if (!stops.has(
|
|
1151
|
+
if (!stops.has(pre) && typeof obj[k] === 'object' && obj[k] !== null) {
|
|
1152
1152
|
Object.assign(acc, Bindings.flatten(obj[k], pre, stops));
|
|
1153
1153
|
} else {
|
|
1154
1154
|
acc[pre] = obj[k];
|