Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from chubbyjs/uprade-uWebSockets.js
Browse files Browse the repository at this point in the history
upgrade uWebSockets.js
  • Loading branch information
dominikzogg committed Feb 7, 2022
2 parents 313a6c4 + 74a7b85 commit 61a5e80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A uWebSockets.js req/res psr-htt-message bridge.
* [@chubbyjs/psr-http-message][3]: ^1.2.1
* [cookie][4]: ^0.4.1
* [qs][5]: ^6.10.1
* [uWebSockets.js][6]: github:uNetworking/uWebSockets.js#v19.5.0
* [uWebSockets.js][6]: github:uNetworking/uWebSockets.js#v20.6.0

## Installation

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/qs": "^6.9.7",
"cookie": "^0.4.1",
"qs": "^6.10.1",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v19.5.0"
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.6.0"
},
"devDependencies": {
"@chubbyjs/chubbyjs-mock": "^1.1.1",
Expand Down
6 changes: 3 additions & 3 deletions tests/Double/HttpResponseDouble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ class HttpResponseDouble implements HttpResponse {
writeHeader(key: RecognizedString, value: RecognizedString): HttpResponse {
throw new Error('Method not implemented.');
}
write(chunk: RecognizedString): HttpResponse {
write(chunk: RecognizedString): boolean {
throw new Error('Method not implemented.');
}
end(body?: RecognizedString): HttpResponse {
end(body?: RecognizedString, closeConnection?: boolean): HttpResponse {
throw new Error('Method not implemented.');
}
tryEnd(fullBodyOrChunk: RecognizedString, totalSize: number): [boolean, boolean] {
Expand Down Expand Up @@ -44,7 +44,7 @@ class HttpResponseDouble implements HttpResponse {
getProxiedRemoteAddressAsText(): ArrayBuffer {
throw new Error('Method not implemented.');
}
cork(cb: () => void): void {
cork(cb: () => void): HttpResponse {
throw new Error('Method not implemented.');
}
upgrade<T>(
Expand Down

0 comments on commit 61a5e80

Please sign in to comment.