@middy/util
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -114,7 +114,7 @@ var _response; | ||
} | ||
const value = fetch(request); | ||
const value1 = fetch(request); | ||
const expiry = Date.now() + cacheExpiry; | ||
if (cacheExpiry) { | ||
cache[cacheKey] = { | ||
value, | ||
value: value1, | ||
expiry | ||
@@ -124,3 +124,3 @@ }; | ||
return { | ||
value, | ||
value: value1, | ||
expiry | ||
@@ -127,0 +127,0 @@ }; |
{ | ||
"name": "@middy/util", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda (util package)", | ||
@@ -63,3 +63,3 @@ "type": "module", | ||
"devDependencies": { | ||
"@middy/core": "3.2.0", | ||
"@middy/core": "3.2.1", | ||
"@types/aws-lambda": "^8.10.76", | ||
@@ -71,3 +71,3 @@ "@types/node": "^18.0.0", | ||
"homepage": "https://middy.js.org", | ||
"gitHead": "ac46270daa388b52a81472ae8f9b8808a0136940" | ||
"gitHead": "b4169ec20b798650e934a7c25ee80ae98d11e03a" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
578
24950