jssm 5.77.1 → 5.78.0
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 +47 -42
- package/README.md +2 -2
- package/dist/es6/jssm.d.ts +14 -5
- package/dist/es6/jssm.js +28 -3
- package/dist/es6/jssm_types.d.ts +12 -1
- 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 +14 -5
- package/jssm_types.d.ts +12 -1
- package/package.json +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
|
+
967 merges; 131 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__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>
|
|
15
|
+
<a href="#5__77__1">5.77.1</a>, <a href="#5__77__0">5.77.0</a>, <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/9/2022 1:00:20 PM
|
|
26
26
|
|
|
27
|
-
Commit [
|
|
27
|
+
Commit [05c1f81f02406cb3211e3d2bd84eefb2da201b3e](https://github.com/StoneCypher/jssm/commit/05c1f81f02406cb3211e3d2bd84eefb2da201b3e)
|
|
28
28
|
|
|
29
29
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
30
30
|
|
|
31
|
-
*
|
|
31
|
+
* Spec underway
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -37,33 +37,33 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
<a name="5__77__1" />
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
## [5.77.1] - 7/7/2022 10:36:21 PM
|
|
43
|
+
|
|
44
|
+
Commit [6497ed49a6a7dbe55509ac552cc30adb9ee19c9c](https://github.com/StoneCypher/jssm/commit/6497ed49a6a7dbe55509ac552cc30adb9ee19c9c)
|
|
43
45
|
|
|
44
46
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
Merges [e9400bd, 4623580]
|
|
47
49
|
|
|
50
|
+
* Merge pull request #512 from StoneCypher/SynonymDoForAction
|
|
51
|
+
* Define do/1 to be a synonym for action/1, fixes StoneCypher/fsl#809
|
|
48
52
|
|
|
49
53
|
|
|
50
54
|
|
|
51
|
-
|
|
52
55
|
|
|
53
56
|
|
|
54
57
|
|
|
55
|
-
|
|
58
|
+
|
|
56
59
|
|
|
57
|
-
## [
|
|
60
|
+
## [Untagged] - 7/7/2022 10:18:20 PM
|
|
58
61
|
|
|
59
|
-
Commit [
|
|
62
|
+
Commit [462358017970f5d968d8309ba8ee96d74648ec03](https://github.com/StoneCypher/jssm/commit/462358017970f5d968d8309ba8ee96d74648ec03)
|
|
60
63
|
|
|
61
64
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
62
65
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
* Merge pull request #510 from StoneCypher/BumpCloc
|
|
66
|
-
* Bump CLOC, fixes StoneCypher/fsl#995
|
|
66
|
+
* Define do/1 to be a synonym for action/1, fixes StoneCypher/fsl#809
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
@@ -72,13 +72,18 @@ Merges [813d866, 40677c7]
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
<a name="5__77__0" />
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
## [5.77.0] - 7/7/2022 10:18:06 PM
|
|
78
|
+
|
|
79
|
+
Commit [e9400bd62c93201bcc34a002469e21910979cb2e](https://github.com/StoneCypher/jssm/commit/e9400bd62c93201bcc34a002469e21910979cb2e)
|
|
78
80
|
|
|
79
81
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
80
82
|
|
|
81
|
-
|
|
83
|
+
Merges [d1b55ae, 2c633a6]
|
|
84
|
+
|
|
85
|
+
* Merge pull request #511 from StoneCypher/SynonymGoForTransition
|
|
86
|
+
* Define go/1 to be a synonym for transition/1, fixes StoneCypher/fsl#810
|
|
82
87
|
|
|
83
88
|
|
|
84
89
|
|
|
@@ -87,15 +92,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
87
92
|
|
|
88
93
|
|
|
89
94
|
|
|
90
|
-
## [Untagged] - 7/
|
|
95
|
+
## [Untagged] - 7/7/2022 10:11:44 PM
|
|
91
96
|
|
|
92
|
-
Commit [
|
|
97
|
+
Commit [2c633a61b2ee0f13583ddc85923596f6b473abe6](https://github.com/StoneCypher/jssm/commit/2c633a61b2ee0f13583ddc85923596f6b473abe6)
|
|
93
98
|
|
|
94
99
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
95
100
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
* WIP on IntroducingTheKitchenSinkDragon: 1cc0629 Sequester the stoch tests until they're more complete
|
|
101
|
+
* Define go/1 to be a synonym for transition/1, fixes StoneCypher/fsl#810
|
|
99
102
|
|
|
100
103
|
|
|
101
104
|
|
|
@@ -104,13 +107,13 @@ Merges [1cc0629, 0cc8f7b]
|
|
|
104
107
|
|
|
105
108
|
|
|
106
109
|
|
|
107
|
-
## [Untagged] - 7/
|
|
110
|
+
## [Untagged] - 7/7/2022 12:29:56 PM
|
|
108
111
|
|
|
109
|
-
Commit [
|
|
112
|
+
Commit [d29b22488e10f3ee798b7ecb23598654fe987fb8](https://github.com/StoneCypher/jssm/commit/d29b22488e10f3ee798b7ecb23598654fe987fb8)
|
|
110
113
|
|
|
111
114
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
112
115
|
|
|
113
|
-
*
|
|
116
|
+
* it seems the bundling error I was facing when Discord insisted I just didn't get it might be a bug in deno
|
|
114
117
|
|
|
115
118
|
|
|
116
119
|
|
|
@@ -119,18 +122,18 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
119
122
|
|
|
120
123
|
|
|
121
124
|
|
|
122
|
-
<a name="
|
|
125
|
+
<a name="5__76__2" />
|
|
123
126
|
|
|
124
|
-
## [5.76.
|
|
127
|
+
## [5.76.2] - 7/6/2022 8:27:33 AM
|
|
125
128
|
|
|
126
|
-
Commit [
|
|
129
|
+
Commit [d1b55ae8944031677c228f06eec6a5a28eb695ac](https://github.com/StoneCypher/jssm/commit/d1b55ae8944031677c228f06eec6a5a28eb695ac)
|
|
127
130
|
|
|
128
131
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
129
132
|
|
|
130
|
-
Merges [
|
|
133
|
+
Merges [813d866, 40677c7]
|
|
131
134
|
|
|
132
|
-
* Merge pull request #
|
|
133
|
-
*
|
|
135
|
+
* Merge pull request #510 from StoneCypher/BumpCloc
|
|
136
|
+
* Bump CLOC, fixes StoneCypher/fsl#995
|
|
134
137
|
|
|
135
138
|
|
|
136
139
|
|
|
@@ -139,13 +142,13 @@ Merges [bdea503, 1cc0629]
|
|
|
139
142
|
|
|
140
143
|
|
|
141
144
|
|
|
142
|
-
## [Untagged] - 7/5/2022
|
|
145
|
+
## [Untagged] - 7/5/2022 1:24:10 PM
|
|
143
146
|
|
|
144
|
-
Commit [
|
|
147
|
+
Commit [40677c744241e590d901c317cdcc0046833a5257](https://github.com/StoneCypher/jssm/commit/40677c744241e590d901c317cdcc0046833a5257)
|
|
145
148
|
|
|
146
149
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
147
150
|
|
|
148
|
-
*
|
|
151
|
+
* Uh, you have to git add to git commit, dummy
|
|
149
152
|
|
|
150
153
|
|
|
151
154
|
|
|
@@ -154,13 +157,15 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
154
157
|
|
|
155
158
|
|
|
156
159
|
|
|
157
|
-
## [Untagged] - 7/5/2022
|
|
160
|
+
## [Untagged] - 7/5/2022 1:04:10 PM
|
|
158
161
|
|
|
159
|
-
Commit [
|
|
162
|
+
Commit [58e88fec3f6412cadfc762f646ed50f6bc10eac6](https://github.com/StoneCypher/jssm/commit/58e88fec3f6412cadfc762f646ed50f6bc10eac6)
|
|
160
163
|
|
|
161
164
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
162
165
|
|
|
163
|
-
|
|
166
|
+
Merges [1cc0629, 0cc8f7b]
|
|
167
|
+
|
|
168
|
+
* WIP on IntroducingTheKitchenSinkDragon: 1cc0629 Sequester the stoch tests until they're more complete
|
|
164
169
|
|
|
165
170
|
|
|
166
171
|
|
|
@@ -169,10 +174,10 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
169
174
|
|
|
170
175
|
|
|
171
176
|
|
|
172
|
-
## [Untagged] - 7/
|
|
177
|
+
## [Untagged] - 7/5/2022 1:04:10 PM
|
|
173
178
|
|
|
174
|
-
Commit [
|
|
179
|
+
Commit [0cc8f7bad92e4327128237bc9600cedd2e7cbb94](https://github.com/StoneCypher/jssm/commit/0cc8f7bad92e4327128237bc9600cedd2e7cbb94)
|
|
175
180
|
|
|
176
181
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
177
182
|
|
|
178
|
-
*
|
|
183
|
+
* index on IntroducingTheKitchenSinkDragon: 1cc0629 Sequester the stoch tests until they're more complete
|
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.78.0 at 7/9/2022, 3:41:50 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,670 tests*** run 5,561 times. 4,661 specs with 100.0% coverage, 9 fuzz tests with 5.4% coverage. With 1,762 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
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
declare type StateType = string;
|
|
2
|
-
import { circular_buffer } from 'circular_buffer_js';
|
|
3
2
|
import { JssmGenericState, JssmGenericConfig, JssmTransition, JssmTransitionList, // JssmTransitionRule,
|
|
4
|
-
JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmArrow, JssmArrowDirection, JssmArrowKind, JssmLayout, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types';
|
|
3
|
+
JssmMachineInternalState, JssmParseTree, JssmStateDeclaration, JssmArrow, JssmArrowDirection, JssmArrowKind, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types';
|
|
5
4
|
import { seq, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm_util';
|
|
6
5
|
import { shapes, gviz_shapes, named_colors } from './jssm_constants';
|
|
7
6
|
import { version } from './version';
|
|
@@ -251,7 +250,7 @@ declare class Machine<mDT> {
|
|
|
251
250
|
_post_main_transition_hook: HookHandler<mDT> | undefined;
|
|
252
251
|
_post_forced_transition_hook: HookHandler<mDT> | undefined;
|
|
253
252
|
_post_any_transition_hook: HookHandler<mDT> | undefined;
|
|
254
|
-
_history:
|
|
253
|
+
_history: JssmHistory<mDT>;
|
|
255
254
|
_history_length: number;
|
|
256
255
|
constructor({ start_states, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, data }: JssmGenericConfig<mDT>);
|
|
257
256
|
/********
|
|
@@ -330,10 +329,19 @@ declare class Machine<mDT> {
|
|
|
330
329
|
* console.log( final_test.is_final() ); // true
|
|
331
330
|
* ```
|
|
332
331
|
*
|
|
332
|
+
*/
|
|
333
|
+
is_final(): boolean;
|
|
334
|
+
/********
|
|
335
|
+
*
|
|
336
|
+
* Serialize the current machine, including all defining state but not the
|
|
337
|
+
* machine string, to a structure. This means you will need the machine
|
|
338
|
+
* string to recreate (to not waste repeated space;) if you want the machine
|
|
339
|
+
* string embedded, call {@link serialize_with_string} instead.
|
|
340
|
+
*
|
|
333
341
|
* @typeparam mDT The type of the machine data member; usually omitted
|
|
334
342
|
*
|
|
335
343
|
*/
|
|
336
|
-
|
|
344
|
+
serialize(comment?: string | undefined): JssmSerialization<mDT>;
|
|
337
345
|
graph_layout(): string;
|
|
338
346
|
dot_preamble(): string;
|
|
339
347
|
machine_author(): Array<string>;
|
|
@@ -824,4 +832,5 @@ declare function from<mDT>(MachineAsString: string, ExtraConstructorFields?: Par
|
|
|
824
832
|
declare function is_hook_complex_result<mDT>(hr: unknown): hr is HookComplexResult<mDT>;
|
|
825
833
|
declare function is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean;
|
|
826
834
|
declare function abstract_hook_step<mDT>(maybe_hook: HookHandler<mDT> | undefined, hook_args: HookContext<mDT>): HookComplexResult<mDT>;
|
|
827
|
-
|
|
835
|
+
declare function deserialize<mDT>(machine_string: string, ser: JssmSerialization<mDT>): Machine<mDT>;
|
|
836
|
+
export { version, transfer_state_properties, Machine, deserialize, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind, seq, weighted_rand_select, histograph, weighted_sample_select, weighted_histo_key, shapes, gviz_shapes, named_colors, is_hook_rejection, is_hook_complex_result, abstract_hook_step };
|
package/dist/es6/jssm.js
CHANGED
|
@@ -800,13 +800,32 @@ class Machine {
|
|
|
800
800
|
* console.log( final_test.is_final() ); // true
|
|
801
801
|
* ```
|
|
802
802
|
*
|
|
803
|
-
* @typeparam mDT The type of the machine data member; usually omitted
|
|
804
|
-
*
|
|
805
803
|
*/
|
|
806
804
|
is_final() {
|
|
807
805
|
// return ((!this.is_changing()) && this.state_is_final(this.state()));
|
|
808
806
|
return this.state_is_final(this.state());
|
|
809
807
|
}
|
|
808
|
+
/********
|
|
809
|
+
*
|
|
810
|
+
* Serialize the current machine, including all defining state but not the
|
|
811
|
+
* machine string, to a structure. This means you will need the machine
|
|
812
|
+
* string to recreate (to not waste repeated space;) if you want the machine
|
|
813
|
+
* string embedded, call {@link serialize_with_string} instead.
|
|
814
|
+
*
|
|
815
|
+
* @typeparam mDT The type of the machine data member; usually omitted
|
|
816
|
+
*
|
|
817
|
+
*/
|
|
818
|
+
serialize(comment) {
|
|
819
|
+
return {
|
|
820
|
+
comment,
|
|
821
|
+
state: this._state,
|
|
822
|
+
data: this._data,
|
|
823
|
+
jssm_version: version,
|
|
824
|
+
history: this._history.toArray(),
|
|
825
|
+
history_capacity: this._history.capacity,
|
|
826
|
+
timestamp: new Date().getTime(),
|
|
827
|
+
};
|
|
828
|
+
}
|
|
810
829
|
graph_layout() {
|
|
811
830
|
return this._graph_layout;
|
|
812
831
|
}
|
|
@@ -1988,6 +2007,12 @@ function abstract_hook_step(maybe_hook, hook_args) {
|
|
|
1988
2007
|
return { pass: true };
|
|
1989
2008
|
}
|
|
1990
2009
|
}
|
|
1991
|
-
|
|
2010
|
+
function deserialize(machine_string, ser) {
|
|
2011
|
+
const machine = from(machine_string, { data: ser.data, history: ser.history_capacity });
|
|
2012
|
+
machine._state = ser.state;
|
|
2013
|
+
ser.history.forEach(history_item => machine._history.push(history_item));
|
|
2014
|
+
return machine;
|
|
2015
|
+
}
|
|
2016
|
+
export { version, transfer_state_properties, Machine, deserialize, make, wrap_parse as parse, compile, sm, from, arrow_direction, arrow_left_kind, arrow_right_kind,
|
|
1992
2017
|
// WHARGARBL TODO these should be exported to a utility library
|
|
1993
2018
|
seq, weighted_rand_select, histograph, weighted_sample_select, weighted_histo_key, shapes, gviz_shapes, named_colors, is_hook_rejection, is_hook_complex_result, abstract_hook_step };
|
package/dist/es6/jssm_types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { circular_buffer } from 'circular_buffer_js';
|
|
1
2
|
declare type StateType = string;
|
|
2
3
|
declare type JssmSuccess = {
|
|
3
4
|
success: true;
|
|
@@ -25,6 +26,15 @@ declare type JssmCorner = 'regular' | 'rounded' | 'lined';
|
|
|
25
26
|
declare type JssmLineStyle = 'solid' | 'dashed' | 'dotted';
|
|
26
27
|
declare type FslDirection = 'up' | 'right' | 'down' | 'left';
|
|
27
28
|
declare type FslTheme = 'default' | 'ocean' | 'modern' | 'none';
|
|
29
|
+
declare type JssmSerialization<DataType> = {
|
|
30
|
+
jssm_version: string;
|
|
31
|
+
timestamp: number;
|
|
32
|
+
comment?: string | undefined;
|
|
33
|
+
state: StateType;
|
|
34
|
+
history: [string, DataType][];
|
|
35
|
+
history_capacity: number;
|
|
36
|
+
data: DataType;
|
|
37
|
+
};
|
|
28
38
|
declare type JssmTransitionPermitter<DataType> = (OldState: StateType, NewState: StateType, OldData: DataType, NewData: DataType) => boolean;
|
|
29
39
|
declare type JssmTransitionPermitterMaybeArray<DataType> = JssmTransitionPermitter<DataType> | Array<JssmTransitionPermitter<DataType>>;
|
|
30
40
|
declare type JssmTransition<DataType> = {
|
|
@@ -264,4 +274,5 @@ declare type PostHookHandler<mDT> = (hook_context: HookContext<mDT>) => void;
|
|
|
264
274
|
declare type JssmErrorExtendedInfo = {
|
|
265
275
|
requested_state?: StateType | undefined;
|
|
266
276
|
};
|
|
267
|
-
|
|
277
|
+
declare type JssmHistory<mDT> = circular_buffer<[StateType, mDT]>;
|
|
278
|
+
export { JssmColor, JssmShape, JssmTransition, JssmTransitions, JssmTransitionList, JssmTransitionRule, JssmArrow, JssmArrowKind, JssmArrowDirection, JssmGenericConfig, JssmGenericState, JssmGenericMachine, JssmParseTree, JssmCompileSe, JssmCompileSeStart, JssmCompileRule, JssmPermitted, JssmPermittedOpt, JssmResult, JssmStateDeclaration, JssmStateDeclarationRule, JssmLayout, JssmHistory, JssmSerialization, JssmParseFunctionType, JssmMachineInternalState, JssmErrorExtendedInfo, FslDirection, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult };
|
package/dist/es6/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const version = "5.
|
|
1
|
+
const version = "5.78.0";
|
|
2
2
|
export { version };
|