@ludovicm67/webm-tools
Advanced tools
Comparing version 0.3.0 to 0.3.1
# @ludovicm67/webm-tools | ||
## 0.3.1 | ||
### Patch Changes | ||
- 230dd15: Upgrade dependencies | ||
- Updated dependencies [230dd15] | ||
- @ludovicm67/media-tools-utils@0.1.2 | ||
## 0.3.0 | ||
@@ -4,0 +12,0 @@ |
@@ -11,3 +11,3 @@ // @ts-check | ||
* https://www.matroska.org/technical/specs/index.html#EBML_ex | ||
* @param {Buffer} buffer containing input | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} buffer containing input | ||
* @param {Number} [start=0] position in buffer | ||
@@ -43,3 +43,3 @@ * @returns {{length: Number, value: number} | null} value / length object | ||
* get a hex text string from Buff[start,end) | ||
* @param {Buffer} buff from which to read the string | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} buff from which to read the string | ||
* @param {Number} [start=0] starting point (default 0) | ||
@@ -58,5 +58,5 @@ * @param {Number} [end=buff.byteLength] ending point (default the whole buffer) | ||
* concatenate two arrays of bytes | ||
* @param {Buffer} a1 First array | ||
* @param {Buffer} a2 Second array | ||
* @returns {Buffer} concatenated arrays | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} a1 First array | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} a2 Second array | ||
* @returns {import('@ludovicm67/media-tools-utils').Buffer} concatenated arrays | ||
*/ | ||
@@ -80,3 +80,3 @@ const concatenate = (a1, a2) => { | ||
* tries to read out a UTF-8 encoded string | ||
* @param {Buffer} buff the buffer to attempt to read from | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} buff the buffer to attempt to read from | ||
* @return {string|null} the decoded text, or null if unable to | ||
@@ -94,3 +94,3 @@ */ | ||
* get an unsigned number from a buffer | ||
* @param {Buffer} buff from which to read variable-length unsigned number | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} buff from which to read variable-length unsigned number | ||
* @returns {number|string} result (in hex for lengths > 6) | ||
@@ -119,3 +119,3 @@ */ | ||
* get an signed number from a buffer | ||
* @param {Buffer} buff from which to read variable-length signed number | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} buff from which to read variable-length signed number | ||
* @returns {number} result | ||
@@ -139,3 +139,3 @@ */ | ||
* get an floating-point number from a buffer | ||
* @param {Buffer} buff from which to read variable-length floating-point number | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} buff from which to read variable-length floating-point number | ||
* @returns {number} result | ||
@@ -157,3 +157,3 @@ */ | ||
* get a date from a buffer | ||
* @param {Buffer} buff from which to read the date | ||
* @param {import('@ludovicm67/media-tools-utils').Buffer} buff from which to read the date | ||
* @return {Date} result | ||
@@ -160,0 +160,0 @@ */ |
{ | ||
"name": "@ludovicm67/webm-tools", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "WebM tools", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@ludovicm67/media-tools-utils": "^0.1.1", | ||
"@ludovicm67/media-tools-utils": "^0.1.2", | ||
"commander": "^11.1.0" | ||
@@ -34,3 +34,3 @@ }, | ||
"devDependencies": { | ||
"@types/node": "^20.11.5", | ||
"@types/node": "^20.11.16", | ||
"rimraf": "^5.0.5", | ||
@@ -37,0 +37,0 @@ "typescript": "^5.3.3" |
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
127356