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

jssm

Package Overview
Dependencies
Maintainers
1
Versions
324
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jssm - npm Package Compare versions

Comparing version 5.72.1 to 5.72.2

36

CHANGELOG.md

@@ -5,3 +5,3 @@ # Changelog

919 merges; 114 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
920 merges; 114 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)

@@ -26,2 +26,17 @@

## [Untagged] - 6/24/2022 4:55:33 PM
Commit [547e35599ed312bf5300d3f1685e2cb16b80a73e](https://github.com/StoneCypher/jssm/commit/547e35599ed312bf5300d3f1685e2cb16b80a73e)
Author: `John Haugeland <stonecypher@gmail.com>`
* Can read data from outside, fixes StoneCypher/fsl#929
&nbsp;
&nbsp;
## [Untagged] - 6/24/2022 4:08:35 PM

@@ -163,19 +178,2 @@

* yet another small commit as a trigger, this time to get the extended diff
&nbsp;
&nbsp;
<a name="5__70__31" />
## [5.70.31] - 6/18/2022 8:00:06 PM
Commit [de3d8a105aa85045a9f19ed46b4b3c5e5fb1e235](https://github.com/StoneCypher/jssm/commit/de3d8a105aa85045a9f19ed46b4b3c5e5fb1e235)
Author: `John Haugeland <stonecypher@gmail.com>`
* another small commit as a trigger, this time to get the diff
* yet another small commit as a trigger, this time to get the extended diff

@@ -152,10 +152,9 @@ declare type StateType = string;

declare type JssmParseFunctionType = (string: any) => JssmParseTree;
declare type HookHandler = Function;
declare type BasicHookDescription = {
declare type BasicHookDescription<mDT> = {
kind: 'hook';
from: string;
to: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type HookDescriptionWithAction = {
declare type HookDescriptionWithAction<mDT> = {
kind: 'named';

@@ -165,43 +164,48 @@ from: string;

action: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type StandardTransitionHook = {
declare type StandardTransitionHook<mDT> = {
kind: 'standard transition';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type MainTransitionHook = {
declare type MainTransitionHook<mDT> = {
kind: 'main transition';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type ForcedTransitionHook = {
declare type ForcedTransitionHook<mDT> = {
kind: 'forced transition';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type AnyTransitionHook = {
declare type AnyTransitionHook<mDT> = {
kind: 'any transition';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type GlobalActionHook = {
declare type GlobalActionHook<mDT> = {
kind: 'global action';
action: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type AnyActionHook = {
declare type AnyActionHook<mDT> = {
kind: 'any action';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type EntryHook = {
declare type EntryHook<mDT> = {
kind: 'entry';
to: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type ExitHook = {
declare type ExitHook<mDT> = {
kind: 'exit';
from: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type HookDescription = BasicHookDescription | HookDescriptionWithAction | GlobalActionHook | AnyActionHook | StandardTransitionHook | MainTransitionHook | ForcedTransitionHook | AnyTransitionHook | EntryHook | ExitHook;
declare type HookDescription<mDT> = BasicHookDescription<mDT> | HookDescriptionWithAction<mDT> | GlobalActionHook<mDT> | AnyActionHook<mDT> | StandardTransitionHook<mDT> | MainTransitionHook<mDT> | ForcedTransitionHook<mDT> | AnyTransitionHook<mDT> | EntryHook<mDT> | ExitHook<mDT>;
declare type HookResult = true | false | undefined | void;
declare type HookContext<mDT> = {
data: mDT;
};
declare type HookHandler<mDT> = (hook_context: HookContext<mDT>) => HookResult;
declare type JssmErrorExtendedInfo = {
requested_state?: StateType | undefined;
};
export { JssmColor, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmLayout, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler };
export { JssmColor, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmLayout, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookResult };

@@ -231,7 +231,7 @@ declare type StateType = string;

_global_action_hooks: Map<string, Function>;
_any_action_hook: HookHandler | undefined;
_standard_transition_hook: HookHandler | undefined;
_main_transition_hook: HookHandler | undefined;
_forced_transition_hook: HookHandler | undefined;
_any_transition_hook: HookHandler | undefined;
_any_action_hook: HookHandler<mDT> | undefined;
_standard_transition_hook: HookHandler<mDT> | undefined;
_main_transition_hook: HookHandler<mDT> | undefined;
_forced_transition_hook: HookHandler<mDT> | undefined;
_any_transition_hook: HookHandler<mDT> | undefined;
constructor({ start_states, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, data }: JssmGenericConfig<mDT>);

@@ -542,13 +542,13 @@ /********

has_completes(): boolean;
set_hook(HookDesc: HookDescription): void;
hook(from: string, to: string, handler: HookHandler): Machine<mDT>;
hook_action(from: string, to: string, action: string, handler: HookHandler): Machine<mDT>;
hook_global_action(action: string, handler: HookHandler): Machine<mDT>;
hook_any_action(handler: HookHandler): Machine<mDT>;
hook_standard_transition(handler: HookHandler): Machine<mDT>;
hook_main_transition(handler: HookHandler): Machine<mDT>;
hook_forced_transition(handler: HookHandler): Machine<mDT>;
hook_any_transition(handler: HookHandler): Machine<mDT>;
hook_entry(to: string, handler: HookHandler): Machine<mDT>;
hook_exit(from: string, handler: HookHandler): Machine<mDT>;
set_hook(HookDesc: HookDescription<mDT>): void;
hook(from: string, to: string, handler: HookHandler<mDT>): Machine<mDT>;
hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>;
hook_global_action(action: string, handler: HookHandler<mDT>): Machine<mDT>;
hook_any_action(handler: HookHandler<mDT>): Machine<mDT>;
hook_standard_transition(handler: HookHandler<mDT>): Machine<mDT>;
hook_main_transition(handler: HookHandler<mDT>): Machine<mDT>;
hook_forced_transition(handler: HookHandler<mDT>): Machine<mDT>;
hook_any_transition(handler: HookHandler<mDT>): Machine<mDT>;
hook_entry(to: string, handler: HookHandler<mDT>): Machine<mDT>;
hook_exit(from: string, handler: HookHandler<mDT>): Machine<mDT>;
edges_between(from: string, to: string): JssmTransition<mDT>[];

@@ -555,0 +555,0 @@ transition_impl(newStateOrAction: StateType, newData: mDT | undefined, wasForced: boolean, wasAction: boolean): boolean;

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

const version = "5.72.1";
const version = "5.72.2";
export { version };

@@ -152,10 +152,9 @@ declare type StateType = string;

declare type JssmParseFunctionType = (string: any) => JssmParseTree;
declare type HookHandler = Function;
declare type BasicHookDescription = {
declare type BasicHookDescription<mDT> = {
kind: 'hook';
from: string;
to: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type HookDescriptionWithAction = {
declare type HookDescriptionWithAction<mDT> = {
kind: 'named';

@@ -165,43 +164,48 @@ from: string;

action: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type StandardTransitionHook = {
declare type StandardTransitionHook<mDT> = {
kind: 'standard transition';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type MainTransitionHook = {
declare type MainTransitionHook<mDT> = {
kind: 'main transition';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type ForcedTransitionHook = {
declare type ForcedTransitionHook<mDT> = {
kind: 'forced transition';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type AnyTransitionHook = {
declare type AnyTransitionHook<mDT> = {
kind: 'any transition';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type GlobalActionHook = {
declare type GlobalActionHook<mDT> = {
kind: 'global action';
action: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type AnyActionHook = {
declare type AnyActionHook<mDT> = {
kind: 'any action';
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type EntryHook = {
declare type EntryHook<mDT> = {
kind: 'entry';
to: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type ExitHook = {
declare type ExitHook<mDT> = {
kind: 'exit';
from: string;
handler: HookHandler;
handler: HookHandler<mDT>;
};
declare type HookDescription = BasicHookDescription | HookDescriptionWithAction | GlobalActionHook | AnyActionHook | StandardTransitionHook | MainTransitionHook | ForcedTransitionHook | AnyTransitionHook | EntryHook | ExitHook;
declare type HookDescription<mDT> = BasicHookDescription<mDT> | HookDescriptionWithAction<mDT> | GlobalActionHook<mDT> | AnyActionHook<mDT> | StandardTransitionHook<mDT> | MainTransitionHook<mDT> | ForcedTransitionHook<mDT> | AnyTransitionHook<mDT> | EntryHook<mDT> | ExitHook<mDT>;
declare type HookResult = true | false | undefined | void;
declare type HookContext<mDT> = {
data: mDT;
};
declare type HookHandler<mDT> = (hook_context: HookContext<mDT>) => HookResult;
declare type JssmErrorExtendedInfo = {
requested_state?: StateType | undefined;
};
export { JssmColor, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmLayout, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler };
export { JssmColor, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmLayout, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookResult };

@@ -231,7 +231,7 @@ declare type StateType = string;

_global_action_hooks: Map<string, Function>;
_any_action_hook: HookHandler | undefined;
_standard_transition_hook: HookHandler | undefined;
_main_transition_hook: HookHandler | undefined;
_forced_transition_hook: HookHandler | undefined;
_any_transition_hook: HookHandler | undefined;
_any_action_hook: HookHandler<mDT> | undefined;
_standard_transition_hook: HookHandler<mDT> | undefined;
_main_transition_hook: HookHandler<mDT> | undefined;
_forced_transition_hook: HookHandler<mDT> | undefined;
_any_transition_hook: HookHandler<mDT> | undefined;
constructor({ start_states, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, data }: JssmGenericConfig<mDT>);

@@ -542,13 +542,13 @@ /********

has_completes(): boolean;
set_hook(HookDesc: HookDescription): void;
hook(from: string, to: string, handler: HookHandler): Machine<mDT>;
hook_action(from: string, to: string, action: string, handler: HookHandler): Machine<mDT>;
hook_global_action(action: string, handler: HookHandler): Machine<mDT>;
hook_any_action(handler: HookHandler): Machine<mDT>;
hook_standard_transition(handler: HookHandler): Machine<mDT>;
hook_main_transition(handler: HookHandler): Machine<mDT>;
hook_forced_transition(handler: HookHandler): Machine<mDT>;
hook_any_transition(handler: HookHandler): Machine<mDT>;
hook_entry(to: string, handler: HookHandler): Machine<mDT>;
hook_exit(from: string, handler: HookHandler): Machine<mDT>;
set_hook(HookDesc: HookDescription<mDT>): void;
hook(from: string, to: string, handler: HookHandler<mDT>): Machine<mDT>;
hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>;
hook_global_action(action: string, handler: HookHandler<mDT>): Machine<mDT>;
hook_any_action(handler: HookHandler<mDT>): Machine<mDT>;
hook_standard_transition(handler: HookHandler<mDT>): Machine<mDT>;
hook_main_transition(handler: HookHandler<mDT>): Machine<mDT>;
hook_forced_transition(handler: HookHandler<mDT>): Machine<mDT>;
hook_any_transition(handler: HookHandler<mDT>): Machine<mDT>;
hook_entry(to: string, handler: HookHandler<mDT>): Machine<mDT>;
hook_exit(from: string, handler: HookHandler<mDT>): Machine<mDT>;
edges_between(from: string, to: string): JssmTransition<mDT>[];

@@ -555,0 +555,0 @@ transition_impl(newStateOrAction: StateType, newData: mDT | undefined, wasForced: boolean, wasAction: boolean): boolean;

{
"name": "jssm",
"version": "5.72.1",
"version": "5.72.2",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=10.0.0"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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