Comparing version 5.82.0 to 5.82.1
@@ -5,3 +5,3 @@ # Changelog | ||
1037 merges; 148 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) | ||
1038 merges; 148 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) | ||
@@ -26,2 +26,17 @@ | ||
## [Untagged] - 8/19/2022 11:04:20 PM | ||
Commit [88d7309bfd2217fe9aeae3be681ae1f520542365](https://github.com/StoneCypher/jssm/commit/88d7309bfd2217fe9aeae3be681ae1f520542365) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* Multiple themes, fixes StoneCypher/fsl#128 | ||
| ||
| ||
## [Untagged] - 8/19/2022 8:44:55 PM | ||
@@ -160,17 +175,2 @@ | ||
* Merge pull request #527 from StoneCypher/AddInlineStylesToResolver | ||
* Adds inline styles to resolver, fixes StoneCypher/fsl#1160 | ||
| ||
| ||
## [Untagged] - 8/7/2022 11:52:57 PM | ||
Commit [b59b5b530de566d82b6fa707d66f9b5ceb2037e8](https://github.com/StoneCypher/jssm/commit/b59b5b530de566d82b6fa707d66f9b5ceb2037e8) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* Adds inline styles to resolver, fixes StoneCypher/fsl#1160 |
@@ -27,4 +27,6 @@ import { circular_buffer } from 'circular_buffer_js'; | ||
declare type JssmLineStyle = 'solid' | 'dashed' | 'dotted'; | ||
declare type FslDirection = 'up' | 'right' | 'down' | 'left'; | ||
declare type FslTheme = 'default' | 'ocean' | 'modern' | 'none'; | ||
declare const FslDirections: readonly ["up", "right", "down", "left"]; | ||
declare type FslDirection = typeof FslDirections[number]; | ||
declare const FslThemes: readonly ["default", "ocean", "modern", "plain"]; | ||
declare type FslTheme = typeof FslThemes[number]; | ||
declare type JssmSerialization<DataType> = { | ||
@@ -355,2 +357,2 @@ jssm_version: string; | ||
declare type JssmHistory<mDT> = circular_buffer<[StateType, mDT]>; | ||
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmStateConfig, JssmStateStyleKey, JssmStateStyleKeyList, JssmBaseTheme, JssmTheme, JssmLayout, JssmHistory, JssmSerialization, JssmPropertyDefinition, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult }; | ||
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmStateConfig, JssmStateStyleKey, JssmStateStyleKeyList, JssmBaseTheme, JssmTheme, JssmLayout, JssmHistory, JssmSerialization, JssmPropertyDefinition, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirections, FslDirection, FslThemes, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult }; |
@@ -1,1 +0,3 @@ | ||
export {}; | ||
const FslDirections = ['up', 'right', 'down', 'left']; | ||
const FslThemes = ['default', 'ocean', 'modern', 'plain']; | ||
export { FslDirections, FslThemes }; |
declare type StateType = string; | ||
import { JssmGenericState, JssmGenericConfig, JssmStateConfig, JssmTransition, JssmTransitionList, // JssmTransitionRule, | ||
JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmStateStyleKeyList, JssmArrow, JssmArrowDirection, JssmArrowKind, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types'; | ||
JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmStateStyleKeyList, JssmArrow, JssmArrowDirection, JssmArrowKind, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslDirections, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types'; | ||
import { seq, unique, find_repeated, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm_util'; | ||
@@ -628,3 +628,5 @@ import * as constants from './jssm_constants'; | ||
list_actions(): Array<StateType>; | ||
themes(): FslTheme[]; | ||
all_themes(): FslTheme[]; | ||
get themes(): FslTheme[]; | ||
set themes(to: FslTheme | FslTheme[]); | ||
flow(): FslDirection; | ||
@@ -1213,2 +1215,2 @@ get_transition_by_state_names(from: StateType, to: StateType): number; | ||
declare function deserialize<mDT>(machine_string: string, ser: JssmSerialization<mDT>): Machine<mDT>; | ||
export { version, transfer_state_properties, Machine, deserialize, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind, seq, unique, find_repeated, weighted_rand_select, histograph, weighted_sample_select, weighted_histo_key, constants, shapes, gviz_shapes, named_colors, is_hook_rejection, is_hook_complex_result, abstract_hook_step, state_style_condense }; | ||
export { version, transfer_state_properties, Machine, deserialize, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind, seq, unique, find_repeated, weighted_rand_select, histograph, weighted_sample_select, weighted_histo_key, constants, shapes, gviz_shapes, named_colors, is_hook_rejection, is_hook_complex_result, abstract_hook_step, state_style_condense, FslDirections }; |
@@ -1,2 +0,2 @@ | ||
const version = "5.82.0"; | ||
const version = "5.82.1"; | ||
export { version }; |
@@ -27,4 +27,6 @@ import { circular_buffer } from 'circular_buffer_js'; | ||
declare type JssmLineStyle = 'solid' | 'dashed' | 'dotted'; | ||
declare type FslDirection = 'up' | 'right' | 'down' | 'left'; | ||
declare type FslTheme = 'default' | 'ocean' | 'modern' | 'none'; | ||
declare const FslDirections: readonly ["up", "right", "down", "left"]; | ||
declare type FslDirection = typeof FslDirections[number]; | ||
declare const FslThemes: readonly ["default", "ocean", "modern", "plain"]; | ||
declare type FslTheme = typeof FslThemes[number]; | ||
declare type JssmSerialization<DataType> = { | ||
@@ -355,2 +357,2 @@ jssm_version: string; | ||
declare type JssmHistory<mDT> = circular_buffer<[StateType, mDT]>; | ||
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmStateConfig, JssmStateStyleKey, JssmStateStyleKeyList, JssmBaseTheme, JssmTheme, JssmLayout, JssmHistory, JssmSerialization, JssmPropertyDefinition, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult }; | ||
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmStateConfig, JssmStateStyleKey, JssmStateStyleKeyList, JssmBaseTheme, JssmTheme, JssmLayout, JssmHistory, JssmSerialization, JssmPropertyDefinition, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirections, FslDirection, FslThemes, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult }; |
declare type StateType = string; | ||
import { JssmGenericState, JssmGenericConfig, JssmStateConfig, JssmTransition, JssmTransitionList, // JssmTransitionRule, | ||
JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmStateStyleKeyList, JssmArrow, JssmArrowDirection, JssmArrowKind, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types'; | ||
JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmStateStyleKeyList, JssmArrow, JssmArrowDirection, JssmArrowKind, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslDirections, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types'; | ||
import { seq, unique, find_repeated, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm_util'; | ||
@@ -628,3 +628,5 @@ import * as constants from './jssm_constants'; | ||
list_actions(): Array<StateType>; | ||
themes(): FslTheme[]; | ||
all_themes(): FslTheme[]; | ||
get themes(): FslTheme[]; | ||
set themes(to: FslTheme | FslTheme[]); | ||
flow(): FslDirection; | ||
@@ -1213,2 +1215,2 @@ get_transition_by_state_names(from: StateType, to: StateType): number; | ||
declare function deserialize<mDT>(machine_string: string, ser: JssmSerialization<mDT>): Machine<mDT>; | ||
export { version, transfer_state_properties, Machine, deserialize, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind, seq, unique, find_repeated, weighted_rand_select, histograph, weighted_sample_select, weighted_histo_key, constants, shapes, gviz_shapes, named_colors, is_hook_rejection, is_hook_complex_result, abstract_hook_step, state_style_condense }; | ||
export { version, transfer_state_properties, Machine, deserialize, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind, seq, unique, find_repeated, weighted_rand_select, histograph, weighted_sample_select, weighted_histo_key, constants, shapes, gviz_shapes, named_colors, is_hook_rejection, is_hook_complex_result, abstract_hook_step, state_style_condense, FslDirections }; |
{ | ||
"name": "jssm", | ||
"version": "5.82.0", | ||
"version": "5.82.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=10.0.0" |
@@ -21,3 +21,3 @@ <!-- | ||
* Generated for version 5.82.0 at 8/19/2022, 11:01:13 PM | ||
* Generated for version 5.82.1 at 8/20/2022, 11:14:58 AM | ||
@@ -33,3 +33,3 @@ --> | ||
***4,837 tests*** run 5,728 times. 4,828 specs with 100.0% coverage, 9 fuzz tests with 5.4% coverage. With 2,511 lines, that's about 1.9 tests per line, or 2.3 generated tests per line. | ||
***4,840 tests*** run 5,731 times. 4,831 specs with 100.0% coverage, 9 fuzz tests with 5.4% coverage. With 2,612 lines, that's about 1.9 tests per line, or 2.2 generated tests per line. | ||
@@ -36,0 +36,0 @@ ***Meet your new state machine library.*** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
1270445
48
10698