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
2
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 1.2.9 to 1.2.10

14

build/adonis-typings/http-server.d.ts

@@ -10,5 +10,5 @@ /// <reference types="node" />

import { IncomingMessage, ServerResponse, Server as HttpServer } from 'http';
type HookNode = (ctx: HttpContextContract) => Promise<void>;
type ErrorHandlerNode = string | ((error: any, ctx: HttpContextContract) => Promise<any>);
type ResolvedErrorHandlerNode = {
export type HookNode = (ctx: HttpContextContract) => Promise<void>;
export type ErrorHandlerNode = string | ((error: any, ctx: HttpContextContract) => Promise<any>);
export type ResolvedErrorHandlerNode = {
type: 'function';

@@ -21,7 +21,7 @@ value: Exclude<ErrorHandlerNode, string>;

};
interface HooksContract {
export interface HooksContract {
before(cb: HookNode): this;
after(cb: HookNode): this;
}
interface ServerContract {
export interface ServerContract {
instance?: HttpServer | HttpsServer;

@@ -35,3 +35,5 @@ router: RouterContract;

}
type ServerConfigContract = RequestConfigContract & ResponseConfigContract;
export type ServerConfigContract = RequestConfigContract & ResponseConfigContract;
const Server: ServerContract;
export default Server;
}
{
"name": "@adonisjs/http-server",
"version": "1.2.9",
"version": "1.2.10",
"description": "Extracted copy of AdonisJs HTTP server along with it's router",

@@ -5,0 +5,0 @@ "files": [

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