jssm 5.79.3 → 5.79.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +56 -46
- package/README.md +2 -2
- package/dist/es6/jssm.d.ts +3 -2
- package/dist/es6/jssm.js +3 -2
- package/dist/es6/jssm_constants.d.ts +2 -1
- package/dist/es6/jssm_constants.js +2 -1
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jssm.d.ts +3 -2
- package/jssm_constants.d.ts +2 -1
- package/package.json +6 -4
package/jssm.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ declare type StateType = string;
|
|
|
2
2
|
import { JssmGenericState, JssmGenericConfig, JssmTransition, JssmTransitionList, // JssmTransitionRule,
|
|
3
3
|
JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmArrow, JssmArrowDirection, JssmArrowKind, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types';
|
|
4
4
|
import { seq, unique, find_repeated, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm_util';
|
|
5
|
-
import
|
|
5
|
+
import * as constants from './jssm_constants';
|
|
6
|
+
declare const shapes: string[], gviz_shapes: string[], named_colors: string[];
|
|
6
7
|
import { version } from './version';
|
|
7
8
|
/*********
|
|
8
9
|
*
|
|
@@ -975,4 +976,4 @@ declare function is_hook_complex_result<mDT>(hr: unknown): hr is HookComplexResu
|
|
|
975
976
|
declare function is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean;
|
|
976
977
|
declare function abstract_hook_step<mDT>(maybe_hook: HookHandler<mDT> | undefined, hook_args: HookContext<mDT>): HookComplexResult<mDT>;
|
|
977
978
|
declare function deserialize<mDT>(machine_string: string, ser: JssmSerialization<mDT>): Machine<mDT>;
|
|
978
|
-
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, shapes, gviz_shapes, named_colors, is_hook_rejection, is_hook_complex_result, abstract_hook_step };
|
|
979
|
+
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 };
|
package/jssm_constants.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
export declare const NegInfinity: number, PosInfinity: number, Epsilon: number, Pi: number, E: number, Root2: number, RootHalf: number, Ln2: number, Ln10: number, Log2E: number, Log10E: number, MaxSafeInt: number, MinSafeInt: number, MaxPosNum: number, MinPosNum: number, Phi = 1.618033988749895, EulerC = 0.5772156649015329;
|
|
1
2
|
declare const gviz_shapes: string[];
|
|
2
3
|
declare const shapes: string[];
|
|
3
4
|
declare const named_colors: string[];
|
|
4
|
-
export { gviz_shapes, shapes, named_colors };
|
|
5
|
+
export { gviz_shapes, shapes, named_colors, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jssm",
|
|
3
|
-
"version": "5.79.
|
|
3
|
+
"version": "5.79.8",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.0.0"
|
|
6
6
|
},
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
"@typescript-eslint/eslint-plugin": "^5.30.4",
|
|
109
109
|
"@typescript-eslint/parser": "^5.30.4",
|
|
110
110
|
"benny": "^3.7.1",
|
|
111
|
+
"chalk": "^4.1.2",
|
|
111
112
|
"cloc": "^2.10.0",
|
|
112
113
|
"coveralls": "^3.0.11",
|
|
113
114
|
"eslint": "^7.32.0",
|
|
@@ -123,17 +124,18 @@
|
|
|
123
124
|
"pegjs": "^0.10.0",
|
|
124
125
|
"rollup": "^2.72.1",
|
|
125
126
|
"semver": "^5.7.1",
|
|
126
|
-
"terser": "^5.
|
|
127
|
+
"terser": "^5.14.2",
|
|
127
128
|
"text_audit": "^0.9.3",
|
|
128
129
|
"ts-jest": "^27.0.7",
|
|
130
|
+
"twitter-api-client": "^1.6.0",
|
|
129
131
|
"typedoc": "^0.22.18",
|
|
132
|
+
"typedoc-plugin-missing-exports": "^0.23.0",
|
|
130
133
|
"typescript": "^4.7.4",
|
|
131
134
|
"xml2js": "^0.4.23"
|
|
132
135
|
},
|
|
133
136
|
"dependencies": {
|
|
134
137
|
"better_git_changelog": "^1.6.1",
|
|
135
138
|
"circular_buffer_js": "^1.10.0",
|
|
136
|
-
"reduce-to-639-1": "^1.0.4"
|
|
137
|
-
"typedoc-plugin-missing-exports": "^0.23.0"
|
|
139
|
+
"reduce-to-639-1": "^1.0.4"
|
|
138
140
|
}
|
|
139
141
|
}
|