🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

lambda-router

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-router - npm Package Compare versions

Comparing version

to
3.0.0-4

12

lib/types/router.d.ts
import type { APIGatewayProxyEventV2, APIGatewayProxyEvent } from 'aws-lambda';
declare const CUSTOM_RESPONSE: unique symbol;
interface RequestHeaders {
[key: string]: string | undefined;
}
interface ResponseHeaders {
[key: string]: string | boolean | number;
}
export interface BodyResponse {
[key: string]: unknown;
}
declare type RequestHeaders = Record<string, string | undefined>;
declare type ResponseHeaders = Record<string, string | boolean | number>;
export declare type BodyResponse = Record<string, unknown>;
export interface Response {

@@ -13,0 +7,0 @@ statusCode: number;

{
"name": "lambda-router",
"version": "3.0.0-3",
"version": "3.0.0-4",
"description": "A router to simplify AWS Lambda Functions.",

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