@shotstack/shotstack-studio 2.16.2 → 2.16.3

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.
@@ -42498,7 +42498,9 @@ class f$ {
42498
42498
  */
42499
42499
  resolveToNumber(e) {
42500
42500
  if (!this.isMergeFieldTemplate(e)) return null;
42501
- const r = this.resolve(e), n = parseFloat(r);
42501
+ const r = this.resolve(e).trim();
42502
+ if (r === "") return null;
42503
+ const n = Number(r);
42502
42504
  return Number.isFinite(n) ? n : null;
42503
42505
  }
42504
42506
  /**