From 90609318f123c814cf672c38432dca72c969e1f7 Mon Sep 17 00:00:00 2001 From: Jussi Kinnula Date: Tue, 20 Sep 2016 14:02:22 +0300 Subject: [PATCH] Use "inherits" module instead of "util.inherits" on response.js --- lib/response.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/response.js b/lib/response.js index f83d761..df352be 100644 --- a/lib/response.js +++ b/lib/response.js @@ -1,12 +1,12 @@ var Stream = require('stream'); -var util = require('util'); +var inherits = require('inherits'); var Response = module.exports = function (res) { this.offset = 0; this.readable = true; }; -util.inherits(Response, Stream); +inherits(Response, Stream); var capable = { streaming : true,