@adonisjs/http-server 7.5.0 → 7.6.0

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.
@@ -6,7 +6,7 @@ import {
6
6
  Router,
7
7
  Server,
8
8
  defineConfig
9
- } from "../chunk-PCV5MT2U.js";
9
+ } from "../chunk-7AGINHO3.js";
10
10
 
11
11
  // factories/http_context.ts
12
12
  import { Container } from "@adonisjs/fold";
package/build/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  defineConfig,
19
19
  exceptions_exports,
20
20
  parseRange
21
- } from "./chunk-PCV5MT2U.js";
21
+ } from "./chunk-7AGINHO3.js";
22
22
 
23
23
  // src/exception_handler.ts
24
24
  import is from "@sindresorhus/is";
@@ -1,5 +1,8 @@
1
1
  import type { ServerConfig } from './types/server.js';
2
- type UserDefinedServerConfig = Partial<Omit<ServerConfig, 'trustProxy'> & {
2
+ type DeepPartial<T> = {
3
+ [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
4
+ };
5
+ type UserDefinedServerConfig = DeepPartial<Omit<ServerConfig, 'trustProxy'> & {
3
6
  trustProxy: ((address: string, distance: number) => boolean) | boolean | string;
4
7
  }>;
5
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonisjs/http-server",
3
- "version": "7.5.0",
3
+ "version": "7.6.0",
4
4
  "description": "AdonisJS HTTP server with support packed with Routing and Cookies",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -48,7 +48,7 @@
48
48
  "@adonisjs/events": "^9.0.2",
49
49
  "@adonisjs/fold": "^10.1.3",
50
50
  "@adonisjs/logger": "^6.0.6",
51
- "@adonisjs/prettier-config": "^1.4.0",
51
+ "@adonisjs/prettier-config": "^1.4.4",
52
52
  "@adonisjs/tsconfig": "^1.4.0",
53
53
  "@fastify/middie": "^9.0.3",
54
54
  "@japa/assert": "^4.0.1",
@@ -64,31 +64,31 @@
64
64
  "@types/fresh": "^0.5.2",
65
65
  "@types/fs-extra": "^11.0.4",
66
66
  "@types/mime-types": "^2.1.4",
67
- "@types/node": "^22.13.5",
67
+ "@types/node": "^22.13.13",
68
68
  "@types/on-finished": "^2.3.4",
69
69
  "@types/pem": "^1.14.4",
70
70
  "@types/proxy-addr": "^2.0.3",
71
71
  "@types/qs": "^6.9.18",
72
- "@types/supertest": "^6.0.2",
72
+ "@types/supertest": "^6.0.3",
73
73
  "@types/type-is": "^1.6.7",
74
74
  "@types/vary": "^1.1.3",
75
- "@vinejs/vine": "^3.0.0",
75
+ "@vinejs/vine": "^3.0.1",
76
76
  "autocannon": "^8.0.0",
77
77
  "c8": "^10.1.3",
78
78
  "cross-env": "^7.0.3",
79
- "eslint": "^9.21.0",
80
- "fastify": "^5.2.1",
79
+ "eslint": "^9.23.0",
80
+ "fastify": "^5.2.2",
81
81
  "fs-extra": "^11.3.0",
82
82
  "get-port": "^7.1.0",
83
83
  "http-status-codes": "^2.3.0",
84
84
  "pem": "^1.14.8",
85
- "prettier": "^3.5.2",
85
+ "prettier": "^3.5.3",
86
86
  "reflect-metadata": "^0.2.2",
87
87
  "release-it": "^18.1.2",
88
- "supertest": "^7.0.0",
88
+ "supertest": "^7.1.0",
89
89
  "ts-node-maintained": "^10.9.5",
90
90
  "tsup": "^8.4.0",
91
- "typescript": "^5.7.3"
91
+ "typescript": "^5.8.2"
92
92
  },
93
93
  "dependencies": {
94
94
  "@paralleldrive/cuid2": "^2.2.2",