
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
@types/hapi__call
Advanced tools
TypeScript definitions for @hapi/call
npm install --save @types/hapi__call
This package contains type definitions for @hapi/call (https://github.com/hapijs/call#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__call.
/// <reference types="node" />
export interface RouteDefinition {
/**
* Generally this is an HTTP method or "*" to mean any.
* This field is case insensitive.
*
* - "get"
* - "head"
* - "post"
* - "put"
* - "delete"
* - "connect"
* - "options"
* - "trace"
* - "patch"
*/
method: string;
path: string;
}
export interface RouterOptions {
isCaseSensitive: boolean;
}
export interface Match<Handler> {
params: Partial<Record<string, string>>;
paramsArray: string[];
route: Handler;
}
export type Route<Handler> = Match<Handler> | Error;
export class Router<Handler> {
constructor(routerOptions?: RouterOptions);
add(definition: RouteDefinition, route?: Handler): void;
route(method: string, path: string): Route<Handler>;
}
These definitions were written by Rodrigo Saboya, and Sebastian Malton.
FAQs
TypeScript definitions for @hapi/call
The npm package @types/hapi__call receives a total of 3,231 weekly downloads. As such, @types/hapi__call popularity was classified as popular.
We found that @types/hapi__call demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.