Skip to content

Commit bf22446

Browse files
prepare for merge
1 parent a20eea6 commit bf22446

File tree

4 files changed

+24
-30
lines changed

4 files changed

+24
-30
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sudo: false
22
language: node_js
33
node_js:
44
- 6
5-
- 7
5+
- 8
66

77
before_install:
88
- "export DISPLAY=:99.0"

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
# browserify-zlib-next
1+
# browserify-zlib
22

3-
> This is a fork of https://github.com/devongovett/browserify-zlib.
4-
> There is an [open pull request](https://github.com/devongovett/browserify-zlib/pull/18) to get these changes merged back in.
5-
6-
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
7-
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
8-
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
9-
[![Travis CI](https://travis-ci.org/ipfs/browserify-zlib-next.svg?branch=master)](https://travis-ci.org/ipfs/browserify-zlib-next)
10-
[![Dependency Status](https://david-dm.org/ipfs/browserify-zlib-next.svg?style=flat-square)](https://david-dm.org/ipfs/browserify-zlib-next) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
3+
[![Travis CI](https://travis-ci.org/devongovett/browserify-zlib.svg?branch=master)](https://travis-ci.org/devongovett/browserify-zlib)
4+
[![Dependency Status](https://david-dm.org/devongovett/browserify-zlib.svg?style=flat-square)](https://david-dm.org/devongovett/browserify-zlib) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
115

126
## Description
137

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "browserify-zlib-next",
3-
"version": "1.0.1",
2+
"name": "browserify-zlib",
3+
"version": "0.1.4",
44
"description": "Full zlib module for the browser",
55
"keywords": [
66
"zlib",
@@ -11,29 +11,29 @@
1111
"test": "test"
1212
},
1313
"dependencies": {
14-
"pako": "~1.0.4"
14+
"pako": "~1.0.5"
1515
},
1616
"devDependencies": {
1717
"assert": "^1.4.1",
18-
"babel-cli": "^6.18.0",
19-
"babel-plugin-transform-es2015-arrow-functions": "^6.8.0",
20-
"babel-plugin-transform-es2015-block-scoping": "^6.21.0",
21-
"babel-plugin-transform-es2015-template-literals": "^6.8.0",
18+
"babel-cli": "^6.24.1",
19+
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
20+
"babel-plugin-transform-es2015-block-scoping": "^6.24.1",
21+
"babel-plugin-transform-es2015-template-literals": "^6.22.0",
2222
"babelify": "^7.3.0",
2323
"brfs": "^1.4.3",
24-
"browserify": "^13.3.0",
24+
"browserify": "^14.4.0",
2525
"exec-glob": "^1.2.2",
26-
"glob": "^7.1.1",
27-
"karma": "^1.4.0",
28-
"karma-chrome-launcher": "^2.0.0",
29-
"karma-firefox-launcher": "^1.0.0",
26+
"glob": "^7.1.2",
27+
"karma": "^1.7.0",
28+
"karma-chrome-launcher": "^2.1.1",
29+
"karma-firefox-launcher": "^1.0.1",
3030
"karma-mocha": "^1.3.0",
3131
"karma-mocha-own-reporter": "^1.1.2",
32-
"karma-phantomjs-launcher": "^1.0.2",
33-
"mocha": "^3.2.0",
32+
"karma-phantomjs-launcher": "^1.0.4",
33+
"mocha": "^3.4.2",
3434
"phantomjs-prebuilt": "^2.1.14",
35-
"standard": "^8.6.0",
36-
"watchify": "^3.8.0"
35+
"standard": "^10.0.2",
36+
"watchify": "^3.9.0"
3737
},
3838
"scripts": {
3939
"build": "babel src --out-dir lib",
@@ -52,13 +52,13 @@
5252
]
5353
},
5454
"author": "Devon Govett <[email protected]>",
55-
"homepage": "https://github.com/ipfs/browserify-zlib-next",
55+
"homepage": "https://github.com/devongovett/browserify-zlib",
5656
"license": "MIT",
5757
"repository": {
5858
"type": "git",
59-
"url": "git+https://github.com/ipfs/browserify-zlib-next.git"
59+
"url": "git+https://github.com/devongovett/browserify-zlib.git"
6060
},
6161
"bugs": {
62-
"url": "https://github.com/ipfs/browserify-zlib-next/issues"
62+
"url": "https://github.com/devongovett/browserify-zlib/issues"
6363
}
6464
}

src/binding.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Zlib.prototype._write = function (async, flush, input, in_off, in_len, out, out_
102102
}
103103

104104
if (input == null) {
105-
input = new Buffer(0)
105+
input = Buffer.alloc(0)
106106
in_len = 0
107107
in_off = 0
108108
}

0 commit comments

Comments
 (0)