New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 3.0.0-3 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",

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