appolo-agent
Advanced tools
Comparing version 6.0.12 to 6.0.13
@@ -11,2 +11,5 @@ "use strict"; | ||
this.statusCode = status; | ||
if (error && error.code) { | ||
this.code = error.code; | ||
} | ||
Object.setPrototypeOf(this, HttpError.prototype); | ||
@@ -13,0 +16,0 @@ } |
@@ -10,2 +10,6 @@ export class HttpError extends Error { | ||
if (error && (error as any).code) { | ||
this.code = (error as any).code | ||
} | ||
Object.setPrototypeOf(this, HttpError.prototype); | ||
@@ -12,0 +16,0 @@ |
@@ -27,3 +27,3 @@ { | ||
"main": "./index.js", | ||
"version": "6.0.12", | ||
"version": "6.0.13", | ||
"license": "MIT", | ||
@@ -38,8 +38,8 @@ "repository": { | ||
"appolo-cache": "^6.0.4", | ||
"appolo-event-dispatcher": "^6.0.6", | ||
"appolo-event-dispatcher": "^6.0.7", | ||
"appolo-route": "^6.0.2", | ||
"bluebird": "^3.5.2", | ||
"bluebird": "^3.5.3", | ||
"cookie": "^0.3.1", | ||
"lodash": "^4.17.11", | ||
"qs": "^6.5.2", | ||
"qs": "^6.6.0", | ||
"tslib": "^1.9.3", | ||
@@ -51,14 +51,14 @@ "type-is": "^1.6.16" | ||
"@types/bluebird": "^3.5.24", | ||
"@types/chai": "^4.1.6", | ||
"@types/chai": "^4.1.7", | ||
"@types/chai-http": "^3.0.5", | ||
"@types/cookie": "^0.3.1", | ||
"@types/lodash": "^4.14.116", | ||
"@types/cookie": "^0.3.2", | ||
"@types/lodash": "^4.14.119", | ||
"@types/mocha": "^5.2.5", | ||
"@types/node": "^10.11.3", | ||
"@types/node": "^10.12.14", | ||
"@types/qs": "^6.5.1", | ||
"@types/sinon": "^5.0.2", | ||
"@types/sinon-chai": "^3.2.0", | ||
"@types/supertest": "^2.0.6", | ||
"@types/sinon": "^7.0.0", | ||
"@types/sinon-chai": "^3.2.2", | ||
"@types/supertest": "^2.0.7", | ||
"@types/type-is": "^1.6.2", | ||
"autocannon": "^3.0.1", | ||
"autocannon": "^3.2.0", | ||
"benchmark": "^2.1.4", | ||
@@ -70,12 +70,12 @@ "body-parser": "^1.18.3", | ||
"consolidate": "^0.15.1", | ||
"express": "^4.16.3", | ||
"fastify": "^1.12.1", | ||
"express": "^4.16.4", | ||
"fastify": "^1.13.1", | ||
"mocha": "^5.2.0", | ||
"nunjucks": "^3.1.3", | ||
"nyc": "^13.0.1", | ||
"sinon": "^6.3.4", | ||
"sinon-chai": "^3.2.0", | ||
"nunjucks": "^3.1.4", | ||
"nyc": "^13.1.0", | ||
"sinon": "^7.2.2", | ||
"sinon-chai": "^3.3.0", | ||
"supertest": "^3.3.0", | ||
"typescript": "^3.1.1" | ||
"typescript": "^3.2.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
79849
1327
Updatedbluebird@^3.5.3
Updatedqs@^6.6.0