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

little-state-machine

Package Overview
Dependencies
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

little-state-machine - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

4

dist/index.es.js

@@ -42,3 +42,3 @@ import * as React from 'react';

window['STATE_MACHINE_SAVE_TO'] = (name) => {
storageType.setItem(name, JSON.stringify(getStore()));
window.localStorage.setItem(name, JSON.stringify(getStore()));
};

@@ -48,3 +48,3 @@ window['STATE_MACHINE_LOAD'] = ({ storeName, data, }) => {

return;
storageType.setItem(getName(), data || storageType.getItem(storeName));
window.localStorage.setItem(getName(), data || window.localStorage.getItem(storeName));
};

@@ -51,0 +51,0 @@ }

@@ -45,3 +45,3 @@ 'use strict';

window['STATE_MACHINE_SAVE_TO'] = (name) => {
storageType.setItem(name, JSON.stringify(getStore()));
window.localStorage.setItem(name, JSON.stringify(getStore()));
};

@@ -51,3 +51,3 @@ window['STATE_MACHINE_LOAD'] = ({ storeName, data, }) => {

return;
storageType.setItem(getName(), data || storageType.getItem(storeName));
window.localStorage.setItem(getName(), data || window.localStorage.getItem(storeName));
};

@@ -54,0 +54,0 @@ }

{
"name": "little-state-machine",
"version": "2.5.0",
"version": "2.5.1",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.es.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