Socket
Socket
Sign inDemoInstall

cart-localstorage

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cart-localstorage - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

dist/index.js

@@ -16,4 +16,4 @@ var cartLS = (function (exports) {

const clear = () => {
localStorage.removeItem(STORAGE_KEY);
const clear = (key) => {
localStorage.removeItem(key || STORAGE_KEY);
if(saveListener) saveListener(get(key || STORAGE_KEY));

@@ -20,0 +20,0 @@ };

{
"name": "cart-localstorage",
"version": "1.0.6",
"version": "1.0.7",
"description": "Tiny shopping cart on top of LolcalStorage - ES6, < 1Kb, test coverage",

@@ -5,0 +5,0 @@ "main": "index.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