hls.js 1.5.9-0.canary.10212 → 1.5.9-0.canary.10216
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/hls.js +7 -7
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +12 -9
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +4 -4
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +4 -4
- package/dist/hls.worker.js +1 -1
- package/dist/hls.worker.js.map +1 -1
- package/package.json +2 -2
package/dist/hls.js
CHANGED
@@ -45,11 +45,11 @@
|
|
45
45
|
if ("object" != typeof t || !t) return t;
|
46
46
|
var e = t[Symbol.toPrimitive];
|
47
47
|
if (void 0 !== e) {
|
48
|
-
var i = e.call(t, r );
|
48
|
+
var i = e.call(t, r || "default");
|
49
49
|
if ("object" != typeof i) return i;
|
50
50
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
51
51
|
}
|
52
|
-
return (String )(t);
|
52
|
+
return ("string" === r ? String : Number)(t);
|
53
53
|
}
|
54
54
|
function _toPropertyKey(t) {
|
55
55
|
var i = _toPrimitive(t, "string");
|
@@ -160,7 +160,7 @@
|
|
160
160
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
161
161
|
}
|
162
162
|
function _arrayLikeToArray(arr, len) {
|
163
|
-
len = arr.length;
|
163
|
+
if (len == null || len > arr.length) len = arr.length;
|
164
164
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
165
165
|
return arr2;
|
166
166
|
}
|
@@ -637,7 +637,7 @@
|
|
637
637
|
// Some browsers don't allow to use bind on console object anyway
|
638
638
|
// fallback to default if needed
|
639
639
|
try {
|
640
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.
|
640
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.10216");
|
641
641
|
} catch (e) {
|
642
642
|
/* log fn threw an exception. All logger methods are no-ops. */
|
643
643
|
return createLogger();
|
@@ -15110,7 +15110,7 @@
|
|
15110
15110
|
if (srcScale === void 0) {
|
15111
15111
|
srcScale = 1;
|
15112
15112
|
}
|
15113
|
-
{
|
15113
|
+
if (round === void 0) {
|
15114
15114
|
round = false;
|
15115
15115
|
}
|
15116
15116
|
return toTimescaleFromBase(baseTime, destScale, 1 / srcScale, round);
|
@@ -22480,7 +22480,7 @@
|
|
22480
22480
|
|
22481
22481
|
// String.prototype.startsWith is not supported in IE11
|
22482
22482
|
var startsWith = function startsWith(inputString, searchString, position) {
|
22483
|
-
{
|
22483
|
+
if (position === void 0) {
|
22484
22484
|
position = 0;
|
22485
22485
|
}
|
22486
22486
|
return inputString.slice(position, position + searchString.length) === searchString;
|
@@ -30498,7 +30498,7 @@
|
|
30498
30498
|
* Get the video-dev/hls.js package version.
|
30499
30499
|
*/
|
30500
30500
|
function get() {
|
30501
|
-
return "1.5.9-0.canary.
|
30501
|
+
return "1.5.9-0.canary.10216";
|
30502
30502
|
}
|
30503
30503
|
}, {
|
30504
30504
|
key: "Events",
|