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.
- package/README.md +6 -6
- package/dist/cdn/instance.js +2 -2
- package/dist/cdn/viz.js +2 -2
- package/dist/cli/fsl-export-system-prompt.cjs +1 -1
- package/dist/cli/fsl-render.cjs +1 -1
- package/dist/cli/fsl.cjs +1 -1
- package/dist/cli/lib.cjs +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/deno/README.md +6 -6
- package/dist/deno/fsl_fence_render.d.ts +0 -10
- package/dist/deno/fsl_markdown_fence.d.ts +3 -3
- package/dist/deno/jssm.d.ts +2 -2
- package/dist/deno/jssm.js +1 -1
- package/dist/deno/jssm_types.d.ts +138 -138
- package/dist/deno/jssm_viz.d.ts +3 -3
- package/dist/fence/fence.js +31906 -31893
- package/dist/jssm.es5.cjs +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/dist/jssm.es6.mjs +1 -1
- package/dist/jssm_viz.cjs +1 -1
- package/dist/jssm_viz.iife.cjs +1 -1
- package/dist/jssm_viz.mjs +1 -1
- package/dist/wc/instance.js +5 -0
- package/dist/wc/widgets.js +3 -0
- package/jssm.cli.d.cts +4 -4
- package/jssm.cli.d.ts +4 -4
- package/jssm.es5.d.cts +131 -131
- package/jssm.es6.d.ts +131 -131
- package/jssm.fence.d.ts +122 -132
- package/jssm_viz.es5.d.cts +125 -125
- package/jssm_viz.es6.d.ts +125 -125
- package/package.json +5 -5
package/dist/deno/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.
|
|
21
|
+
* Generated for version 5.161.0 at 7/6/2026, 3:18:00 PM
|
|
22
22
|
|
|
23
23
|
-->
|
|
24
|
-
# jssm 5.
|
|
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,
|
|
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,
|
|
469
|
+
***8,032 tests***, run 83,074 times.
|
|
470
470
|
|
|
471
|
-
- 7,
|
|
472
|
-
- 758 fuzz tests with 48.
|
|
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
|
[](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
|
|
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
|
|
12
|
+
export type FenceImageFormat = 'svg' | 'png' | 'jpeg' | 'gif';
|
|
13
13
|
/** The unit of a {@link FenceDimension} (`%` is represented as `'percent'`). */
|
|
14
|
-
export
|
|
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;
|
package/dist/deno/jssm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
28
|
+
type JssmEventEntry<mDT, Ev extends JssmEventName> = {
|
|
29
29
|
handler: JssmEventHandler<mDT, Ev>;
|
|
30
30
|
filter?: JssmEventFilter<mDT, Ev>;
|
|
31
31
|
once: boolean;
|