Skip to content

Commit

Permalink
another option is to just not care very much and do it from the date …
Browse files Browse the repository at this point in the history
…object like normal
  • Loading branch information
StoneCypher committed Dec 30, 2023
1 parent d3f1d1c commit 6a09b44
Show file tree
Hide file tree
Showing 29 changed files with 169 additions and 161 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.long.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

1123 merges; 193 releases
1124 merges; 193 releases



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



 

 

## [Untagged] - 12/29/2023 8:18:30 PM

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

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

* attempt to tea leaves the node 14 performance test




&nbsp;

&nbsp;
Expand Down
34 changes: 17 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

1123 merges; 193 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
1124 merges; 193 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] - 12/29/2023 8:18:30 PM

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

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

* attempt to tea leaves the node 14 performance test




&nbsp;

&nbsp;
Expand Down Expand Up @@ -163,19 +178,4 @@ Author: `John Haugeland <stonecypher@gmail.com>`
Merges [7de448c, 3b3a998]

* Merge pull request #558 from StoneCypher/MissingModuleTypeInPackage
* Missing module type in package




&nbsp;

&nbsp;

## [Untagged] - 12/26/2023 1:57:30 PM

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

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

* had to change the names of the micro-builds. won't affect anyone unless they're directly referring to files, which is bad practice
* Missing module type in package
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
* Generated for version 5.93.0 at 12/29/2023, 8:18:07 PM
* Generated for version 5.93.0 at 12/29/2023, 8:28:59 PM
-->
# jssm 5.93.0
Expand All @@ -29,7 +29,7 @@ share online. Easy to embed.

Readable, useful state machines as one-liner strings.

***4,963 tests*** run 5,854 times. 4,954 specs with 97.9% coverage, 9 fuzz tests with 12.5% coverage. With 2,947 lines, that's about 1.7 tests per line, or 2.0 generated tests per line.
***4,963 tests*** run 5,854 times. 4,954 specs with 98.3% coverage, 9 fuzz tests with 12.6% coverage. With 2,937 lines, that's about 1.7 tests per line, or 2.0 generated tests per line.

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

Expand Down
4 changes: 2 additions & 2 deletions dist/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
* Generated for version 5.93.0 at 12/29/2023, 8:18:07 PM
* Generated for version 5.93.0 at 12/29/2023, 8:28:59 PM
-->
# jssm 5.93.0
Expand All @@ -29,7 +29,7 @@ share online. Easy to embed.

Readable, useful state machines as one-liner strings.

***4,963 tests*** run 5,854 times. 4,954 specs with 97.9% coverage, 9 fuzz tests with 12.5% coverage. With 2,947 lines, that's about 1.7 tests per line, or 2.0 generated tests per line.
***4,963 tests*** run 5,854 times. 4,954 specs with 98.3% coverage, 9 fuzz tests with 12.6% coverage. With 2,937 lines, that's about 1.7 tests per line, or 2.0 generated tests per line.

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

Expand Down
1 change: 0 additions & 1 deletion dist/deno/jssm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ declare class Machine<mDT> {
_end_state_style: JssmStateConfig;
_state_labels: Map<string, string>;
_time_source: () => number;
_time_origin: number;
_create_started: number;
_created: number;
_create_time: number;
Expand Down
2 changes: 1 addition & 1 deletion dist/deno/jssm.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/es6/jssm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ declare class Machine<mDT> {
_end_state_style: JssmStateConfig;
_state_labels: Map<string, string>;
_time_source: () => number;
_time_origin: number;
_create_started: number;
_created: number;
_create_time: number;
Expand Down
9 changes: 2 additions & 7 deletions dist/es6/jssm.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,8 @@ function state_style_condense(jssk) {
class Machine {
// whargarbl this badly needs to be broken up, monolith master
constructor({ start_states, end_states = [], complete = [], transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, property_definition, state_property, fsl_version, dot_preamble = undefined, arrange_declaration = [], arrange_start_declaration = [], arrange_end_declaration = [], theme = ['default'], flow = 'down', graph_layout = 'dot', instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, allows_override, config_allows_override, rng_seed, time_source, timeout_source, clear_timeout_source }) {
this._time_source = time_source !== null && time_source !== void 0 ? time_source : ((performance !== undefined)
? (performance.now
? (() => performance.now())
: (() => new Date().getTime()))
: (() => new Date().getTime()));
this._time_source = () => new Date().getTime();
this._create_started = this._time_source();
this._time_origin = ((performance !== undefined) ? performance.timeOrigin : 0);
this._instance_name = instance_name;
this._state = start_states[0];
this._states = new Map();
Expand Down Expand Up @@ -2273,7 +2268,7 @@ class Machine {
return new Date(Math.floor(this.creation_timestamp));
}
get creation_timestamp() {
return this._time_origin + this._created;
return this._created;
}
get create_time() {
return this._create_time;
Expand Down
2 changes: 1 addition & 1 deletion dist/es6/version.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const version = "5.93.0", build_time = 1703909776667;
const version = "5.93.0", build_time = 1703910445842;
export { version, build_time };
2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jssm.es5.iife.cjs

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions dist/jssm.es5.iife.nonmin.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 3 additions & 8 deletions dist/jssm.es5.nonmin.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/docs/assets/search.js

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions docs/docs/classes/jssm.Machine.html

Large diffs are not rendered by default.

Loading

0 comments on commit 6a09b44

Please sign in to comment.