Skip to content

Commit

Permalink
expose build date directly on module (also -viz and -demo,) support l…
Browse files Browse the repository at this point in the history
…ogging in -demo
  • Loading branch information
StoneCypher committed Sep 12, 2022
1 parent 35ad722 commit 4b9fefd
Show file tree
Hide file tree
Showing 25 changed files with 164 additions and 130 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.long.md
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

1049 merges; 165 releases
1050 merges; 165 releases



Expand All @@ -18,6 +18,21 @@ Published tags:



 

 

## [Untagged] - 9/12/2022 3:10:10 PM

Commit [35ad7228d5bb15d963a2e4d9e6e35721cce36b33](https://github.com/StoneCypher/jssm/commit/35ad7228d5bb15d963a2e4d9e6e35721cce36b33)

Author: `John Haugeland <stonecypher@gmail.com>`

* Add build time to module




&nbsp;

&nbsp;
Expand Down
39 changes: 17 additions & 22 deletions CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

1049 merges; 165 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
1050 merges; 165 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)



Expand All @@ -18,6 +18,21 @@ Published tags:



&nbsp;

&nbsp;

## [Untagged] - 9/12/2022 3:10:10 PM

Commit [35ad7228d5bb15d963a2e4d9e6e35721cce36b33](https://github.com/StoneCypher/jssm/commit/35ad7228d5bb15d963a2e4d9e6e35721cce36b33)

Author: `John Haugeland <stonecypher@gmail.com>`

* Add build time to module




&nbsp;

&nbsp;
Expand Down Expand Up @@ -169,24 +184,4 @@ Commit [a0b9fb59c5dc92c94738a6d456ef5e5514a48d1f](https://github.com/StoneCypher
Author: `John Haugeland <stonecypher@gmail.com>`

* simple display text function to resolve labels and node names
* fixes StoneCypher/fsl#1202




&nbsp;

&nbsp;

<a name="5__84__1" />

## [5.84.1] - 9/12/2022 8:30:09 AM

Commit [a7b92f9b1e94dcab843ab588d83d0c5f8eb9ca18](https://github.com/StoneCypher/jssm/commit/a7b92f9b1e94dcab843ab588d83d0c5f8eb9ca18)

Author: `John Haugeland <stonecypher@gmail.com>`

Merges [d4e6196, eedb4a7]

* Merge pull request #536 from StoneCypher/MoreStabsAtTweeting
* Working on auto-tweeter; no associated issue
* fixes StoneCypher/fsl#1202
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
* Generated for version 5.85.5 at 9/12/2022, 3:09:45 PM
* Generated for version 5.85.5 at 9/12/2022, 3:27:33 PM
-->
# jssm
Expand All @@ -29,7 +29,7 @@ share online. Easy to embed.

Readable, useful state machines as one-liner strings.

***4,847 tests*** run 5,738 times. 4,838 specs with 100.0% coverage, 9 fuzz tests with 13.0% coverage. With 2,697 lines, that's about 1.8 tests per line, or 2.1 generated tests per line.
***4,847 tests*** run 5,738 times. 4,838 specs with 99.9% coverage, 9 fuzz tests with 13.1% coverage. With 2,698 lines, that's about 1.8 tests per line, or 2.1 generated tests per line.

***Meet your new state machine library.***

Expand Down
4 changes: 2 additions & 2 deletions dist/es6/jssm.d.ts
Expand Up @@ -4,7 +4,7 @@ JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmStateStyleKey
import { seq, unique, find_repeated, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm_util';
import * as constants from './jssm_constants';
declare const shapes: string[], gviz_shapes: string[], named_colors: string[];
import { version } from './version';
import { version, build_time } from './version';
/*********
*
* Return the direction of an arrow - `right`, `left`, or `both`.
Expand Down Expand Up @@ -1237,4 +1237,4 @@ declare function is_hook_complex_result<mDT>(hr: unknown): hr is HookComplexResu
declare function is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean;
declare function abstract_hook_step<mDT>(maybe_hook: HookHandler<mDT> | undefined, hook_args: HookContext<mDT>): HookComplexResult<mDT>;
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, FslDirections };
export { version, build_time, 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 };
4 changes: 2 additions & 2 deletions dist/es6/jssm.js
Expand Up @@ -18,7 +18,7 @@ import { seq, unique, find_repeated, weighted_rand_select, weighted_sample_selec
import * as constants from './jssm_constants';
const { shapes, gviz_shapes, named_colors } = constants;
import { parse } from './fsl_parser';
import { version } from './version'; // replaced from package.js in build
import { version, build_time } from './version'; // replaced from package.js in build
import { JssmError } from './jssm_error';
/* eslint-disable complexity */
/*********
Expand Down Expand Up @@ -2759,7 +2759,7 @@ function deserialize(machine_string, ser) {
ser.history.forEach(history_item => machine._history.push(history_item));
return machine;
}
export { version, transfer_state_properties, Machine, deserialize, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind,
export { version, build_time, transfer_state_properties, Machine, deserialize, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind,
// WHARGARBL TODO these should be exported to a utility library
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
// FslThemes
Expand Down
2 changes: 1 addition & 1 deletion dist/es6/version.js
@@ -1,2 +1,2 @@
const version = "5.85.5", build_time = 1663020507687;
const version = "5.85.5", build_time = 1663021576657;
export { version, build_time };
2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/jssm.es5.cjs.nonmin.js
Expand Up @@ -19301,7 +19301,7 @@ function peg$parse(input, options) {
}
}

const version = "5.85.5";
const version = "5.85.5", build_time = 1663021576657;

// whargarbl lots of these return arrays could/should be sets
const theme_mapping = new Map();
Expand Down Expand Up @@ -22055,6 +22055,7 @@ exports.abstract_hook_step = abstract_hook_step;
exports.arrow_direction = arrow_direction;
exports.arrow_left_kind = arrow_left_kind;
exports.arrow_right_kind = arrow_right_kind;
exports.build_time = build_time;
exports.compile = compile;
exports.constants = constants;
exports.deserialize = deserialize;
Expand Down
2 changes: 1 addition & 1 deletion dist/jssm.es5.iife.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/jssm.es5.iife.nonmin.js
Expand Up @@ -19300,7 +19300,7 @@ var jssm = (function (exports) {
}
}

const version = "5.85.5";
const version = "5.85.5", build_time = 1663021576657;

// whargarbl lots of these return arrays could/should be sets
const theme_mapping = new Map();
Expand Down Expand Up @@ -22054,6 +22054,7 @@ var jssm = (function (exports) {
exports.arrow_direction = arrow_direction;
exports.arrow_left_kind = arrow_left_kind;
exports.arrow_right_kind = arrow_right_kind;
exports.build_time = build_time;
exports.compile = compile;
exports.constants = constants;
exports.deserialize = deserialize;
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/assets/search.js

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/docs/classes/jssm.Machine.html

Large diffs are not rendered by default.

0 comments on commit 4b9fefd

Please sign in to comment.