jssm 5.63.0 → 5.64.2
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/dist/es6/jssm.d.ts +2 -1
- package/dist/es6/jssm.js +2 -1
- package/dist/es6/jssm_constants.d.ts +4 -0
- package/dist/es6/jssm_constants.js +93 -0
- 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 +2 -1
- package/jssm_constants.d.ts +4 -0
- package/package.json +3 -2
package/jssm.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ declare type StateType = string;
|
|
|
2
2
|
import { JssmGenericState, JssmGenericConfig, JssmTransition, JssmTransitionList, // JssmTransitionRule,
|
|
3
3
|
JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmArrow, JssmArrowDirection, JssmArrowKind, JssmLayout, FslDirection, FslTheme, HookDescription, HookHandler } from './jssm_types';
|
|
4
4
|
import { seq, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm_util';
|
|
5
|
+
import { shapes, gviz_shapes, named_colors } from './jssm_constants';
|
|
5
6
|
import { version } from './version';
|
|
6
7
|
declare function arrow_direction(arrow: JssmArrow): JssmArrowDirection;
|
|
7
8
|
declare function arrow_left_kind(arrow: JssmArrow): JssmArrowKind;
|
|
@@ -130,4 +131,4 @@ declare class Machine<mDT> {
|
|
|
130
131
|
}
|
|
131
132
|
declare function sm<mDT>(template_strings: TemplateStringsArray, ...remainder: any[]): Machine<mDT>;
|
|
132
133
|
declare function from<mDT>(MachineAsString: string, ExtraConstructorFields?: Partial<JssmGenericConfig<mDT>> | undefined): Machine<mDT>;
|
|
133
|
-
export { version, transfer_state_properties, Machine, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind, seq, weighted_rand_select, histograph, weighted_sample_select, weighted_histo_key };
|
|
134
|
+
export { version, transfer_state_properties, Machine, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind, seq, weighted_rand_select, histograph, weighted_sample_select, weighted_histo_key, shapes, gviz_shapes, named_colors };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jssm",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.64.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.0.0"
|
|
6
6
|
},
|
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
"vet": "npm run eslint && npm run audit",
|
|
46
46
|
"benny": "node ./src/buildjs/benchmark.js",
|
|
47
47
|
"build": "npm run vet && npm run test && npm run site && npm run docs && npm run benny",
|
|
48
|
-
"
|
|
48
|
+
"qbuild": "npm run test",
|
|
49
|
+
"ci_build": "npm run vet && npm run test",
|
|
49
50
|
"minify": "mv dist/es6/jssm-dot.js dist/es6/jssm-dot.nonmin.js && terser dist/es6/jssm-dot.nonmin.js > dist/es6/jssm-dot.js",
|
|
50
51
|
"min_iife": "mv dist/jssm.es5.iife.js dist/jssm.es5.iife.nonmin.js && terser dist/jssm.es5.iife.nonmin.js > dist/jssm.es5.iife.js",
|
|
51
52
|
"min_cjs": "mv dist/jssm.es5.cjs.js dist/jssm.es5.cjs.nonmin.js && terser dist/jssm.es5.cjs.nonmin.js > dist/jssm.es5.cjs.js",
|