Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.

Commit 7d8bf71

Browse files
authored
Upgrade deps (#4)
1 parent 36ac9cc commit 7d8bf71

File tree

3 files changed

+263
-218
lines changed

3 files changed

+263
-218
lines changed

flow-typed/npm/express_v4.16.x.js

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// flow-typed signature: cc24a4e737d9dfb8e1381c3bd4ebaa65
2-
// flow-typed version: d11eab7bb5/express_v4.16.x/flow_>=v0.32.x
3-
4-
import type { Server } from 'http';
5-
import type { Socket } from 'net';
1+
// flow-typed signature: b647ddbcd7635eb058534a738410dbdb
2+
// flow-typed version: f55cb054df/express_v4.16.x/flow_>=v0.93.x
63

74
declare type express$RouterOptions = {
85
caseSensitive?: boolean,
@@ -24,7 +21,7 @@ declare class express$Request extends http$IncomingMessage
2421
baseUrl: string;
2522
body: mixed;
2623
cookies: { [cookie: string]: string };
27-
connection: Socket;
24+
connection: net$Socket;
2825
fresh: boolean;
2926
hostname: string;
3027
ip: string;
@@ -184,7 +181,7 @@ declare class express$Router extends express$Route {
184181
): this;
185182
use(path: string, router: express$Router): this;
186183
handle(
187-
req: http$IncomingMessage,
184+
req: http$IncomingMessage<>,
188185
res: http$ServerResponse,
189186
next: express$NextFunction
190187
): void;
@@ -198,7 +195,7 @@ declare class express$Router extends express$Route {
198195
) => mixed
199196
): void;
200197
(
201-
req: http$IncomingMessage,
198+
req: http$IncomingMessage<>,
202199
res: http$ServerResponse,
203200
next?: ?express$NextFunction
204201
): void;
@@ -222,15 +219,15 @@ declare class express$Application extends express$Router
222219
hostname?: string,
223220
backlog?: number,
224221
callback?: (err?: ?Error) => mixed
225-
): ?Server;
222+
): ?http$Server;
226223
listen(
227224
port: number,
228225
hostname?: string,
229226
callback?: (err?: ?Error) => mixed
230-
): ?Server;
231-
listen(port: number, callback?: (err?: ?Error) => mixed): ?Server;
232-
listen(path: string, callback?: (err?: ?Error) => mixed): ?Server;
233-
listen(handle: Object, callback?: (err?: ?Error) => mixed): ?Server;
227+
): ?http$Server;
228+
listen(port: number, callback?: (err?: ?Error) => mixed): ?http$Server;
229+
listen(path: string, callback?: (err?: ?Error) => mixed): ?http$Server;
230+
listen(handle: Object, callback?: (err?: ?Error) => mixed): ?http$Server;
234231
disable(name: string): void;
235232
disabled(name: string): boolean;
236233
enable(name: string): express$Application;
@@ -247,13 +244,13 @@ declare class express$Application extends express$Router
247244
callback: express$RenderCallback
248245
): void;
249246
handle(
250-
req: http$IncomingMessage,
247+
req: http$IncomingMessage<>,
251248
res: http$ServerResponse,
252249
next?: ?express$NextFunction
253250
): void;
254251
// callable signature is not inherited
255252
(
256-
req: http$IncomingMessage,
253+
req: http$IncomingMessage<>,
257254
res: http$ServerResponse,
258255
next?: ?express$NextFunction
259256
): void;

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@
7272
"eslint-plugin-react": "^7.12.4",
7373
"eventsource": "^1.0.7",
7474
"file-loader": "^2.0.0",
75-
"flow-bin": "^0.92.1",
76-
"flow-typed": "^2.5.1",
75+
"flow-bin": "^0.97.0",
76+
"flow-typed": "^2.5.2",
7777
"glob": "^7.1.3",
7878
"html-webpack-plugin": "^3.2.0",
7979
"husky": "^1.3.1",
8080
"identity-obj-proxy": "^3.0.0",
8181
"jest": "^23.6.0",
82-
"jest-dom": "^3.0.2",
82+
"jest-dom": "^3.5.0",
8383
"lerna": "^3.10.8",
8484
"less": "^3.9.0",
8585
"less-loader": "^4.1.0",

0 commit comments

Comments
 (0)