Skip to content

Commit

Permalink
Update dependencies to use byte-data last compatible version.
Browse files Browse the repository at this point in the history
  • Loading branch information
rochars committed Jun 24, 2018
1 parent e43c3cb commit 14d1025
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
19 changes: 10 additions & 9 deletions dist/riff-chunks.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<number>} buffer The output buffer.
* @param {number} index The buffer index to write.
Expand Down Expand Up @@ -548,9 +546,9 @@ function unpackFrom(buffer, theType, index=0) {
* Unpack a number or a string from a byte buffer.
* @param {!Array<number>|!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<number>}
* @throws {Error} If the type definition is not valid
*/
function unpackArrayFrom(buffer, theType, start=0, end=null) {
Expand All @@ -573,7 +571,7 @@ function unpackArrayFrom(buffer, theType, start=0, end=null) {
* Turn a byte buffer into what the bytes represent.
* @param {!Array<number|string>|!Uint8Array} buffer An array of bytes.
* @param {!Object} theType The type definition.
* @return {!Array<number>}
* @return {number}
* @private
*/
function readBytes_(buffer, theType, start) {
Expand Down Expand Up @@ -634,10 +632,13 @@ function toBytes_(values, theType) {

/**
* Turn numbers and strings to bytes.
* @param {!Array<number|string>} 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
*/
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ <h2>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Jun 22 2018 05:38:00 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Jun 24 2018 02:22:33 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/main.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ <h1 class="page-title">main.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Jun 22 2018 05:38:00 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Jun 24 2018 02:22:33 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-riffChunks.html
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Jun 22 2018 05:38:00 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Jun 24 2018 02:22:33 GMT-0300 (Hora oficial do Brasil) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
Expand Down Expand Up @@ -57,6 +57,6 @@
"webpack": "^3.12.0"
},
"dependencies": {
"byte-data": "11.0.0"
"byte-data": "^11.0.1"
}
}

0 comments on commit 14d1025

Please sign in to comment.