@adonisjs/http-server
Advanced tools
Sorry, the diff of this file is too big to display
@@ -9,3 +9,3 @@ import { | ||
| defineConfig | ||
| } from "../chunk-HMYAZG76.js"; | ||
| } from "../chunk-Z5EN426L.js"; | ||
| import "../chunk-ASX56VAK.js"; | ||
@@ -12,0 +12,0 @@ |
+1
-1
@@ -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'], |
+3
-3
| { | ||
| "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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
285341
-0.37%9193
-0.24%