web-storage-manager
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -178,3 +178,4 @@ require("core-js/modules/es7.symbol.async-iterator"); | ||
let tmpCollection = {}; // iterate through with child keys | ||
let tmpCollection = {}; | ||
childKeys.map(k => k.trim()); // iterate through with child keys | ||
@@ -186,6 +187,6 @@ for (const _ref of childKeys.entries()) { | ||
const key = _ref2[1]; | ||
collection = collection[key.trim()]; // map data get value from key path | ||
if (!collection) return false; // terminate on key not found | ||
collection = collection[key]; // map data get value from key path | ||
if (idx === childKeys.length - 1) { | ||
@@ -271,3 +272,4 @@ if (!Array.isArray(collection)) { | ||
let tmpCollection = {}; // iterate through with child keys | ||
let tmpCollection = {}; | ||
childKeys.map(k => k.trim()); // iterate through with child keys | ||
@@ -279,6 +281,6 @@ for (const _ref5 of childKeys.entries()) { | ||
const key = _ref6[1]; | ||
collection = collection[key.trim()]; // map data get value from key path | ||
if (!collection) return false; // terminate on key not found | ||
collection = collection[key]; // map data get value from key path | ||
if (idx === childKeys.length - 1) { | ||
@@ -285,0 +287,0 @@ if (!Array.isArray(collection)) { |
{ | ||
"name": "web-storage-manager", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "Web utility storage manager to handle save, update and data purge", | ||
@@ -5,0 +5,0 @@ "main": "lib/web-storage-manager.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
17482
428