@player-ui/player 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.
- package/dist/Player.native.js +1 -1
- package/dist/Player.native.js.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.legacy-esm.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/binding/__tests__/binding.test.ts +10 -0
- package/src/binding/__tests__/parser.bench.ts +21 -1
- package/src/binding/binding.ts +3 -1
package/dist/Player.native.js
CHANGED
|
@@ -2825,7 +2825,7 @@ var Player = function() {
|
|
|
2825
2825
|
return segment;
|
|
2826
2826
|
}
|
|
2827
2827
|
var tryNum = Number(segment);
|
|
2828
|
-
return isNaN(tryNum) ? segment : tryNum;
|
|
2828
|
+
return isNaN(tryNum) || String(tryNum) !== segment ? segment : tryNum;
|
|
2829
2829
|
});
|
|
2830
2830
|
Object.freeze(this.split);
|
|
2831
2831
|
this.joined = this.split.join(".");
|