Comparing version 5.85.0 to 5.85.1
@@ -5,3 +5,3 @@ # Changelog | ||
1072 merges; 161 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) | ||
1073 merges; 161 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) | ||
@@ -26,2 +26,18 @@ | ||
## [Untagged] - 9/12/2022 9:17:28 AM | ||
Commit [a0b9fb59c5dc92c94738a6d456ef5e5514a48d1f](https://github.com/StoneCypher/jssm/commit/a0b9fb59c5dc92c94738a6d456ef5e5514a48d1f) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
* simple display text function to resolve labels and node names | ||
* fixes StoneCypher/fsl#1202 | ||
| ||
| ||
<a name="5__84__1" /> | ||
@@ -170,22 +186,2 @@ | ||
* breaking jssm-viz, need to sort why | ||
| ||
| ||
<a name="5__83__0" /> | ||
## [5.83.0] - 9/3/2022 5:34:01 PM | ||
Commit [3256f05a4f2b5c5d6e05c2eeba091899e73ef327](https://github.com/StoneCypher/jssm/commit/3256f05a4f2b5c5d6e05c2eeba091899e73ef327) | ||
Author: `John Haugeland <stonecypher@gmail.com>` | ||
Merges [51ebcfc, 216dc9c] | ||
* Merge pull request #533 from StoneCypher/AttemptToFixAstral | ||
* Attempt to fix astral | ||
* breaking jssm-viz, need to sort why |
@@ -306,7 +306,4 @@ declare type StateType = string; | ||
* console.log( lswitch.label_for('a') ); // 'Foo!' | ||
* console.log( lswitch.label_for('b') ); // undefined | ||
* ``` | ||
* | ||
* See also {@link display_text}. | ||
* | ||
* @typeparam mDT The type of the machine data member; usually omitted | ||
@@ -318,25 +315,2 @@ * | ||
* | ||
* Get whatever the node should show as text. | ||
* | ||
* Currently, this means to get the label for a given state, if any; | ||
* otherwise to return the node's name. However, this definition is expected | ||
* to grow with time, and it is currently considered ill-advised to manually | ||
* parse this text. | ||
* | ||
* See also {@link label_for}. | ||
* | ||
* ```typescript | ||
* import * as jssm from 'jssm'; | ||
* | ||
* const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };'); | ||
* console.log( lswitch.display_text('a') ); // 'Foo!' | ||
* console.log( lswitch.display_text('b') ); // 'b' | ||
* ``` | ||
* | ||
* @typeparam mDT The type of the machine data member; usually omitted | ||
* | ||
*/ | ||
display_text(state: StateType): string; | ||
/********* | ||
* | ||
* Get the current data of a machine. | ||
@@ -343,0 +317,0 @@ * |
@@ -1,2 +0,2 @@ | ||
const version = "5.85.0"; | ||
const version = "5.85.1"; | ||
export { version }; |
@@ -306,7 +306,4 @@ declare type StateType = string; | ||
* console.log( lswitch.label_for('a') ); // 'Foo!' | ||
* console.log( lswitch.label_for('b') ); // undefined | ||
* ``` | ||
* | ||
* See also {@link display_text}. | ||
* | ||
* @typeparam mDT The type of the machine data member; usually omitted | ||
@@ -318,25 +315,2 @@ * | ||
* | ||
* Get whatever the node should show as text. | ||
* | ||
* Currently, this means to get the label for a given state, if any; | ||
* otherwise to return the node's name. However, this definition is expected | ||
* to grow with time, and it is currently considered ill-advised to manually | ||
* parse this text. | ||
* | ||
* See also {@link label_for}. | ||
* | ||
* ```typescript | ||
* import * as jssm from 'jssm'; | ||
* | ||
* const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };'); | ||
* console.log( lswitch.display_text('a') ); // 'Foo!' | ||
* console.log( lswitch.display_text('b') ); // 'b' | ||
* ``` | ||
* | ||
* @typeparam mDT The type of the machine data member; usually omitted | ||
* | ||
*/ | ||
display_text(state: StateType): string; | ||
/********* | ||
* | ||
* Get the current data of a machine. | ||
@@ -343,0 +317,0 @@ * |
{ | ||
"name": "jssm", | ||
"version": "5.85.0", | ||
"version": "5.85.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=10.0.0" |
@@ -21,3 +21,3 @@ <!-- | ||
* Generated for version 5.85.0 at 9/12/2022, 9:13:56 AM | ||
* Generated for version 5.85.1 at 9/12/2022, 9:31:27 AM | ||
@@ -33,3 +33,3 @@ --> | ||
***4,847 tests*** run 5,738 times. 4,838 specs with 100.0% coverage, 9 fuzz tests with 13.0% coverage. With 2,696 lines, that's about 1.8 tests per line, or 2.1 generated tests per line. | ||
***4,844 tests*** run 5,735 times. 4,835 specs with 100.0% coverage, 9 fuzz tests with 13.0% coverage. With 2,693 lines, that's about 1.8 tests per line, or 2.1 generated tests per line. | ||
@@ -36,0 +36,0 @@ ***Meet your new state machine library.*** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1278713
10816