quinn-respond
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -12,4 +12,4 @@ /** | ||
for(var Readable____Key in Readable){if(Readable.hasOwnProperty(Readable____Key)){BufferBody[Readable____Key]=Readable[Readable____Key];}}var ____SuperProtoOfReadable=Readable===null?null:Readable.prototype;BufferBody.prototype=Object.create(____SuperProtoOfReadable);BufferBody.prototype.constructor=BufferBody;BufferBody.__superConstructor__=Readable; | ||
function BufferBody(buffer, opts) { | ||
Readable.call(this,opts); | ||
function BufferBody(buffer) { | ||
Readable.call(this); | ||
this._buffer = buffer; | ||
@@ -16,0 +16,0 @@ } |
@@ -15,2 +15,3 @@ /** | ||
function JSONBody(data) { | ||
Readable.call(this); | ||
this._data = data; | ||
@@ -17,0 +18,0 @@ this._stringified = undefined; |
{ | ||
"name": "quinn-respond", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Response generation for quinn", | ||
@@ -27,4 +27,6 @@ "main": "dist/respond.js", | ||
"devDependencies": { | ||
"quinnc": "^1.0.0" | ||
"mocha": "^1.20.1", | ||
"quinnc": "^1.0.0", | ||
"reakt": "0.0.5" | ||
} | ||
} |
@@ -12,4 +12,4 @@ /** | ||
class BufferBody extends Readable { | ||
constructor(buffer, opts) { | ||
super(opts); | ||
constructor(buffer) { | ||
super(); | ||
this._buffer = buffer; | ||
@@ -16,0 +16,0 @@ } |
@@ -15,2 +15,3 @@ /** | ||
constructor(data) { | ||
super(); | ||
this._data = data; | ||
@@ -17,0 +18,0 @@ this._stringified = undefined; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19315
570
3