typescript-state-machine
Advanced tools
Comparing version 0.9.7 to 0.9.8
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
javascript-state-machine |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
30491
1
14
443
+ Addedgeneric-logger-typings@1.0.0
+ Addedgeneric-logger-typings@1.0.0(transitive)