Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "res-error", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Adds a super flexible res.error() method to express that logs an error and sends the correct JSON response to the client", | ||
@@ -5,0 +5,0 @@ "author": "Mike Marcacci <mike.marcacci@thecontrolgroup.com>", |
@@ -108,2 +108,3 @@ var error_codes = { | ||
res.send(code, message); | ||
return { code: code, message: message }; | ||
}; | ||
@@ -110,0 +111,0 @@ |
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
5350
107
0