Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@adonisjs/http-server

Package Overview
Dependencies
Maintainers
3
Versions
172
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
8.0.0-next.1
to
8.0.0-next.2
build/chunk-Z5EN426L.js

Sorry, the diff of this file is too big to display

+1
-1

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

defineConfig
} from "../chunk-HMYAZG76.js";
} from "../chunk-Z5EN426L.js";
import "../chunk-ASX56VAK.js";

@@ -12,0 +12,0 @@

@@ -23,3 +23,3 @@ import {

tracing_channels_exports
} from "./chunk-HMYAZG76.js";
} from "./chunk-Z5EN426L.js";
import "./chunk-ASX56VAK.js";

@@ -26,0 +26,0 @@

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

/**
* The lookup strategies to follow when generating URL builder
* types and client
*/
lookupStrategies: ('name' | 'pattern' | 'controller')[];
/**
* Define the lookup strategies to follow when generating URL builder
* types and client.
*/
updateLookupStrategies(strategies: ('name' | 'pattern' | 'controller')[]): this;
/**
* Finds a route by its identifier. The identifier can be the

@@ -161,7 +151,6 @@ * route name, controller.method name or the route pattern

*
* When "followLookupStrategy" is enabled, the lookup will be performed
* on the basis of the lookup strategy enabled via the "lookupStrategies"
* method. The default lookupStrategy is "name" and "pattern".
* When "disableLegacyLookup" is set, the lookup will be performed
* only using the route name
*/
find(routeIdentifier: string, domain?: string, method?: string, followLookupStrategy?: boolean): RouteJSON | null;
find(routeIdentifier: string, domain?: string, method?: string, disableLegacyLookup?: boolean): RouteJSON | null;
/**

@@ -174,7 +163,6 @@ * Finds a route by its identifier. The identifier can be the

*
* When "followLookupStrategy" is enabled, the lookup will be performed
* on the basis of the lookup strategy enabled via the "lookupStrategies"
* method. The default lookupStrategy is "name" and "pattern".
* When "disableLegacyLookup" is set, the lookup will be performed
* only using the route name
*/
findOrFail(routeIdentifier: string, domain?: string, method?: string, followLookupStrategy?: boolean): RouteJSON;
findOrFail(routeIdentifier: string, domain?: string, method?: string, disableLegacyLookup?: boolean): RouteJSON;
/**

@@ -181,0 +169,0 @@ * Check if a route exists. The identifier can be the

@@ -22,3 +22,3 @@ /**

*/
export type RouteBuilderArguments<Routes, Method extends keyof Routes, Identifier extends keyof Routes[Method], Options extends any = URLOptions> = Routes extends LookupList ? Prettify<undefined extends Routes[Method][Identifier]['params'] ? [identifier: Identifier, params?: undefined, options?: Options] : [undefined] extends [Routes[Method][Identifier]['params']] ? [
export type RouteBuilderArguments<Routes, Method extends keyof Routes, Identifier extends keyof Routes[Method], Options extends any = URLOptions> = Routes extends LookupList ? Prettify<Routes[Method][Identifier]['params'] extends undefined ? [identifier: Identifier, params?: undefined, options?: Options] : [undefined] extends [Routes[Method][Identifier]['params']] ? [
identifier: Identifier,

@@ -25,0 +25,0 @@ params?: Routes[Method][Identifier]['params'] | Routes[Method][Identifier]['paramsTuple'],

{
"name": "@adonisjs/http-server",
"version": "8.0.0-next.1",
"version": "8.0.0-next.2",
"description": "AdonisJS HTTP server with support packed with Routing and Cookies",

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

"@types/mime-types": "^3.0.1",
"@types/node": "^24.2.1",
"@types/node": "^24.3.0",
"@types/on-finished": "^2.3.5",

@@ -81,3 +81,3 @@ "@types/pem": "^1.14.4",

"cross-env": "^10.0.0",
"eslint": "^9.33.0",
"eslint": "^9.34.0",
"fastify": "^5.5.0",

@@ -84,0 +84,0 @@ "fs-extra": "^11.3.1",

Sorry, the diff of this file is too big to display