bump finished and mocha

This commit is contained in:
Jonathan Ong 2014-01-16 22:33:02 -08:00
parent 794f08faaa
commit ea1a631bb1
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
*/
var debug = require('debug')('koa:application');
var onSocketError = require('on-socket-error');
var onFinished = require('finished');
var Emitter = require('events').EventEmitter;
var compose = require('koa-compose');
var context = require('./context');
@ -101,7 +101,7 @@ app.callback = function(){
return function(req, res){
var ctx = self.createContext(req, res);
onSocketError(ctx, ctx.onerror);
onFinished(ctx, ctx.onerror);
fn.call(ctx, ctx.onerror);
}
};

View file

@ -23,7 +23,7 @@
"dependencies": {
"accepts": "~1.0.0",
"type-is": "~1.0.0",
"on-socket-error": "~1.1.0",
"finished": "~1.1.1",
"co": "~3.0.2",
"debug": "*",
"mime": "~1.2.11",
@ -36,7 +36,7 @@
"devDependencies": {
"bytes": "~0.2.1",
"should": "~2.1.0",
"mocha": "~1.16.0",
"mocha": "~1.17.0",
"supertest": "~0.8.1",
"co-fs": "~1.1",
"co-views": "~0.1.0",