@bgd-labs/toolbox 0.0.34 → 0.0.35
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/node.js +1 -1
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +1 -1
- package/dist/node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -33520,7 +33520,7 @@ async function formatBeforeAndAfter(change, formatInput) {
|
|
|
33520
33520
|
change.after = await formatInput(change.after);
|
|
33521
33521
|
}
|
|
33522
33522
|
function primitiveReplacer(data, key) {
|
|
33523
|
-
if (typeof data === "object") {
|
|
33523
|
+
if (data && typeof data === "object") {
|
|
33524
33524
|
return Object.keys(data).reduce((acc, k) => {
|
|
33525
33525
|
acc[k] = primitiveReplacer(acc[k], k);
|
|
33526
33526
|
return acc;
|