hls.js 1.5.9-0.canary.10308 → 1.5.9-0.canary.10310
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-demo.js +20 -30
- package/dist/hls-demo.js.map +1 -1
- package/dist/hls.js +92 -120
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +65 -91
- 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 +19 -30
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +19 -30
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/dist/hls.worker.js.map +1 -1
- package/package.json +7 -7
package/dist/hls.light.js
CHANGED
@@ -12,6 +12,49 @@
|
|
12
12
|
var p = new (t.bind.apply(t, o))();
|
13
13
|
return r && _setPrototypeOf(p, r.prototype), p;
|
14
14
|
}
|
15
|
+
function _defineProperties(e, r) {
|
16
|
+
for (var t = 0; t < r.length; t++) {
|
17
|
+
var o = r[t];
|
18
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
function _createClass(e, r, t) {
|
22
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
23
|
+
writable: !1
|
24
|
+
}), e;
|
25
|
+
}
|
26
|
+
function _defineProperty(e, r, t) {
|
27
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
28
|
+
value: t,
|
29
|
+
enumerable: !0,
|
30
|
+
configurable: !0,
|
31
|
+
writable: !0
|
32
|
+
}) : e[r] = t, e;
|
33
|
+
}
|
34
|
+
function _extends() {
|
35
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
36
|
+
for (var e = 1; e < arguments.length; e++) {
|
37
|
+
var t = arguments[e];
|
38
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
39
|
+
}
|
40
|
+
return n;
|
41
|
+
}, _extends.apply(null, arguments);
|
42
|
+
}
|
43
|
+
function _getPrototypeOf(t) {
|
44
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
45
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
46
|
+
}, _getPrototypeOf(t);
|
47
|
+
}
|
48
|
+
function _inheritsLoose(t, o) {
|
49
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
50
|
+
}
|
51
|
+
function _isNativeFunction(t) {
|
52
|
+
try {
|
53
|
+
return -1 !== Function.toString.call(t).indexOf("[native code]");
|
54
|
+
} catch (n) {
|
55
|
+
return "function" == typeof t;
|
56
|
+
}
|
57
|
+
}
|
15
58
|
function _isNativeReflectConstruct() {
|
16
59
|
try {
|
17
60
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
@@ -41,6 +84,11 @@
|
|
41
84
|
}
|
42
85
|
return e;
|
43
86
|
}
|
87
|
+
function _setPrototypeOf(t, e) {
|
88
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
89
|
+
return t.__proto__ = e, t;
|
90
|
+
}, _setPrototypeOf(t, e);
|
91
|
+
}
|
44
92
|
function _toPrimitive(t, r) {
|
45
93
|
if ("object" != typeof t || !t) return t;
|
46
94
|
var e = t[Symbol.toPrimitive];
|
@@ -55,101 +103,27 @@
|
|
55
103
|
var i = _toPrimitive(t, "string");
|
56
104
|
return "symbol" == typeof i ? i : i + "";
|
57
105
|
}
|
58
|
-
function
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
if (
|
64
|
-
|
65
|
-
|
66
|
-
}
|
67
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
68
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
69
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
70
|
-
Object.defineProperty(Constructor, "prototype", {
|
71
|
-
writable: false
|
72
|
-
});
|
73
|
-
return Constructor;
|
74
|
-
}
|
75
|
-
function _defineProperty(obj, key, value) {
|
76
|
-
key = _toPropertyKey(key);
|
77
|
-
if (key in obj) {
|
78
|
-
Object.defineProperty(obj, key, {
|
79
|
-
value: value,
|
80
|
-
enumerable: true,
|
81
|
-
configurable: true,
|
82
|
-
writable: true
|
83
|
-
});
|
84
|
-
} else {
|
85
|
-
obj[key] = value;
|
86
|
-
}
|
87
|
-
return obj;
|
88
|
-
}
|
89
|
-
function _extends() {
|
90
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
91
|
-
for (var i = 1; i < arguments.length; i++) {
|
92
|
-
var source = arguments[i];
|
93
|
-
for (var key in source) {
|
94
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
95
|
-
target[key] = source[key];
|
96
|
-
}
|
97
|
-
}
|
98
|
-
}
|
99
|
-
return target;
|
100
|
-
};
|
101
|
-
return _extends.apply(this, arguments);
|
102
|
-
}
|
103
|
-
function _inheritsLoose(subClass, superClass) {
|
104
|
-
subClass.prototype = Object.create(superClass.prototype);
|
105
|
-
subClass.prototype.constructor = subClass;
|
106
|
-
_setPrototypeOf(subClass, superClass);
|
107
|
-
}
|
108
|
-
function _getPrototypeOf(o) {
|
109
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
110
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
111
|
-
};
|
112
|
-
return _getPrototypeOf(o);
|
113
|
-
}
|
114
|
-
function _setPrototypeOf(o, p) {
|
115
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
116
|
-
o.__proto__ = p;
|
117
|
-
return o;
|
118
|
-
};
|
119
|
-
return _setPrototypeOf(o, p);
|
120
|
-
}
|
121
|
-
function _isNativeFunction(fn) {
|
122
|
-
try {
|
123
|
-
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
124
|
-
} catch (e) {
|
125
|
-
return typeof fn === "function";
|
126
|
-
}
|
127
|
-
}
|
128
|
-
function _wrapNativeSuper(Class) {
|
129
|
-
var _cache = typeof Map === "function" ? new Map() : undefined;
|
130
|
-
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
131
|
-
if (Class === null || !_isNativeFunction(Class)) return Class;
|
132
|
-
if (typeof Class !== "function") {
|
133
|
-
throw new TypeError("Super expression must either be null or a function");
|
134
|
-
}
|
135
|
-
if (typeof _cache !== "undefined") {
|
136
|
-
if (_cache.has(Class)) return _cache.get(Class);
|
137
|
-
_cache.set(Class, Wrapper);
|
106
|
+
function _wrapNativeSuper(t) {
|
107
|
+
var r = "function" == typeof Map ? new Map() : void 0;
|
108
|
+
return _wrapNativeSuper = function (t) {
|
109
|
+
if (null === t || !_isNativeFunction(t)) return t;
|
110
|
+
if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function");
|
111
|
+
if (void 0 !== r) {
|
112
|
+
if (r.has(t)) return r.get(t);
|
113
|
+
r.set(t, Wrapper);
|
138
114
|
}
|
139
115
|
function Wrapper() {
|
140
|
-
return _construct(
|
116
|
+
return _construct(t, arguments, _getPrototypeOf(this).constructor);
|
141
117
|
}
|
142
|
-
Wrapper.prototype = Object.create(
|
118
|
+
return Wrapper.prototype = Object.create(t.prototype, {
|
143
119
|
constructor: {
|
144
120
|
value: Wrapper,
|
145
|
-
enumerable:
|
146
|
-
writable:
|
147
|
-
configurable:
|
121
|
+
enumerable: !1,
|
122
|
+
writable: !0,
|
123
|
+
configurable: !0
|
148
124
|
}
|
149
|
-
});
|
150
|
-
|
151
|
-
};
|
152
|
-
return _wrapNativeSuper(Class);
|
125
|
+
}), _setPrototypeOf(Wrapper, t);
|
126
|
+
}, _wrapNativeSuper(t);
|
153
127
|
}
|
154
128
|
|
155
129
|
function getDefaultExportFromCjs (x) {
|
@@ -606,7 +580,7 @@
|
|
606
580
|
// Some browsers don't allow to use bind on console object anyway
|
607
581
|
// fallback to default if needed
|
608
582
|
try {
|
609
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.
|
583
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.10310");
|
610
584
|
} catch (e) {
|
611
585
|
/* log fn threw an exception. All logger methods are no-ops. */
|
612
586
|
return createLogger();
|
@@ -21720,7 +21694,7 @@
|
|
21720
21694
|
* Get the video-dev/hls.js package version.
|
21721
21695
|
*/
|
21722
21696
|
function get() {
|
21723
|
-
return "1.5.9-0.canary.
|
21697
|
+
return "1.5.9-0.canary.10310";
|
21724
21698
|
}
|
21725
21699
|
}, {
|
21726
21700
|
key: "Events",
|