@sidekick-coder/zenith-kit 0.4.1 → 0.4.2

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.
@@ -57,6 +57,9 @@ command
57
57
  else if (options.major) bump = 'major'
58
58
  else bump = await ask('Select version bump type:', ['patch', 'minor', 'major'])
59
59
 
60
+ console.log(`run tests before bumping version...`)
61
+ run('npm', ['test'])
62
+
60
63
  console.log(`\nBumping ${bump} version...`)
61
64
  run('npm', ['version', bump])
62
65
 
@@ -1715,7 +1715,7 @@ class ih {
1715
1715
  let r = e;
1716
1716
  (typeof e == "function" || typeof e == "object") && (r = e.name);
1717
1717
  const n = typeof e != "string" && typeof e != "symbol";
1718
- return n && !e.__container_entry_key && console.warn(`Warning: The constructor ${e.name} does not have a unique identifier. Consider adding a static property __container_entry_key to avoid potential conflicts.`), n && e.__container_entry_key && (r = e.__container_entry_key), r;
1718
+ return n && !e?.__container_entry_key && console.warn(`Warning: The constructor ${e?.name || e} does not have a unique identifier. Consider adding a static property __container_entry_key to avoid potential conflicts.`), n && e?.__container_entry_key && (r = e.__container_entry_key), r;
1719
1719
  }
1720
1720
  set(e, r) {
1721
1721
  const n = this.getKey(e);
@@ -357,7 +357,7 @@ class p0 {
357
357
  let n = t;
358
358
  (typeof t == "function" || typeof t == "object") && (n = t.name);
359
359
  const r = typeof t != "string" && typeof t != "symbol";
360
- return r && !t.__container_entry_key && console.warn(`Warning: The constructor ${t.name} does not have a unique identifier. Consider adding a static property __container_entry_key to avoid potential conflicts.`), r && t.__container_entry_key && (n = t.__container_entry_key), n;
360
+ return r && !t?.__container_entry_key && console.warn(`Warning: The constructor ${t?.name || t} does not have a unique identifier. Consider adding a static property __container_entry_key to avoid potential conflicts.`), r && t?.__container_entry_key && (n = t.__container_entry_key), n;
361
361
  }
362
362
  set(t, n) {
363
363
  const r = this.getKey(t);