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.5.1 to 4.5.2

6

index.js
export const createPrefetchClient = (options)=>{
const { awsClientOptions } = options;
const { awsClientOptions } = options;
const client = new options.AwsClient(awsClientOptions);

@@ -79,3 +79,3 @@ if (options.awsClientCapture && options.disablePrefetch) {

export const processCache = (options, fetch = ()=>undefined, request)=>{
const { cacheExpiry , cacheKey } = options;
const { cacheExpiry, cacheKey } = options;
if (cacheExpiry) {

@@ -156,3 +156,3 @@ const cached = getCache(cacheKey);

export const normalizeHttpResponse = (request)=>{
let { response } = request;
let { response } = request;
if (typeof response === 'undefined') {

@@ -159,0 +159,0 @@ response = {};

{
"name": "@middy/util",
"version": "4.5.1",
"version": "4.5.2",
"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.5.1",
"@middy/core": "4.5.2",
"@types/aws-lambda": "^8.10.76",

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

},
"gitHead": "f6b1c999a7e716b19535ee38070bb3839395c52a"
"gitHead": "ab0fe0f6a6c27b8f2b7b0e6fbde5a7de3b3b00d6"
}

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