Socket
Socket
Sign inDemoInstall

@middy/util

Package Overview
Dependencies
Maintainers
3
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/util - npm Package Compare versions

Comparing version 4.2.6 to 4.2.7

9

index.js

@@ -104,10 +104,3 @@ export const createPrefetchClient = (options)=>{

if (cacheExpiry) {
const refresh = cacheExpiry > 0 ? setInterval(()=>{
const value = fetch(request);
const expiry = Date.now() + cacheExpiry;
Object.assign(cache[cacheKey], {
value,
expiry
});
}, cacheExpiry) : undefined;
const refresh = cacheExpiry > 0 ? setInterval(()=>processCache(options, fetch, request), cacheExpiry) : undefined;
cache[cacheKey] = {

@@ -114,0 +107,0 @@ value,

6

package.json
{
"name": "@middy/util",
"version": "4.2.6",
"version": "4.2.7",
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda (util package)",

@@ -64,3 +64,3 @@ "type": "module",

"@aws-sdk/client-ssm": "^3.0.0",
"@middy/core": "4.2.6",
"@middy/core": "4.2.7",
"@types/aws-lambda": "^8.10.76",

@@ -75,3 +75,3 @@ "@types/node": "^18.0.0",

},
"gitHead": "8868ba216442cc42321a251712bc90b9147c0a44"
"gitHead": "f17e0e371d1d1c7a67365c895775a847aab5aa0b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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