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

@twilio/player

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twilio/player - npm Package Compare versions

Comparing version 1.0.0-beta.9 to 1.0.0-beta.10

11

dist/index.js

@@ -351,7 +351,8 @@ 'use strict';

}
const length = this.ws.getDuration();
const width = (this.currentSegmentDuration / length) * 100;
const offset = (this.currentSegmentOffset / length) * 100;
this.segmentHighlighterLeft.style.width = `${offset}%`;
this.segmentHighlighterCenter.style.width = `${width}%`;
const duration = this.ws.getDuration();
const pxPerSec = this.container.clientWidth / duration;
const width = Math.min(this.currentSegmentDuration, duration - this.currentSegmentOffset) * pxPerSec;
const offset = this.currentSegmentOffset * pxPerSec;
this.segmentHighlighterLeft.style.width = `${offset}px`;
this.segmentHighlighterCenter.style.width = `${width}px`;
this.segmentHighlighterRight.style.flex = "1";

@@ -358,0 +359,0 @@ };

{
"name": "@twilio/player",
"version": "1.0.0-beta.9",
"version": "1.0.0-beta.10",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "source": "src/index.ts",

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