Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@byteark/byteark-player-vue

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@byteark/byteark-player-vue - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

73

dist/@byteark/byteark-player-vue.js

@@ -53,6 +53,6 @@ var cn = Object.defineProperty;

return Promise.all(m).then(() => {
const v = c["com.widevine.alpha"] === !0, O = c["com.apple.fps.3_0"] === !0 || c["com.apple.fps.2_0"] === !0 || c["com.apple.fps.1_0"] === !0 || c["com.apple.fps"] === !0;
return !v && !O ? Promise.reject(new Error("Browser does not support DRM")) : {
const v = c["com.widevine.alpha"] === !0, R = c["com.apple.fps.3_0"] === !0 || c["com.apple.fps.2_0"] === !0 || c["com.apple.fps.1_0"] === !0 || c["com.apple.fps"] === !0;
return !v && !R ? Promise.reject(new Error("Browser does not support DRM")) : {
widevine: v,
fairplay: O
fairplay: R
};

@@ -297,4 +297,4 @@ });

(function(i, s) {
var n = 200, l = "Expected a function", d = "__lodash_hash_undefined__", c = 1, g = 2, m = 1 / 0, v = 9007199254740991, O = "[object Arguments]", V = "[object Array]", le = "[object Boolean]", ue = "[object Date]", h = "[object Error]", A = "[object Function]", j = "[object GeneratorFunction]", D = "[object Map]", P = "[object Number]", B = "[object Object]", ce = "[object Promise]", fe = "[object RegExp]", q = "[object Set]", pe = "[object String]", de = "[object Symbol]", ee = "[object WeakMap]", re = "[object ArrayBuffer]", o = "[object DataView]", k = "[object Float32Array]", Er = "[object Float64Array]", Sr = "[object Int8Array]", br = "[object Int16Array]", Tr = "[object Int32Array]", Ar = "[object Uint8Array]", Cr = "[object Uint8ClampedArray]", Rr = "[object Uint16Array]", Or = "[object Uint32Array]", Lr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ir = /^\w*$/, Fr = /^\./, xr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, $r = /[\\^$.*+?()[\]{}|]/g, Nr = /\\(\\)?/g, Mr = /^\[object .+?Constructor\]$/, Dr = /^(?:0|[1-9]\d*)$/, y = {};
y[k] = y[Er] = y[Sr] = y[br] = y[Tr] = y[Ar] = y[Cr] = y[Rr] = y[Or] = !0, y[O] = y[V] = y[re] = y[le] = y[o] = y[ue] = y[h] = y[A] = y[D] = y[P] = y[B] = y[fe] = y[q] = y[pe] = y[ee] = !1;
var n = 200, l = "Expected a function", d = "__lodash_hash_undefined__", c = 1, g = 2, m = 1 / 0, v = 9007199254740991, R = "[object Arguments]", V = "[object Array]", le = "[object Boolean]", ue = "[object Date]", h = "[object Error]", O = "[object Function]", j = "[object GeneratorFunction]", D = "[object Map]", P = "[object Number]", B = "[object Object]", ce = "[object Promise]", fe = "[object RegExp]", q = "[object Set]", pe = "[object String]", de = "[object Symbol]", ee = "[object WeakMap]", re = "[object ArrayBuffer]", o = "[object DataView]", k = "[object Float32Array]", Er = "[object Float64Array]", Sr = "[object Int8Array]", br = "[object Int16Array]", Tr = "[object Int32Array]", Ar = "[object Uint8Array]", Cr = "[object Uint8ClampedArray]", Rr = "[object Uint16Array]", Or = "[object Uint32Array]", Lr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ir = /^\w*$/, Fr = /^\./, xr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, $r = /[\\^$.*+?()[\]{}|]/g, Nr = /\\(\\)?/g, Mr = /^\[object .+?Constructor\]$/, Dr = /^(?:0|[1-9]\d*)$/, y = {};
y[k] = y[Er] = y[Sr] = y[br] = y[Tr] = y[Ar] = y[Cr] = y[Rr] = y[Or] = !0, y[R] = y[V] = y[re] = y[le] = y[o] = y[ue] = y[h] = y[O] = y[D] = y[P] = y[B] = y[fe] = y[q] = y[pe] = y[ee] = !1;
var Je = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, Br = typeof self == "object" && self && self.Object === Object && self, K = Je || Br || Function("return this")(), qe = s && !s.nodeType && s, Xe = qe && !0 && i && !i.nodeType && i, kr = Xe && Xe.exports === qe, Ze = kr && Je.process, Qe = function() {

@@ -524,3 +524,3 @@ try {

var p = G(e), _ = G(r), w = V, E = V;
p || (w = Y(e), w = w == O ? B : w), _ || (E = Y(r), E = E == O ? B : E);
p || (w = Y(e), w = w == R ? B : w), _ || (E = Y(r), E = E == R ? B : E);
var b = w == B && !Re(e), T = E == B && !Re(r), S = w == E;

@@ -530,5 +530,5 @@ if (S && !b)

if (!(f & g)) {
var C = b && L.call(e, "__wrapped__"), R = T && L.call(r, "__wrapped__");
if (C || R) {
var U = C ? e.value() : e, N = R ? r.value() : r;
var A = b && L.call(e, "__wrapped__"), C = T && L.call(r, "__wrapped__");
if (A || C) {
var U = A ? e.value() : e, N = C ? r.value() : r;
return u || (u = new $()), t(U, N, a, f, u);

@@ -634,5 +634,5 @@ }

for (u.set(e, r), u.set(r, e); ++b < _; ) {
var C = e[b], R = r[b];
var A = e[b], C = r[b];
if (a)
var U = p ? a(R, C, b, r, e, u) : a(C, R, b, e, r, u);
var U = p ? a(C, A, b, r, e, u) : a(A, C, b, e, r, u);
if (U !== void 0) {

@@ -646,3 +646,3 @@ if (U)

if (!Kr(r, function(N, W) {
if (!S.has(W) && (C === N || t(C, N, a, f, u)))
if (!S.has(W) && (A === N || t(A, N, a, f, u)))
return S.add(W);

@@ -653,3 +653,3 @@ })) {

}
} else if (!(C === R || t(C, R, a, f, u))) {
} else if (!(A === C || t(A, C, a, f, u))) {
T = !1;

@@ -705,6 +705,6 @@ break;

}
var C = u.get(e);
if (C && u.get(r))
return C == r;
var R = !0;
var A = u.get(e);
if (A && u.get(r))
return A == r;
var C = !0;
u.set(e, r), u.set(r, e);

@@ -717,3 +717,3 @@ for (var U = p; ++T < w; ) {

if (!(mr === void 0 ? N === W || t(N, W, a, f, u) : mr)) {
R = !1;
C = !1;
break;

@@ -723,7 +723,7 @@ }

}
if (R && !U) {
if (C && !U) {
var Ee = e.constructor, Se = r.constructor;
Ee != Se && "constructor" in e && "constructor" in r && !(typeof Ee == "function" && Ee instanceof Ee && typeof Se == "function" && Se instanceof Se) && (R = !1);
Ee != Se && "constructor" in e && "constructor" in r && !(typeof Ee == "function" && Ee instanceof Ee && typeof Se == "function" && Se instanceof Se) && (C = !1);
}
return u.delete(e), u.delete(r), R;
return u.delete(e), u.delete(r), C;
}

@@ -879,3 +879,3 @@ function Ut(e) {

function gr(e) {
return jt(e) && L.call(e, "callee") && (!Qr.call(e, "callee") || X.call(e) == O);
return jt(e) && L.call(e, "callee") && (!Qr.call(e, "callee") || X.call(e) == R);
}

@@ -891,3 +891,3 @@ var G = Array.isArray;

var r = ae(e) ? X.call(e) : "";
return r == A || r == j;
return r == O || r == j;
}

@@ -997,3 +997,3 @@ function Ke(e) {

onClick: v[0] || (v[0] = //@ts-ignore
(...O) => m.onClick && m.onClick(...O))
(...R) => m.onClick && m.onClick(...R))
}, [

@@ -1045,7 +1045,7 @@ ie(g) ? (I(), M("svg", {

playerVersion: v = Vn,
playerJsFileName: O = jn,
playerJsFileName: R = jn,
playerCssFileName: V = ea,
setupPlayerFunction: le = Mn,
...ue
} = n, h = qn(), A = He(null), j = He(null), D = He(!1), P = gn({
} = n, h = qn(), O = He(null), j = He(null), D = He(!1), P = gn({
loaded: !1,

@@ -1065,3 +1065,3 @@ ready: !1,

P.showPlaceholder = !1;
const o = Te(A.value);
const o = Te(O.value);
if (!o) {

@@ -1074,3 +1074,3 @@ console.error("Player instance is not available");

P.ready = !0;
const o = Te(A.value);
const o = Te(O.value);
if (!o) {

@@ -1080,8 +1080,7 @@ console.error("Player instance is not available");

}
h.onReady && l("ready", o), n.onPlayerReady && typeof n.onPlayerReady == "function" && n.onPlayerReady(o), h.onFirstplay && o.one("play", () => l("firstplay", o)), h.onPlay && o.on("play", () => l("play", o, o.currentTime())), h.onPause && o.on("pause", () => l("pause", o, o.currentTime())), h.onEnded && o.on("ended", () => l("ended", o)), h.onTimeupdate && o.on("timeupdate", () => l("timeupdate", o, o.currentTime())), h.onSeeking && o.on("seeking", () => l("seeking", o, o.currentTime())), h.onSeeked && o.on("seeked", () => l("seeked", o, o.currentTime())), h.onWaiting && o.on("waiting", () => l("waiting", o)), h.onStalled && o.on("stalled", () => l("stalled", o)), h.onFullscreenchange && o.on("fullscreenchange", () => l("fullscreenchange", o, o.isFullscreen())), h.onVolumechange && o.on("volumechange", () => l("volumechange", o, o.volume())), h.onRatechange && o.on("ratechange", () => l("ratechange", o, o.playbackRate())), h.onEnterpictureinpicture && o.on("enterpictureinpicture", () => l("enterpictureinpicture", o)), h.onLeavepictureinpicture && o.on("leavepictureinpicture", () => l("leavepictureinpicture", o)), h.onError && o.on("error", () => l("error", o, o.error()));
h.onReady && l("ready", o), n.onPlayerReady && typeof n.onPlayerReady == "function" && n.onPlayerReady(o), h.onFirstplay && o.one("play", () => l("firstplay", o)), h.onPlay && o.on("play", () => l("play", o, o.currentTime())), h.onPause && o.on("pause", () => l("pause", o, o.currentTime())), h.onEnded && o.on("ended", () => l("ended", o)), h.onTimeupdate && o.on("timeupdate", () => l("timeupdate", o, o.currentTime())), h.onSeeking && o.on("seeking", () => l("seeking", o, o.currentTime())), h.onSeeked && o.on("seeked", () => l("seeked", o, o.currentTime())), h.onWaiting && o.on("waiting", () => l("waiting", o)), h.onStalled && o.on("stalled", () => l("stalled", o)), h.onFullscreenchange && o.on("fullscreenchange", () => l("fullscreenchange", o, o.isFullscreen())), h.onVolumechange && o.on("volumechange", () => l("volumechange", o, o.volume())), h.onRatechange && o.on("ratechange", () => l("ratechange", o, o.playbackRate())), h.onEnterpictureinpicture && o.on("enterpictureinpicture", () => l("enterpictureinpicture", o)), h.onLeavepictureinpicture && o.on("leavepictureinpicture", () => l("leavepictureinpicture", o)), h.onError && o.on("error", () => l("error", o, o.error())), c && requestAnimationFrame(async () => {
await o.play();
});
}, ee = async () => {
c && (await re(), setTimeout(async () => {
var o;
await ((o = A.value) == null ? void 0 : o.play());
}, 100)), P.showPlaceholder = !1;
c && await re(), P.showPlaceholder = !1;
}, re = async () => {

@@ -1092,3 +1091,3 @@ if (Hn() && !D.value) {

await kn({
playerJsFileName: O,
playerJsFileName: R,
playerCssFileName: V,

@@ -1101,3 +1100,3 @@ playerVersion: v,

const o = await Kn(Te(n.options));
await Yn(o, le), fe(), A.value = await Gn(
await Yn(o, le), fe(), O.value = await Gn(
j.value,

@@ -1118,7 +1117,7 @@ o,

}), _n(() => {
A.value && (A.value.dispose(), A.value = null, P.ready = !1, P.loaded = !1, P.showPlaceholder = !0);
O.value && (O.value.dispose(), O.value = null, P.ready = !1, P.loaded = !1, P.showPlaceholder = !0);
}), mn(
n,
(o) => {
A.value && $n(Te(A.value), o.options);
O.value && $n(Te(O.value), o.options);
},

@@ -1125,0 +1124,0 @@ { deep: !0 }

{
"name": "@byteark/byteark-player-vue",
"version": "4.1.1",
"version": "4.1.2",
"description": "ByteArk Player Container for Vue",

@@ -5,0 +5,0 @@ "author": "byteark",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc