@middy/util
Advanced tools
Comparing version 2.4.3 to 2.5.0
@@ -17,2 +17,10 @@ import middy from '@middy/core' | ||
type HttpError = Error & { | ||
status: number | ||
statusCode: number | ||
expose: boolean | ||
[key: string]: any | ||
[key: number]: any | ||
} | ||
declare function createPrefetchClient<Client, ClientOptions> (options: Options<Client, ClientOptions>): Client | ||
@@ -37,1 +45,3 @@ | ||
declare function normalizeHttpResponse (response: any, fallbackResponse?: any): any | ||
declare function createError (code: number, message: string, properties?: Record<string, any>): HttpError |
{ | ||
"name": "@middy/util", | ||
"version": "2.4.3", | ||
"version": "2.5.0", | ||
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda (util package)", | ||
@@ -47,3 +47,3 @@ "type": "commonjs", | ||
"devDependencies": { | ||
"@middy/core": "^2.4.3", | ||
"@middy/core": "^2.5.0", | ||
"@types/aws-lambda": "^8.10.76", | ||
@@ -55,3 +55,3 @@ "@types/node": "^16.0.0", | ||
"homepage": "https://github.com/middyjs/middy#readme", | ||
"gitHead": "969313c44d557dddf81849b10407652e7c533a46" | ||
"gitHead": "76d2bc02b48a4bbd054904538f5c4798ba3c4f7f" | ||
} |
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
15170
317