Permalink
Browse files

Close GH-422: (Temporary) Unzip fix.

  • Loading branch information...
1 parent de88493 commit 2c12c8e2b66ce6425e4f4db5e95c02aa4dfdabcf @carsonmcdonald carsonmcdonald committed with satazor Apr 25, 2013
Showing with 8 additions and 6 deletions.
  1. +1 −4 .travis.yml
  2. +5 −0 lib/core/config.js
  3. +2 −2 package.json
View
@@ -1,7 +1,4 @@
language: node_js
node_js:
- "0.10"
- - "0.8"
-matrix:
- allow_failures:
- - node_js: "0.10"
+ - "0.8"
View
@@ -3,9 +3,14 @@ var fs = require('fs');
var _ = require('lodash');
var tmp = require('tmp');
var mkdirp = require('mkdirp');
+var zlib = require('zlib');
var fileExists = require('../util/file-exists').sync;
+// This forces the default chunk size to something small in an attempt
+// to avoid issue #314
+zlib.Z_DEFAULT_CHUNK = 1024*8;
+
var temp = process.env.TMPDIR
|| process.env.TMP
|| process.env.TEMP
View
@@ -31,7 +31,7 @@
"read-package-json": "~0.1.8",
"stable": "~0.1.2",
"rc": "~0.0.6",
- "unzip": "0.1.4",
+ "unzip": "0.1.7",
"tar": "~0.1.13",
"promptly": "~0.1.0",
"abbrev": "~1.0.4",
@@ -42,7 +42,7 @@
},
"devDependencies": {
"mocha": "~1.8.1",
- "nock": "~0.13.5"
+ "nock": "~0.17.3"
},
"bin": {
"bower": "bin/bower"

0 comments on commit 2c12c8e

Please sign in to comment.