Socket
Socket
Sign inDemoInstall

superstore-sync

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superstore-sync - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

11

lib/superstore-sync.js

@@ -20,3 +20,12 @@ /**

function Superstore(type) {
this.storage = window[type];
/* Chrome Mobile and Android browser will both barf if you try and read
window.locatStorage when Cookies are turned off.
Here's a wontfix on chromium about it: https://bugs.chromium.org/p/chromium/issues/detail?id=357625
*/
try {
this.storage = window[type];
} catch (err){
/* use the in memory storage */
persist = false;
}
this.keys = {};

@@ -23,0 +32,0 @@ this.store = {};

2

package.json
{
"name": "superstore-sync",
"version": "2.1.0",
"version": "2.1.1",
"description": "Local storage, without the bugs.",

@@ -5,0 +5,0 @@ "main": "lib/superstore-sync.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