@callstack/repack-dev-server 5.4.2-canary-20261009123537 → 5.4.3-canary-20261014000129

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.
@@ -25,6 +25,10 @@ export async function createServer(config) {
25
25
  const options = normalizeOptions(config.options);
26
26
  /** Fastify instance powering the development server. */
27
27
  const instance = Fastify({
28
+ // Since fastify 5.12 the default ('idle') leaves idle keep-alive sockets
29
+ // to `server.close()`, which only closes them on Node 19+. Force-closing
30
+ // keeps `stop()` from hanging on Node 18.
31
+ forceCloseConnections: true,
28
32
  disableRequestLogging: options.disableRequestLogging,
29
33
  logger: {
30
34
  level: 'trace',
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.4.2-canary-20261009123537",
5
+ "version": "5.4.3-canary-20261014000129",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  "@babel/code-frame": "^7.29.7",
39
39
  "@fastify/middie": "^9.3.3",
40
40
  "@fastify/sensible": "^6.0.0",
41
- "fastify": "^5.10.0",
41
+ "fastify": "^5.12.5",
42
42
  "fastify-favicon": "^5.0.0",
43
43
  "fastify-plugin": "^5.0.0",
44
44
  "http-proxy-middleware": "^3.0.7",
@@ -49,12 +49,12 @@
49
49
  "ws": "^8.21.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@react-native/dev-middleware": "^0.86.0",
52
+ "@react-native/dev-middleware": "^0.86.3",
53
53
  "@types/babel__code-frame": "^7.0.6",
54
54
  "@types/node": "^20.19.31",
55
55
  "@types/ws": "^8.18.0",
56
56
  "typescript": "^7.0.2",
57
- "vitest": "^4.1.0"
57
+ "vitest": "^4.1.11"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "tsc -b tsconfig.build.json",