Comparing version 4.1.0 to 4.1.1
@@ -16,5 +16,5 @@ const https = require('https'); | ||
return value.map(v => parseBuffers(v)); | ||
} else if (typeof value === 'object' && Object.keys(value).length === 1 && typeof value._base64 === 'string') { | ||
} else if (value && typeof value === 'object' && Object.keys(value).length === 1 && typeof value._base64 === 'string') { | ||
return Buffer.from(value._base64, 'base64'); | ||
} else if (typeof value === 'object') { | ||
} else if (value &&typeof value === 'object') { | ||
return Object.keys(value).reduce((n, key) => { | ||
@@ -21,0 +21,0 @@ n[key] = parseBuffers(value[key]); |
{ | ||
"name": "lib", | ||
"version": "4.1.0", | ||
"version": "4.1.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
16025