You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP →

localstorage-enhance

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

localstorage-enhance - npm Package Compare versions

Comparing version

to
1.0.4

@@ -295,3 +295,3 @@ var __defProp = Object.defineProperty;

class LocalStorageClass {
constructor({ storageKey, capacity = 888, encrypt = false }) {
constructor({ storageKey, capacity = 1e3, encrypt = false }) {
__publicField(this, "storageKey");

@@ -433,3 +433,3 @@ __publicField(this, "capacity");

}
var index = new LocalStorageClass({ storageKey: "localStorage_enhance", capacity: 200, encrypt: false });
var index = new LocalStorageClass({ storageKey: "localStorage_enhance", capacity: 1e3, encrypt: false });
export { LocalStorageClass, index as default };
{
"name": "localstorage-enhance",
"description": "Enhanced version of localStorage",
"version": "1.0.3",
"version": "1.0.4",
"type": "module",

@@ -6,0 +6,0 @@ "main": "dist/index.js",