@ludovicm67/mp4-tools
Advanced tools
Comparing version 0.2.2 to 0.2.3
# @ludovicm67/mp4-tools | ||
## 0.2.3 | ||
### Patch Changes | ||
- c0a4cea: Replace NPM with Yarn | ||
- Updated dependencies [c0a4cea] | ||
- @ludovicm67/media-tools-utils@0.1.4 | ||
## 0.2.2 | ||
@@ -4,0 +12,0 @@ |
export function buildFile(data: MP4ParsedFile, context?: MP4ParsedFile | null): { | ||
filedata: Buffer; | ||
rest: import('@ludovicm67/media-tools-utils').Buffer; | ||
rest: 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; | ||
export function parse(fileBuffer: any): MP4ParsedFile; | ||
export function fix(prevChunk: any, brokenChunk: any, options: LibOptions | null): any; | ||
/** | ||
@@ -14,7 +14,7 @@ * Internal representation of a MP4 file. | ||
*/ | ||
ftyp: import('@ludovicm67/media-tools-utils').Buffer; | ||
ftyp: any; | ||
/** | ||
* The moov box. | ||
*/ | ||
moov: import('@ludovicm67/media-tools-utils').Buffer; | ||
moov: any; | ||
/** | ||
@@ -25,3 +25,3 @@ * The chunks of the file. | ||
type: string; | ||
data: import('@ludovicm67/media-tools-utils').Buffer; | ||
data: any; | ||
}>; | ||
@@ -31,3 +31,3 @@ /** | ||
*/ | ||
rest: import('@ludovicm67/media-tools-utils').Buffer; | ||
rest: any; | ||
}; | ||
@@ -40,4 +40,2 @@ export type LibOptions = { | ||
}; | ||
import { Buffer } from '@ludovicm67/media-tools-utils'; | ||
import { utils } from '@ludovicm67/media-tools-utils'; | ||
export { utils, Buffer }; | ||
@@ -44,0 +42,0 @@ export { readBoxSize, readBoxType } from "./lib/base.js"; |
@@ -1,3 +0,3 @@ | ||
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; | ||
export function readBoxSize(buffer: any, index: number): number; | ||
export function readBoxType(buffer: any, index: number): string; | ||
//# sourceMappingURL=base.d.ts.map |
@@ -1,5 +0,5 @@ | ||
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 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 type FtypBox = { | ||
@@ -6,0 +6,0 @@ /** |
{ | ||
"name": "@ludovicm67/mp4-tools", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "MP4 tools", | ||
@@ -11,4 +11,5 @@ "main": "index.js", | ||
"clean": "rimraf *.tgz *.d.ts* **/*.d.ts*", | ||
"build": "npm run clean && npm run typings", | ||
"postpublish": "npm run clean", | ||
"build": "yarn clean && yarn typings", | ||
"prepack": "yarn build", | ||
"postpublish": "yarn clean", | ||
"test": "true" | ||
@@ -27,3 +28,3 @@ }, | ||
"dependencies": { | ||
"@ludovicm67/media-tools-utils": "^0.1.3", | ||
"@ludovicm67/media-tools-utils": "^0.1.4", | ||
"commander": "^11.1.0" | ||
@@ -30,0 +31,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
25189
505