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 +36 -36
- package/README.md +3 -3
- package/dist/es6/jssm_types.d.ts +7 -4
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jssm_types.d.ts +7 -4
- package/package.json +4 -3
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
|
-
|
|
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
|
|
25
|
+
## [Untagged] - 7/3/2022 11:42:38 AM
|
|
26
26
|
|
|
27
|
-
Commit [
|
|
27
|
+
Commit [840dcb95c04c49e04e92cd5564a09b18cd755ea4](https://github.com/StoneCypher/jssm/commit/840dcb95c04c49e04e92cd5564a09b18cd755ea4)
|
|
28
28
|
|
|
29
29
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
30
30
|
|
|
31
|
-
*
|
|
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
|
|
|
39
39
|
|
|
40
|
-
## [Untagged] - 7/3/2022
|
|
40
|
+
## [Untagged] - 7/3/2022 11:41:29 AM
|
|
41
41
|
|
|
42
|
-
Commit [
|
|
42
|
+
Commit [7bf27e64e929c449d613d461fd1de1ceee4e8183](https://github.com/StoneCypher/jssm/commit/7bf27e64e929c449d613d461fd1de1ceee4e8183)
|
|
43
43
|
|
|
44
44
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
45
45
|
|
|
46
|
-
*
|
|
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
|
|
|
54
54
|
|
|
55
|
-
## [Untagged] - 7/3/2022
|
|
55
|
+
## [Untagged] - 7/3/2022 11:41:18 AM
|
|
56
56
|
|
|
57
|
-
Commit [
|
|
57
|
+
Commit [bed41d9f0a3d18c7d7cfc4b28e96e92702b854eb](https://github.com/StoneCypher/jssm/commit/bed41d9f0a3d18c7d7cfc4b28e96e92702b854eb)
|
|
58
58
|
|
|
59
59
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
60
60
|
|
|
61
|
-
*
|
|
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
|
|
|
69
69
|
|
|
70
|
-
## [Untagged] - 7/3/2022 10:
|
|
70
|
+
## [Untagged] - 7/3/2022 10:40:28 AM
|
|
71
71
|
|
|
72
|
-
Commit [
|
|
72
|
+
Commit [2526a1be2684b58e56fa44d28090a756e330b495](https://github.com/StoneCypher/jssm/commit/2526a1be2684b58e56fa44d28090a756e330b495)
|
|
73
73
|
|
|
74
74
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
75
75
|
|
|
76
|
-
*
|
|
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
|
|
|
84
84
|
|
|
85
|
-
|
|
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 [
|
|
87
|
+
Commit [99ef3d9866ff6830528005c9196456e2b766dc09](https://github.com/StoneCypher/jssm/commit/99ef3d9866ff6830528005c9196456e2b766dc09)
|
|
90
88
|
|
|
91
89
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
92
90
|
|
|
93
|
-
|
|
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
|
|
|
104
99
|
|
|
105
|
-
## [Untagged] - 7/
|
|
100
|
+
## [Untagged] - 7/3/2022 10:08:02 AM
|
|
106
101
|
|
|
107
|
-
Commit [
|
|
102
|
+
Commit [986fd0dd50adcb739f54e4fa3712628c94004505](https://github.com/StoneCypher/jssm/commit/986fd0dd50adcb739f54e4fa3712628c94004505)
|
|
108
103
|
|
|
109
104
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
110
105
|
|
|
111
|
-
*
|
|
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
|
|
|
119
114
|
|
|
120
|
-
## [Untagged] - 7/
|
|
115
|
+
## [Untagged] - 7/3/2022 10:08:02 AM
|
|
121
116
|
|
|
122
|
-
Commit [
|
|
117
|
+
Commit [0c34b68d5a5d6666895965e5f8b4b9a9dadfe397](https://github.com/StoneCypher/jssm/commit/0c34b68d5a5d6666895965e5f8b4b9a9dadfe397)
|
|
123
118
|
|
|
124
119
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
125
120
|
|
|
126
|
-
*
|
|
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
|
|
|
134
129
|
|
|
135
|
-
|
|
130
|
+
<a name="5__74__0" />
|
|
136
131
|
|
|
137
|
-
|
|
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
|
-
|
|
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
|
|
|
149
149
|
|
|
150
|
-
## [Untagged] - 7/
|
|
150
|
+
## [Untagged] - 7/2/2022 11:35:19 AM
|
|
151
151
|
|
|
152
|
-
Commit [
|
|
152
|
+
Commit [95436551d075df2f4bb2c4baea55d9f1132e90a6](https://github.com/StoneCypher/jssm/commit/95436551d075df2f4bb2c4baea55d9f1132e90a6)
|
|
153
153
|
|
|
154
154
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
155
155
|
|
|
156
|
-
*
|
|
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
|
|
|
164
164
|
|
|
165
|
-
## [Untagged] -
|
|
165
|
+
## [Untagged] - 7/2/2022 11:04:51 AM
|
|
166
166
|
|
|
167
|
-
Commit [
|
|
167
|
+
Commit [0222ce4624e1463b875bbb68292a39b438f267a3](https://github.com/StoneCypher/jssm/commit/0222ce4624e1463b875bbb68292a39b438f267a3)
|
|
168
168
|
|
|
169
169
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
170
170
|
|
|
171
|
-
*
|
|
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.
|
|
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>
|
package/dist/es6/jssm_types.d.ts
CHANGED
|
@@ -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;
|
package/dist/es6/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const version = "5.75.
|
|
1
|
+
const version = "5.75.1";
|
|
2
2
|
export { version };
|