Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Jul 7, 2024
1 parent f820f8d commit 5bad1e6
Show file tree
Hide file tree
Showing 28 changed files with 348 additions and 228 deletions.
49 changes: 48 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.

1159 merges; 201 releases
1162 merges; 201 releases



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



 

 

## [Untagged] - 7/6/2024 5:46:50 PM

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

Author: `John Haugeland <[email protected]>`

Merges [f820f8d, 54f0f4f]

* WIP on AddAfterAnyHook: f820f8d After hook for single node, fixes StoneCypher/fsl#698




&nbsp;

&nbsp;

## [Untagged] - 7/6/2024 5:46:50 PM

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

Author: `John Haugeland <[email protected]>`

* index on AddAfterAnyHook: f820f8d After hook for single node, fixes StoneCypher/fsl#698




&nbsp;

&nbsp;

## [Untagged] - 7/6/2024 5:43:39 PM

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

Author: `John Haugeland <[email protected]>`

* After hook for single node, fixes StoneCypher/fsl#698




&nbsp;

&nbsp;
Expand Down
99 changes: 45 additions & 54 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.

1159 merges; 201 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
1162 merges; 201 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)



Expand All @@ -22,13 +22,15 @@ Published tags:

&nbsp;

## [Untagged] - 7/6/2024 12:45:09 PM
## [Untagged] - 7/6/2024 5:46:50 PM

Commit [76daa940129b760f10032250ac482974ce1a9339](https://github.com/StoneCypher/jssm/commit/76daa940129b760f10032250ac482974ce1a9339)
Commit [9767e2c04a34d2d02bc8541daa6eb701dea15b70](https://github.com/StoneCypher/jssm/commit/9767e2c04a34d2d02bc8541daa6eb701dea15b70)

Author: `John Haugeland <[email protected]>`

* suppressing tweet since that hasn't worked since elon anyway
Merges [f820f8d, 54f0f4f]

* WIP on AddAfterAnyHook: f820f8d After hook for single node, fixes StoneCypher/fsl#698



Expand All @@ -37,13 +39,13 @@ Author: `John Haugeland <[email protected]>`

&nbsp;

## [Untagged] - 7/6/2024 12:35:59 PM
## [Untagged] - 7/6/2024 5:46:50 PM

Commit [6fe0e82f5d442504e97061e739bbacc1e110740a](https://github.com/StoneCypher/jssm/commit/6fe0e82f5d442504e97061e739bbacc1e110740a)
Commit [54f0f4f72ca63de414e1362471377494492ca101](https://github.com/StoneCypher/jssm/commit/54f0f4f72ca63de414e1362471377494492ca101)

Author: `John Haugeland <[email protected]>`

* jest bugs forced upgrade to jest which starts at node 14. since 14's two years out of service, i guess i'm okay with no longer testing 11-13.
* index on AddAfterAnyHook: f820f8d After hook for single node, fixes StoneCypher/fsl#698



Expand All @@ -52,13 +54,13 @@ Author: `John Haugeland <[email protected]>`

&nbsp;

## [Untagged] - 7/6/2024 12:29:29 PM
## [Untagged] - 7/6/2024 5:43:39 PM

Commit [79624fe28c4096a3fa1b97e01829a949e3c26b6b](https://github.com/StoneCypher/jssm/commit/79624fe28c4096a3fa1b97e01829a949e3c26b6b)
Commit [f820f8d0dcc226a6cbe227e16d6e250a3c298be8](https://github.com/StoneCypher/jssm/commit/f820f8d0dcc226a6cbe227e16d6e250a3c298be8)

Author: `John Haugeland <[email protected]>`

* remove other spurious gating comparison
* After hook for single node, fixes StoneCypher/fsl#698



Expand All @@ -67,13 +69,13 @@ Author: `John Haugeland <[email protected]>`

&nbsp;

## [Untagged] - 7/6/2024 12:23:37 PM
## [Untagged] - 7/6/2024 12:45:09 PM

Commit [ad22d350f0b2e431d8e1ecf9c5a7ccf942b4eb3f](https://github.com/StoneCypher/jssm/commit/ad22d350f0b2e431d8e1ecf9c5a7ccf942b4eb3f)
Commit [76daa940129b760f10032250ac482974ce1a9339](https://github.com/StoneCypher/jssm/commit/76daa940129b760f10032250ac482974ce1a9339)

Author: `John Haugeland <[email protected]>`

* remove spurious gating comparison
* suppressing tweet since that hasn't worked since elon anyway



Expand All @@ -82,13 +84,13 @@ Author: `John Haugeland <[email protected]>`

&nbsp;

## [Untagged] - 7/6/2024 12:00:00 PM
## [Untagged] - 7/6/2024 12:35:59 PM

Commit [84fb0da36c3cb4c7b6aaab527a3a38cb37ba5bc5](https://github.com/StoneCypher/jssm/commit/84fb0da36c3cb4c7b6aaab527a3a38cb37ba5bc5)
Commit [6fe0e82f5d442504e97061e739bbacc1e110740a](https://github.com/StoneCypher/jssm/commit/6fe0e82f5d442504e97061e739bbacc1e110740a)

Author: `John Haugeland <[email protected]>`

* clean up dep vulns
* jest bugs forced upgrade to jest which starts at node 14. since 14's two years out of service, i guess i'm okay with no longer testing 11-13.



Expand All @@ -97,13 +99,13 @@ Author: `John Haugeland <[email protected]>`

&nbsp;

## [Untagged] - 7/6/2024 11:48:48 AM
## [Untagged] - 7/6/2024 12:29:29 PM

Commit [e0fb09207dbeb470471adcfc2cec6c228c3338a7](https://github.com/StoneCypher/jssm/commit/e0fb09207dbeb470471adcfc2cec6c228c3338a7)
Commit [79624fe28c4096a3fa1b97e01829a949e3c26b6b](https://github.com/StoneCypher/jssm/commit/79624fe28c4096a3fa1b97e01829a949e3c26b6b)

Author: `John Haugeland <[email protected]>`

* Tidy up alternative graphing in viz. Fixes StoneCypher/fsl#374, fixes StoneCypher/fsl#1296
* remove other spurious gating comparison



Expand All @@ -112,22 +114,13 @@ Author: `John Haugeland <[email protected]>`

&nbsp;

## [Untagged] - 6/18/2024 5:23:32 PM
## [Untagged] - 7/6/2024 12:23:37 PM

Commit [8bf562699ded4ffec21e50551b4a354c00daa12b](https://github.com/StoneCypher/jssm/commit/8bf562699ded4ffec21e50551b4a354c00daa12b)
Commit [ad22d350f0b2e431d8e1ecf9c5a7ccf942b4eb3f](https://github.com/StoneCypher/jssm/commit/ad22d350f0b2e431d8e1ecf9c5a7ccf942b4eb3f)

Author: `dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>`
Author: `John Haugeland <stonecypher@gmail.com>`

* Bump braces from 3.0.2 to 3.0.3
* Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)
* ---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
* Signed-off-by: dependabot[bot] <[email protected]>
* remove spurious gating comparison



Expand All @@ -136,22 +129,13 @@ updated-dependencies:

&nbsp;

## [Untagged] - 6/18/2024 1:54:53 PM
## [Untagged] - 7/6/2024 12:00:00 PM

Commit [2d713e97e899c921d6ed9c1c2434f0858a1a587a](https://github.com/StoneCypher/jssm/commit/2d713e97e899c921d6ed9c1c2434f0858a1a587a)
Commit [84fb0da36c3cb4c7b6aaab527a3a38cb37ba5bc5](https://github.com/StoneCypher/jssm/commit/84fb0da36c3cb4c7b6aaab527a3a38cb37ba5bc5)

Author: `dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>`
Author: `John Haugeland <stonecypher@gmail.com>`

* Bump ws from 7.5.9 to 7.5.10
* Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)
* ---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
* Signed-off-by: dependabot[bot] <[email protected]>
* clean up dep vulns



Expand All @@ -160,15 +144,13 @@ updated-dependencies:

&nbsp;

<a name="5__98__2" />

## [5.98.2] - 4/25/2024 11:44:27 AM
## [Untagged] - 7/6/2024 11:48:48 AM

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

Author: `John Haugeland <[email protected]>`

* node v22 windows gh image has path problems, temporarily disabling
* Tidy up alternative graphing in viz. Fixes StoneCypher/fsl#374, fixes StoneCypher/fsl#1296



Expand All @@ -177,10 +159,19 @@ Author: `John Haugeland <[email protected]>`

&nbsp;

## [Untagged] - 4/25/2024 8:32:09 AM
## [Untagged] - 6/18/2024 5:23:32 PM

Commit [04c9032fc215d1cef254ddfefb31a9ff89134a41](https://github.com/StoneCypher/jssm/commit/04c9032fc215d1cef254ddfefb31a9ff89134a41)
Commit [8bf562699ded4ffec21e50551b4a354c00daa12b](https://github.com/StoneCypher/jssm/commit/8bf562699ded4ffec21e50551b4a354c00daa12b)

Author: `John Haugeland <stonecypher@gmail.com>`
Author: `dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>`

* Add node 24 (released yesterday) to CI/CD grid, fixes StoneCypher/fsl#1294
* Bump braces from 3.0.2 to 3.0.3
* Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)
* ---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
* Signed-off-by: dependabot[bot] <[email protected]>
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.99.0 at 7/6/2024, 5:40:01 PM
* Generated for version 5.99.0 at 7/6/2024, 6:09:45 PM
-->
# jssm 5.99.0
Expand All @@ -31,7 +31,7 @@ Readable, useful state machines as one-liner strings.

***5,071 tests***, run 5,962 times.

* 5,062 specs with 99.9% coverage.
* 5,062 specs with 100.0% coverage.
* 9 fuzz tests with 12.4% coverage.

With 3,007 lines, that's about 1.7 tests per line, or 2.0 generated tests per line.
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.99.0 at 7/6/2024, 5:40:01 PM
* Generated for version 5.99.0 at 7/6/2024, 6:09:45 PM
-->
# jssm 5.99.0
Expand All @@ -31,7 +31,7 @@ Readable, useful state machines as one-liner strings.

***5,071 tests***, run 5,962 times.

* 5,062 specs with 99.9% coverage.
* 5,062 specs with 100.0% coverage.
* 9 fuzz tests with 12.4% coverage.

With 3,007 lines, that's about 1.7 tests per line, or 2.0 generated tests per line.
Expand Down
2 changes: 1 addition & 1 deletion dist/deno/jssm.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions dist/es6/jssm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1586,12 +1586,13 @@ class Machine {
if (this._has_after_hooks) {
const ah = this._after_hooks.get(newStateOrAction);
const outcome = abstract_hook_step(ah, hook_args);
if (outcome.pass === false) {
return false;
}
const manufactured_context = { data: outcome.data, next_data: outcome.next_data };
// there's no such thing as after not passing, so, omit the result pass check
/* istanbul can't trace this through the timer */
/* istanbul ignore next */
if (ah !== undefined) {
ah(manufactured_context);
/* istanbul can't trace this through the timer */
/* istanbul ignore next */
ah({ data: outcome.data, next_data: outcome.next_data });
}
update_fields(outcome);
}
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.99.0", build_time = 1720312692737;
const version = "5.99.0", build_time = 1720314479976;
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.

13 changes: 7 additions & 6 deletions dist/jssm.es5.iife.nonmin.cjs

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

13 changes: 7 additions & 6 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 dist/jssm.es6.mjs

Large diffs are not rendered by default.

Loading

0 comments on commit 5bad1e6

Please sign in to comment.