jssm 5.162.35 → 5.163.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 +20 -5
- package/dist/cdn/instance.js +1 -1
- package/dist/cdn/viz.js +1 -1
- 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 +20 -5
- package/dist/deno/jssm.js +1 -1
- package/dist/fence/fence.js +1 -1
- package/dist/grammars/fsl.tmLanguage.json +226 -0
- 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/package.json +5 -1
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.
|
|
21
|
+
* Generated for version 5.163.0 at 7/16/2026, 8:40:19 AM
|
|
22
22
|
|
|
23
23
|
-->
|
|
24
|
-
# jssm 5.
|
|
24
|
+
# jssm 5.163.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/) ·
|
|
@@ -200,6 +200,21 @@ PNG, JPEG, and GIF output rasterize through the same optional backend as the CLI
|
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
|
|
203
|
+
<br/>
|
|
204
|
+
|
|
205
|
+
## TextMate grammar (`jssm/grammar`)
|
|
206
|
+
|
|
207
|
+
`jssm` ships the canonical TextMate grammar for FSL as a data file at `dist/grammars/fsl.tmLanguage.json` (scope `source.fsl`), the single source consumed across the editor ecosystem — [shiki](https://shiki.style/) (and the static-site generators built on it), GitHub Linguist, Monaco, Sublime, `bat`, and the [vscode-fsl](https://github.com/StoneCypher/vscode-fsl) extension.
|
|
208
|
+
|
|
209
|
+
```js
|
|
210
|
+
import grammar from 'jssm/grammar' with { type: 'json' };
|
|
211
|
+
// or read dist/grammars/fsl.tmLanguage.json from node_modules/jssm
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
The grammar is generated from — and build-verified against — the same `fsl_parser.peg` that drives the parser, so its highlighting never drifts from the language.
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
203
218
|
<br/>
|
|
204
219
|
|
|
205
220
|
## Web Components
|
|
@@ -333,7 +348,7 @@ That decision shows up everywhere downstream:
|
|
|
333
348
|
or run `npm run benny` against your own machine.
|
|
334
349
|
|
|
335
350
|
- **More thoroughly tested than any other JavaScript state-machine
|
|
336
|
-
library.** 8,
|
|
351
|
+
library.** 8,774 tests at 100.0% line coverage
|
|
337
352
|
([report](https://coveralls.io/github/StoneCypher/jssm)), plus
|
|
338
353
|
fuzz testing via `fast-check`, with parser test data across ten natural
|
|
339
354
|
languages and Emoji.
|
|
@@ -468,9 +483,9 @@ If your contribution is missing here, please open an issue.
|
|
|
468
483
|
|
|
469
484
|
<br/>
|
|
470
485
|
|
|
471
|
-
***8,
|
|
486
|
+
***8,774 tests***, run 98,171 times.
|
|
472
487
|
|
|
473
|
-
- 7,
|
|
488
|
+
- 7,871 specs with 100.0% coverage
|
|
474
489
|
- 903 fuzz tests with 56.3% coverage
|
|
475
490
|
- 11,181 TypeScript lines - 0.8 tests per line, 8.8 generated tests per line
|
|
476
491
|
|