@adonisjs/http-server 7.7.0 → 7.8.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.
- package/build/{chunk-6FSCILWX.js → chunk-OLJ72AJE.js} +3 -3
- package/build/{chunk-6FSCILWX.js.map → chunk-OLJ72AJE.js.map} +1 -1
- package/build/factories/main.js +1 -1
- package/build/index.js +1 -1
- package/build/src/exceptions.d.ts +6 -4
- package/build/src/server/main.d.ts +1 -1
- package/package.json +1 -1
package/build/factories/main.js
CHANGED
package/build/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export declare const E_HTTP_EXCEPTION: {
|
|
|
13
13
|
code?: string;
|
|
14
14
|
status: number;
|
|
15
15
|
toString(): string;
|
|
16
|
-
|
|
16
|
+
get [Symbol.toStringTag](): string;
|
|
17
17
|
message: string;
|
|
18
18
|
stack?: string;
|
|
19
19
|
cause?: unknown;
|
|
@@ -29,7 +29,7 @@ export declare const E_HTTP_EXCEPTION: {
|
|
|
29
29
|
code?: string;
|
|
30
30
|
status: number;
|
|
31
31
|
toString(): string;
|
|
32
|
-
|
|
32
|
+
get [Symbol.toStringTag](): string;
|
|
33
33
|
message: string;
|
|
34
34
|
stack?: string;
|
|
35
35
|
cause?: unknown;
|
|
@@ -37,6 +37,7 @@ export declare const E_HTTP_EXCEPTION: {
|
|
|
37
37
|
help?: string;
|
|
38
38
|
status?: number;
|
|
39
39
|
message?: string;
|
|
40
|
+
isError(error: unknown): error is Error;
|
|
40
41
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
41
42
|
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
42
43
|
stackTraceLimit: number;
|
|
@@ -53,7 +54,7 @@ export declare const E_HTTP_REQUEST_ABORTED: {
|
|
|
53
54
|
code?: string;
|
|
54
55
|
status: number;
|
|
55
56
|
toString(): string;
|
|
56
|
-
|
|
57
|
+
get [Symbol.toStringTag](): string;
|
|
57
58
|
message: string;
|
|
58
59
|
stack?: string;
|
|
59
60
|
cause?: unknown;
|
|
@@ -69,7 +70,7 @@ export declare const E_HTTP_REQUEST_ABORTED: {
|
|
|
69
70
|
code?: string;
|
|
70
71
|
status: number;
|
|
71
72
|
toString(): string;
|
|
72
|
-
|
|
73
|
+
get [Symbol.toStringTag](): string;
|
|
73
74
|
message: string;
|
|
74
75
|
stack?: string;
|
|
75
76
|
cause?: unknown;
|
|
@@ -77,6 +78,7 @@ export declare const E_HTTP_REQUEST_ABORTED: {
|
|
|
77
78
|
help?: string;
|
|
78
79
|
status?: number;
|
|
79
80
|
message?: string;
|
|
81
|
+
isError(error: unknown): error is Error;
|
|
80
82
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
81
83
|
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
82
84
|
stackTraceLimit: number;
|
|
@@ -3,7 +3,7 @@ import type { Encryption } from '@adonisjs/encryption';
|
|
|
3
3
|
import type { Server as HttpsServer } from 'node:https';
|
|
4
4
|
import type { Application } from '@adonisjs/application';
|
|
5
5
|
import type { EmitterLike } from '@adonisjs/events/types';
|
|
6
|
-
import { ContainerResolver } from '@adonisjs/fold';
|
|
6
|
+
import { type ContainerResolver } from '@adonisjs/fold';
|
|
7
7
|
import type { ServerResponse, IncomingMessage, Server as HttpServer } from 'node:http';
|
|
8
8
|
import type { LazyImport } from '../types/base.js';
|
|
9
9
|
import type { MiddlewareAsClass } from '../types/middleware.js';
|