Skip to content

Commit

Permalink
drop valvestream in favor of bufferstream
Browse files Browse the repository at this point in the history
  • Loading branch information
dodo committed Feb 25, 2012
1 parent 8360ec6 commit 0826eb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
, "colors": "0.6.0-1"
, "tarball": "0.0.2"
, "request": "2.9.100"
, "valvestream": "0.0.1"
, "bufferstream": "0.5.0"
, "node-dev": "0.1.9"
, "express": "2.5.2"
, "jsconfig": "0.1.2"
Expand Down
4 changes: 2 additions & 2 deletions src/build/packaging.coffee
Expand Up @@ -2,7 +2,7 @@
request = require 'request'
async = require 'async'
config = require 'jsconfig'
ValveStream = require 'valvestream'
BufferStream = require 'bufferstream'
{ Pack:Tarball } = require 'tarball'
{ spiderDir } = require './util'

Expand Down Expand Up @@ -47,7 +47,7 @@ module.exports = (tarPath) ->
request("http://#{config.host}:#{config.port}/#{entry}")
.on('error', onError)
.on 'response', (res) ->
stream = new ValveStream
stream = new BufferStream disabled:yes # no splitting needed
stream.path = entry # res.path can't be set
stream.props = size:res.headers['content-length']
tarball.append stream, ->
Expand Down

0 comments on commit 0826eb6

Please sign in to comment.