@endpass/utils
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -36,3 +36,8 @@ 'use strict'; | ||
}).reduce(function (parsedObj, key) { | ||
parsedObj[key] = JSON.parse(obj[key]); | ||
try { | ||
parsedObj[key] = JSON.parse(obj[key]); | ||
} catch (e) { | ||
parsedObj[key] = obj[key]; | ||
} | ||
return parsedObj; | ||
@@ -39,0 +44,0 @@ }, {}); |
{ | ||
"name": "@endpass/utils", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Utils and helper functions", | ||
@@ -5,0 +5,0 @@ "author": "Endpass, Inc", |
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
266825
293