jssm 5.85.8 → 5.85.10
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 +56 -48
- package/README.md +2 -2
- package/dist/es6/jssm.d.ts +10 -131
- package/dist/es6/jssm.js +2 -367
- package/dist/es6/jssm_compiler.d.ts +135 -0
- package/dist/es6/jssm_compiler.js +363 -0
- package/dist/es6/jssm_theme.d.ts +4 -0
- package/dist/es6/jssm_theme.js +13 -0
- package/dist/es6/jssm_types.d.ts +15 -15
- 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 +10 -131
- package/jssm_compiler.d.ts +135 -0
- package/jssm_theme.d.ts +4 -0
- package/jssm_types.d.ts +15 -15
- 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
|
+
1061 merges; 171 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__85__5">5.85.5</a>, <a href="#5__85__4">5.85.4</a>, <a href="#5__85__3">5.85.3</a>, <a href="#5__85__2">5.85.2</a>, <a href="#5__85__1">5.85.1</a>, <a href="#5__85__0">5.85.0</a>, <a href="#5__84__1">5.84.1</a>, <a href="#5__84__0">5.84.0</a>, <a href="#5__83__2">5.83.2</a>, <a href="#5__83__1">5.83.1</a>, <a href="#5__83__0">5.83.0</a>, <a href="#5__82__5">5.82.5</a>, <a href="#5__82__4">5.82.4</a>, <a href="#5__82__3">5.82.3</a>, <a href="#5__82__2">5.82.2</a>, <a href="#5__82__1">5.82.1</a>, <a href="#5__82__0">5.82.0</a>, <a href="#5__81__2">5.81.2</a>, <a href="#5__81__0">5.81.0</a>, <a href="#5__80__1">5.80.1</a>, <a href="#5__80__0">5.80.0</a>, <a href="#5__79__18">5.79.18</a>, <a href="#5__79__17">5.79.17</a>, <a href="#5__79__16">5.79.16</a>, <a href="#5__79__15">5.79.15</a>, <a href="#5__79__11">5.79.11</a>, <a href="#5__79__10">5.79.10</a>, <a href="#5__79__9">5.79.9</a>, <a href="#5__79__8">5.79.8</a>, <a href="#5__79__6">5.79.6</a>, <a href="#5__79__4">5.79.4</a>, <a href="#5__79__3">5.79.3</a>, <a href="#5__79__2">5.79.2</a>, <a href="#5__79__1">5.79.1</a>, <a href="#5__79__0">5.79.0</a>, <a href="#5__78__0">5.78.0</a>, <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>
|
|
15
|
+
<a href="#5__85__9">5.85.9</a>, <a href="#5__85__8">5.85.8</a>, <a href="#5__85__7">5.85.7</a>, <a href="#5__85__6">5.85.6</a>, <a href="#5__85__5">5.85.5</a>, <a href="#5__85__4">5.85.4</a>, <a href="#5__85__3">5.85.3</a>, <a href="#5__85__2">5.85.2</a>, <a href="#5__85__1">5.85.1</a>, <a href="#5__85__0">5.85.0</a>, <a href="#5__84__1">5.84.1</a>, <a href="#5__84__0">5.84.0</a>, <a href="#5__83__2">5.83.2</a>, <a href="#5__83__1">5.83.1</a>, <a href="#5__83__0">5.83.0</a>, <a href="#5__82__5">5.82.5</a>, <a href="#5__82__4">5.82.4</a>, <a href="#5__82__3">5.82.3</a>, <a href="#5__82__2">5.82.2</a>, <a href="#5__82__1">5.82.1</a>, <a href="#5__82__0">5.82.0</a>, <a href="#5__81__2">5.81.2</a>, <a href="#5__81__0">5.81.0</a>, <a href="#5__80__1">5.80.1</a>, <a href="#5__80__0">5.80.0</a>, <a href="#5__79__18">5.79.18</a>, <a href="#5__79__17">5.79.17</a>, <a href="#5__79__16">5.79.16</a>, <a href="#5__79__15">5.79.15</a>, <a href="#5__79__11">5.79.11</a>, <a href="#5__79__10">5.79.10</a>, <a href="#5__79__9">5.79.9</a>, <a href="#5__79__8">5.79.8</a>, <a href="#5__79__6">5.79.6</a>, <a href="#5__79__4">5.79.4</a>, <a href="#5__79__3">5.79.3</a>, <a href="#5__79__2">5.79.2</a>, <a href="#5__79__1">5.79.1</a>, <a href="#5__79__0">5.79.0</a>, <a href="#5__78__0">5.78.0</a>, <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,14 +22,18 @@ Published tags:
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
<a name="5__85__9" />
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
## [5.85.9] - 9/12/2022 9:15:59 PM
|
|
28
|
+
|
|
29
|
+
Commit [c0c574b694f1d0511190be139135cdf745f476b7](https://github.com/StoneCypher/jssm/commit/c0c574b694f1d0511190be139135cdf745f476b7)
|
|
28
30
|
|
|
29
31
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
30
32
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
Merges [c047caa, 090db83]
|
|
34
|
+
|
|
35
|
+
* Merge pull request #544 from StoneCypher/PullCompilerOutIntoModule
|
|
36
|
+
* Pull compiler out into a module
|
|
33
37
|
|
|
34
38
|
|
|
35
39
|
|
|
@@ -38,13 +42,14 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
38
42
|
|
|
39
43
|
|
|
40
44
|
|
|
41
|
-
## [Untagged] - 9/12/2022
|
|
45
|
+
## [Untagged] - 9/12/2022 9:06:27 PM
|
|
42
46
|
|
|
43
|
-
Commit [
|
|
47
|
+
Commit [090db831d8df370b0937d2d37e6372b6df030481](https://github.com/StoneCypher/jssm/commit/090db831d8df370b0937d2d37e6372b6df030481)
|
|
44
48
|
|
|
45
49
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
46
50
|
|
|
47
|
-
*
|
|
51
|
+
* Pull compiler out into a module
|
|
52
|
+
* Fixes StoneCypher/fsl#1207
|
|
48
53
|
|
|
49
54
|
|
|
50
55
|
|
|
@@ -53,13 +58,18 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
53
58
|
|
|
54
59
|
|
|
55
60
|
|
|
56
|
-
|
|
61
|
+
<a name="5__85__8" />
|
|
57
62
|
|
|
58
|
-
|
|
63
|
+
## [5.85.8] - 9/12/2022 8:26:10 PM
|
|
64
|
+
|
|
65
|
+
Commit [c047caac3f9d9bb24a9c0b517983088eb8ee2e4a](https://github.com/StoneCypher/jssm/commit/c047caac3f9d9bb24a9c0b517983088eb8ee2e4a)
|
|
59
66
|
|
|
60
67
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
61
68
|
|
|
62
|
-
|
|
69
|
+
Merges [581fd8d, 013999a]
|
|
70
|
+
|
|
71
|
+
* Merge pull request #543 from StoneCypher/PullArrowsOutIntoModules
|
|
72
|
+
* Pull arrows out into modules
|
|
63
73
|
|
|
64
74
|
|
|
65
75
|
|
|
@@ -68,14 +78,14 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
68
78
|
|
|
69
79
|
|
|
70
80
|
|
|
71
|
-
## [Untagged] - 9/12/2022
|
|
81
|
+
## [Untagged] - 9/12/2022 8:18:05 PM
|
|
72
82
|
|
|
73
|
-
Commit [
|
|
83
|
+
Commit [013999a77ce43ceed5eb982754ffe480fdddf159](https://github.com/StoneCypher/jssm/commit/013999a77ce43ceed5eb982754ffe480fdddf159)
|
|
74
84
|
|
|
75
85
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
76
86
|
|
|
77
|
-
*
|
|
78
|
-
* Fixes StoneCypher/fsl#
|
|
87
|
+
* Pull arrows out into modules
|
|
88
|
+
* Fixes StoneCypher/fsl#1206
|
|
79
89
|
|
|
80
90
|
|
|
81
91
|
|
|
@@ -84,30 +94,34 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
84
94
|
|
|
85
95
|
|
|
86
96
|
|
|
87
|
-
|
|
97
|
+
<a name="5__85__7" />
|
|
98
|
+
|
|
99
|
+
## [5.85.7] - 9/12/2022 7:24:25 PM
|
|
88
100
|
|
|
89
|
-
Commit [
|
|
101
|
+
Commit [581fd8dc33c4eb2ce190b696d952471abec192ef](https://github.com/StoneCypher/jssm/commit/581fd8dc33c4eb2ce190b696d952471abec192ef)
|
|
90
102
|
|
|
91
103
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
92
104
|
|
|
93
|
-
|
|
105
|
+
Merges [7d741ba, 771f4c8]
|
|
94
106
|
|
|
107
|
+
* Merge pull request #542 from StoneCypher/AddUnicodeTestsForLabels
|
|
108
|
+
* Add unicode tests for labels
|
|
95
109
|
|
|
96
110
|
|
|
97
111
|
|
|
98
|
-
|
|
99
112
|
|
|
100
113
|
|
|
101
114
|
|
|
102
|
-
|
|
115
|
+
|
|
103
116
|
|
|
104
|
-
## [
|
|
117
|
+
## [Untagged] - 9/12/2022 7:19:21 PM
|
|
105
118
|
|
|
106
|
-
Commit [
|
|
119
|
+
Commit [771f4c8d67274b40451ae6dfef168fe3c15949df](https://github.com/StoneCypher/jssm/commit/771f4c8d67274b40451ae6dfef168fe3c15949df)
|
|
107
120
|
|
|
108
121
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
109
122
|
|
|
110
|
-
* Add
|
|
123
|
+
* Add tests for unicode labels (atom and string)
|
|
124
|
+
* Fixes StoneCypher/fsl#1193, fixes StoneCypher/fsl#1194
|
|
111
125
|
|
|
112
126
|
|
|
113
127
|
|
|
@@ -116,15 +130,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
116
130
|
|
|
117
131
|
|
|
118
132
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## [5.85.4] - 9/12/2022 1:55:57 PM
|
|
133
|
+
## [Untagged] - 9/12/2022 6:52:26 PM
|
|
122
134
|
|
|
123
|
-
Commit [
|
|
135
|
+
Commit [3eb246ddb992372ceca4c0adc9dc45295a0a7177](https://github.com/StoneCypher/jssm/commit/3eb246ddb992372ceca4c0adc9dc45295a0a7177)
|
|
124
136
|
|
|
125
137
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
126
138
|
|
|
127
|
-
*
|
|
139
|
+
* Return twitter envvar to GHA yaml
|
|
128
140
|
|
|
129
141
|
|
|
130
142
|
|
|
@@ -133,18 +145,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
|
|
|
133
145
|
|
|
134
146
|
|
|
135
147
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
## [5.85.3] - 9/12/2022 11:25:36 AM
|
|
148
|
+
## [Untagged] - 9/12/2022 6:52:26 PM
|
|
139
149
|
|
|
140
|
-
Commit [
|
|
150
|
+
Commit [3a01b8d7ae2cee185e4f36c90a95338bf30002cb](https://github.com/StoneCypher/jssm/commit/3a01b8d7ae2cee185e4f36c90a95338bf30002cb)
|
|
141
151
|
|
|
142
152
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
143
153
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
* Merge pull request #540 from StoneCypher/ReintroduceDisplayText
|
|
147
|
-
* Reintroduce display text, lost in a bad merge
|
|
154
|
+
* that wasn't supposed to be removed...
|
|
148
155
|
|
|
149
156
|
|
|
150
157
|
|
|
@@ -153,30 +160,31 @@ Merges [98b7b14, 6475296]
|
|
|
153
160
|
|
|
154
161
|
|
|
155
162
|
|
|
156
|
-
|
|
163
|
+
<a name="5__85__6" />
|
|
164
|
+
|
|
165
|
+
## [5.85.6] - 9/12/2022 6:43:57 PM
|
|
157
166
|
|
|
158
|
-
Commit [
|
|
167
|
+
Commit [7d741ba17ccee77138537f732b833efa028dbda7](https://github.com/StoneCypher/jssm/commit/7d741ba17ccee77138537f732b833efa028dbda7)
|
|
159
168
|
|
|
160
169
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
161
170
|
|
|
162
|
-
|
|
171
|
+
Merges [4b9fefd, 37c0bdf]
|
|
163
172
|
|
|
173
|
+
* Merge pull request #541 from StoneCypher/StartStateRefining
|
|
174
|
+
* Prevent request of illegal state as start state
|
|
164
175
|
|
|
165
176
|
|
|
166
177
|
|
|
167
|
-
|
|
168
178
|
|
|
169
179
|
|
|
170
180
|
|
|
171
|
-
|
|
181
|
+
|
|
172
182
|
|
|
173
|
-
## [
|
|
183
|
+
## [Untagged] - 9/12/2022 6:39:19 PM
|
|
174
184
|
|
|
175
|
-
Commit [
|
|
185
|
+
Commit [37c0bdf33263bf4b9dd60ba329108297cf5ea68f](https://github.com/StoneCypher/jssm/commit/37c0bdf33263bf4b9dd60ba329108297cf5ea68f)
|
|
176
186
|
|
|
177
187
|
Author: `John Haugeland <stonecypher@gmail.com>`
|
|
178
188
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
* Merge pull request #539 from StoneCypher/TrimTweet
|
|
182
|
-
* Shorten the tweet notice
|
|
189
|
+
* Prevent request of illegal state as start state
|
|
190
|
+
* Fixes StoneCypher/fsl#1203, fixes StoneCypher/fsl#1204, fixes StoneCypher/fsl#1205
|
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.85.
|
|
21
|
+
* Generated for version 5.85.10 at 9/16/2022, 5:28:53 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,866 tests*** run 5,757 times. 4,857 specs with 100.0% coverage, 9 fuzz tests with 13.7% coverage. With 2,757 lines, that's about 1.8 tests per line, or 2.1 generated tests per line.
|
|
33
33
|
|
|
34
34
|
***Meet your new state machine library.***
|
|
35
35
|
|
package/dist/es6/jssm.d.ts
CHANGED
|
@@ -1,133 +1,12 @@
|
|
|
1
1
|
declare type StateType = string;
|
|
2
2
|
import { JssmGenericState, JssmGenericConfig, JssmStateConfig, JssmTransition, JssmTransitionList, // JssmTransitionRule,
|
|
3
|
-
JssmMachineInternalState,
|
|
3
|
+
JssmMachineInternalState, JssmStateDeclaration, JssmStateStyleKeyList, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslDirections, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult } from './jssm_types';
|
|
4
4
|
import { arrow_direction, arrow_left_kind, arrow_right_kind } from './jssm_arrow';
|
|
5
|
+
import { compile, make, wrap_parse } from './jssm_compiler';
|
|
5
6
|
import { seq, unique, find_repeated, weighted_rand_select, weighted_sample_select, histograph, weighted_histo_key } from './jssm_util';
|
|
6
7
|
import * as constants from './jssm_constants';
|
|
7
8
|
declare const shapes: string[], gviz_shapes: string[], named_colors: string[];
|
|
8
9
|
import { version, build_time } from './version';
|
|
9
|
-
/*********
|
|
10
|
-
*
|
|
11
|
-
* This method wraps the parser call that comes from the peg grammar,
|
|
12
|
-
* {@link parse}. Generally neither this nor that should be used directly
|
|
13
|
-
* unless you mean to develop plugins or extensions for the machine.
|
|
14
|
-
*
|
|
15
|
-
* Parses the intermediate representation of a compiled string down to a
|
|
16
|
-
* machine configuration object. If you're using this (probably don't,) you're
|
|
17
|
-
* probably also using {@link compile} and {@link Machine.constructor}.
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import { parse, compile, Machine } from 'jssm';
|
|
21
|
-
*
|
|
22
|
-
* const intermediate = wrap_parse('a -> b;', {});
|
|
23
|
-
* // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ]
|
|
24
|
-
*
|
|
25
|
-
* const cfg = compile(intermediate);
|
|
26
|
-
* // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] }
|
|
27
|
-
*
|
|
28
|
-
* const machine = new Machine(cfg);
|
|
29
|
-
* // Machine { _instance_name: undefined, _state: 'a', ...
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* This method is mostly for plugin and intermediate tool authors, or people
|
|
33
|
-
* who need to work with the machine's intermediate representation.
|
|
34
|
-
*
|
|
35
|
-
* # Hey!
|
|
36
|
-
*
|
|
37
|
-
* Most people looking at this want either the `sm` operator or method `from`,
|
|
38
|
-
* which perform all the steps in the chain. The library's author mostly uses
|
|
39
|
-
* operator `sm`, and mostly falls back to `.from` when needing to parse
|
|
40
|
-
* strings dynamically instead of from template literals.
|
|
41
|
-
*
|
|
42
|
-
* Operator {@link sm}:
|
|
43
|
-
*
|
|
44
|
-
* ```typescript
|
|
45
|
-
* import { sm } from 'jssm';
|
|
46
|
-
*
|
|
47
|
-
* const lswitch = sm`on <=> off;`;
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* Method {@link from}:
|
|
51
|
-
*
|
|
52
|
-
* ```typescript
|
|
53
|
-
* import * as jssm from 'jssm';
|
|
54
|
-
*
|
|
55
|
-
* const toggle = jssm.from('up <=> down;');
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* `wrap_parse` itself is an internal convenience method for alting out an
|
|
59
|
-
* object as the options call. Not generally meant for external use.
|
|
60
|
-
*
|
|
61
|
-
* @param input The FSL code to be evaluated
|
|
62
|
-
*
|
|
63
|
-
* @param options Things to control about the instance
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
declare function wrap_parse(input: string, options?: Object): any;
|
|
67
|
-
/*********
|
|
68
|
-
*
|
|
69
|
-
* Compile a machine's JSON intermediate representation to a config object. If
|
|
70
|
-
* you're using this (probably don't,) you're probably also using
|
|
71
|
-
* {@link parse} to get the IR, and the object constructor
|
|
72
|
-
* {@link Machine.construct} to turn the config object into a workable machine.
|
|
73
|
-
*
|
|
74
|
-
* ```typescript
|
|
75
|
-
* import { parse, compile, Machine } from 'jssm';
|
|
76
|
-
*
|
|
77
|
-
* const intermediate = parse('a -> b;');
|
|
78
|
-
* // [ {key:'transition', from:'a', se:{kind:'->',to:'b'}} ]
|
|
79
|
-
*
|
|
80
|
-
* const cfg = compile(intermediate);
|
|
81
|
-
* // { start_states:['a'], transitions: [{ from:'a', to:'b', kind:'legal', forced_only:false, main_path:false }] }
|
|
82
|
-
*
|
|
83
|
-
* const machine = new Machine(cfg);
|
|
84
|
-
* // Machine { _instance_name: undefined, _state: 'a', ...
|
|
85
|
-
* ```
|
|
86
|
-
*
|
|
87
|
-
* This method is mostly for plugin and intermediate tool authors, or people
|
|
88
|
-
* who need to work with the machine's intermediate representation.
|
|
89
|
-
*
|
|
90
|
-
* # Hey!
|
|
91
|
-
*
|
|
92
|
-
* Most people looking at this want either the `sm` operator or method `from`,
|
|
93
|
-
* which perform all the steps in the chain. The library's author mostly uses
|
|
94
|
-
* operator `sm`, and mostly falls back to `.from` when needing to parse
|
|
95
|
-
* strings dynamically instead of from template literals.
|
|
96
|
-
*
|
|
97
|
-
* Operator {@link sm}:
|
|
98
|
-
*
|
|
99
|
-
* ```typescript
|
|
100
|
-
* import { sm } from 'jssm';
|
|
101
|
-
*
|
|
102
|
-
* const lswitch = sm`on <=> off;`;
|
|
103
|
-
* ```
|
|
104
|
-
*
|
|
105
|
-
* Method {@link from}:
|
|
106
|
-
*
|
|
107
|
-
* ```typescript
|
|
108
|
-
* import * as jssm from 'jssm';
|
|
109
|
-
*
|
|
110
|
-
* const toggle = jssm.from('up <=> down;');
|
|
111
|
-
* ```
|
|
112
|
-
*
|
|
113
|
-
* @typeparam mDT The type of the machine data member; usually omitted
|
|
114
|
-
*
|
|
115
|
-
* @param tree The parse tree to be boiled down into a machine config
|
|
116
|
-
*
|
|
117
|
-
*/
|
|
118
|
-
declare function compile<mDT>(tree: JssmParseTree): JssmGenericConfig<mDT>;
|
|
119
|
-
/*********
|
|
120
|
-
*
|
|
121
|
-
* An internal convenience wrapper for parsing then compiling a machine string.
|
|
122
|
-
* Not generally meant for external use. Please see {@link compile} or
|
|
123
|
-
* {@link sm}.
|
|
124
|
-
*
|
|
125
|
-
* @typeparam mDT The type of the machine data member; usually omitted
|
|
126
|
-
*
|
|
127
|
-
* @param plan The FSL code to be evaluated and built into a machine config
|
|
128
|
-
*
|
|
129
|
-
*/
|
|
130
|
-
declare function make<mDT>(plan: string): JssmGenericConfig<mDT>;
|
|
131
10
|
/*********
|
|
132
11
|
*
|
|
133
12
|
* An internal method meant to take a series of declarations and fold them into
|
|
@@ -142,7 +21,7 @@ declare function state_style_condense(jssk: JssmStateStyleKeyList): JssmStateCon
|
|
|
142
21
|
declare class Machine<mDT> {
|
|
143
22
|
_state: StateType;
|
|
144
23
|
_states: Map<StateType, JssmGenericState>;
|
|
145
|
-
_edges: Array<JssmTransition<mDT>>;
|
|
24
|
+
_edges: Array<JssmTransition<StateType, mDT>>;
|
|
146
25
|
_edge_map: Map<StateType, Map<StateType, number>>;
|
|
147
26
|
_named_transitions: Map<StateType, number>;
|
|
148
27
|
_actions: Map<StateType, Map<StateType, number>>;
|
|
@@ -217,7 +96,7 @@ declare class Machine<mDT> {
|
|
|
217
96
|
_start_state_style: JssmStateConfig;
|
|
218
97
|
_end_state_style: JssmStateConfig;
|
|
219
98
|
_state_labels: Map<string, string>;
|
|
220
|
-
constructor({ start_states, end_states, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config }: JssmGenericConfig<mDT>);
|
|
99
|
+
constructor({ start_states, end_states, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config }: JssmGenericConfig<StateType, mDT>);
|
|
221
100
|
/********
|
|
222
101
|
*
|
|
223
102
|
* Internal method for fabricating states. Not meant for external use.
|
|
@@ -598,7 +477,7 @@ declare class Machine<mDT> {
|
|
|
598
477
|
* @typeparam mDT The type of the machine data member; usually omitted
|
|
599
478
|
*
|
|
600
479
|
*/
|
|
601
|
-
list_edges(): Array<JssmTransition<mDT>>;
|
|
480
|
+
list_edges(): Array<JssmTransition<StateType, mDT>>;
|
|
602
481
|
list_named_transitions(): Map<StateType, number>;
|
|
603
482
|
list_actions(): Array<StateType>;
|
|
604
483
|
get uses_actions(): boolean;
|
|
@@ -607,7 +486,7 @@ declare class Machine<mDT> {
|
|
|
607
486
|
set themes(to: FslTheme | FslTheme[]);
|
|
608
487
|
flow(): FslDirection;
|
|
609
488
|
get_transition_by_state_names(from: StateType, to: StateType): number;
|
|
610
|
-
lookup_transition_for(from: StateType, to: StateType): JssmTransition<mDT>;
|
|
489
|
+
lookup_transition_for(from: StateType, to: StateType): JssmTransition<StateType, mDT>;
|
|
611
490
|
/********
|
|
612
491
|
*
|
|
613
492
|
* List all transitions attached to the current state, sorted by entrance and
|
|
@@ -669,7 +548,7 @@ declare class Machine<mDT> {
|
|
|
669
548
|
*
|
|
670
549
|
*/
|
|
671
550
|
list_exits(whichState?: StateType): Array<StateType>;
|
|
672
|
-
probable_exits_for(whichState: StateType): Array<JssmTransition<mDT>>;
|
|
551
|
+
probable_exits_for(whichState: StateType): Array<JssmTransition<StateType, mDT>>;
|
|
673
552
|
probabilistic_transition(): boolean;
|
|
674
553
|
probabilistic_walk(n: number): Array<StateType>;
|
|
675
554
|
probabilistic_histo_walk(n: number): Map<StateType, number>;
|
|
@@ -762,7 +641,7 @@ declare class Machine<mDT> {
|
|
|
762
641
|
post_hook_any_transition(handler: HookHandler<mDT>): Machine<mDT>;
|
|
763
642
|
post_hook_entry(to: string, handler: HookHandler<mDT>): Machine<mDT>;
|
|
764
643
|
post_hook_exit(from: string, handler: HookHandler<mDT>): Machine<mDT>;
|
|
765
|
-
edges_between(from: string, to: string): JssmTransition<mDT>[];
|
|
644
|
+
edges_between(from: string, to: string): JssmTransition<StateType, mDT>[];
|
|
766
645
|
transition_impl(newStateOrAction: StateType, newData: mDT | undefined, wasForced: boolean, wasAction: boolean): boolean;
|
|
767
646
|
/*********
|
|
768
647
|
*
|
|
@@ -1130,7 +1009,7 @@ declare class Machine<mDT> {
|
|
|
1130
1009
|
*/
|
|
1131
1010
|
force_transition(newState: StateType, newData?: mDT): boolean;
|
|
1132
1011
|
current_action_for(action: StateType): number;
|
|
1133
|
-
current_action_edge_for(action: StateType): JssmTransition<mDT>;
|
|
1012
|
+
current_action_edge_for(action: StateType): JssmTransition<StateType, mDT>;
|
|
1134
1013
|
valid_action(action: StateType, _newData?: mDT): boolean;
|
|
1135
1014
|
valid_transition(newState: StateType, _newData?: mDT): boolean;
|
|
1136
1015
|
valid_force_transition(newState: StateType, _newData?: mDT): boolean;
|
|
@@ -1183,7 +1062,7 @@ declare function sm<mDT>(template_strings: TemplateStringsArray, ...remainder: a
|
|
|
1183
1062
|
* @param ExtraConstructorFields Extra non-code configuration to pass at creation time
|
|
1184
1063
|
*
|
|
1185
1064
|
*/
|
|
1186
|
-
declare function from<mDT>(MachineAsString: string, ExtraConstructorFields?: Partial<JssmGenericConfig<mDT>> | undefined): Machine<mDT>;
|
|
1065
|
+
declare function from<mDT>(MachineAsString: string, ExtraConstructorFields?: Partial<JssmGenericConfig<StateType, mDT>> | undefined): Machine<mDT>;
|
|
1187
1066
|
declare function is_hook_complex_result<mDT>(hr: unknown): hr is HookComplexResult<mDT>;
|
|
1188
1067
|
declare function is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean;
|
|
1189
1068
|
declare function abstract_hook_step<mDT>(maybe_hook: HookHandler<mDT> | undefined, hook_args: HookContext<mDT>): HookComplexResult<mDT>;
|