Comparing version 4.6.2 to 4.7.0
@@ -102,3 +102,8 @@ "use strict"; | ||
.find(s => s.$scope === 'response'); | ||
const validateSchema = compileSchema && schema && compileSchema(schema, context); | ||
const rawSchema = schema | ||
? schema.$schema | ||
? schema.$schema | ||
: schema | ||
: undefined; | ||
const validateSchema = compileSchema && rawSchema && compileSchema(rawSchema, context); | ||
const middlewares = args.filter(types_1.isMiddleware); | ||
@@ -105,0 +110,0 @@ const lastMiddleware = middlewares[middlewares.length - 1]; |
{ | ||
"name": "async-app", | ||
"version": "4.6.2", | ||
"version": "4.7.0", | ||
"description": "An express wrapper for handling async middlewares, order middlewares, schema validator, and other stuff", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
109662
1219
1