@growthflags/js-sdk
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -97,4 +97,4 @@ "use strict"; | ||
try { | ||
const stringData = localStorage.getItem(`${storagePath}`) || ''; | ||
return JSON.parse(stringData); | ||
const localStorageData = localStorage.getItem(`${storagePath}`); | ||
return localStorageData ? JSON.parse(localStorageData) : {}; | ||
} | ||
@@ -101,0 +101,0 @@ catch (error) { |
{ | ||
"name": "@growthflags/js-sdk", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Feature flags", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
9187
0