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

@mux/mux-video

Package Overview
Dependencies
Maintainers
1
Versions
552
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mux/mux-video - npm Package Compare versions

Comparing version 0.20.2-canary.0-2722b6e to 0.20.2-canary.0-3437ced

10

dist/cjs.json
{
"inputs": {
"src/polyfills/index.ts": {
"bytes": 2117,
"bytes": 2165,
"imports": [

@@ -370,3 +370,3 @@ {

"src/index.ts": {
"bytes": 21850,
"bytes": 21812,
"imports": [

@@ -417,3 +417,3 @@ {

"inputs": {},
"bytes": 141876
"bytes": 141923
},

@@ -435,3 +435,3 @@ "dist/index.cjs.js": {

"src/polyfills/index.ts": {
"bytesInOutput": 764
"bytesInOutput": 788
},

@@ -493,5 +493,5 @@ "src/env.ts": {

},
"bytes": 42212
"bytes": 42236
}
}
}
{
"inputs": {
"src/polyfills/index.ts": {
"bytes": 2117,
"bytes": 2165,
"imports": [

@@ -370,3 +370,3 @@ {

"src/index.ts": {
"bytes": 21850,
"bytes": 21812,
"imports": [

@@ -417,3 +417,3 @@ {

"inputs": {},
"bytes": 142716
"bytes": 142763
},

@@ -437,3 +437,3 @@ "dist/index.mjs": {

"src/polyfills/index.ts": {
"bytesInOutput": 764
"bytesInOutput": 788
},

@@ -498,5 +498,5 @@ "src/index.ts": {

},
"bytes": 41790
"bytes": 41814
}
}
}
{
"inputs": {
"src/polyfills/index.ts": {
"bytes": 2117,
"bytes": 2165,
"imports": [

@@ -25,3 +25,3 @@ {

"../playback-core/dist/index.mjs": {
"bytes": 24882,
"bytes": 25074,
"imports": [

@@ -397,3 +397,3 @@ {

"src/index.ts": {
"bytes": 21850,
"bytes": 21812,
"imports": [

@@ -444,3 +444,3 @@ {

"inputs": {},
"bytes": 2290399
"bytes": 2293122
},

@@ -453,3 +453,3 @@ "dist/mux-video.js": {

"src/polyfills/index.ts": {
"bytesInOutput": 764
"bytesInOutput": 788
},

@@ -463,3 +463,3 @@ "../../node_modules/mux-embed/dist/mux.mjs": {

"../playback-core/dist/index.mjs": {
"bytesInOutput": 23271
"bytesInOutput": 23463
},

@@ -524,5 +524,5 @@ "src/env.ts": {

},
"bytes": 544896
"bytes": 545112
}
}
}

@@ -1,2 +0,2 @@

"use strict";var Jt=Object.defineProperty;var ai=Object.getOwnPropertyDescriptor;var di=Object.getOwnPropertyNames;var ci=Object.getPrototypeOf,ui=Object.prototype.hasOwnProperty;var hi=Reflect.get;var li=(e,i,t)=>i in e?Jt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var fi=(e,i)=>{for(var t in i)Jt(e,t,{get:i[t],enumerable:!0})},mi=(e,i,t,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of di(i))!ui.call(e,n)&&n!==t&&Jt(e,n,{get:()=>i[n],enumerable:!(s=ai(i,n))||s.enumerable});return e};var pi=e=>mi(Jt({},"__esModule",{value:!0}),e);var b=(e,i,t)=>(li(e,typeof i!="symbol"?i+"":i,t),t),Ee=(e,i,t)=>{if(!i.has(e))throw TypeError("Cannot "+t)};var r=(e,i,t)=>(Ee(e,i,"read from private field"),t?t.call(e):i.get(e)),u=(e,i,t)=>{if(i.has(e))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(e):i.set(e,t)},h=(e,i,t,s)=>(Ee(e,i,"write to private field"),s?s.call(e,t):i.set(e,t),t);var k=(e,i,t)=>(Ee(e,i,"access private method"),t),Qt=(e,i,t)=>hi(ci(e),t,i);var Li={};fi(Li,{Attributes:()=>c,MediaError:()=>f.MediaError,VideoEvents:()=>te,default:()=>Ii});module.exports=pi(Li);var bt=class{addEventListener(){}removeEventListener(){}dispatchEvent(i){return!0}};if(typeof DocumentFragment=="undefined"){class e extends bt{}globalThis.DocumentFragment=e}var xt=class extends bt{},be=class extends bt{},gi={get(e){},define(e,i,t){},upgrade(e){},whenDefined(e){return Promise.resolve(xt)}},Dt,ve=class{constructor(i,t={}){u(this,Dt,void 0);h(this,Dt,t==null?void 0:t.detail)}get detail(){return r(this,Dt)}initCustomEvent(){}};Dt=new WeakMap;function Ei(e,i){return new xt}var _e={document:{createElement:Ei},DocumentFragment,customElements:gi,CustomEvent:ve,EventTarget:bt,HTMLElement:xt,HTMLVideoElement:be},Pe=typeof window=="undefined"||typeof globalThis.customElements=="undefined",Zt=Pe?_e:globalThis,xi=Pe?_e.document:globalThis.document;var f=require("@mux/playback-core");var bi=()=>{try{return"0.20.2"}catch{}return"UNKNOWN"},vi=bi(),Ie=()=>vi;var te=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"];function Ti(e){return`
"use strict";var Jt=Object.defineProperty;var ai=Object.getOwnPropertyDescriptor;var di=Object.getOwnPropertyNames;var ci=Object.getPrototypeOf,ui=Object.prototype.hasOwnProperty;var hi=Reflect.get;var li=(e,i,t)=>i in e?Jt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var fi=(e,i)=>{for(var t in i)Jt(e,t,{get:i[t],enumerable:!0})},mi=(e,i,t,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of di(i))!ui.call(e,n)&&n!==t&&Jt(e,n,{get:()=>i[n],enumerable:!(s=ai(i,n))||s.enumerable});return e};var pi=e=>mi(Jt({},"__esModule",{value:!0}),e);var b=(e,i,t)=>(li(e,typeof i!="symbol"?i+"":i,t),t),Ee=(e,i,t)=>{if(!i.has(e))throw TypeError("Cannot "+t)};var r=(e,i,t)=>(Ee(e,i,"read from private field"),t?t.call(e):i.get(e)),u=(e,i,t)=>{if(i.has(e))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(e):i.set(e,t)},h=(e,i,t,s)=>(Ee(e,i,"write to private field"),s?s.call(e,t):i.set(e,t),t);var k=(e,i,t)=>(Ee(e,i,"access private method"),t),Qt=(e,i,t)=>hi(ci(e),t,i);var Li={};fi(Li,{Attributes:()=>c,MediaError:()=>f.MediaError,VideoEvents:()=>te,default:()=>Ii});module.exports=pi(Li);var bt=class{addEventListener(){}removeEventListener(){}dispatchEvent(i){return!0}};if(typeof DocumentFragment=="undefined"){class e extends bt{}globalThis.DocumentFragment=e}var xt=class extends bt{},be=class extends bt{},gi={get(e){},define(e,i,t){},getName(e){return null},upgrade(e){},whenDefined(e){return Promise.resolve(xt)}},Dt,ve=class{constructor(i,t={}){u(this,Dt,void 0);h(this,Dt,t==null?void 0:t.detail)}get detail(){return r(this,Dt)}initCustomEvent(){}};Dt=new WeakMap;function Ei(e,i){return new xt}var _e={document:{createElement:Ei},DocumentFragment,customElements:gi,CustomEvent:ve,EventTarget:bt,HTMLElement:xt,HTMLVideoElement:be},Pe=typeof window=="undefined"||typeof globalThis.customElements=="undefined",Zt=Pe?_e:globalThis,xi=Pe?_e.document:globalThis.document;var f=require("@mux/playback-core");var bi=()=>{try{return"0.20.2"}catch{}return"UNKNOWN"},vi=bi(),Ie=()=>vi;var te=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"];function Ti(e){return`
<style>

@@ -3,0 +3,0 @@ :host {

{
"inputs": {
"src/polyfills/index.ts": {
"bytes": 2117,
"bytes": 2165,
"imports": [

@@ -25,3 +25,3 @@ {

"../playback-core/dist/index.mjs": {
"bytes": 24882,
"bytes": 25074,
"imports": [

@@ -397,3 +397,3 @@ {

"src/index.ts": {
"bytes": 21850,
"bytes": 21812,
"imports": [

@@ -444,3 +444,3 @@ {

"inputs": {},
"bytes": 2290399
"bytes": 2293122
},

@@ -458,3 +458,3 @@ "dist/mux-video.mjs": {

"src/polyfills/index.ts": {
"bytesInOutput": 764
"bytesInOutput": 788
},

@@ -468,3 +468,3 @@ "../../node_modules/mux-embed/dist/mux.mjs": {

"../playback-core/dist/index.mjs": {
"bytesInOutput": 23271
"bytesInOutput": 23463
},

@@ -529,5 +529,5 @@ "src/env.ts": {

},
"bytes": 544946
"bytes": 545162
}
}
}

@@ -1,4 +0,3 @@

/// <reference types="mux-embed/dist/types/mux-embed" />
import { MuxMediaProps, StreamTypes, PlaybackTypes, Metadata, MediaError, CmcdTypes } from '@mux/playback-core';
import { PlaybackEngine, Autoplay, ExtensionMimeTypeMap, ValueOf, MaxResolutionValue, MinResolutionValue, RenditionOrderValue } from '@mux/playback-core';
import { PlaybackEngine, Autoplay, ExtensionMimeTypeMap, ValueOf, MaxResolutionValue, MinResolutionValue, RenditionOrderValue, Chapter, CuePoint } from '@mux/playback-core';
import { CustomVideoElement, Events as VideoEvents } from 'custom-media-element';

@@ -69,6 +68,3 @@ import { HlsConfig } from 'hls.js';

readonly seekable: TimeRanges;
addCuePoints<T = any>(cuePoints: {
time: number;
value: T;
}[]): Promise<TextTrack>;
addCuePoints<T = any>(cuePoints: CuePoint<T>[]): Promise<TextTrack>;
readonly activeCuePoint: {

@@ -82,7 +78,3 @@ time: number;

}[];
addChapters(chapters: {
startTime: number;
endTime: number;
value: string;
}[]): Promise<TextTrack>;
addChapters(chapters: Chapter[]): Promise<TextTrack>;
readonly activeChapter: {

@@ -89,0 +81,0 @@ startTime: number;

@@ -1,4 +0,3 @@

/// <reference types="mux-embed/dist/types/mux-embed" />
import { MuxMediaProps, StreamTypes, PlaybackTypes, Metadata, MediaError, CmcdTypes } from '@mux/playback-core';
import type { PlaybackEngine, Autoplay, ExtensionMimeTypeMap, ValueOf, MaxResolutionValue, MinResolutionValue, RenditionOrderValue } from '@mux/playback-core';
import type { PlaybackEngine, Autoplay, ExtensionMimeTypeMap, ValueOf, MaxResolutionValue, MinResolutionValue, RenditionOrderValue, Chapter, CuePoint } from '@mux/playback-core';
import { CustomVideoElement, Events as VideoEvents } from 'custom-media-element';

@@ -94,6 +93,3 @@ import type { HlsConfig } from 'hls.js';

get seekable(): TimeRanges;
addCuePoints<T = any>(cuePoints: {
time: number;
value: T;
}[]): Promise<TextTrack>;
addCuePoints<T = any>(cuePoints: CuePoint<T>[]): Promise<TextTrack>;
get activeCuePoint(): {

@@ -107,7 +103,3 @@ time: number;

}[];
addChapters(chapters: {
startTime: number;
endTime: number;
value: string;
}[]): Promise<TextTrack>;
addChapters(chapters: Chapter[]): Promise<TextTrack>;
get activeChapter(): {

@@ -114,0 +106,0 @@ startTime: number;

{
"name": "@mux/mux-video",
"version": "0.20.2-canary.0-2722b6e",
"version": "0.20.2-canary.0-3437ced",
"description": "A custom mux video element for the browser that Just Works™",

@@ -48,3 +48,3 @@ "keywords": [

"clean": "shx rm -rf dist/ && shx rm -rf src/polyfills",
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint src/ --ext .js,.jsx,.ts,.tsx",
"test": "web-test-runner **/*test.js --port 8002 --coverage --config test/web-test-runner.config.mjs --root-dir ../..",

@@ -70,3 +70,3 @@ "posttest": "replace 'SF:src/' 'SF:packages/mux-video/src/' coverage/lcov.info --silent",

"dependencies": {
"@mux/playback-core": "0.25.2-canary.0-2722b6e",
"@mux/playback-core": "0.25.2-canary.0-3437ced",
"castable-video": "~1.1.0",

@@ -78,4 +78,4 @@ "custom-media-element": "~1.3.1",

"@open-wc/testing": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@web/dev-server-esbuild": "^1.0.2",

@@ -86,3 +86,3 @@ "@web/dev-server-import-maps": "^0.2.1",

"esbuild": "^0.19.8",
"eslint": "^8.24.0",
"eslint": "^9.9.1",
"hls.js": "~1.5.11",

@@ -92,4 +92,4 @@ "npm-run-all": "^4.1.5",

"shx": "^0.3.4",
"typescript": "^4.9.4"
"typescript": "^5.5.4"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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