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.7.0-beta.8 to 2.7.0-beta.9

13

dist/index.es.js

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

const middleWare = (data) => {
options = data || { debugName: '' };
options = data;
return options;

@@ -117,2 +117,7 @@ };

let storeCopy;
const debugName = options && options.debugName
? key
? options.debugName[key]
: options.debugName
: { debugName: '' };
if (isDevMode) {

@@ -126,7 +131,9 @@ const cloneDeep = require('lodash.clonedeep');

// @ts-ignore
`β”œβ”€%c${key ? options.debugName[key] : options.debugName}`, 'color: #bada55');
`β”œβ”€%c${debugName}`, 'color: #bada55');
console.log('β”œβ”€before:', storeCopy);
}
}
middleWare({ debugName: key ? options.debugName[key] : options.debugName });
if (isDevMode) {
middleWare({ debugName });
}
setStore(callback && callback(getStore(), payload));

@@ -133,0 +140,0 @@ storageType.setItem(getName(), JSON.stringify(getStore()));

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

const middleWare = (data) => {
options = data || { debugName: '' };
options = data;
return options;

@@ -122,2 +122,7 @@ };

let storeCopy;
const debugName = options && options.debugName
? key
? options.debugName[key]
: options.debugName
: { debugName: '' };
if (isDevMode) {

@@ -131,7 +136,9 @@ const cloneDeep = require('lodash.clonedeep');

// @ts-ignore
`β”œβ”€%c${key ? options.debugName[key] : options.debugName}`, 'color: #bada55');
`β”œβ”€%c${debugName}`, 'color: #bada55');
console.log('β”œβ”€before:', storeCopy);
}
}
middleWare({ debugName: key ? options.debugName[key] : options.debugName });
if (isDevMode) {
middleWare({ debugName });
}
setStore(callback && callback(getStore(), payload));

@@ -138,0 +145,0 @@ storageType.setItem(getName(), JSON.stringify(getStore()));

{
"name": "little-state-machine",
"version": "2.7.0-beta.8",
"version": "2.7.0-beta.9",
"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