cart-localstorage
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -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", |
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
13435