@ludovicm67/mp4-tools
Advanced tools
Comparing version 0.2.1 to 0.2.2
# @ludovicm67/mp4-tools | ||
## 0.2.2 | ||
### Patch Changes | ||
- 786fee9: Change how packages are built | ||
- Updated dependencies [786fee9] | ||
- @ludovicm67/media-tools-utils@0.1.3 | ||
## 0.2.1 | ||
@@ -4,0 +12,0 @@ |
export function buildFile(data: MP4ParsedFile, context?: MP4ParsedFile | null): { | ||
filedata: Buffer; | ||
rest: any; | ||
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 { Buffer } from '@ludovicm67/media-tools-utils'; | ||
import { utils } 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.1", | ||
"version": "0.2.2", | ||
"description": "MP4 tools", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"clean": "rimraf *.tgz *.d.ts* **/*.d.ts*", | ||
"prepack": "npm run clean && npm run typings", | ||
"build": "npm run clean && npm run typings", | ||
"postpublish": "npm run clean", | ||
@@ -27,3 +27,3 @@ "test": "true" | ||
"dependencies": { | ||
"@ludovicm67/media-tools-utils": "^0.1.2", | ||
"@ludovicm67/media-tools-utils": "^0.1.3", | ||
"commander": "^11.1.0" | ||
@@ -30,0 +30,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26239
507