@bunt/app
Advanced tools
Comparing version 0.15.23 to 0.15.24
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.15.24](https://github.com/izatop/bunt/compare/v0.15.23...v0.15.24) (2021-05-11) | ||
### Bug Fixes | ||
* RequestMessage.toString ([45fc8d6](https://github.com/izatop/bunt/commit/45fc8d686f1b949f2bbb691d4c057edee771a119)) | ||
## [0.15.23](https://github.com/izatop/bunt/compare/v0.15.22...v0.15.23) (2021-05-11) | ||
@@ -8,0 +19,0 @@ |
@@ -34,2 +34,3 @@ /// <reference types="node" /> | ||
toObject<T = unknown>(): Promise<T>; | ||
toString(): Promise<string>; | ||
getBuffer(): Promise<Buffer>; | ||
@@ -36,0 +37,0 @@ createReadableStream(): Promisify<NodeJS.ReadableStream>; |
@@ -14,2 +14,3 @@ /// <reference types="node" /> | ||
toObject<T = unknown>(): Promise<T>; | ||
toString(): Promise<string>; | ||
abstract validate(app: Application<any>): boolean; | ||
@@ -16,0 +17,0 @@ abstract createReadableStream(): Promisify<NodeJS.ReadableStream>; |
@@ -28,2 +28,6 @@ "use strict"; | ||
} | ||
async toString() { | ||
const buffer = await this.getBuffer(); | ||
return buffer.toString("utf-8"); | ||
} | ||
getLogValue() { | ||
@@ -30,0 +34,0 @@ return { route: this.route }; |
{ | ||
"name": "@bunt/app", | ||
"version": "0.15.23", | ||
"version": "0.15.24", | ||
"keywords": [ | ||
@@ -35,3 +35,3 @@ "typescript" | ||
"license": "MIT", | ||
"gitHead": "abf457c98a3cb5512d3dfea631faa3d3824667dc" | ||
"gitHead": "c42ce1d83056df7efec4d4c1cd805b0296bddb7c" | ||
} |
Sorry, the diff of this file is not supported yet
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
62712
796