[Pkg-javascript-commits] [node-browserify-zlib] 16/33: Update to to pako v0.2. Fixes #3
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Apr 14 16:24:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-browserify-zlib.
commit 98e809d54c3ad7e2ec64095677c19b2b0a4abbcd
Author: Devon Govett <devongovett at gmail.com>
Date: Fri Apr 18 00:14:25 2014 -0700
Update to to pako v0.2. Fixes #3
---
package.json | 2 +-
src/binding.js | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package.json b/package.json
index e62cb04..96cfb20 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"test": "test"
},
"dependencies": {
- "pako": "~0.1.1"
+ "pako": "~0.2.0"
},
"devDependencies": {
"tape": "^2.12.3",
diff --git a/src/binding.js b/src/binding.js
index 3701eae..7244b43 100644
--- a/src/binding.js
+++ b/src/binding.js
@@ -161,11 +161,11 @@ Zlib.prototype._write = function(flush, input, in_off, in_len, out, out_off, out
var strm = this.strm;
strm.avail_in = in_len;
- strm.next_in = input;
- strm.next_in_index = in_off;
+ strm.input = input;
+ strm.next_in = in_off;
strm.avail_out = out_len;
- strm.next_out = out;
- strm.next_out_index = out_off;
+ strm.output = out;
+ strm.next_out = out_off;
switch (this.mode) {
case exports.DEFLATE:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browserify-zlib.git
More information about the Pkg-javascript-commits
mailing list