@player-ui/common-expressions-plugin 0.10.1 → 0.10.2-next.1
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.
|
@@ -2952,7 +2952,7 @@ var CommonExpressionsPlugin = function() {
|
|
|
2952
2952
|
return segment;
|
|
2953
2953
|
}
|
|
2954
2954
|
var tryNum = Number(segment);
|
|
2955
|
-
return isNaN(tryNum) ? segment : tryNum;
|
|
2955
|
+
return isNaN(tryNum) || String(tryNum) !== segment ? segment : tryNum;
|
|
2956
2956
|
});
|
|
2957
2957
|
Object.freeze(this.split);
|
|
2958
2958
|
this.joined = this.split.join(".");
|