gmail-api-parse-message
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -13,3 +13,5 @@ 'use strict'; | ||
function urlB64Decode(string) { | ||
return decodeURIComponent(escape(b64Decode(string.replace(/\-/g, '+').replace(/\_/g, '/')))); | ||
return string | ||
? decodeURIComponent(escape(b64Decode(string.replace(/\-/g, '+').replace(/\_/g, '/')))) | ||
: ''; | ||
} | ||
@@ -16,0 +18,0 @@ |
{ | ||
"name": "gmail-api-parse-message", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Parses the response from the Gmail API's GET message method", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
19884
526