@banyan_cloud/roots 2.0.27 → 2.0.28

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/esm/index.js CHANGED
@@ -3518,6 +3518,9 @@ var getCSSVariableValue = function getCSSVariableValue(variable) {
3518
3518
  return getComputedStyle(document.documentElement).getPropertyValue(variable).trim();
3519
3519
  };
3520
3520
  var doubleDigitted = function doubleDigitted(number) {
3521
+ if (!number) {
3522
+ return '';
3523
+ }
3521
3524
  return number.toString().slice(-2).padStart(2, '0');
3522
3525
  };
3523
3526