Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

@middy/warmup

Package Overview
Dependencies
Maintainers
3
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/warmup - npm Package Compare versions

Comparing version
7.1.0
to
7.1.1
+1
-2
index.d.ts

@@ -5,5 +5,4 @@ // Copyright 2017 - 2026 will Farrell, Luciano Mammino, and Middy contributors.

interface Options {
export interface Options {
isWarmingUp?: (event: any) => boolean;
onWarmup?: (event: any) => void;
}

@@ -10,0 +9,0 @@

@@ -7,4 +7,4 @@ // Copyright 2017 - 2026 will Farrell, Luciano Mammino, and Middy contributors.

const warmupMiddleware = (opt) => {
const options = { ...defaults, ...opt };
const warmupMiddleware = (opts = {}) => {
const options = { ...defaults, ...opts };

@@ -11,0 +11,0 @@ const warmupMiddlewareBefore = (request) => {

{
"name": "@middy/warmup",
"version": "7.1.0",
"version": "7.1.1",
"description": "Warmup (cold start mitigation) middleware for the middy framework",

@@ -68,5 +68,6 @@ "type": "module",

"devDependencies": {
"@middy/core": "7.1.0"
"@middy/core": "7.1.1",
"@types/aws-lambda": "^8.0.0"
},
"gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431"
}
<div align="center">
<h1>Middy warmup middleware</h1>
<img alt="Middy logo" src="https://raw.githubusercontent.com/middyjs/middy/main/img/middy-logo.svg"/>
<h1>Middy `warmup` middleware</h1>
<img alt="Middy logo" src="https://raw.githubusercontent.com/middyjs/middy/main/docs/img/middy-logo.svg"/>
<p><strong>Warmup middleware for the middy framework, the stylish Node.js middleware engine for AWS Lambda</strong></p>

@@ -5,0 +5,0 @@ <p>