@ffmpeg/types
Advanced tools
Comparing version 0.12.2 to 0.12.3
{ | ||
"name": "@ffmpeg/types", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"description": "ffmpeg.wasm types", | ||
@@ -32,2 +32,2 @@ "types": "types", | ||
} | ||
} | ||
} |
@@ -42,9 +42,5 @@ // TODO: Add lint and test. | ||
export interface FSFilesystemWORKERFS { | ||
} | ||
export interface FSFilesystemWORKERFS {} | ||
export interface FSFilesystemMEMFS { | ||
} | ||
export interface FSFilesystemMEMFS {} | ||
@@ -56,6 +52,16 @@ export interface FSFilesystems { | ||
export type FSFilesystem = | ||
| FSFilesystemWORKERFS | ||
| FSFilesystemMEMFS; | ||
export type FSFilesystem = FSFilesystemWORKERFS | FSFilesystemMEMFS; | ||
export interface OptionReadFile { | ||
encoding: string; | ||
} | ||
export interface WorkerFSMountConfig { | ||
blobs?: { | ||
name: string; | ||
data: Blob; | ||
}[]; | ||
files?: File[]; | ||
} | ||
/** | ||
@@ -80,3 +86,7 @@ * Functions to interact with Emscripten FS library. | ||
isDir: (mode: number) => boolean; | ||
mount: (fileSystemType: FSFilesystem, data: WorkerFSMountConfig, path: string) => void; | ||
mount: ( | ||
fileSystemType: FSFilesystem, | ||
data: WorkerFSMountConfig, | ||
path: string | ||
) => void; | ||
unmount: (path: string) => void; | ||
@@ -121,2 +131,3 @@ filesystems: FSFilesystems; | ||
exec: (...args: string[]) => number; | ||
ffprobe: (...args: string[]) => number; | ||
reset: () => void; | ||
@@ -123,0 +134,0 @@ setLogger: (logger: (log: Log) => void) => void; |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4455
124
1
1