@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/index.js
CHANGED
|
@@ -33516,7 +33516,7 @@ async function formatBeforeAndAfter(change, formatInput) {
|
|
|
33516
33516
|
change.after = await formatInput(change.after);
|
|
33517
33517
|
}
|
|
33518
33518
|
function primitiveReplacer(data, key) {
|
|
33519
|
-
if (typeof data === "object") {
|
|
33519
|
+
if (data && typeof data === "object") {
|
|
33520
33520
|
return Object.keys(data).reduce((acc, k) => {
|
|
33521
33521
|
acc[k] = primitiveReplacer(acc[k], k);
|
|
33522
33522
|
return acc;
|