New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adonisjs/http-server

Package Overview
Dependencies
Maintainers
3
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/http-server - npm Package Compare versions

Comparing version

to
7.2.4

build/chunk-Q2EOMKJE.js

1

build/factories/http_server.d.ts

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import { IncomingMessage, Server, ServerResponse } from 'node:http';

@@ -3,0 +2,0 @@ export declare const httpServer: {

@@ -9,3 +9,3 @@ import {

defineConfig
} from "../chunk-UQEGDK7Z.js";
} from "../chunk-Q2EOMKJE.js";

@@ -12,0 +12,0 @@ // factories/http_context.ts

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import type { Encryption } from '@adonisjs/encryption';

@@ -3,0 +2,0 @@ import { IncomingMessage, ServerResponse } from 'node:http';

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import type { Encryption } from '@adonisjs/encryption';

@@ -3,0 +2,0 @@ import { IncomingMessage, ServerResponse } from 'node:http';

@@ -21,3 +21,3 @@ import {

parseRange
} from "./chunk-UQEGDK7Z.js";
} from "./chunk-Q2EOMKJE.js";

@@ -24,0 +24,0 @@ // src/exception_handler.ts

@@ -1,3 +0,2 @@

/// <reference types="node" resolution-mode="require"/>
declare const _default: import("util").DebugLogger;
export default _default;

@@ -11,3 +11,3 @@ import type { LazyImport, UnWrapLazyImport } from './types/base.js';

args: Args[0];
handle: ParsedGlobalMiddleware['handle'];
handle: ParsedGlobalMiddleware["handle"];
}; };

@@ -1,15 +0,14 @@

/// <reference types="node" resolution-mode="require"/>
import { Exception } from '@poppinss/utils';
import type { HttpContext } from './http_context/main.js';
export declare const E_ROUTE_NOT_FOUND: new (args: [method: string, url: string], options?: ErrorOptions | undefined) => Exception;
export declare const E_CANNOT_LOOKUP_ROUTE: new (args: [routeIdentifier: string], options?: ErrorOptions | undefined) => Exception;
export declare const E_ROUTE_NOT_FOUND: new (args: [method: string, url: string], options?: ErrorOptions) => Exception;
export declare const E_CANNOT_LOOKUP_ROUTE: new (args: [routeIdentifier: string], options?: ErrorOptions) => Exception;
export declare const E_HTTP_EXCEPTION: {
new (message?: string | undefined, options?: (ErrorOptions & {
code?: string | undefined;
status?: number | undefined;
}) | undefined): {
new (message?: string, options?: ErrorOptions & {
code?: string;
status?: number;
}): {
body: any;
name: string;
help?: string | undefined;
code?: string | undefined;
help?: string;
code?: string;
status: number;

@@ -19,3 +18,3 @@ toString(): string;

message: string;
stack?: string | undefined;
stack?: string;
cause?: unknown;

@@ -30,4 +29,4 @@ };

name: string;
help?: string | undefined;
code?: string | undefined;
help?: string;
code?: string;
status: number;

@@ -37,9 +36,9 @@ toString(): string;

message: string;
stack?: string | undefined;
stack?: string;
cause?: unknown;
};
help?: string | undefined;
status?: number | undefined;
message?: string | undefined;
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void;
help?: string;
status?: number;
message?: string;
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;

@@ -49,11 +48,11 @@ stackTraceLimit: number;

export declare const E_HTTP_REQUEST_ABORTED: {
new (message?: string | undefined, options?: (ErrorOptions & {
code?: string | undefined;
status?: number | undefined;
}) | undefined): {
new (message?: string, options?: ErrorOptions & {
code?: string;
status?: number;
}): {
handle(error: any, ctx: HttpContext): void;
body: any;
name: string;
help?: string | undefined;
code?: string | undefined;
help?: string;
code?: string;
status: number;

@@ -63,3 +62,3 @@ toString(): string;

message: string;
stack?: string | undefined;
stack?: string;
cause?: unknown;

@@ -74,4 +73,4 @@ };

name: string;
help?: string | undefined;
code?: string | undefined;
help?: string;
code?: string;
status: number;

@@ -81,11 +80,11 @@ toString(): string;

message: string;
stack?: string | undefined;
stack?: string;
cause?: unknown;
};
help?: string | undefined;
status?: number | undefined;
message?: string | undefined;
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void;
help?: string;
status?: number;
message?: string;
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
stackTraceLimit: number;
};

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import { AsyncLocalStorage } from 'node:async_hooks';

@@ -3,0 +2,0 @@ import type { HttpContext } from './main.js';

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import type { IncomingMessage } from 'node:http';

@@ -3,0 +2,0 @@ import type { Qs } from './qs.js';

@@ -1,3 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import Macroable from '@poppinss/macroable';

@@ -4,0 +2,0 @@ import { UrlWithStringQuery } from 'node:url';

@@ -1,4 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import Macroable from '@poppinss/macroable';

@@ -5,0 +2,0 @@ import type { Encryption } from '@adonisjs/encryption';

@@ -11,3 +11,3 @@ import type { Encryption } from '@adonisjs/encryption';

import type { Constructor, LazyImport } from '../types/base.js';
import type { MiddlewareAsClass } from '../types/middleware.js';
import type { MiddlewareAsClass, ParsedGlobalMiddleware } from '../types/middleware.js';
import type { RouteFn, MatchedRoute, RouteMatcher, RouteMatchers, MakeUrlOptions, MakeSignedUrlOptions, GetControllerHandlers } from '../types/route.js';

@@ -61,3 +61,3 @@ /**

args: Args[0];
handle: (resolver: import("@adonisjs/fold").ContainerResolver<any>, ctx: import("../http_context/main.js").HttpContext, next: import("@poppinss/middleware/types").NextFn, params?: any) => any;
handle: ParsedGlobalMiddleware["handle"];
}; };

@@ -64,0 +64,0 @@ /**

@@ -1,3 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import type { Logger } from '@adonisjs/logger';

@@ -4,0 +2,0 @@ import type { Encryption } from '@adonisjs/encryption';

@@ -1,2 +0,1 @@

/// <reference types="node" resolution-mode="require"/>
import { Readable } from 'node:stream';

@@ -3,0 +2,0 @@ /**

{
"name": "@adonisjs/http-server",
"version": "7.2.3",
"version": "7.2.4",
"description": "AdonisJS HTTP server with support packed with Routing and Cookies",

@@ -109,3 +109,3 @@ "main": "build/index.js",

"content-disposition": "^0.5.4",
"cookie": "^0.6.0",
"cookie": "^0.7.2",
"destroy": "^1.2.0",

@@ -112,0 +112,0 @@ "encodeurl": "^2.0.0",