jssm 5.159.2 → 5.161.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.
@@ -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.159.2 at 7/4/2026, 9:56:09 PM
21
+ * Generated for version 5.161.0 at 7/6/2026, 3:18:00 PM
22
22
 
23
23
  -->
24
- # jssm 5.159.2
24
+ # jssm 5.161.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/) ·
@@ -333,7 +333,7 @@ That decision shows up everywhere downstream:
333
333
  or run `npm run benny` against your own machine.
334
334
 
335
335
  - **More thoroughly tested than any other JavaScript state-machine
336
- library.** 8,021 tests at 100.0% line coverage
336
+ library.** 8,032 tests at 100.0% line coverage
337
337
  ([report](https://coveralls.io/github/StoneCypher/jssm)), plus
338
338
  fuzz testing via `fast-check`, with parser test data across ten natural
339
339
  languages and Emoji.
@@ -466,10 +466,10 @@ If your contribution is missing here, please open an issue.
466
466
 
467
467
  <br/>
468
468
 
469
- ***8,021 tests***, run 83,063 times.
469
+ ***8,032 tests***, run 83,074 times.
470
470
 
471
- - 7,263 specs with 100.0% coverage
472
- - 758 fuzz tests with 48.1% coverage
471
+ - 7,274 specs with 100.0% coverage
472
+ - 758 fuzz tests with 48.0% coverage
473
473
  - 10,711 TypeScript lines - 0.7 tests per line, 7.8 generated tests per line
474
474
 
475
475
  [![Actions Status](https://github.com/StoneCypher/jssm/workflows/Node%20CI/badge.svg)](https://github.com/StoneCypher/jssm/actions)
@@ -1,13 +1,3 @@
1
- /**
2
- * The descriptor interpreter for the FSL Markdown fence convention: turns a
3
- * parsed {@link FenceDescriptor} plus FSL source into static HTML, and walks
4
- * a whole Markdown document replacing every `fsl`/`jssm` fence in place.
5
- * This is the integration point for the five pieces built ahead of it — the
6
- * fence-info parser, the viz pipeline, the rasterizer, the SVG fill
7
- * extractor, and the editor-parity highlighter.
8
- *
9
- * @see notes/superpowers/specs/2026-06-23-fsl-markdown-fence-convention-design.md
10
- */
11
1
  /** Options shared by the static fence renderers. */
12
2
  export interface FenceRenderOptions {
13
3
  /** Inline state colors in code spans (default true). @see highlight_fsl_html */
@@ -7,11 +7,11 @@
7
7
  * @see notes/superpowers/specs/2026-06-23-fsl-markdown-fence-convention-design.md
8
8
  */
9
9
  /** A single renderable part of a fence block (stacks in listed order, first on top). */
10
- export declare type FencePart = 'image' | 'code' | 'dot' | 'editor' | 'actions' | 'info-panel' | 'toolbar' | 'title' | 'footer';
10
+ export type FencePart = 'image' | 'code' | 'dot' | 'editor' | 'actions' | 'info-panel' | 'toolbar' | 'title' | 'footer';
11
11
  /** An image output format for the `image` part. */
12
- export declare type FenceImageFormat = 'svg' | 'png' | 'jpeg' | 'gif';
12
+ export type FenceImageFormat = 'svg' | 'png' | 'jpeg' | 'gif';
13
13
  /** The unit of a {@link FenceDimension} (`%` is represented as `'percent'`). */
14
- export declare type FenceDimensionUnit = 'px' | 'percent';
14
+ export type FenceDimensionUnit = 'px' | 'percent';
15
15
  /** A parsed `width=`/`height=` value with its unit. */
16
16
  export interface FenceDimension {
17
17
  value: number;
@@ -1,4 +1,4 @@
1
- declare type StateType = string;
1
+ type StateType = string;
2
2
  import { JssmGenericState, JssmGenericConfig, JssmStateConfig, JssmTransition, JssmTransitionList, // JssmTransitionRule,
3
3
  JssmMachineInternalState, JssmAllowsOverride, JssmAllowIslands, JssmEditorConfig, JssmStochasticOptions, JssmStochasticRun, JssmStochasticSummary, JssmDefaultSize, JssmStateDeclaration, JssmStateStyleKeyList, JssmTransitionConfig, JssmGraphConfig, JssmLayout, JssmHistory, JssmSerialization, FslDirection, FslDirections, FslTheme, HookDescription, HookHandler, HookContext, HookResult, HookComplexResult, EverythingHookContext, EverythingHookHandler, PostEverythingHookHandler, HookPhase, HookRegistryEntry, HookQuery, JssmEventName, JssmEventDetailMap, JssmEventFilter, JssmEventHandler, JssmUnsubscribe, JssmBaseTheme, JssmGroupRegistry, JssmGroupHooks, JssmStateHooks, JssmRng } from './jssm_types.js';
4
4
  import { arrow_direction, arrow_left_kind, arrow_right_kind } from './jssm_arrow.js';
@@ -25,7 +25,7 @@ import { version, build_time } from './version.js';
25
25
  *
26
26
  * @internal
27
27
  */
28
- declare type JssmEventEntry<mDT, Ev extends JssmEventName> = {
28
+ type JssmEventEntry<mDT, Ev extends JssmEventName> = {
29
29
  handler: JssmEventHandler<mDT, Ev>;
30
30
  filter?: JssmEventFilter<mDT, Ev>;
31
31
  once: boolean;