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

@ludovicm67/mp4-tools

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ludovicm67/mp4-tools - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

dist/tsconfig.tsbuildinfo

6

CHANGELOG.md
# @ludovicm67/mp4-tools
## 0.2.8
### Patch Changes
- e425a7f: Improve handling of optional types
## 0.2.7

@@ -4,0 +10,0 @@

6

dist/index.d.ts

@@ -1,2 +0,2 @@

export function buildFile(data: MP4ParsedFile, context?: MP4ParsedFile | null): {
export function buildFile(data: MP4ParsedFile, context?: MP4ParsedFile): {
filedata: import('@ludovicm67/media-tools-utils').Buffer;

@@ -6,3 +6,3 @@ rest: import('@ludovicm67/media-tools-utils').Buffer;

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 fix(prevChunk: import('@ludovicm67/media-tools-utils').Buffer, brokenChunk: import('@ludovicm67/media-tools-utils').Buffer, options?: LibOptions): import('@ludovicm67/media-tools-utils').Buffer;
/**

@@ -36,3 +36,3 @@ * Internal representation of a MP4 file.

*/
debug: boolean | null;
debug?: boolean;
};

@@ -39,0 +39,0 @@ import { utils } from '@ludovicm67/media-tools-utils';

@@ -26,3 +26,3 @@ // @ts-check

* @param {MP4ParsedFile} data The data to build the file from.
* @param {MP4ParsedFile?} [context={}] The context to use to build the file, usually the previous parsed chunk.
* @param {MP4ParsedFile} [context={}] The context to use to build the file, usually the previous parsed chunk.
* @returns {{ filedata: import('@ludovicm67/media-tools-utils').Buffer, rest: import('@ludovicm67/media-tools-utils').Buffer }} The built file and the rest of the file.

@@ -144,3 +144,3 @@ */

* @typedef {Object} LibOptions
* @property {boolean?} debug Whether to enable debug mode or not.
* @property {boolean} [debug] Whether to enable debug mode or not.
*/

@@ -155,3 +155,3 @@

* @param {import('@ludovicm67/media-tools-utils').Buffer} brokenChunk Content of the broken chunk.
* @param {LibOptions?} options Options.
* @param {LibOptions} [options={}] Options.
* @returns {import('@ludovicm67/media-tools-utils').Buffer} The fixed chunk.

@@ -158,0 +158,0 @@ */

{
"name": "@ludovicm67/mp4-tools",
"version": "0.2.7",
"version": "0.2.8",
"description": "MP4 tools",

@@ -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