@player-ui/player 0.10.1 → 0.10.2-next.0

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.
@@ -283,7 +283,7 @@ var BindingInstance = class _BindingInstance {
283
283
  return segment;
284
284
  }
285
285
  const tryNum = Number(segment);
286
- return isNaN(tryNum) ? segment : tryNum;
286
+ return isNaN(tryNum) || String(tryNum) !== segment ? segment : tryNum;
287
287
  });
288
288
  Object.freeze(this.split);
289
289
  this.joined = this.split.join(".");
package/dist/index.mjs CHANGED
@@ -283,7 +283,7 @@ var BindingInstance = class _BindingInstance {
283
283
  return segment;
284
284
  }
285
285
  const tryNum = Number(segment);
286
- return isNaN(tryNum) ? segment : tryNum;
286
+ return isNaN(tryNum) || String(tryNum) !== segment ? segment : tryNum;
287
287
  });
288
288
  Object.freeze(this.split);
289
289
  this.joined = this.split.join(".");