zova-core 5.1.8 → 5.1.10

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 CHANGED
@@ -383,7 +383,7 @@ function onionNameFromBeanFullName(beanFullName, sceneName) {
383
383
  return beanFullName.replace(`.${sceneName}.`, ':');
384
384
  }
385
385
  function convertToUnit(str, unit = 'px') {
386
- if (str == null || str === '') {
386
+ if (str === undefined || str === null || str === '') {
387
387
  return undefined;
388
388
  }
389
389
  const num = Number(str);