From 14d1025a8c2ba6fbb12179cb0aa8a5eeeb323cdd Mon Sep 17 00:00:00 2001 From: Rafael Rocha Date: Sun, 24 Jun 2018 02:25:32 -0300 Subject: [PATCH] Update dependencies to use byte-data last compatible version. --- CHANGELOG.md | 3 +++ dist/riff-chunks.umd.js | 19 ++++++++++--------- docs/index.html | 2 +- docs/main.js.html | 2 +- docs/module-riffChunks.html | 2 +- package.json | 4 ++-- 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a91c1d..df7a741 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## 7.0.1 (2018-06-23) +- Update dependencies to use byte-data last compatible version. + ## 7.0.0 (2018-06-22) - ES6 module - New API with riffIndex(): return only the offset of the values in the buffer. diff --git a/dist/riff-chunks.umd.js b/dist/riff-chunks.umd.js index 5931dc5..848fc16 100644 --- a/dist/riff-chunks.umd.js +++ b/dist/riff-chunks.umd.js @@ -333,8 +333,6 @@ function getChunkSize_(buffer, index) { /* unused harmony export unpackArray */ /* harmony export (immutable) */ __webpack_exports__["c"] = unpackFrom; /* unused harmony export unpackArrayFrom */ -/* unused harmony export setReader */ -/* unused harmony export setWriter */ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__lib_types_js__ = __webpack_require__(2); /* unused harmony reexport types */ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__lib_integer__ = __webpack_require__(3); @@ -477,7 +475,7 @@ function packTo(value, theType, buffer, index) { /** * Pack a number or a string as a byte buffer. - * @param {number|string} value The value. + * @param {number|string} values The value. * @param {!Object} theType The type definition. * @param {!Uint8Array|!Array} buffer The output buffer. * @param {number} index The buffer index to write. @@ -548,9 +546,9 @@ function unpackFrom(buffer, theType, index=0) { * Unpack a number or a string from a byte buffer. * @param {!Array|!Uint8Array} buffer The byte buffer. * @param {!Object} theType The type definition. - * @param {number=} theType The start index. Assumes 0. - * @param {?number=} theType The end index. Assumes the array length. - * @return {number|string} + * @param {number=} start The start index. Assumes 0. + * @param {?number=} end The end index. Assumes the array length. + * @return {!Array} * @throws {Error} If the type definition is not valid */ function unpackArrayFrom(buffer, theType, start=0, end=null) { @@ -573,7 +571,7 @@ function unpackArrayFrom(buffer, theType, start=0, end=null) { * Turn a byte buffer into what the bytes represent. * @param {!Array|!Uint8Array} buffer An array of bytes. * @param {!Object} theType The type definition. - * @return {!Array} + * @return {number} * @private */ function readBytes_(buffer, theType, start) { @@ -634,10 +632,13 @@ function toBytes_(values, theType) { /** * Turn numbers and strings to bytes. - * @param {!Array} values The value to be packed. + * @param {number|string} value The value to be packed. * @param {!Object} theType The type definition. * @param {!Object} buffer The buffer to write the bytes to. * @param {number} index The index to start writing. + * @param {number} len The end index. + * @param {!Function} validate The function used to validate input. + * @param {boolean} be True if big-endian. * @return {number} the new index to be written. * @private */ @@ -858,7 +859,7 @@ function setUp_(theType) { setReader(theType); setWriter(theType); if (!theType['char']) { - gInt_ = new __WEBPACK_IMPORTED_MODULE_1__lib_integer__["a" /* default */]( + gInt_ = new __WEBPACK_IMPORTED_MODULE_1__lib_integer__["a" /* Integer */]( theType['bits'] == 64 ? 32 : theType['bits'], theType['float'] ? false : theType['signed']); } else { diff --git a/docs/index.html b/docs/index.html index f8b32cf..2ba32d3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -222,7 +222,7 @@


- Documentation generated by JSDoc 3.5.5 on Fri Jun 22 2018 05:38:00 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jun 24 2018 02:22:33 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/docs/main.js.html b/docs/main.js.html index da0c3b8..0e47faf 100644 --- a/docs/main.js.html +++ b/docs/main.js.html @@ -284,7 +284,7 @@

main.js


- Documentation generated by JSDoc 3.5.5 on Fri Jun 22 2018 05:38:00 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jun 24 2018 02:22:33 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/docs/module-riffChunks.html b/docs/module-riffChunks.html index 32cebf2..a89ad33 100644 --- a/docs/module-riffChunks.html +++ b/docs/module-riffChunks.html @@ -667,7 +667,7 @@
Returns:

- Documentation generated by JSDoc 3.5.5 on Fri Jun 22 2018 05:38:00 GMT-0300 (Hora oficial do Brasil) using the docdash theme. + Documentation generated by JSDoc 3.5.5 on Sun Jun 24 2018 02:22:33 GMT-0300 (Hora oficial do Brasil) using the docdash theme.
diff --git a/package.json b/package.json index e5b7b42..1736f7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "riff-chunks", - "version": "7.0.0", + "version": "7.0.1", "description": "Read and write the chunks of RIFF and RIFX files.", "homepage": "https://github.com/rochars/riff-chunks", "author": "Rafael S. Rocha ", @@ -57,6 +57,6 @@ "webpack": "^3.12.0" }, "dependencies": { - "byte-data": "11.0.0" + "byte-data": "^11.0.1" } }