@callstack/repack-dev-server 5.2.3 → 5.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/createServer.d.ts
CHANGED
|
@@ -9,5 +9,7 @@ import { type Server } from './types.js';
|
|
|
9
9
|
export declare function createServer(config: Server.Config): Promise<{
|
|
10
10
|
start: () => Promise<void>;
|
|
11
11
|
stop: () => Promise<void>;
|
|
12
|
-
instance: Fastify.FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, Fastify.FastifyBaseLogger, Fastify.FastifyTypeProviderDefault> & PromiseLike<Fastify.FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, Fastify.FastifyBaseLogger, Fastify.FastifyTypeProviderDefault
|
|
12
|
+
instance: Fastify.FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, Fastify.FastifyBaseLogger, Fastify.FastifyTypeProviderDefault> & PromiseLike<Fastify.FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, Fastify.FastifyBaseLogger, Fastify.FastifyTypeProviderDefault>> & {
|
|
13
|
+
__linterBrands: "SafePromiseLike";
|
|
14
|
+
};
|
|
13
15
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FastifyBaseLogger } from 'fastify';
|
|
2
2
|
import { SourceMapConsumer } from 'source-map';
|
|
3
3
|
import type { ReactNativeStackFrame, SymbolicatorDelegate, SymbolicatorResults } from './types.js';
|
|
4
4
|
/**
|
|
@@ -40,7 +40,7 @@ export declare class Symbolicator {
|
|
|
40
40
|
* @param stack Raw stack frames.
|
|
41
41
|
* @returns Symbolicated stack frames.
|
|
42
42
|
*/
|
|
43
|
-
process(logger:
|
|
43
|
+
process(logger: FastifyBaseLogger, stack: ReactNativeStackFrame[]): Promise<SymbolicatorResults>;
|
|
44
44
|
private processFrame;
|
|
45
45
|
private getCodeFrame;
|
|
46
46
|
}
|
|
@@ -133,11 +133,7 @@ export class WebSocketMessageServer extends WebSocketServer {
|
|
|
133
133
|
}));
|
|
134
134
|
}
|
|
135
135
|
catch (error) {
|
|
136
|
-
this.fastify.log.error('Failed to reply'
|
|
137
|
-
clientId,
|
|
138
|
-
error,
|
|
139
|
-
errorMessage,
|
|
140
|
-
});
|
|
136
|
+
this.fastify.log.error({ clientId, error, errorMessage }, 'Failed to reply');
|
|
141
137
|
}
|
|
142
138
|
}
|
|
143
139
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@callstack/repack-dev-server",
|
|
3
3
|
"description": "A bundler-agnostic development server for React Native applications as part of @callstack/repack.",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "5.2.
|
|
5
|
+
"version": "5.2.4",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/code-frame": "^7.26.2",
|
|
36
|
-
"@fastify/middie": "^
|
|
37
|
-
"@fastify/sensible": "^
|
|
38
|
-
"fastify": "^
|
|
39
|
-
"fastify-favicon": "^
|
|
40
|
-
"fastify-plugin": "^
|
|
36
|
+
"@fastify/middie": "^9.0.0",
|
|
37
|
+
"@fastify/sensible": "^6.0.0",
|
|
38
|
+
"fastify": "^5.7.2",
|
|
39
|
+
"fastify-favicon": "^5.0.0",
|
|
40
|
+
"fastify-plugin": "^5.0.0",
|
|
41
41
|
"http-proxy-middleware": "^3.0.3",
|
|
42
42
|
"launch-editor": "^2.10.0",
|
|
43
43
|
"open": "^10.1.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@react-native/dev-middleware": "^0.81.0",
|
|
50
50
|
"@types/babel__code-frame": "^7.0.6",
|
|
51
|
-
"@types/node": "^20",
|
|
51
|
+
"@types/node": "^20.19.31",
|
|
52
52
|
"@types/ws": "^8.18.0",
|
|
53
53
|
"typescript": "^5.8.3"
|
|
54
54
|
},
|