@player-ui/check-path-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.
|
@@ -2860,7 +2860,7 @@ var CheckPathPlugin = function() {
|
|
|
2860
2860
|
return segment;
|
|
2861
2861
|
}
|
|
2862
2862
|
var tryNum = Number(segment);
|
|
2863
|
-
return isNaN(tryNum) ? segment : tryNum;
|
|
2863
|
+
return isNaN(tryNum) || String(tryNum) !== segment ? segment : tryNum;
|
|
2864
2864
|
});
|
|
2865
2865
|
Object.freeze(this.split);
|
|
2866
2866
|
this.joined = this.split.join(".");
|