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

media-captions

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

media-captions - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

11

dist/dev.js

@@ -552,9 +552,8 @@ import {

if (pos.top) {
const top = pos.top / 100 * container.height;
box.top = top;
box.bottom = top + box.height;
box.top = pos.top;
box.bottom = pos.top + box.height;
cueEl[POSITION_OVERRIDE] = "top";
}
if (pos.bottom) {
const bottom = container.height - pos.bottom / 100 * container.height;
const bottom = container.height - pos.bottom;
box.top = bottom - box.height;

@@ -565,5 +564,5 @@ box.bottom = bottom;

if (pos.left)
box.left = pos.left / 100 * container.width;
box.left = pos.left;
if (pos.right)
box.right = container.width - pos.right / 100 * container.width;
box.right = container.width - pos.right;
return createCSSBox(container, box);

@@ -570,0 +569,0 @@ }

@@ -552,9 +552,8 @@ import {

if (pos.top) {
const top = pos.top / 100 * container.height;
box.top = top;
box.bottom = top + box.height;
box.top = pos.top;
box.bottom = pos.top + box.height;
cueEl[POSITION_OVERRIDE] = "top";
}
if (pos.bottom) {
const bottom = container.height - pos.bottom / 100 * container.height;
const bottom = container.height - pos.bottom;
box.top = bottom - box.height;

@@ -565,5 +564,5 @@ box.bottom = bottom;

if (pos.left)
box.left = pos.left / 100 * container.width;
box.left = pos.left;
if (pos.right)
box.right = container.width - pos.right / 100 * container.width;
box.right = container.width - pos.right;
return createCSSBox(container, box);

@@ -570,0 +569,0 @@ }

@@ -554,9 +554,8 @@ import {

if (pos.top) {
const top = pos.top / 100 * container.height;
box.top = top;
box.bottom = top + box.height;
box.top = pos.top;
box.bottom = pos.top + box.height;
cueEl[POSITION_OVERRIDE] = "top";
}
if (pos.bottom) {
const bottom = container.height - pos.bottom / 100 * container.height;
const bottom = container.height - pos.bottom;
box.top = bottom - box.height;

@@ -567,5 +566,5 @@ box.bottom = bottom;

if (pos.left)
box.left = pos.left / 100 * container.width;
box.left = pos.left;
if (pos.right)
box.right = container.width - pos.right / 100 * container.width;
box.right = container.width - pos.right;
return createCSSBox(container, box);

@@ -572,0 +571,0 @@ }

{
"name": "media-captions",
"version": "0.0.8",
"version": "0.0.9",
"description": "Media captions parser and renderer.",

@@ -5,0 +5,0 @@ "license": "MIT",

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