Skip to content

Commit

Permalink
Bump v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zhipeng-jia committed Jun 11, 2021
1 parent 91617b8 commit 8877376
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "snappyjs",
"main": "./dist/snappyjs.js",
"version": "0.6.0",
"version": "0.6.1",
"homepage": "https://github.com/zhipeng-jia/snappyjs",
"authors": [
"Zhipeng Jia <[email protected]>"
Expand Down
10 changes: 5 additions & 5 deletions dist/snappyjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* snappyjs:
* license: MIT (http://opensource.org/licenses/MIT)
* author: Zhipeng Jia
* version: 0.6.0
* version: 0.6.1
*
* This header is generated by licensify (https://github.com/twada/licensify)
*/
Expand Down Expand Up @@ -159,13 +159,13 @@ function compress (uncompressed) {
length = compressor.compressToBuffer(compressed)
}
if (!compressed.slice) { // ie11
var compressedArray = new Uint8Array(Array.prototype.slice.call(compressed, 0, length));
var compressedArray = new Uint8Array(Array.prototype.slice.call(compressed, 0, length))
if (uint8Mode) {
return compressedArray;
return compressedArray
} else if (arrayBufferMode) {
return compressedArray.buffer;
return compressedArray.buffer
} else {
throw new Error("not implemented");
throw new Error('Not implemented')
}
}

Expand Down
4 changes: 2 additions & 2 deletions dist/snappyjs.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "snappyjs",
"version": "0.6.0",
"version": "0.6.1",
"description": "JavaScript implementation of Google's Snappy compression library",
"repository": "zhipeng-jia/snappyjs",
"main": "index.js",
Expand Down

0 comments on commit 8877376

Please sign in to comment.