New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@scrypted/types

Package Overview
Dependencies
Maintainers
1
Versions
326
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrypted/types - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

11

index.ts

@@ -1472,2 +1472,7 @@

/**
* Convert a media object to a Buffer of the given mime type, and them parse it as JSON.
*/
convertMediaObjectToJSON<T>(mediaObject: MediaObject, toMimeType: string): Promise<T>;
/**
* Convert a media object to a Buffer of the given mime type.

@@ -1494,3 +1499,2 @@ */

* Create a MediaObject. The media will be created from the provided FFmpeg input arguments.
* @deprecated
*/

@@ -1500,5 +1504,6 @@ createFFmpegMediaObject(ffmpegInput: FFMpegInput): MediaObject;

/**
* Create a MediaObject. The mime type needs to be provided up front, but the data can be a URL string, Buffer, or a Promise for a URL string or Buffer.
* Create a MediaObject.
* The data must be a Buffer, or a JSON object that will be serialized to a Buffer.
*/
createMediaObject(data: string | Buffer, mimeType: string): MediaObject;
createMediaObject(data: any | Buffer, mimeType: string): MediaObject;

@@ -1505,0 +1510,0 @@ /**

{
"name": "@scrypted/types",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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