jssm 5.75.0 → 5.75.1

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/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- 946 merges; 125 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
5
+ 949 merges; 125 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
6
6
 
7
7
 
8
8
 
@@ -22,13 +22,13 @@ Published tags:
22
22
 
23
23
   
24
24
 
25
- ## [Untagged] - 7/3/2022 10:40:28 AM
25
+ ## [Untagged] - 7/3/2022 11:42:38 AM
26
26
 
27
- Commit [2526a1be2684b58e56fa44d28090a756e330b495](https://github.com/StoneCypher/jssm/commit/2526a1be2684b58e56fa44d28090a756e330b495)
27
+ Commit [840dcb95c04c49e04e92cd5564a09b18cd755ea4](https://github.com/StoneCypher/jssm/commit/840dcb95c04c49e04e92cd5564a09b18cd755ea4)
28
28
 
29
29
  Author: `John Haugeland <stonecypher@gmail.com>`
30
30
 
31
- * Parsing of JSON part done.
31
+ * Force this directory to exist with a meaningles file that defies the gitignore, then roll version back because apparently .0 didn't get released
32
32
 
33
33
 
34
34
 
@@ -37,13 +37,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
37
37
 
38
38
  &nbsp;
39
39
 
40
- ## [Untagged] - 7/3/2022 10:08:02 AM
40
+ ## [Untagged] - 7/3/2022 11:41:29 AM
41
41
 
42
- Commit [99ef3d9866ff6830528005c9196456e2b766dc09](https://github.com/StoneCypher/jssm/commit/99ef3d9866ff6830528005c9196456e2b766dc09)
42
+ Commit [7bf27e64e929c449d613d461fd1de1ceee4e8183](https://github.com/StoneCypher/jssm/commit/7bf27e64e929c449d613d461fd1de1ceee4e8183)
43
43
 
44
44
  Author: `John Haugeland <stonecypher@gmail.com>`
45
45
 
46
- * added cloc, turned to disk, made a cute little reporter, fixes StoneCypher/fsl#985
46
+ * Force this directory to exist with a meaningles file that defies the gitignore, then roll version back because apparently .0 didn't get released
47
47
 
48
48
 
49
49
 
@@ -52,13 +52,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
52
52
 
53
53
  &nbsp;
54
54
 
55
- ## [Untagged] - 7/3/2022 10:08:02 AM
55
+ ## [Untagged] - 7/3/2022 11:41:18 AM
56
56
 
57
- Commit [986fd0dd50adcb739f54e4fa3712628c94004505](https://github.com/StoneCypher/jssm/commit/986fd0dd50adcb739f54e4fa3712628c94004505)
57
+ Commit [bed41d9f0a3d18c7d7cfc4b28e96e92702b854eb](https://github.com/StoneCypher/jssm/commit/bed41d9f0a3d18c7d7cfc4b28e96e92702b854eb)
58
58
 
59
59
  Author: `John Haugeland <stonecypher@gmail.com>`
60
60
 
61
- * added cloc, turned to disk, made a cute little reporter, fixes StoneCypher/fsl#985
61
+ * Force this directory to exist with a meaningles file that defies the gitignore, then roll version back because apparently .0 didn't get released
62
62
 
63
63
 
64
64
 
@@ -67,13 +67,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
67
67
 
68
68
  &nbsp;
69
69
 
70
- ## [Untagged] - 7/3/2022 10:08:02 AM
70
+ ## [Untagged] - 7/3/2022 10:40:28 AM
71
71
 
72
- Commit [0c34b68d5a5d6666895965e5f8b4b9a9dadfe397](https://github.com/StoneCypher/jssm/commit/0c34b68d5a5d6666895965e5f8b4b9a9dadfe397)
72
+ Commit [2526a1be2684b58e56fa44d28090a756e330b495](https://github.com/StoneCypher/jssm/commit/2526a1be2684b58e56fa44d28090a756e330b495)
73
73
 
74
74
  Author: `John Haugeland <stonecypher@gmail.com>`
75
75
 
76
- * added cloc, turned to disk, made a cute little reporter, fixes StoneCypher/fsl#985
76
+ * Parsing of JSON part done.
77
77
 
78
78
 
79
79
 
@@ -82,18 +82,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
82
82
 
83
83
  &nbsp;
84
84
 
85
- <a name="5__74__0" />
86
-
87
- ## [5.74.0] - 7/2/2022 11:38:27 AM
85
+ ## [Untagged] - 7/3/2022 10:08:02 AM
88
86
 
89
- Commit [3940ac2b520c843153af11b2c67b0e8915ede619](https://github.com/StoneCypher/jssm/commit/3940ac2b520c843153af11b2c67b0e8915ede619)
87
+ Commit [99ef3d9866ff6830528005c9196456e2b766dc09](https://github.com/StoneCypher/jssm/commit/99ef3d9866ff6830528005c9196456e2b766dc09)
90
88
 
91
89
  Author: `John Haugeland <stonecypher@gmail.com>`
92
90
 
93
- Merges [89b9c2c, 9543655]
94
-
95
- * Merge pull request #505 from StoneCypher/PostHooks
96
- * Post hooks Fixes StoneCypher/fsl#897, StoneCypher/fsl#898, StoneCypher/fsl#899, StoneCypher/fsl#900, StoneCypher/fsl#901, StoneCypher/fsl#902, StoneCypher/fsl#903, StoneCypher/fsl#904, StoneCypher/fsl#905, StoneCypher/fsl#906, StoneCypher/fsl#959, StoneCypher/fsl#960, StoneCypher/fsl#961, StoneCypher/fsl#962, StoneCypher/fsl#963, StoneCypher/fsl#964, StoneCypher/fsl#965, StoneCypher/fsl#966, StoneCypher/fsl#967, StoneCypher/fsl#968, StoneCypher/fsl#969, StoneCypher/fsl#970, StoneCypher/fsl#971, StoneCypher/fsl#972, StoneCypher/fsl#973, StoneCypher/fsl#974, StoneCypher/fsl#976, StoneCypher/fsl#975, StoneCypher/fsl#977
91
+ * added cloc, turned to disk, made a cute little reporter, fixes StoneCypher/fsl#985
97
92
 
98
93
 
99
94
 
@@ -102,13 +97,13 @@ Merges [89b9c2c, 9543655]
102
97
 
103
98
  &nbsp;
104
99
 
105
- ## [Untagged] - 7/2/2022 11:35:19 AM
100
+ ## [Untagged] - 7/3/2022 10:08:02 AM
106
101
 
107
- Commit [95436551d075df2f4bb2c4baea55d9f1132e90a6](https://github.com/StoneCypher/jssm/commit/95436551d075df2f4bb2c4baea55d9f1132e90a6)
102
+ Commit [986fd0dd50adcb739f54e4fa3712628c94004505](https://github.com/StoneCypher/jssm/commit/986fd0dd50adcb739f54e4fa3712628c94004505)
108
103
 
109
104
  Author: `John Haugeland <stonecypher@gmail.com>`
110
105
 
111
- * Basic posthooks complete. Fixes StoneCypher/fsl#897, StoneCypher/fsl#898, StoneCypher/fsl#899, StoneCypher/fsl#900, StoneCypher/fsl#901, StoneCypher/fsl#902, StoneCypher/fsl#903, StoneCypher/fsl#904, StoneCypher/fsl#905, StoneCypher/fsl#906, StoneCypher/fsl#959, StoneCypher/fsl#960, StoneCypher/fsl#961, StoneCypher/fsl#962, StoneCypher/fsl#963, StoneCypher/fsl#964, StoneCypher/fsl#965, StoneCypher/fsl#966, StoneCypher/fsl#967, StoneCypher/fsl#968, StoneCypher/fsl#969, StoneCypher/fsl#970, StoneCypher/fsl#971, StoneCypher/fsl#972, StoneCypher/fsl#973, StoneCypher/fsl#974, StoneCypher/fsl#976, StoneCypher/fsl#975, StoneCypher/fsl#977
106
+ * added cloc, turned to disk, made a cute little reporter, fixes StoneCypher/fsl#985
112
107
 
113
108
 
114
109
 
@@ -117,13 +112,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
117
112
 
118
113
  &nbsp;
119
114
 
120
- ## [Untagged] - 7/2/2022 11:04:51 AM
115
+ ## [Untagged] - 7/3/2022 10:08:02 AM
121
116
 
122
- Commit [0222ce4624e1463b875bbb68292a39b438f267a3](https://github.com/StoneCypher/jssm/commit/0222ce4624e1463b875bbb68292a39b438f267a3)
117
+ Commit [0c34b68d5a5d6666895965e5f8b4b9a9dadfe397](https://github.com/StoneCypher/jssm/commit/0c34b68d5a5d6666895965e5f8b4b9a9dadfe397)
123
118
 
124
119
  Author: `John Haugeland <stonecypher@gmail.com>`
125
120
 
126
- * Nicely tied up, basic set_hook posthooks, all simply tested
121
+ * added cloc, turned to disk, made a cute little reporter, fixes StoneCypher/fsl#985
127
122
 
128
123
 
129
124
 
@@ -132,13 +127,18 @@ Author: `John Haugeland <stonecypher@gmail.com>`
132
127
 
133
128
  &nbsp;
134
129
 
135
- ## [Untagged] - 7/1/2022 4:56:32 PM
130
+ <a name="5__74__0" />
136
131
 
137
- Commit [99847f8ef8c60b521c6d3e979bcf07dd60125a56](https://github.com/StoneCypher/jssm/commit/99847f8ef8c60b521c6d3e979bcf07dd60125a56)
132
+ ## [5.74.0] - 7/2/2022 11:38:27 AM
133
+
134
+ Commit [3940ac2b520c843153af11b2c67b0e8915ede619](https://github.com/StoneCypher/jssm/commit/3940ac2b520c843153af11b2c67b0e8915ede619)
138
135
 
139
136
  Author: `John Haugeland <stonecypher@gmail.com>`
140
137
 
141
- * Post global action hook, fixes StoneCypher/fsl#905; post any action hook, fixes StoneCypher/fsl#906
138
+ Merges [89b9c2c, 9543655]
139
+
140
+ * Merge pull request #505 from StoneCypher/PostHooks
141
+ * Post hooks Fixes StoneCypher/fsl#897, StoneCypher/fsl#898, StoneCypher/fsl#899, StoneCypher/fsl#900, StoneCypher/fsl#901, StoneCypher/fsl#902, StoneCypher/fsl#903, StoneCypher/fsl#904, StoneCypher/fsl#905, StoneCypher/fsl#906, StoneCypher/fsl#959, StoneCypher/fsl#960, StoneCypher/fsl#961, StoneCypher/fsl#962, StoneCypher/fsl#963, StoneCypher/fsl#964, StoneCypher/fsl#965, StoneCypher/fsl#966, StoneCypher/fsl#967, StoneCypher/fsl#968, StoneCypher/fsl#969, StoneCypher/fsl#970, StoneCypher/fsl#971, StoneCypher/fsl#972, StoneCypher/fsl#973, StoneCypher/fsl#974, StoneCypher/fsl#976, StoneCypher/fsl#975, StoneCypher/fsl#977
142
142
 
143
143
 
144
144
 
@@ -147,13 +147,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
147
147
 
148
148
  &nbsp;
149
149
 
150
- ## [Untagged] - 7/1/2022 4:03:56 PM
150
+ ## [Untagged] - 7/2/2022 11:35:19 AM
151
151
 
152
- Commit [e5bfa2acf8edefe9322bd17540307ffb1f9eeb4d](https://github.com/StoneCypher/jssm/commit/e5bfa2acf8edefe9322bd17540307ffb1f9eeb4d)
152
+ Commit [95436551d075df2f4bb2c4baea55d9f1132e90a6](https://github.com/StoneCypher/jssm/commit/95436551d075df2f4bb2c4baea55d9f1132e90a6)
153
153
 
154
154
  Author: `John Haugeland <stonecypher@gmail.com>`
155
155
 
156
- * Adds call points in set_hook for basic post-hooks, fixes #958
156
+ * Basic posthooks complete. Fixes StoneCypher/fsl#897, StoneCypher/fsl#898, StoneCypher/fsl#899, StoneCypher/fsl#900, StoneCypher/fsl#901, StoneCypher/fsl#902, StoneCypher/fsl#903, StoneCypher/fsl#904, StoneCypher/fsl#905, StoneCypher/fsl#906, StoneCypher/fsl#959, StoneCypher/fsl#960, StoneCypher/fsl#961, StoneCypher/fsl#962, StoneCypher/fsl#963, StoneCypher/fsl#964, StoneCypher/fsl#965, StoneCypher/fsl#966, StoneCypher/fsl#967, StoneCypher/fsl#968, StoneCypher/fsl#969, StoneCypher/fsl#970, StoneCypher/fsl#971, StoneCypher/fsl#972, StoneCypher/fsl#973, StoneCypher/fsl#974, StoneCypher/fsl#976, StoneCypher/fsl#975, StoneCypher/fsl#977
157
157
 
158
158
 
159
159
 
@@ -162,10 +162,10 @@ Author: `John Haugeland <stonecypher@gmail.com>`
162
162
 
163
163
  &nbsp;
164
164
 
165
- ## [Untagged] - 6/30/2022 6:03:58 PM
165
+ ## [Untagged] - 7/2/2022 11:04:51 AM
166
166
 
167
- Commit [bb3c0014580c940b1294e19e64ac432c44bb7081](https://github.com/StoneCypher/jssm/commit/bb3c0014580c940b1294e19e64ac432c44bb7081)
167
+ Commit [0222ce4624e1463b875bbb68292a39b438f267a3](https://github.com/StoneCypher/jssm/commit/0222ce4624e1463b875bbb68292a39b438f267a3)
168
168
 
169
169
  Author: `John Haugeland <stonecypher@gmail.com>`
170
170
 
171
- * Adds posthook path; fixes StoneCypher/fsl#956. Clones datastructures; fixes StoneCypher/fsl#957.
171
+ * Nicely tied up, basic set_hook posthooks, all simply tested
package/README.md CHANGED
@@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
18
18
 
19
19
 
20
20
 
21
- * Generated for version 5.75.0 at 7/3/2022, 11:40:44 AM
21
+ * Generated for version 5.75.1 at 7/3/2022, 1:24:04 PM
22
22
 
23
23
  -->
24
24
  # jssm
@@ -27,10 +27,10 @@ Easy. Small. Fast. TS, es6, es5. Node, Browser. 100% coverage. Property
27
27
  tests. Fuzz tests. Language tests for a dozen languages and emoji. Easy to
28
28
  share online. Easy to embed.
29
29
 
30
- ***4,655 tests*** run 5,546 times. 4,646 specs with 100.0% coverage, 9 fuzz tests with 5.3% coverage.
31
-
32
30
  Readable, useful state machines as one-liner strings.
33
31
 
32
+ ***4,655 tests*** run 5,546 times. 4,646 specs with 100.0% coverage, 9 fuzz tests with 5.3% coverage. With 1,712 lines, that's about 2.7 tests per line, or 3.2 generated tests per line.
33
+
34
34
  ***Meet your new state machine library.***
35
35
 
36
36
  # <a href="https://stonecypher.github.io/jssm-viz-demo/graph_explorer.html" target="_blank" rel="noopener noreferrer">TRY THE LIVE EDITOR</a>
@@ -1,15 +1,15 @@
1
1
  declare type StateType = string;
2
2
  declare type JssmSuccess = {
3
3
  success: true;
4
- };
4
+ }; /** Composite type indicating success as part of a result */
5
5
  declare type JssmFailure = {
6
6
  success: false;
7
7
  error: any;
8
- };
8
+ }; /** Composite type indicating an error, and why, as part of a result */
9
9
  declare type JssmIncomplete = {
10
10
  success: 'incomplete';
11
- };
12
- declare type JssmResult = JssmSuccess | JssmFailure | JssmIncomplete;
11
+ }; /** Composite type indicating that a result isn't finished */
12
+ declare type JssmResult = JssmSuccess | JssmFailure | JssmIncomplete; /** Composite type composing whether or not a result was successful */
13
13
  declare type JssmColor = string;
14
14
  declare type JssmPermitted = 'required' | 'disallowed';
15
15
  declare type JssmPermittedOpt = 'required' | 'disallowed' | 'optional';
@@ -252,6 +252,9 @@ declare type HookComplexResult<mDT> = {
252
252
  state?: StateType;
253
253
  data?: mDT;
254
254
  };
255
+ /********
256
+ * Documents whether a hook succeeded, either with a primitive or a reference to the hook complex object
257
+ */
255
258
  declare type HookResult<mDT> = true | false | undefined | void | HookComplexResult<mDT>;
256
259
  declare type HookContext<mDT> = {
257
260
  data: mDT;
@@ -1,2 +1,2 @@
1
- const version = "5.75.0";
1
+ const version = "5.75.1";
2
2
  export { version };