🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

typescript-state-machine

Package Overview
Dependencies
Maintainers
8
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-state-machine - npm Package Compare versions

Comparing version

to
0.9.8

3

dist/stateMachine.d.ts

@@ -1,2 +0,3 @@

import { IState, ListenerRegistration, Logger, StateMachine, Transitions } from './typings';
import type { Logger } from 'generic-logger-typings';
import { IState, ListenerRegistration, StateMachine, Transitions } from './typings';
export declare class StateMachineImpl<T extends State> implements StateMachine<T> {

@@ -3,0 +4,0 @@ readonly states: T[];

@@ -23,9 +23,1 @@ export interface Transitions<T> {

}
export declare type LoggingFunction = (...args: any[]) => void;
export declare type Logger = {
debug: LoggingFunction;
info: LoggingFunction;
warn: LoggingFunction;
error: LoggingFunction;
fatal: LoggingFunction;
};
{
"name": "typescript-state-machine",
"version": "0.9.7",
"version": "0.9.8",
"description": "",

@@ -23,2 +23,5 @@ "main": "dist/index.js",

"homepage": "https://github.com/taktik/typescript-state-machine#readme",
"dependencies": {
"generic-logger-typings": "1.0.0"
},
"devDependencies": {

@@ -25,0 +28,0 @@ "@types/jest": "27.0.3",

Sorry, the diff of this file is not supported yet