Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web-storage-manager

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-storage-manager - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

14

lib/web-storage-manager.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc