make-mp-data 1.5.51 → 1.5.52

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1664,7 +1664,7 @@ if (NODE_ENV !== "prod") {
1664
1664
  bytes: bytesHuman(bytes || 0),
1665
1665
  };
1666
1666
  if (bytes > 0) console.table(stats);
1667
- if (Object.keys(data?.importResults).length) {
1667
+ if (Object.keys(data?.importResults || {}).length) {
1668
1668
  log(`\nlog written to log.json\n`);
1669
1669
  writeFileSync(path.resolve(folder, "log.json"), JSON.stringify(data?.importResults, null, 2));
1670
1670
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "make-mp-data",
3
- "version": "1.5.051",
3
+ "version": "1.5.052",
4
4
  "description": "builds all mixpanel primitives for a given project",
5
5
  "main": "index.js",
6
6
  "types": "types.d.ts",