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
137
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 7.0.0-3 to 7.0.0-4

build/chunk-5PZNIOSV.js

2

build/factories/main.js

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

defineConfig
} from "../chunk-NC6OWANS.js";
} from "../chunk-5PZNIOSV.js";

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

@@ -20,3 +20,3 @@ import {

parseRange
} from "./chunk-NC6OWANS.js";
} from "./chunk-5PZNIOSV.js";

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

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import type { Logger } from '@adonisjs/logger';
import type { Emitter } from '@adonisjs/events';
import type { Encryption } from '@adonisjs/encryption';
import type { Server as HttpsServer } from 'node:https';
import type { Application } from '@adonisjs/application';
import type { EmitterLike } from '@adonisjs/events/types';
import { ContainerResolver } from '@adonisjs/fold';

@@ -12,3 +12,3 @@ import type { ServerResponse, IncomingMessage, Server as HttpServer } from 'node:http';

import type { MiddlewareAsClass } from '../types/middleware.js';
import type { ServerConfig, ErrorHandlerAsAClass, TestingMiddlewarePipeline } from '../types/server.js';
import type { ServerConfig, HttpServerEvents, ErrorHandlerAsAClass, TestingMiddlewarePipeline } from '../types/server.js';
import { Request } from '../request.js';

@@ -28,3 +28,3 @@ import { Response } from '../response.js';

get usingAsyncLocalStorage(): boolean;
constructor(app: Application<any>, encryption: Encryption, emitter: Emitter<any>, logger: Logger, config: ServerConfig);
constructor(app: Application<any>, encryption: Encryption, emitter: EmitterLike<HttpServerEvents>, logger: Logger, config: ServerConfig);
/**

@@ -31,0 +31,0 @@ * Creates a pipeline of middleware.

@@ -40,3 +40,3 @@ import type { ErrorHandler, FinalHandler } from '@poppinss/middleware/types';

/**
* Data type for the "http:request_finished" event
* Data type for the "http:request_completed" event
*/

@@ -48,2 +48,8 @@ export type HttpRequestFinishedPayload = {

/**
* Events emitted by the HttpServer
*/
export type HttpServerEvents = {
'http:request_completed': HttpRequestFinishedPayload;
};
/**
* Error handler to handle HTTP errors

@@ -50,0 +56,0 @@ */

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

@@ -5,0 +5,0 @@ "main": "build/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc