express-sharp
Advanced tools
Comparing version 4.2.7 to 4.2.8
@@ -0,1 +1,8 @@ | ||
## [4.2.8](https://github.com/pmb0/express-sharp/compare/v4.2.7...v4.2.8) (2020-07-11) | ||
### Bug Fixes | ||
* **exception:** set the `stack` property on exception objects ([5a15e14](https://github.com/pmb0/express-sharp/commit/5a15e14b1be2a8fe2825ef9213b6123ad08964ba)) | ||
## [4.2.7](https://github.com/pmb0/express-sharp/compare/v4.2.6...v4.2.7) (2020-07-11) | ||
@@ -2,0 +9,0 @@ |
@@ -8,2 +8,3 @@ "use strict"; | ||
this.status = status; | ||
Error.captureStackTrace(this, HttpException); | ||
} | ||
@@ -15,2 +16,3 @@ } | ||
super(400, message); | ||
Error.captureStackTrace(this, BadRequestException); | ||
} | ||
@@ -22,2 +24,3 @@ } | ||
super(404, message); | ||
Error.captureStackTrace(this, NotFoundException); | ||
} | ||
@@ -29,2 +32,3 @@ } | ||
super(403, message); | ||
Error.captureStackTrace(this, ForbiddenException); | ||
} | ||
@@ -31,0 +35,0 @@ } |
@@ -7,1 +7,2 @@ import 'reflect-metadata'; | ||
export * from './transformer.service'; | ||
export * from './http-exception'; |
@@ -19,2 +19,3 @@ "use strict"; | ||
__exportStar(require("./transformer.service"), exports); | ||
__exportStar(require("./http-exception"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "express-sharp", | ||
"version": "4.2.7", | ||
"version": "4.2.8", | ||
"description": "Real-time image processing for your express application", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1036134
999