Comparing version 2.2.0 to 2.2.1
@@ -58,3 +58,3 @@ const path = require('path'); | ||
if (promise instanceof Promise) { | ||
if (promise && (promise instanceof Promise)) { | ||
return; | ||
@@ -78,3 +78,3 @@ } | ||
if (promise instanceof Promise) { | ||
if (promise && (promise instanceof Promise)) { | ||
promise.catch(err => { | ||
@@ -81,0 +81,0 @@ console.error(err); |
{ | ||
"name": "lib", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "StdLib: Standard Library for Microservices Node.js Bindings", | ||
@@ -5,0 +5,0 @@ "main": "lib.js", |
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
14487