@callstack/repack-dev-server 5.2.3 → 5.2.5-canary-20260305211900

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
- <div align="center">
2
- <img src="https://raw.githubusercontent.com/callstack/repack/HEAD/logo.png" width="650" alt="Re.Pack logo" />
3
- <h3>A toolkit to build your React Native application with Rspack or Webpack.</h3>
4
- </div>
1
+ <a href="https://www.callstack.com/open-source?utm_campaign=generic&utm_source=github&utm_medium=referral&utm_content=repack" align="center">
2
+ <img src="https://raw.githubusercontent.com/callstack/repack/HEAD/logo.png" alt="Re.Pack" />
3
+ </a>
4
+ <h3 align="center">A toolkit to build your React Native application with Rspack or Webpack.</h3>
5
5
  <div align="center">
6
6
 
7
7
  [![mit licence][license-badge]][license]
@@ -13,10 +13,17 @@
13
13
 
14
14
  `@callstack/repack-dev-server` is a bundler-agnostic development server for React Native applications as part of [`@callstack/repack`](https://github.com/callstack/repack).
15
15
 
16
- Check out our website at https://re-pack.dev for more info and documentation or out GitHub: https://github.com/callstack/repack.
16
+ Check out our website at https://re-pack.dev for more info and documentation or our GitHub: https://github.com/callstack/repack.
17
+
18
+ ## Made with ❤️ at Callstack
19
+
20
+ `@callstack/repack` is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Callstack][callstack-readme-with-love] is a group of React and React Native geeks, contact us at [hello@callstack.com](mailto:hello@callstack.com) if you need any help with these or just want to say hi!
21
+
22
+ Like the project? ⚛️ [Join the team](https://callstack.com/careers/?utm_campaign=Senior_RN&utm_source=github&utm_medium=readme) who does amazing stuff for clients and drives React Native Open Source! 🔥
17
23
 
18
24
  <!-- badges -->
19
25
 
26
+ [callstack-readme-with-love]: https://callstack.com/?utm_source=github.com&utm_medium=referral&utm_campaign=repack&utm_term=readme-with-love
20
27
  [license-badge]: https://img.shields.io/npm/l/@callstack/repack?style=for-the-badge
21
28
  [license]: https://github.com/callstack/repack/blob/main/LICENSE
22
29
  [npm-downloads-badge]: https://img.shields.io/npm/dm/@callstack/repack?style=for-the-badge
@@ -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 { FastifyLoggerInstance } from 'fastify';
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: FastifyLoggerInstance, stack: ReactNativeStackFrame[]): Promise<SymbolicatorResults>;
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.3",
5
+ "version": "5.2.5-canary-20260305211900",
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": "^8.3.0",
37
- "@fastify/sensible": "^5.5.0",
38
- "fastify": "^4.24.3",
39
- "fastify-favicon": "^4.3.0",
40
- "fastify-plugin": "^4.5.1",
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",
@@ -46,9 +46,9 @@
46
46
  "ws": "^8.18.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@react-native/dev-middleware": "^0.81.0",
49
+ "@react-native/dev-middleware": "^0.84.1",
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
  },