jssm 5.76.0 → 5.77.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 +44 -42
- package/README.md +2 -2
- package/dist/es6/jssm.d.ts +42 -2
- package/dist/es6/jssm.js +46 -2
- 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.d.ts +42 -2
- package/package.json +2 -2
- package/rollup.config.deno.js +45 -0
- package/typedoc-options.js +1 -1
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
|
+
963 merges; 129 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file.
|
|
|
12
12
|
|
|
13
13
|
Published tags:
|
|
14
14
|
|
|
15
|
-
<a href="#5__75__1">5.75.1</a>, <a href="#5__75__0">5.75.0</a>, <a href="#5__74__0">5.74.0</a>, <a href="#5__73__1">5.73.1</a>, <a href="#5__73__0">5.73.0</a>, <a href="#5__72__5">5.72.5</a>, <a href="#5__72__4">5.72.4</a>, <a href="#5__72__3">5.72.3</a>, <a href="#5__72__2">5.72.2</a>, <a href="#5__72__1">5.72.1</a>, <a href="#5__72__0">5.72.0</a>, <a href="#5__71__1">5.71.1</a>, <a href="#5__71__0">5.71.0</a>, <a href="#5__70__36">5.70.36</a>, <a href="#5__70__35">5.70.35</a>, <a href="#5__70__34">5.70.34</a>, <a href="#5__70__33">5.70.33</a>, <a href="#5__70__32">5.70.32</a>, <a href="#5__70__31">5.70.31</a>, <a href="#5__70__30">5.70.30</a>, <a href="#5__70__29">5.70.29</a>, <a href="#5__70__28">5.70.28</a>, <a href="#5__70__27">5.70.27</a>, <a href="#5__70__26">5.70.26</a>, <a href="#5__70__25">5.70.25</a>, <a href="#5__70__24">5.70.24</a>, <a href="#5__70__23">5.70.23</a>, <a href="#5__70__22">5.70.22</a>, <a href="#5__70__21">5.70.21</a>, <a href="#5__70__20">5.70.20</a>, <a href="#5__70__19">5.70.19</a>, <a href="#5__70__18">5.70.18</a>, <a href="#5__70__16">5.70.16</a>, <a href="#5__70__15">5.70.15</a>, <a href="#5__70__14">5.70.14</a>, <a href="#5__70__13">5.70.13</a>, <a href="#5__70__12">5.70.12</a>, <a href="#5__70__11">5.70.11</a>, <a href="#5__70__10">5.70.10</a>, <a href="#5__70__9">5.70.9</a>, <a href="#5__70__8">5.70.8</a>, <a href="#5__70__7">5.70.7</a>, <a href="#5__70__6">5.70.6</a>, <a href="#5__70__5">5.70.5</a>, <a href="#5__70__4">5.70.4</a>, <a href="#5__70__3">5.70.3</a>, <a href="#5__70__2">5.70.2</a>, <a href="#5__70__1">5.70.1</a>, <a href="#5__70__0">5.70.0</a>, <a href="#5__69__4">5.69.4</a>, <a href="#5__69__3">5.69.3</a>, <a href="#5__69__2">5.69.2</a>, <a href="#5__69__0">5.69.0</a>, <a href="#5__68__0">5.68.0</a>, <a href="#5__67__2">5.67.2</a>, <a href="#5__67__0">5.67.0</a>, <a href="#5__66__0">5.66.0</a>, <a href="#5__65__14">5.65.14</a>, <a href="#5__65__12">5.65.12</a>, <a href="#5__65__11">5.65.11</a>, <a href="#5__65__10">5.65.10</a>, <a href="#5__65__9">5.65.9</a>, <a href="#5__65__8">5.65.8</a>, <a href="#5__65__7">5.65.7</a>, <a href="#5__65__5">5.65.5</a>, <a href="#5__65__4">5.65.4</a>, <a href="#5__65__3">5.65.3</a>, <a href="#5__65__2">5.65.2</a>, <a href="#5__65__1">5.65.1</a>, <a href="#5__65__0">5.65.0</a>, <a href="#5__64__2">5.64.2</a>, <a href="#5__64__1">5.64.1</a>, <a href="#5__64__0">5.64.0</a>, <a href="#5__63__0">5.63.0</a>, <a href="#5__62__0">5.62.0</a>, <a href="#5__61__4">5.61.4</a>, <a href="#5__61__3">5.61.3</a>, <a href="#5__61__2">5.61.2</a>, <a href="#5__61__1">5.61.1</a>, <a href="#5__60__4">5.60.4</a>, <a href="#5__60__3">5.60.3</a>, <a href="#5__60__0">5.60.0</a>, <a href="#5__59__1">5.59.1</a>, <a href="#5__59__0">5.59.0</a>, <a href="#5__58__1">5.58.1</a>, <a href="#5__58__0">5.58.0</a>, <a href="#5__57__1">5.57.1</a>, <a href="#5__57__0">5.57.0</a>, <a href="#5__56__2">5.56.2</a>, <a href="#5__56__1">5.56.1</a>, <a href="#5__55__0">5.55.0</a>, <a href="#5__54__0">5.54.0</a>, <a href="#5__53__0">5.53.0</a>, <a href="#5__52__0">5.52.0</a>, <a href="#5__51__0">5.51.0</a>, <a href="#5__50__0">5.50.0</a>, <a href="#5__49__0">5.49.0</a>, <a href="#5__48__0">5.48.0</a>, <a href="#5__47__0">5.47.0</a>, <a href="#5__46__0">5.46.0</a>, <a href="#5__45__2">5.45.2</a>, <a href="#5__45__0">5.45.0</a>, <a href="#5__44__0">5.44.0</a>, <a href="#5__43__2">5.43.2</a>, <a href="#v5__42__0">v5.42.0</a>, <a href="#5__42__0">5.42.0</a>, <a href="#v5__41__15">v5.41.15</a>, <a href="#5__41__15">5.41.15</a>, <a href="#v5__41__14">v5.41.14</a>, <a href="#5__41__14">5.41.14</a>, <a href="#v5__41__12">v5.41.12</a>, <a href="#5__41__12">5.41.12</a>, <a href="#v5__41__10">v5.41.10</a>, <a href="#5__41__10">5.41.10</a>, <a href="#v5__41__9">v5.41.9</a>, <a href="#5__41__9">5.41.9</a>, <a href="#v5__41__8">v5.41.8</a>, <a href="#5__41__8">5.41.8</a>, <a href="#v5__41__7">v5.41.7</a>, <a href="#v5__41__2">v5.41.2</a>, <a href="#v5__41__1">v5.41.1</a>, <a href="#v5__32__14">v5.32.14</a>, <a href="#5__14__0">5.14.0</a>, <a href="#5__12__0">5.12.0</a>, <a href="#5__11__12">5.11.12</a>, <a href="#5__11__1">5.11.1</a>, <a href="#5__11__0">5.11.0</a>
|
|
15
|
+
<a href="#5__76__2">5.76.2</a>, <a href="#5__76__0">5.76.0</a>, <a href="#5__75__1">5.75.1</a>, <a href="#5__75__0">5.75.0</a>, <a href="#5__74__0">5.74.0</a>, <a href="#5__73__1">5.73.1</a>, <a href="#5__73__0">5.73.0</a>, <a href="#5__72__5">5.72.5</a>, <a href="#5__72__4">5.72.4</a>, <a href="#5__72__3">5.72.3</a>, <a href="#5__72__2">5.72.2</a>, <a href="#5__72__1">5.72.1</a>, <a href="#5__72__0">5.72.0</a>, <a href="#5__71__1">5.71.1</a>, <a href="#5__71__0">5.71.0</a>, <a href="#5__70__36">5.70.36</a>, <a href="#5__70__35">5.70.35</a>, <a href="#5__70__34">5.70.34</a>, <a href="#5__70__33">5.70.33</a>, <a href="#5__70__32">5.70.32</a>, <a href="#5__70__31">5.70.31</a>, <a href="#5__70__30">5.70.30</a>, <a href="#5__70__29">5.70.29</a>, <a href="#5__70__28">5.70.28</a>, <a href="#5__70__27">5.70.27</a>, <a href="#5__70__26">5.70.26</a>, <a href="#5__70__25">5.70.25</a>, <a href="#5__70__24">5.70.24</a>, <a href="#5__70__23">5.70.23</a>, <a href="#5__70__22">5.70.22</a>, <a href="#5__70__21">5.70.21</a>, <a href="#5__70__20">5.70.20</a>, <a href="#5__70__19">5.70.19</a>, <a href="#5__70__18">5.70.18</a>, <a href="#5__70__16">5.70.16</a>, <a href="#5__70__15">5.70.15</a>, <a href="#5__70__14">5.70.14</a>, <a href="#5__70__13">5.70.13</a>, <a href="#5__70__12">5.70.12</a>, <a href="#5__70__11">5.70.11</a>, <a href="#5__70__10">5.70.10</a>, <a href="#5__70__9">5.70.9</a>, <a href="#5__70__8">5.70.8</a>, <a href="#5__70__7">5.70.7</a>, <a href="#5__70__6">5.70.6</a>, <a href="#5__70__5">5.70.5</a>, <a href="#5__70__4">5.70.4</a>, <a href="#5__70__3">5.70.3</a>, <a href="#5__70__2">5.70.2</a>, <a href="#5__70__1">5.70.1</a>, <a href="#5__70__0">5.70.0</a>, <a href="#5__69__4">5.69.4</a>, <a href="#5__69__3">5.69.3</a>, <a href="#5__69__2">5.69.2</a>, <a href="#5__69__0">5.69.0</a>, <a href="#5__68__0">5.68.0</a>, <a href="#5__67__2">5.67.2</a>, <a href="#5__67__0">5.67.0</a>, <a href="#5__66__0">5.66.0</a>, <a href="#5__65__14">5.65.14</a>, <a href="#5__65__12">5.65.12</a>, <a href="#5__65__11">5.65.11</a>, <a href="#5__65__10">5.65.10</a>, <a href="#5__65__9">5.65.9</a>, <a href="#5__65__8">5.65.8</a>, <a href="#5__65__7">5.65.7</a>, <a href="#5__65__5">5.65.5</a>, <a href="#5__65__4">5.65.4</a>, <a href="#5__65__3">5.65.3</a>, <a href="#5__65__2">5.65.2</a>, <a href="#5__65__1">5.65.1</a>, <a href="#5__65__0">5.65.0</a>, <a href="#5__64__2">5.64.2</a>, <a href="#5__64__1">5.64.1</a>, <a href="#5__64__0">5.64.0</a>, <a href="#5__63__0">5.63.0</a>, <a href="#5__62__0">5.62.0</a>, <a href="#5__61__4">5.61.4</a>, <a href="#5__61__3">5.61.3</a>, <a href="#5__61__2">5.61.2</a>, <a href="#5__61__1">5.61.1</a>, <a href="#5__60__4">5.60.4</a>, <a href="#5__60__3">5.60.3</a>, <a href="#5__60__0">5.60.0</a>, <a href="#5__59__1">5.59.1</a>, <a href="#5__59__0">5.59.0</a>, <a href="#5__58__1">5.58.1</a>, <a href="#5__58__0">5.58.0</a>, <a href="#5__57__1">5.57.1</a>, <a href="#5__57__0">5.57.0</a>, <a href="#5__56__2">5.56.2</a>, <a href="#5__56__1">5.56.1</a>, <a href="#5__55__0">5.55.0</a>, <a href="#5__54__0">5.54.0</a>, <a href="#5__53__0">5.53.0</a>, <a href="#5__52__0">5.52.0</a>, <a href="#5__51__0">5.51.0</a>, <a href="#5__50__0">5.50.0</a>, <a href="#5__49__0">5.49.0</a>, <a href="#5__48__0">5.48.0</a>, <a href="#5__47__0">5.47.0</a>, <a href="#5__46__0">5.46.0</a>, <a href="#5__45__2">5.45.2</a>, <a href="#5__45__0">5.45.0</a>, <a href="#5__44__0">5.44.0</a>, <a href="#5__43__2">5.43.2</a>, <a href="#v5__42__0">v5.42.0</a>, <a href="#5__42__0">5.42.0</a>, <a href="#v5__41__15">v5.41.15</a>, <a href="#5__41__15">5.41.15</a>, <a href="#v5__41__14">v5.41.14</a>, <a href="#5__41__14">5.41.14</a>, <a href="#v5__41__12">v5.41.12</a>, <a href="#5__41__12">5.41.12</a>, <a href="#v5__41__10">v5.41.10</a>, <a href="#5__41__10">5.41.10</a>, <a href="#v5__41__9">v5.41.9</a>, <a href="#5__41__9">5.41.9</a>, <a href="#v5__41__8">v5.41.8</a>, <a href="#5__41__8">5.41.8</a>, <a href="#v5__41__7">v5.41.7</a>, <a href="#v5__41__2">v5.41.2</a>, <a href="#v5__41__1">v5.41.1</a>, <a href="#v5__32__14">v5.32.14</a>, <a href="#5__14__0">5.14.0</a>, <a href="#5__12__0">5.12.0</a>, <a href="#5__11__12">5.11.12</a>, <a href="#5__11__1">5.11.1</a>, <a href="#5__11__0">5.11.0</a>
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -22,13 +22,13 @@ Published tags:
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
## [Untagged] - 7/
|
|
25
|
+
## [Untagged] - 7/7/2022 10:11:44 PM
|
|
26
26
|
|
|
27
|
-
Commit [
|
|
27
|
+
Commit [2c633a61b2ee0f13583ddc85923596f6b473abe6](https://github.com/StoneCypher/jssm/commit/2c633a61b2ee0f13583ddc85923596f6b473abe6)
|
|
28
28
|
|
|
29
29
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
30
30
|
|
|
31
|
-
*
|
|
31
|
+
* Define go/1 to be a synonym for transition/1, fixes StoneCypher/fsl#810
|
|
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/
|
|
40
|
+
## [Untagged] - 7/7/2022 12:29:56 PM
|
|
41
41
|
|
|
42
|
-
Commit [
|
|
42
|
+
Commit [d29b22488e10f3ee798b7ecb23598654fe987fb8](https://github.com/StoneCypher/jssm/commit/d29b22488e10f3ee798b7ecb23598654fe987fb8)
|
|
43
43
|
|
|
44
44
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
45
45
|
|
|
46
|
-
*
|
|
46
|
+
* it seems the bundling error I was facing when Discord insisted I just didn't get it might be a bug in deno
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -52,33 +52,33 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
<a name="5__76__2" />
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
## [5.76.2] - 7/6/2022 8:27:33 AM
|
|
58
|
+
|
|
59
|
+
Commit [d1b55ae8944031677c228f06eec6a5a28eb695ac](https://github.com/StoneCypher/jssm/commit/d1b55ae8944031677c228f06eec6a5a28eb695ac)
|
|
58
60
|
|
|
59
61
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
60
62
|
|
|
61
|
-
|
|
63
|
+
Merges [813d866, 40677c7]
|
|
62
64
|
|
|
65
|
+
* Merge pull request #510 from StoneCypher/BumpCloc
|
|
66
|
+
* Bump CLOC, fixes StoneCypher/fsl#995
|
|
63
67
|
|
|
64
68
|
|
|
65
69
|
|
|
66
|
-
|
|
67
70
|
|
|
68
71
|
|
|
69
72
|
|
|
70
|
-
|
|
73
|
+
|
|
71
74
|
|
|
72
|
-
## [
|
|
75
|
+
## [Untagged] - 7/5/2022 1:24:10 PM
|
|
73
76
|
|
|
74
|
-
Commit [
|
|
77
|
+
Commit [40677c744241e590d901c317cdcc0046833a5257](https://github.com/StoneCypher/jssm/commit/40677c744241e590d901c317cdcc0046833a5257)
|
|
75
78
|
|
|
76
79
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
77
80
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
* Merge pull request #507 from StoneCypher/PutClocMetricsInReadme
|
|
81
|
-
* Cleanup stuff; suppress warnings about non-exported types, fixes StoneCypher/fsl#988
|
|
81
|
+
* Uh, you have to git add to git commit, dummy
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
|
|
@@ -87,33 +87,30 @@ Merges [cb76475, f084d51]
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
## [Untagged] - 7/
|
|
90
|
+
## [Untagged] - 7/5/2022 1:04:10 PM
|
|
91
91
|
|
|
92
|
-
Commit [
|
|
92
|
+
Commit [58e88fec3f6412cadfc762f646ed50f6bc10eac6](https://github.com/StoneCypher/jssm/commit/58e88fec3f6412cadfc762f646ed50f6bc10eac6)
|
|
93
93
|
|
|
94
94
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
Merges [1cc0629, 0cc8f7b]
|
|
97
97
|
|
|
98
|
+
* WIP on IntroducingTheKitchenSinkDragon: 1cc0629 Sequester the stoch tests until they're more complete
|
|
98
99
|
|
|
99
100
|
|
|
100
101
|
|
|
101
|
-
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
|
|
106
106
|
|
|
107
|
-
## [
|
|
107
|
+
## [Untagged] - 7/5/2022 1:04:10 PM
|
|
108
108
|
|
|
109
|
-
Commit [
|
|
109
|
+
Commit [0cc8f7bad92e4327128237bc9600cedd2e7cbb94](https://github.com/StoneCypher/jssm/commit/0cc8f7bad92e4327128237bc9600cedd2e7cbb94)
|
|
110
110
|
|
|
111
111
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
* Merge pull request #506 from StoneCypher/PutClocMetricsInReadme
|
|
116
|
-
* Put cloc metrics in readme
|
|
113
|
+
* index on IntroducingTheKitchenSinkDragon: 1cc0629 Sequester the stoch tests until they're more complete
|
|
117
114
|
|
|
118
115
|
|
|
119
116
|
|
|
@@ -122,13 +119,18 @@ Merges [3940ac2, 840dcb9]
|
|
|
122
119
|
|
|
123
120
|
|
|
124
121
|
|
|
125
|
-
|
|
122
|
+
<a name="5__76__0" />
|
|
123
|
+
|
|
124
|
+
## [5.76.0] - 7/5/2022 1:02:57 PM
|
|
126
125
|
|
|
127
|
-
Commit [
|
|
126
|
+
Commit [813d8668300b88e72c0598ec9b5b19fce777d05e](https://github.com/StoneCypher/jssm/commit/813d8668300b88e72c0598ec9b5b19fce777d05e)
|
|
128
127
|
|
|
129
128
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
130
129
|
|
|
131
|
-
|
|
130
|
+
Merges [bdea503, 1cc0629]
|
|
131
|
+
|
|
132
|
+
* Merge pull request #509 from StoneCypher/IntroducingTheKitchenSinkDragon
|
|
133
|
+
* Introducing the kitchen sink dragon
|
|
132
134
|
|
|
133
135
|
|
|
134
136
|
|
|
@@ -137,13 +139,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
137
139
|
|
|
138
140
|
|
|
139
141
|
|
|
140
|
-
## [Untagged] - 7/
|
|
142
|
+
## [Untagged] - 7/5/2022 12:58:07 PM
|
|
141
143
|
|
|
142
|
-
Commit [
|
|
144
|
+
Commit [1cc0629fd1afa845b074c7f6dd2fa3ae16284429](https://github.com/StoneCypher/jssm/commit/1cc0629fd1afa845b074c7f6dd2fa3ae16284429)
|
|
143
145
|
|
|
144
146
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
145
147
|
|
|
146
|
-
*
|
|
148
|
+
* Sequester the stoch tests until they're more complete
|
|
147
149
|
|
|
148
150
|
|
|
149
151
|
|
|
@@ -152,13 +154,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
152
154
|
|
|
153
155
|
|
|
154
156
|
|
|
155
|
-
## [Untagged] - 7/
|
|
157
|
+
## [Untagged] - 7/5/2022 8:08:12 AM
|
|
156
158
|
|
|
157
|
-
Commit [
|
|
159
|
+
Commit [6ea28bad46da225e3593c294837d397234e0a84d](https://github.com/StoneCypher/jssm/commit/6ea28bad46da225e3593c294837d397234e0a84d)
|
|
158
160
|
|
|
159
161
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
160
162
|
|
|
161
|
-
*
|
|
163
|
+
* non-shrinkable proof of concept
|
|
162
164
|
|
|
163
165
|
|
|
164
166
|
|
|
@@ -167,10 +169,10 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
167
169
|
|
|
168
170
|
|
|
169
171
|
|
|
170
|
-
## [Untagged] - 7/
|
|
172
|
+
## [Untagged] - 7/4/2022 11:08:37 PM
|
|
171
173
|
|
|
172
|
-
Commit [
|
|
174
|
+
Commit [86706ce989f8651b79f58dce6cf2511f43fa0629](https://github.com/StoneCypher/jssm/commit/86706ce989f8651b79f58dce6cf2511f43fa0629)
|
|
173
175
|
|
|
174
176
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
175
177
|
|
|
176
|
-
*
|
|
178
|
+
* First draft of the KSD already caught a bug, removes equals from followup atom characters, fixes StoneCypher/fsl#993
|
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.
|
|
21
|
+
* Generated for version 5.77.1 at 7/7/2022, 10:15:01 PM
|
|
22
22
|
|
|
23
23
|
-->
|
|
24
24
|
# jssm
|
|
@@ -29,7 +29,7 @@ share online. Easy to embed.
|
|
|
29
29
|
|
|
30
30
|
Readable, useful state machines as one-liner strings.
|
|
31
31
|
|
|
32
|
-
***4,
|
|
32
|
+
***4,666 tests*** run 5,557 times. 4,657 specs with 100.0% coverage, 9 fuzz tests with 5.4% coverage. With 1,728 lines, that's about 2.7 tests per line, or 3.2 generated tests per line.
|
|
33
33
|
|
|
34
34
|
***Meet your new state machine library.***
|
|
35
35
|
|
package/dist/es6/jssm.d.ts
CHANGED
|
@@ -665,7 +665,7 @@ declare class Machine<mDT> {
|
|
|
665
665
|
set history_length(to: number);
|
|
666
666
|
/********
|
|
667
667
|
*
|
|
668
|
-
* Instruct the machine to complete an action.
|
|
668
|
+
* Instruct the machine to complete an action. Synonym for {@link do}.
|
|
669
669
|
*
|
|
670
670
|
* ```typescript
|
|
671
671
|
* const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;
|
|
@@ -685,7 +685,27 @@ declare class Machine<mDT> {
|
|
|
685
685
|
action(actionName: StateType, newData?: mDT): boolean;
|
|
686
686
|
/********
|
|
687
687
|
*
|
|
688
|
-
* Instruct the machine to complete
|
|
688
|
+
* Instruct the machine to complete an action. Synonym for {@link action}.
|
|
689
|
+
*
|
|
690
|
+
* ```typescript
|
|
691
|
+
* const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;
|
|
692
|
+
*
|
|
693
|
+
* light.state(); // 'red'
|
|
694
|
+
* light.do('next'); // true
|
|
695
|
+
* light.state(); // 'green'
|
|
696
|
+
* ```
|
|
697
|
+
*
|
|
698
|
+
* @typeparam mDT The type of the machine data member; usually omitted
|
|
699
|
+
*
|
|
700
|
+
* @param actionName The action to engage
|
|
701
|
+
*
|
|
702
|
+
* @param newData The data change to insert during the action
|
|
703
|
+
*
|
|
704
|
+
*/
|
|
705
|
+
do(actionName: StateType, newData?: mDT): boolean;
|
|
706
|
+
/********
|
|
707
|
+
*
|
|
708
|
+
* Instruct the machine to complete a transition. Synonym for {@link go}.
|
|
689
709
|
*
|
|
690
710
|
* ```typescript
|
|
691
711
|
* const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;
|
|
@@ -703,6 +723,26 @@ declare class Machine<mDT> {
|
|
|
703
723
|
*
|
|
704
724
|
*/
|
|
705
725
|
transition(newState: StateType, newData?: mDT): boolean;
|
|
726
|
+
/********
|
|
727
|
+
*
|
|
728
|
+
* Instruct the machine to complete a transition. Synonym for {@link transition}.
|
|
729
|
+
*
|
|
730
|
+
* ```typescript
|
|
731
|
+
* const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;
|
|
732
|
+
*
|
|
733
|
+
* light.state(); // 'red'
|
|
734
|
+
* light.go('green'); // true
|
|
735
|
+
* light.state(); // 'green'
|
|
736
|
+
* ```
|
|
737
|
+
*
|
|
738
|
+
* @typeparam mDT The type of the machine data member; usually omitted
|
|
739
|
+
*
|
|
740
|
+
* @param newState The state to switch to
|
|
741
|
+
*
|
|
742
|
+
* @param newData The data change to insert during the transition
|
|
743
|
+
*
|
|
744
|
+
*/
|
|
745
|
+
go(newState: StateType, newData?: mDT): boolean;
|
|
706
746
|
/********
|
|
707
747
|
*
|
|
708
748
|
* Instruct the machine to complete a forced transition (which will reject if
|
package/dist/es6/jssm.js
CHANGED
|
@@ -1724,7 +1724,7 @@ class Machine {
|
|
|
1724
1724
|
}
|
|
1725
1725
|
/********
|
|
1726
1726
|
*
|
|
1727
|
-
* Instruct the machine to complete an action.
|
|
1727
|
+
* Instruct the machine to complete an action. Synonym for {@link do}.
|
|
1728
1728
|
*
|
|
1729
1729
|
* ```typescript
|
|
1730
1730
|
* const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;
|
|
@@ -1746,7 +1746,29 @@ class Machine {
|
|
|
1746
1746
|
}
|
|
1747
1747
|
/********
|
|
1748
1748
|
*
|
|
1749
|
-
* Instruct the machine to complete
|
|
1749
|
+
* Instruct the machine to complete an action. Synonym for {@link action}.
|
|
1750
|
+
*
|
|
1751
|
+
* ```typescript
|
|
1752
|
+
* const light = sm`red 'next' -> green 'next' -> yellow 'next' -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;
|
|
1753
|
+
*
|
|
1754
|
+
* light.state(); // 'red'
|
|
1755
|
+
* light.do('next'); // true
|
|
1756
|
+
* light.state(); // 'green'
|
|
1757
|
+
* ```
|
|
1758
|
+
*
|
|
1759
|
+
* @typeparam mDT The type of the machine data member; usually omitted
|
|
1760
|
+
*
|
|
1761
|
+
* @param actionName The action to engage
|
|
1762
|
+
*
|
|
1763
|
+
* @param newData The data change to insert during the action
|
|
1764
|
+
*
|
|
1765
|
+
*/
|
|
1766
|
+
do(actionName, newData) {
|
|
1767
|
+
return this.transition_impl(actionName, newData, false, true);
|
|
1768
|
+
}
|
|
1769
|
+
/********
|
|
1770
|
+
*
|
|
1771
|
+
* Instruct the machine to complete a transition. Synonym for {@link go}.
|
|
1750
1772
|
*
|
|
1751
1773
|
* ```typescript
|
|
1752
1774
|
* const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;
|
|
@@ -1766,6 +1788,28 @@ class Machine {
|
|
|
1766
1788
|
transition(newState, newData) {
|
|
1767
1789
|
return this.transition_impl(newState, newData, false, false);
|
|
1768
1790
|
}
|
|
1791
|
+
/********
|
|
1792
|
+
*
|
|
1793
|
+
* Instruct the machine to complete a transition. Synonym for {@link transition}.
|
|
1794
|
+
*
|
|
1795
|
+
* ```typescript
|
|
1796
|
+
* const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;
|
|
1797
|
+
*
|
|
1798
|
+
* light.state(); // 'red'
|
|
1799
|
+
* light.go('green'); // true
|
|
1800
|
+
* light.state(); // 'green'
|
|
1801
|
+
* ```
|
|
1802
|
+
*
|
|
1803
|
+
* @typeparam mDT The type of the machine data member; usually omitted
|
|
1804
|
+
*
|
|
1805
|
+
* @param newState The state to switch to
|
|
1806
|
+
*
|
|
1807
|
+
* @param newData The data change to insert during the transition
|
|
1808
|
+
*
|
|
1809
|
+
*/
|
|
1810
|
+
go(newState, newData) {
|
|
1811
|
+
return this.transition_impl(newState, newData, false, false);
|
|
1812
|
+
}
|
|
1769
1813
|
/********
|
|
1770
1814
|
*
|
|
1771
1815
|
* Instruct the machine to complete a forced transition (which will reject if
|
package/dist/es6/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const version = "5.
|
|
1
|
+
const version = "5.77.1";
|
|
2
2
|
export { version };
|