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

@remotion/media-utils

Package Overview
Dependencies
Maintainers
1
Versions
850
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remotion/media-utils - npm Package Compare versions

Comparing version 4.0.165 to 4.0.166

dist/media-tag-error-handling.d.ts

10

dist/get-audio-duration-in-seconds.js

@@ -5,2 +5,3 @@ "use strict";

/* eslint-disable @typescript-eslint/no-use-before-define */
const media_tag_error_handling_1 = require("./media-tag-error-handling");
const p_limit_1 = require("./p-limit");

@@ -20,4 +21,9 @@ const limit = (0, p_limit_1.pLimit)(3);

const onError = () => {
reject(audio.error);
cleanup();
(0, media_tag_error_handling_1.onMediaError)({
error: audio.error,
src,
cleanup,
reject,
api: 'getAudioDurationInSeconds()',
});
};

@@ -24,0 +30,0 @@ const onLoadedMetadata = () => {

@@ -6,2 +6,3 @@ "use strict";

const is_remote_asset_1 = require("./is-remote-asset");
const media_tag_error_handling_1 = require("./media-tag-error-handling");
const p_limit_1 = require("./p-limit");

@@ -21,4 +22,9 @@ const cache = {};

const onError = () => {
reject(video.error);
cleanup();
(0, media_tag_error_handling_1.onMediaError)({
error: video.error,
src,
cleanup,
reject,
api: 'getVideoMetadata()',
});
};

@@ -25,0 +31,0 @@ const onLoadedMetadata = () => {

4

package.json
{
"name": "@remotion/media-utils",
"version": "4.0.165",
"version": "4.0.166",
"description": "Utility functions for audio and video",

@@ -16,3 +16,3 @@ "main": "dist/index.js",

"dependencies": {
"remotion": "4.0.165"
"remotion": "4.0.166"
},

@@ -19,0 +19,0 @@ "peerDependencies": {

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