Socket
Socket
Sign inDemoInstall

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 1.1.0 to 1.1.1

.rpt2_cache/rpt2_6b9edc7ec02678ec4bd272cefd74aa5bf5c51076/code/cache/fa75128a97c0a62ad25641855b0e885a01345a6d

2

dist/index.es.js

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

// @ts-ignore
if (!typeof window === 'undefined') {
if (typeof window !== 'undefined') {
// @ts-ignore

@@ -42,0 +42,0 @@ window.STATE_MACHINE_DEBUG = (value) => {

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

// @ts-ignore
if (!typeof window === 'undefined') {
if (typeof window !== 'undefined') {
// @ts-ignore

@@ -45,0 +45,0 @@ window.STATE_MACHINE_DEBUG = (value) => {

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

@@ -5,0 +5,0 @@ "module": "dist/index.es.js",

@@ -9,6 +9,6 @@ <div align="center"><img src="https://github.com/bluebill1049/little-state-machine/blob/master/docs/logo.png" alt="React forme Logo - React hook form valiation" width="180px" />

[![npm](https://img.shields.io/npm/dt/little-state-machine.svg?style=flat-square)](https://www.npmjs.com/package/little-state-machine)
[![npm](https://img.shields.io/npm/l/little-state-machine.svg?style=flat-square)](https://www.npmjs.com/package/react-lazyload-image)
[![npm](https://badgen.net/bundlephobia/minzip/little-state-machine)](https://badgen.net/bundlephobia/minzip/little-state-machine)
- Follow flux application architecture
- Tiny and simple (663B)
- Tiny, 0 dependency and simple
- Persist your state by default

@@ -75,3 +75,3 @@ - Build with React Hook

const App = ({children}) => {
const [globalState, updateStore] = useState(stateMachineStore);
const [globalState, updateStore] = useState(store);

@@ -78,0 +78,0 @@ return <StateMachineProvider

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