Comparing version 4.3.1 to 4.4.0
@@ -91,2 +91,6 @@ "use strict"; | ||
copyDecorators(middleware, fn); | ||
// Set the wrapper function's name to the original function's name. When using | ||
// observability tools that record function names, this helps identify the | ||
// original function. | ||
Object.defineProperty(fn, 'name', { value: middleware.name }); | ||
return fn; | ||
@@ -93,0 +97,0 @@ }; |
{ | ||
"name": "async-app", | ||
"version": "4.3.1", | ||
"version": "4.4.0", | ||
"description": "An express wrapper for handling async middlewares, order middlewares, schema validator, and other stuff", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
103984
1099