@bleedingdev/modern-js-server 3.9.0-ultramodern.11 → 3.9.0-ultramodern.13

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.
@@ -129,7 +129,7 @@ async function getMockMiddleware(pwd, mockDir) {
129
129
  if (matchedMockAPI) {
130
130
  const { handler } = matchedMockAPI;
131
131
  if ('function' == typeof handler) return await (0, node_namespaceObject.connectMockMid2HonoMid)(handler)(c, next);
132
- return c.json(handler);
132
+ else return c.json(handler);
133
133
  }
134
134
  return next();
135
135
  };
@@ -83,7 +83,7 @@ async function getMockMiddleware(pwd, mockDir) {
83
83
  if (matchedMockAPI) {
84
84
  const { handler } = matchedMockAPI;
85
85
  if ('function' == typeof handler) return await connectMockMid2HonoMid(handler)(c, next);
86
- return c.json(handler);
86
+ else return c.json(handler);
87
87
  }
88
88
  return next();
89
89
  };
@@ -84,7 +84,7 @@ async function getMockMiddleware(pwd, mockDir) {
84
84
  if (matchedMockAPI) {
85
85
  const { handler } = matchedMockAPI;
86
86
  if ('function' == typeof handler) return await connectMockMid2HonoMid(handler)(c, next);
87
- return c.json(handler);
87
+ else return c.json(handler);
88
88
  }
89
89
  return next();
90
90
  };
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "modern",
18
18
  "modern.js"
19
19
  ],
20
- "version": "3.9.0-ultramodern.11",
20
+ "version": "3.9.0-ultramodern.13",
21
21
  "types": "./dist/types/index.d.ts",
22
22
  "main": "./dist/cjs/index.js",
23
23
  "exports": {
@@ -38,11 +38,11 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.9.0-ultramodern.11",
42
- "@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.9.0-ultramodern.11",
43
- "@modern-js/server-utils": "npm:@bleedingdev/modern-js-server-utils@3.9.0-ultramodern.11",
44
- "@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.0-ultramodern.11",
45
- "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.9.0-ultramodern.11",
41
+ "@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.9.0-ultramodern.13",
42
+ "@modern-js/server-core": "npm:@bleedingdev/modern-js-server-core@3.9.0-ultramodern.13",
43
+ "@modern-js/server-utils": "npm:@bleedingdev/modern-js-server-utils@3.9.0-ultramodern.13",
44
+ "@modern-js/types": "npm:@bleedingdev/modern-js-types@3.9.0-ultramodern.13",
45
+ "@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.9.0-ultramodern.13",
46
46
  "@swc/helpers": "^0.5.23",
47
47
  "connect-history-api-fallback": "^2.0.0",
48
48
  "http-compression": "1.1.3",
@@ -51,11 +51,11 @@
51
51
  "ws": "^8.21.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@modern-js/builder": "npm:@bleedingdev/modern-js-builder@3.9.0-ultramodern.11",
55
- "@rslib/core": "1.0.0",
54
+ "@modern-js/builder": "npm:@bleedingdev/modern-js-builder@3.9.0-ultramodern.13",
55
+ "@rslib/core": "1.0.2",
56
56
  "@scripts/rstest-config": "2.66.0",
57
57
  "@types/connect-history-api-fallback": "^1.5.4",
58
- "@types/node": "^26.4.1",
58
+ "@types/node": "^26.6.2",
59
59
  "@types/ws": "^8.18.1",
60
60
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
61
61
  "node-mocks-http": "^1.18.1",