jssm 5.134.0 → 5.135.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/README.md CHANGED
@@ -18,10 +18,10 @@ 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.134.0 at 5/27/2026, 10:16:05 PM
21
+ * Generated for version 5.135.0 at 5/27/2026, 10:29:45 PM
22
22
 
23
23
  -->
24
- # jssm 5.134.0
24
+ # jssm 5.135.0
25
25
 
26
26
  [**Try the live editor**](https://stonecypher.github.io/jssm-viz-demo/graph_explorer.html) ·
27
27
  [Documentation](https://stonecypher.github.io/jssm/docs/) ·
@@ -196,7 +196,7 @@ npm one-liner:
196
196
 
197
197
  ```ts
198
198
  import 'jssm/wc/viz/define';
199
- // then use <jssm-viz fsl="..."> anywhere
199
+ // then use <jssm-viz fsl="..."> or its synonym <fsl-viz fsl="..."> anywhere
200
200
  ```
201
201
 
202
202
  Full documentation: [src/doc_md/WebComponents.md](src/doc_md/WebComponents.md).
@@ -281,7 +281,7 @@ That decision shows up everywhere downstream:
281
281
  or run `npm run benny` against your own machine.
282
282
 
283
283
  - **More thoroughly tested than any other JavaScript state-machine
284
- library.** 6,220 tests at 100.0% line coverage
284
+ library.** 6,230 tests at 100.0% line coverage
285
285
  ([report](https://coveralls.io/github/StoneCypher/jssm)), plus
286
286
  fuzz testing via `fast-check`, with parser test data across ten natural
287
287
  languages and Emoji.
@@ -414,11 +414,11 @@ If your contribution is missing here, please open an issue.
414
414
 
415
415
  <br/>
416
416
 
417
- ***6,220 tests***, run 57,007 times.
417
+ ***6,230 tests***, run 57,017 times.
418
418
 
419
- - 5,707 specs with 100.0% coverage
419
+ - 5,717 specs with 100.0% coverage
420
420
  - 513 fuzz tests with 4.0% coverage
421
- - 4,856 TypeScript lines - 1.3 tests per line, 11.7 generated tests per line
421
+ - 4,865 TypeScript lines - 1.3 tests per line, 11.7 generated tests per line
422
422
 
423
423
  [![Actions Status](https://github.com/StoneCypher/jssm/workflows/Node%20CI/badge.svg)](https://github.com/StoneCypher/jssm/actions)
424
424
  [![NPM version](https://img.shields.io/npm/v/jssm.svg)](https://www.npmjs.com/package/jssm)
package/dist/cdn/viz.js CHANGED
@@ -21352,7 +21352,7 @@ var constants = /*#__PURE__*/Object.freeze({
21352
21352
  * Useful for runtime diagnostics and for embedding in serialized machine
21353
21353
  * snapshots so that deserializers can detect version-skew.
21354
21354
  */
21355
- const version = "5.134.0";
21355
+ const version = "5.135.0";
21356
21356
 
21357
21357
  // whargarbl lots of these return arrays could/should be sets
21358
21358
  const { state_name_chars, state_name_first_chars, action_label_chars } = constants;
@@ -25835,8 +25835,25 @@ __decorate([
25835
25835
  r()
25836
25836
  ], JssmViz.prototype, "_svg", void 0);
25837
25837
 
25838
+ /**
25839
+ * Empty subclass that allows the same class to be registered under a
25840
+ * second tag name. `customElements.define` requires a distinct constructor
25841
+ * per tag, so the only portable way to publish `<fsl-viz>` as a synonym
25842
+ * for `<jssm-viz>` is to register a no-op subclass.
25843
+ *
25844
+ * Both tags render identically; `<fsl-viz>` is provided as an alternative
25845
+ * spelling for users whose mental model is "FSL viz" rather than "jssm
25846
+ * viz".
25847
+ *
25848
+ * TODO: parent-context binding from #647 Stage 2 lands once #648 exists.
25849
+ */
25850
+ class FslViz extends JssmViz {
25851
+ }
25838
25852
  if (!customElements.get('jssm-viz')) {
25839
25853
  customElements.define('jssm-viz', JssmViz);
25840
25854
  }
25855
+ if (!customElements.get('fsl-viz')) {
25856
+ customElements.define('fsl-viz', FslViz);
25857
+ }
25841
25858
 
25842
- export { JssmViz };
25859
+ export { FslViz, JssmViz };