Comparing version 3.1.1 to 3.1.2
# CHANGELOG | ||
## 3.1.2 | ||
- Better packaging. | ||
## 3.1.1 | ||
- Fix: always writing to output array |
26
index.js
@@ -16,5 +16,5 @@ /** | ||
* @param {!Array<number>} samples The samples. | ||
* @param {!string} original The original bit depth of the data. | ||
* @param {string} original The original bit depth of the data. | ||
* One of "8" ... "53", "32f", "64" | ||
* @param {!string} target The desired bit depth for the data. | ||
* @param {string} target The desired bit depth for the data. | ||
* One of "8" ... "53", "32f", "64" | ||
@@ -56,5 +56,5 @@ * @param {Array<number>=} outputArray An optional array to write converted samples to. | ||
* Change the bit depth from int to int. | ||
* @param {!number} sample The sample. | ||
* @param {number} sample The sample. | ||
* @param {!Object} args Data about the original and target bit depths. | ||
* @return {!number} | ||
* @return {number} | ||
* @private | ||
@@ -73,5 +73,5 @@ */ | ||
* Change the bit depth from float to int. | ||
* @param {!number} sample The sample. | ||
* @param {number} sample The sample. | ||
* @param {!Object} args Data about the original and target bit depths. | ||
* @return {!number} | ||
* @return {number} | ||
* @private | ||
@@ -86,5 +86,5 @@ */ | ||
* Change the bit depth from int to float. | ||
* @param {!number} sample The sample. | ||
* @param {number} sample The sample. | ||
* @param {!Object} args Data about the original and target bit depths. | ||
* @return {!number} | ||
* @return {number} | ||
* @private | ||
@@ -98,4 +98,4 @@ */ | ||
* Change the bit depth from float to float. | ||
* @param {!number} sample The sample. | ||
* @return {!number} | ||
* @param {number} sample The sample. | ||
* @return {number} | ||
* @private | ||
@@ -110,5 +110,5 @@ */ | ||
* Return the function to change the bit depth of a sample. | ||
* @param {!string} original The original bit depth of the data. | ||
* @param {string} original The original bit depth of the data. | ||
* One of "8" ... "53", "32f", "64" | ||
* @param {!string} target The new bit depth of the data. | ||
* @param {string} target The new bit depth of the data. | ||
* One of "8" ... "53", "32f", "64" | ||
@@ -142,3 +142,3 @@ * @return {!Function} | ||
* Validate the bit depth. | ||
* @param {!string} bitDepth The original bit depth. | ||
* @param {string} bitDepth The original bit depth. | ||
* Should be one of "8" ... "53", "32f" or "64". | ||
@@ -145,0 +145,0 @@ * @throws {Error} If any argument does not meet the criteria. |
{ | ||
"name": "bitdepth", | ||
"version": "3.1.1", | ||
"description": "Change the resolution of samples to and from 8, 11, 12, 16, 20, 24, 32, 48 & 64-bit.", | ||
"version": "3.1.2", | ||
"description": "Change the resolution of samples to and from any bit depth.", | ||
"homepage": "https://github.com/rochars/bitdepth", | ||
@@ -39,3 +39,4 @@ "author": "Rafael da Silva Rocha <rocha.rafaelsilva@gmail.com>", | ||
"pack": "webpack && npm run test-dist", | ||
"build": "npm run lint && npm run pack && npm test && npm run doc" | ||
"build": "npm run lint && npm test && npm run pack && npm run doc", | ||
"build-ci": "npm run lint && npm run pack && npm test && npm run doc" | ||
}, | ||
@@ -42,0 +43,0 @@ "devDependencies": { |
# bitdepth | ||
Change the resolution of samples to and from 8, 11, 12, 16, 20, 24, 32, 48 & 64-bit. | ||
Copyright (c) 2017-2018 Rafael da Silva Rocha. | ||
@@ -9,2 +8,5 @@ https://github.com/rochars/bitdepth | ||
## About | ||
Change the resolution of samples to and from any bit depth. Works in Node.js and the in the browser. | ||
## Install | ||
@@ -11,0 +13,0 @@ ``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
71
10499
5
140
1