Skip to content

Commit

Permalink
Remove documentation mistakes, unwanted dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
101arrowz committed Jan 12, 2021
1 parent fe6c6f6 commit 9151794
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@ utfEncode.push('world!'.repeat(10), true);
// The deflateStream has logged the compressed data

const inflateStream = new fflate.Inflate();
inflateStream.ondata = (decompressedChunk, final) => {
// print out a string of the compressed data
console.log(fflate.strFromU8(decompressedChunk));
};
inflateStream.ondata = (decompressedChunk, final) => { ... };

let stringData = '';

Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fflate",
"version": "0.5.1",
"version": "0.5.2",
"description": "High performance (de)compression in an 8kB package",
"main": "./lib/index.js",
"module": "./esm/browser.js",
Expand Down Expand Up @@ -96,8 +96,5 @@
"react": "preact/compat",
"react-dom": "preact/compat",
"react-dom/test-utils": "preact/test-utils"
},
"dependencies": {
"@msgpack/msgpack": "^2.3.0"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1906,7 +1906,7 @@ export interface ZipAttributes {
*
* `TTTTugtrwxrwxrwx0000000000ADVSHR`
*
* T = file type (rarely useful)
* TTTT = file type (rarely useful)
*
* u = setuid, g = setgid, t = sticky
*
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -957,11 +957,6 @@
resolved "https://registry.yarnpkg.com/@kwsites/promise-deferred/-/promise-deferred-1.1.1.tgz#8ace5259254426ccef57f3175bc64ed7095ed919"
integrity sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==

"@msgpack/msgpack@^2.3.0":
version "2.3.0"
resolved "https://registry.yarnpkg.com/@msgpack/msgpack/-/msgpack-2.3.0.tgz#a9043b920837b2dd63482e7bf6b8345813e9816b"
integrity sha512-xxRejzNpiVQ2lzxMG/yo2ocfZSk+cKo2THq54AimaubMucg66DpQm9Yj7ESMr/l2EqDkmF2Dx4r0F/cbsitAaw==

"@nodelib/[email protected]":
version "2.1.3"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b"
Expand Down

0 comments on commit 9151794

Please sign in to comment.