@forklaunch/express 1.2.30 → 1.2.32

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/lib/index.js CHANGED
@@ -290,6 +290,12 @@ var BunSocketShim = class extends import_stream.Duplex {
290
290
  setKeepAlive(enable = false, initialDelay = 0) {
291
291
  return this;
292
292
  }
293
+ getTypeOfService() {
294
+ return 0;
295
+ }
296
+ setTypeOfService(_typeOfService) {
297
+ return this;
298
+ }
293
299
  address() {
294
300
  if (!this.localAddress || !this.localPort) {
295
301
  return {};
@@ -357,7 +363,6 @@ function createBunSocket(options2 = {}) {
357
363
  return new BunSocketShim(options2);
358
364
  }
359
365
  function createSocketFromBunRequest(request, serverInfo) {
360
- const url = new URL(request.url);
361
366
  const forwardedFor = request.headers.get("x-forwarded-for");
362
367
  const realIP = request.headers.get("x-real-ip");
363
368
  const cfConnectingIP = request.headers.get("cf-connecting-ip");
package/lib/index.mjs CHANGED
@@ -264,6 +264,12 @@ var BunSocketShim = class extends Duplex {
264
264
  setKeepAlive(enable = false, initialDelay = 0) {
265
265
  return this;
266
266
  }
267
+ getTypeOfService() {
268
+ return 0;
269
+ }
270
+ setTypeOfService(_typeOfService) {
271
+ return this;
272
+ }
267
273
  address() {
268
274
  if (!this.localAddress || !this.localPort) {
269
275
  return {};
@@ -331,7 +337,6 @@ function createBunSocket(options2 = {}) {
331
337
  return new BunSocketShim(options2);
332
338
  }
333
339
  function createSocketFromBunRequest(request, serverInfo) {
334
- const url = new URL(request.url);
335
340
  const forwardedFor = request.headers.get("x-forwarded-for");
336
341
  const realIP = request.headers.get("x-real-ip");
337
342
  const cfConnectingIP = request.headers.get("cf-connecting-ip");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/express",
3
- "version": "1.2.30",
3
+ "version": "1.2.32",
4
4
  "description": "Forklaunch framework for express.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -26,44 +26,44 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@modelcontextprotocol/sdk": "^1.29.0",
29
- "@scalar/express-api-reference": "^0.9.6",
29
+ "@scalar/express-api-reference": "^0.9.14",
30
30
  "@types/multer": "^2.1.0",
31
31
  "body-parser": "^2.2.2",
32
32
  "busboy": "^1.6.0",
33
33
  "cors": "^2.8.6",
34
34
  "express": "^5.2.1",
35
- "fastmcp": "^3.35.0",
35
+ "fastmcp": "^4.0.1",
36
36
  "multer": "2.1.1",
37
37
  "qs": "^6.15.1",
38
38
  "range-parser": "^1.2.1",
39
39
  "swagger-ui-express": "^5.0.1",
40
- "@forklaunch/common": "1.2.16",
41
- "@forklaunch/validator": "1.2.16",
42
- "@forklaunch/core": "1.5.0"
40
+ "@forklaunch/common": "1.2.18",
41
+ "@forklaunch/validator": "1.2.18",
42
+ "@forklaunch/core": "1.5.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@eslint/js": "^10.0.1",
46
46
  "@types/body-parser": "^1.19.6",
47
- "@types/bun": "^1.3.11",
47
+ "@types/bun": "^1.3.13",
48
48
  "@types/busboy": "^1.5.4",
49
49
  "@types/cors": "^2.8.19",
50
50
  "@types/express": "^5.0.6",
51
51
  "@types/express-serve-static-core": "^5.1.1",
52
52
  "@types/jest": "^30.0.0",
53
- "@types/node": "^25.5.2",
54
- "@types/qs": "^6.15.0",
53
+ "@types/node": "^25.7.0",
54
+ "@types/qs": "^6.15.1",
55
55
  "@types/range-parser": "^1.2.7",
56
56
  "@types/swagger-ui-express": "^4.1.8",
57
- "@typescript/native-preview": "7.0.0-dev.20260408.1",
58
- "jest": "^30.3.0",
57
+ "@typescript/native-preview": "7.0.0-dev.20260511.1",
58
+ "jest": "^30.4.2",
59
59
  "kill-port-process": "^4.0.2",
60
- "prettier": "^3.8.1",
60
+ "prettier": "^3.8.3",
61
61
  "ts-jest": "^29.4.9",
62
62
  "ts-node": "^10.9.2",
63
63
  "tsup": "^8.5.1",
64
- "typedoc": "^0.28.18",
65
- "typescript": "^6.0.2",
66
- "typescript-eslint": "^8.58.1"
64
+ "typedoc": "^0.28.19",
65
+ "typescript": "^6.0.3",
66
+ "typescript-eslint": "^8.59.3"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "tsgo --noEmit && tsup index.ts --format cjs,esm --no-splitting --tsconfig tsconfig.json --outDir lib --dts --clean",