mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
p2p-media-loader-core & p2p-media-loader-hlsjs v2.2.0 -> v2.2.1
This commit is contained in:
@@ -1743,9 +1743,9 @@ https://cdn.jsdelivr.net/npm/ngx-bootstrap@19.0.2/datepicker/bs-datepicker.css
|
|||||||
https://cdn.jsdelivr.net/npm/ngx-bootstrap@6.2.0/datepicker/bs-datepicker.css
|
https://cdn.jsdelivr.net/npm/ngx-bootstrap@6.2.0/datepicker/bs-datepicker.css
|
||||||
https://cdn.jsdelivr.net/npm/object-assign@4.1.1/index.js
|
https://cdn.jsdelivr.net/npm/object-assign@4.1.1/index.js
|
||||||
https://cdn.jsdelivr.net/npm/p2p-media-loader-core@0.6.2/build/p2p-media-loader-core.min.js
|
https://cdn.jsdelivr.net/npm/p2p-media-loader-core@0.6.2/build/p2p-media-loader-core.min.js
|
||||||
https://cdn.jsdelivr.net/npm/p2p-media-loader-core@2.2.0/dist/p2p-media-loader-core.es.min.js
|
https://cdn.jsdelivr.net/npm/p2p-media-loader-core@2.2.1/dist/p2p-media-loader-core.es.min.js
|
||||||
https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@0.6.2/build/p2p-media-loader-hlsjs.min.js
|
https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@0.6.2/build/p2p-media-loader-hlsjs.min.js
|
||||||
https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@2.2.0/dist/p2p-media-loader-hlsjs.es.min.js
|
https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@2.2.1/dist/p2p-media-loader-hlsjs.es.min.js
|
||||||
https://cdn.jsdelivr.net/npm/plyr@3.7.8/dist/plyr.css
|
https://cdn.jsdelivr.net/npm/plyr@3.7.8/dist/plyr.css
|
||||||
https://cdn.jsdelivr.net/npm/plyr@3.7.8/dist/plyr.min.js
|
https://cdn.jsdelivr.net/npm/plyr@3.7.8/dist/plyr.min.js
|
||||||
https://cdn.jsdelivr.net/npm/raven-js@3.27.2/dist/raven.min.js
|
https://cdn.jsdelivr.net/npm/raven-js@3.27.2/dist/raven.min.js
|
||||||
|
@@ -372,7 +372,7 @@ targets.setLastVersion = function (type, version) {
|
|||||||
if (type.startsWith('/owl-carousel/2.')) return '2.3.4';
|
if (type.startsWith('/owl-carousel/2.')) return '2.3.4';
|
||||||
if (type.startsWith('/p2p-media-loader-core') || type.startsWith('/p2p-media-loader-hlsjs')) {
|
if (type.startsWith('/p2p-media-loader-core') || type.startsWith('/p2p-media-loader-hlsjs')) {
|
||||||
if (helpers.compareVersion('0.6.2', version)) return '0.6.2'; // <= v0.6.2
|
if (helpers.compareVersion('0.6.2', version)) return '0.6.2'; // <= v0.6.2
|
||||||
return '2.2.0';
|
return '2.2.1';
|
||||||
}
|
}
|
||||||
if (type.startsWith('/p5.js/0.')) return '0.10.2';
|
if (type.startsWith('/p5.js/0.')) return '0.10.2';
|
||||||
if (type.startsWith('/p5.js/1.')) return '1.11.2';
|
if (type.startsWith('/p5.js/1.')) return '1.11.2';
|
||||||
|
@@ -39,6 +39,7 @@
|
|||||||
<li>libphonenumber-js v1.11.17 -> v1.11.18</li>
|
<li>libphonenumber-js v1.11.17 -> v1.11.18</li>
|
||||||
<li>lightgallery v2.8.1 -> v2.8.3</li>
|
<li>lightgallery v2.8.1 -> v2.8.3</li>
|
||||||
<li>mdb-ui-kit v8.1.0 -> v8.2.0</li>
|
<li>mdb-ui-kit v8.1.0 -> v8.2.0</li>
|
||||||
|
<li>p2p-media-loader-core & p2p-media-loader-hlsjs v2.2.0 -> v2.2.1</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Fixed</p>
|
<p>Fixed</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@@ -1943,7 +1943,7 @@ var gn, ne = { exports: {} }, Is = function() {
|
|||||||
const Es = ot(Is), Rs = `-PM${function(r) {
|
const Es = ot(Is), Rs = `-PM${function(r) {
|
||||||
const t = r.split(".");
|
const t = r.split(".");
|
||||||
return `${t[0].padStart(2, "0")}${t[1].padStart(2, "0")}`;
|
return `${t[0].padStart(2, "0")}${t[1].padStart(2, "0")}`;
|
||||||
}("2.2.0")}-`, Ps = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
}("2.2.1")}-`, Ps = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||||
function nt(r) {
|
function nt(r) {
|
||||||
return `${r.type}-${r.index}`;
|
return `${r.type}-${r.index}`;
|
||||||
}
|
}
|
||||||
@@ -2022,7 +2022,7 @@ function _n(r) {
|
|||||||
}
|
}
|
||||||
function Dn(r) {
|
function Dn(r) {
|
||||||
const t = r[0];
|
const t = r[0];
|
||||||
if (t >> 4) throw new Error("Trying to deserialize integer with invalid serialized item code");
|
if (t >> 4 !== 0) throw new Error("Trying to deserialize integer with invalid serialized item code");
|
||||||
const e = 15 & t, n = 1 + e;
|
const e = 15 & t, n = 1 + e;
|
||||||
return { number: Bs(r.slice(1, n)), byteLength: e + 1 };
|
return { number: Bs(r.slice(1, n)), byteLength: e + 1 };
|
||||||
}
|
}
|
||||||
@@ -2451,10 +2451,10 @@ const ct = class ct {
|
|||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
y(this, "onTrackerClientWarning", (t) => {
|
y(this, "onTrackerClientWarning", (t) => {
|
||||||
this.logger(`tracker warning (${this.streamShortId}: ${t})`), this.eventTarget.getEventDispatcher("onTrackerWarning")({ streamType: this.stream.type, warning: t });
|
this.logger("tracker warning %s:", this.streamShortId, t), this.eventTarget.getEventDispatcher("onTrackerWarning")({ streamType: this.stream.type, warning: t });
|
||||||
});
|
});
|
||||||
y(this, "onTrackerClientError", (t) => {
|
y(this, "onTrackerClientError", (t) => {
|
||||||
this.logger(`tracker error (${this.streamShortId}: ${t})`), this.eventTarget.getEventDispatcher("onTrackerError")({ streamType: this.stream.type, error: t });
|
this.logger("tracker error in stream %s:", this.streamShortId, t), this.eventTarget.getEventDispatcher("onTrackerError")({ streamType: this.stream.type, error: t });
|
||||||
});
|
});
|
||||||
y(this, "onPeerClosed", (t) => {
|
y(this, "onPeerClosed", (t) => {
|
||||||
this.logger(`peer closed: ${t.id}`), this._peers.delete(t.id);
|
this.logger(`peer closed: ${t.id}`), this._peers.delete(t.id);
|
||||||
@@ -2483,7 +2483,7 @@ peerId: ${a}`);
|
|||||||
t == null || t.destroy();
|
t == null || t.destroy();
|
||||||
for (const n of e) n.destroy();
|
for (const n of e) n.destroy();
|
||||||
}
|
}
|
||||||
this._peers.clear(), this.logger(`destroy client; stream: ${this.streamShortId}`);
|
this._peers.clear(), this.logger("destroy client; stream:", this.streamShortId);
|
||||||
}
|
}
|
||||||
*peers() {
|
*peers() {
|
||||||
for (const t of this._peers.values()) t.peer && (yield t.peer);
|
for (const t of this._peers.values()) t.peer && (yield t.peer);
|
||||||
@@ -2571,7 +2571,8 @@ class js {
|
|||||||
}
|
}
|
||||||
get connectedPeerCount() {
|
get connectedPeerCount() {
|
||||||
let t = 0;
|
let t = 0;
|
||||||
for (const e of this.trackerClient.peers()) t++;
|
const e = this.trackerClient.peers();
|
||||||
|
for (; !e.next().done; ) t++;
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
getSegmentsAnnouncement() {
|
getSegmentsAnnouncement() {
|
Reference in New Issue
Block a user