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

@manojadams/session-store

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@manojadams/session-store - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

3

package.json
{
"name": "@manojadams/session-store",
"version": "1.0.2",
"version": "1.0.3",
"description": "Simple state management with session storage",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"module": "./dist/index.modern.js",

@@ -7,0 +8,0 @@ "upkg": "./dist/index.umd.js",

@@ -23,4 +23,3 @@ import { IStore } from "./constants";

init() {
const storeName = this.constructor.name;
const sessionData = sessionStorage.getItem(storeName);
const sessionData = sessionStorage.getItem(this._name);
if (sessionData) {

@@ -27,0 +26,0 @@ this.__sessionData = JSON.parse(sessionData);

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