@ludovicm67/mp4-tools
Advanced tools
Comparing version 0.2.6 to 0.2.7
# @ludovicm67/mp4-tools | ||
## 0.2.7 | ||
### Patch Changes | ||
- db5d22e: Improve the way types are generated | ||
- Updated dependencies [db5d22e] | ||
- @ludovicm67/media-tools-utils@0.1.8 | ||
## 0.2.6 | ||
@@ -4,0 +12,0 @@ |
export function buildFile(data: MP4ParsedFile, context?: MP4ParsedFile | null): { | ||
filedata: any; | ||
rest: any; | ||
filedata: import('@ludovicm67/media-tools-utils').Buffer; | ||
rest: import('@ludovicm67/media-tools-utils').Buffer; | ||
}; | ||
export function parse(fileBuffer: any): MP4ParsedFile; | ||
export function fix(prevChunk: any, brokenChunk: any, options: LibOptions | null): any; | ||
export function parse(fileBuffer: import('@ludovicm67/media-tools-utils').Buffer): MP4ParsedFile; | ||
export function fix(prevChunk: import('@ludovicm67/media-tools-utils').Buffer, brokenChunk: import('@ludovicm67/media-tools-utils').Buffer, options: LibOptions | null): import('@ludovicm67/media-tools-utils').Buffer; | ||
/** | ||
@@ -14,7 +14,7 @@ * Internal representation of a MP4 file. | ||
*/ | ||
ftyp: any; | ||
ftyp: import('@ludovicm67/media-tools-utils').Buffer; | ||
/** | ||
* The moov box. | ||
*/ | ||
moov: any; | ||
moov: import('@ludovicm67/media-tools-utils').Buffer; | ||
/** | ||
@@ -25,3 +25,3 @@ * The chunks of the file. | ||
type: string; | ||
data: any; | ||
data: import('@ludovicm67/media-tools-utils').Buffer; | ||
}>; | ||
@@ -31,3 +31,3 @@ /** | ||
*/ | ||
rest: any; | ||
rest: import('@ludovicm67/media-tools-utils').Buffer; | ||
}; | ||
@@ -40,2 +40,4 @@ export type LibOptions = { | ||
}; | ||
import { utils } from '@ludovicm67/media-tools-utils'; | ||
import { Buffer } from '@ludovicm67/media-tools-utils'; | ||
export { utils, Buffer }; | ||
@@ -42,0 +44,0 @@ export { readBoxSize, readBoxType } from "./lib/base.js"; |
@@ -1,3 +0,3 @@ | ||
export function readBoxSize(buffer: any, index: number): number; | ||
export function readBoxType(buffer: any, index: number): string; | ||
export function readBoxSize(buffer: import('@ludovicm67/media-tools-utils').Buffer, index: number): number; | ||
export function readBoxType(buffer: import('@ludovicm67/media-tools-utils').Buffer, index: number): string; | ||
//# sourceMappingURL=base.d.ts.map |
@@ -1,5 +0,5 @@ | ||
export function parseFtypBox(buffer: any, index: number, size: number): FtypBox; | ||
export function parseMoovBox(buffer: any, index: number, size: number): MoovBox; | ||
export function parseMdatBox(_buffer: any, index: number, size: number): MdatBox; | ||
export function parseMoofBox(buffer: any, index: number, size: number): MoofBox; | ||
export function parseFtypBox(buffer: import('@ludovicm67/media-tools-utils').Buffer, index: number, size: number): FtypBox; | ||
export function parseMoovBox(buffer: import('@ludovicm67/media-tools-utils').Buffer, index: number, size: number): MoovBox; | ||
export function parseMdatBox(_buffer: import('@ludovicm67/media-tools-utils').Buffer, index: number, size: number): MdatBox; | ||
export function parseMoofBox(buffer: import('@ludovicm67/media-tools-utils').Buffer, index: number, size: number): MoofBox; | ||
export type FtypBox = { | ||
@@ -6,0 +6,0 @@ /** |
{ | ||
"name": "@ludovicm67/mp4-tools", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "MP4 tools", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"clean": "rimraf dist/", | ||
"build": "npm run clean && npm run typings", | ||
"build": "npm run typings", | ||
"prepack": "npm run build", | ||
@@ -35,3 +35,3 @@ "test": "true" | ||
"dependencies": { | ||
"@ludovicm67/media-tools-utils": "^0.1.7", | ||
"@ludovicm67/media-tools-utils": "^0.1.8", | ||
"commander": "^12.0.0" | ||
@@ -38,0 +38,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
27140
507