jssm 5.121.0 → 5.122.2

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/jssm.es5.d.cts CHANGED
@@ -993,7 +993,8 @@ declare const named_colors$1: string[];
993
993
  * plus the high-Unicode range `U+0080`–`U+FFFF`.
994
994
  *
995
995
  * @example
996
- * state_name_chars.some(r => 'A' >= r.from && 'A' <= r.to); // true
996
+ * import { state_name_chars } from 'jssm';
997
+ * state_name_chars.some(r => 'A' >= r.from && 'A' <= r.to); // => true
997
998
  */
998
999
  declare const state_name_chars$1: ReadonlyArray<{
999
1000
  from: string;
@@ -1008,7 +1009,8 @@ declare const state_name_chars$1: ReadonlyArray<{
1008
1009
  * `?`, `,`, and the high-Unicode range `U+0080`–`U+FFFF`.
1009
1010
  *
1010
1011
  * @example
1011
- * state_name_first_chars.some(r => '+' >= r.from && '+' <= r.to); // false
1012
+ * import { state_name_first_chars } from 'jssm';
1013
+ * state_name_first_chars.some(r => '+' >= r.from && '+' <= r.to); // => false
1012
1014
  */
1013
1015
  declare const state_name_first_chars$1: ReadonlyArray<{
1014
1016
  from: string;
@@ -1023,8 +1025,9 @@ declare const state_name_first_chars$1: ReadonlyArray<{
1023
1025
  * Three ranges: `U+0020`–`U+0026`, `U+0028`–`U+005B`, `U+005D`–`U+FFFF`.
1024
1026
  *
1025
1027
  * @example
1026
- * action_label_chars.some(r => ' ' >= r.from && ' ' <= r.to); // true
1027
- * action_label_chars.some(r => "'" >= r.from && "'" <= r.to); // false
1028
+ * import { action_label_chars } from 'jssm';
1029
+ * action_label_chars.some(r => ' ' >= r.from && ' ' <= r.to); // => true
1030
+ * action_label_chars.some(r => "'" >= r.from && "'" <= r.to); // => false
1028
1031
  */
1029
1032
  declare const action_label_chars$1: ReadonlyArray<{
1030
1033
  from: string;
@@ -1794,8 +1797,9 @@ declare class Machine<mDT> {
1794
1797
  * @returns An array of `{from, to}` inclusive character ranges.
1795
1798
  *
1796
1799
  * @example
1800
+ * import { sm } from 'jssm';
1797
1801
  * const m = sm`a -> b;`;
1798
- * m.all_state_name_chars().some(r => '+' >= r.from && '+' <= r.to); // true
1802
+ * m.all_state_name_chars().some(r => '+' >= r.from && '+' <= r.to); // => true
1799
1803
  */
1800
1804
  all_state_name_chars(): ReadonlyArray<{
1801
1805
  from: string;
@@ -1808,8 +1812,9 @@ declare class Machine<mDT> {
1808
1812
  * @returns An array of `{from, to}` inclusive character ranges.
1809
1813
  *
1810
1814
  * @example
1815
+ * import { sm } from 'jssm';
1811
1816
  * const m = sm`a -> b;`;
1812
- * m.all_state_name_first_chars().some(r => '+' >= r.from && '+' <= r.to); // false
1817
+ * m.all_state_name_first_chars().some(r => '+' >= r.from && '+' <= r.to); // => false
1813
1818
  */
1814
1819
  all_state_name_first_chars(): ReadonlyArray<{
1815
1820
  from: string;
@@ -1822,9 +1827,10 @@ declare class Machine<mDT> {
1822
1827
  * @returns An array of `{from, to}` inclusive character ranges.
1823
1828
  *
1824
1829
  * @example
1830
+ * import { sm } from 'jssm';
1825
1831
  * const m = sm`a -> b;`;
1826
- * m.all_action_label_chars().some(r => ' ' >= r.from && ' ' <= r.to); // true
1827
- * m.all_action_label_chars().some(r => "'" >= r.from && "'" <= r.to); // false
1832
+ * m.all_action_label_chars().some(r => ' ' >= r.from && ' ' <= r.to); // => true
1833
+ * m.all_action_label_chars().some(r => "'" >= r.from && "'" <= r.to); // => false
1828
1834
  */
1829
1835
  all_action_label_chars(): ReadonlyArray<{
1830
1836
  from: string;
@@ -3007,6 +3013,27 @@ declare function abstract_hook_step<mDT>(maybe_hook: HookHandler<mDT> | undefine
3007
3013
  *
3008
3014
  */
3009
3015
  declare function abstract_everything_hook_step<mDT>(maybe_hook: EverythingHookHandler<mDT> | undefined, hook_args: EverythingHookContext<mDT>): HookComplexResult<mDT>;
3016
+ /**
3017
+ * Compares two semantic version strings.
3018
+ *
3019
+ * @param {string} v1 - First version string (e.g., "5.104.2")
3020
+ * @param {string} v2 - Second version string (e.g., "5.103.1")
3021
+ *
3022
+ * @returns {number} - Negative if v1 < v2, 0 if equal, positive if v1 > v2
3023
+ *
3024
+ * @example
3025
+ * import { compareVersions } from 'jssm';
3026
+ * compareVersions("5.104.2", "5.103.1"); // => 1
3027
+ *
3028
+ * @example
3029
+ * import { compareVersions } from 'jssm';
3030
+ * compareVersions("5.104.2", "6.0.0"); // => -1
3031
+ *
3032
+ * @example
3033
+ * import { compareVersions } from 'jssm';
3034
+ * compareVersions("5.104.2", "5.104.2"); // => 0
3035
+ */
3036
+ declare function compareVersions(v1: string, v2: string): number;
3010
3037
  /**
3011
3038
  * Deserializes a previously serialized machine state.
3012
3039
  *
@@ -3024,10 +3051,12 @@ declare function abstract_everything_hook_step<mDT>(maybe_hook: EverythingHookHa
3024
3051
  * @throws {Error} If the serialization is from a future version
3025
3052
  *
3026
3053
  * @example
3027
- * const machine = jssm.from("a -> b;");
3054
+ * import { from, deserialize } from 'jssm';
3055
+ * const machine = from("a -> b;");
3028
3056
  * const serialized = machine.serialize();
3029
- * const restored = jssm.deserialize("a -> b;", serialized);
3057
+ * const restored = deserialize("a -> b;", serialized);
3058
+ * restored.state(); // => 'a'
3030
3059
  */
3031
3060
  declare function deserialize<mDT>(machine_string: string, ser: JssmSerialization<mDT>): Machine<mDT>;
3032
3061
 
3033
- export { FslDirections, Machine, abstract_everything_hook_step, abstract_hook_step, action_label_chars, arrow_direction, arrow_left_kind, arrow_right_kind, build_time, compile, jssm_constants_d as constants, deserialize, find_repeated, from, gen_splitmix32, gviz_shapes, histograph, is_hook_complex_result, is_hook_rejection, make, named_colors, wrap_parse as parse, seq, shapes, sleep, sm, state_name_chars, state_name_first_chars, state_style_condense, transfer_state_properties, unique, version, weighted_histo_key, weighted_rand_select, weighted_sample_select };
3062
+ export { FslDirections, Machine, abstract_everything_hook_step, abstract_hook_step, action_label_chars, arrow_direction, arrow_left_kind, arrow_right_kind, build_time, compareVersions, compile, jssm_constants_d as constants, deserialize, find_repeated, from, gen_splitmix32, gviz_shapes, histograph, is_hook_complex_result, is_hook_rejection, make, named_colors, wrap_parse as parse, seq, shapes, sleep, sm, state_name_chars, state_name_first_chars, state_style_condense, transfer_state_properties, unique, version, weighted_histo_key, weighted_rand_select, weighted_sample_select };
package/jssm.es6.d.ts CHANGED
@@ -993,7 +993,8 @@ declare const named_colors$1: string[];
993
993
  * plus the high-Unicode range `U+0080`–`U+FFFF`.
994
994
  *
995
995
  * @example
996
- * state_name_chars.some(r => 'A' >= r.from && 'A' <= r.to); // true
996
+ * import { state_name_chars } from 'jssm';
997
+ * state_name_chars.some(r => 'A' >= r.from && 'A' <= r.to); // => true
997
998
  */
998
999
  declare const state_name_chars$1: ReadonlyArray<{
999
1000
  from: string;
@@ -1008,7 +1009,8 @@ declare const state_name_chars$1: ReadonlyArray<{
1008
1009
  * `?`, `,`, and the high-Unicode range `U+0080`–`U+FFFF`.
1009
1010
  *
1010
1011
  * @example
1011
- * state_name_first_chars.some(r => '+' >= r.from && '+' <= r.to); // false
1012
+ * import { state_name_first_chars } from 'jssm';
1013
+ * state_name_first_chars.some(r => '+' >= r.from && '+' <= r.to); // => false
1012
1014
  */
1013
1015
  declare const state_name_first_chars$1: ReadonlyArray<{
1014
1016
  from: string;
@@ -1023,8 +1025,9 @@ declare const state_name_first_chars$1: ReadonlyArray<{
1023
1025
  * Three ranges: `U+0020`–`U+0026`, `U+0028`–`U+005B`, `U+005D`–`U+FFFF`.
1024
1026
  *
1025
1027
  * @example
1026
- * action_label_chars.some(r => ' ' >= r.from && ' ' <= r.to); // true
1027
- * action_label_chars.some(r => "'" >= r.from && "'" <= r.to); // false
1028
+ * import { action_label_chars } from 'jssm';
1029
+ * action_label_chars.some(r => ' ' >= r.from && ' ' <= r.to); // => true
1030
+ * action_label_chars.some(r => "'" >= r.from && "'" <= r.to); // => false
1028
1031
  */
1029
1032
  declare const action_label_chars$1: ReadonlyArray<{
1030
1033
  from: string;
@@ -1794,8 +1797,9 @@ declare class Machine<mDT> {
1794
1797
  * @returns An array of `{from, to}` inclusive character ranges.
1795
1798
  *
1796
1799
  * @example
1800
+ * import { sm } from 'jssm';
1797
1801
  * const m = sm`a -> b;`;
1798
- * m.all_state_name_chars().some(r => '+' >= r.from && '+' <= r.to); // true
1802
+ * m.all_state_name_chars().some(r => '+' >= r.from && '+' <= r.to); // => true
1799
1803
  */
1800
1804
  all_state_name_chars(): ReadonlyArray<{
1801
1805
  from: string;
@@ -1808,8 +1812,9 @@ declare class Machine<mDT> {
1808
1812
  * @returns An array of `{from, to}` inclusive character ranges.
1809
1813
  *
1810
1814
  * @example
1815
+ * import { sm } from 'jssm';
1811
1816
  * const m = sm`a -> b;`;
1812
- * m.all_state_name_first_chars().some(r => '+' >= r.from && '+' <= r.to); // false
1817
+ * m.all_state_name_first_chars().some(r => '+' >= r.from && '+' <= r.to); // => false
1813
1818
  */
1814
1819
  all_state_name_first_chars(): ReadonlyArray<{
1815
1820
  from: string;
@@ -1822,9 +1827,10 @@ declare class Machine<mDT> {
1822
1827
  * @returns An array of `{from, to}` inclusive character ranges.
1823
1828
  *
1824
1829
  * @example
1830
+ * import { sm } from 'jssm';
1825
1831
  * const m = sm`a -> b;`;
1826
- * m.all_action_label_chars().some(r => ' ' >= r.from && ' ' <= r.to); // true
1827
- * m.all_action_label_chars().some(r => "'" >= r.from && "'" <= r.to); // false
1832
+ * m.all_action_label_chars().some(r => ' ' >= r.from && ' ' <= r.to); // => true
1833
+ * m.all_action_label_chars().some(r => "'" >= r.from && "'" <= r.to); // => false
1828
1834
  */
1829
1835
  all_action_label_chars(): ReadonlyArray<{
1830
1836
  from: string;
@@ -3007,6 +3013,27 @@ declare function abstract_hook_step<mDT>(maybe_hook: HookHandler<mDT> | undefine
3007
3013
  *
3008
3014
  */
3009
3015
  declare function abstract_everything_hook_step<mDT>(maybe_hook: EverythingHookHandler<mDT> | undefined, hook_args: EverythingHookContext<mDT>): HookComplexResult<mDT>;
3016
+ /**
3017
+ * Compares two semantic version strings.
3018
+ *
3019
+ * @param {string} v1 - First version string (e.g., "5.104.2")
3020
+ * @param {string} v2 - Second version string (e.g., "5.103.1")
3021
+ *
3022
+ * @returns {number} - Negative if v1 < v2, 0 if equal, positive if v1 > v2
3023
+ *
3024
+ * @example
3025
+ * import { compareVersions } from 'jssm';
3026
+ * compareVersions("5.104.2", "5.103.1"); // => 1
3027
+ *
3028
+ * @example
3029
+ * import { compareVersions } from 'jssm';
3030
+ * compareVersions("5.104.2", "6.0.0"); // => -1
3031
+ *
3032
+ * @example
3033
+ * import { compareVersions } from 'jssm';
3034
+ * compareVersions("5.104.2", "5.104.2"); // => 0
3035
+ */
3036
+ declare function compareVersions(v1: string, v2: string): number;
3010
3037
  /**
3011
3038
  * Deserializes a previously serialized machine state.
3012
3039
  *
@@ -3024,10 +3051,12 @@ declare function abstract_everything_hook_step<mDT>(maybe_hook: EverythingHookHa
3024
3051
  * @throws {Error} If the serialization is from a future version
3025
3052
  *
3026
3053
  * @example
3027
- * const machine = jssm.from("a -> b;");
3054
+ * import { from, deserialize } from 'jssm';
3055
+ * const machine = from("a -> b;");
3028
3056
  * const serialized = machine.serialize();
3029
- * const restored = jssm.deserialize("a -> b;", serialized);
3057
+ * const restored = deserialize("a -> b;", serialized);
3058
+ * restored.state(); // => 'a'
3030
3059
  */
3031
3060
  declare function deserialize<mDT>(machine_string: string, ser: JssmSerialization<mDT>): Machine<mDT>;
3032
3061
 
3033
- export { FslDirections, Machine, abstract_everything_hook_step, abstract_hook_step, action_label_chars, arrow_direction, arrow_left_kind, arrow_right_kind, build_time, compile, jssm_constants_d as constants, deserialize, find_repeated, from, gen_splitmix32, gviz_shapes, histograph, is_hook_complex_result, is_hook_rejection, make, named_colors, wrap_parse as parse, seq, shapes, sleep, sm, state_name_chars, state_name_first_chars, state_style_condense, transfer_state_properties, unique, version, weighted_histo_key, weighted_rand_select, weighted_sample_select };
3062
+ export { FslDirections, Machine, abstract_everything_hook_step, abstract_hook_step, action_label_chars, arrow_direction, arrow_left_kind, arrow_right_kind, build_time, compareVersions, compile, jssm_constants_d as constants, deserialize, find_repeated, from, gen_splitmix32, gviz_shapes, histograph, is_hook_complex_result, is_hook_rejection, make, named_colors, wrap_parse as parse, seq, shapes, sleep, sm, state_name_chars, state_name_first_chars, state_style_condense, transfer_state_properties, unique, version, weighted_histo_key, weighted_rand_select, weighted_sample_select };
@@ -1195,8 +1195,9 @@ declare class Machine<mDT> {
1195
1195
  * @returns An array of `{from, to}` inclusive character ranges.
1196
1196
  *
1197
1197
  * @example
1198
+ * import { sm } from 'jssm';
1198
1199
  * const m = sm`a -> b;`;
1199
- * m.all_state_name_chars().some(r => '+' >= r.from && '+' <= r.to); // true
1200
+ * m.all_state_name_chars().some(r => '+' >= r.from && '+' <= r.to); // => true
1200
1201
  */
1201
1202
  all_state_name_chars(): ReadonlyArray<{
1202
1203
  from: string;
@@ -1209,8 +1210,9 @@ declare class Machine<mDT> {
1209
1210
  * @returns An array of `{from, to}` inclusive character ranges.
1210
1211
  *
1211
1212
  * @example
1213
+ * import { sm } from 'jssm';
1212
1214
  * const m = sm`a -> b;`;
1213
- * m.all_state_name_first_chars().some(r => '+' >= r.from && '+' <= r.to); // false
1215
+ * m.all_state_name_first_chars().some(r => '+' >= r.from && '+' <= r.to); // => false
1214
1216
  */
1215
1217
  all_state_name_first_chars(): ReadonlyArray<{
1216
1218
  from: string;
@@ -1223,9 +1225,10 @@ declare class Machine<mDT> {
1223
1225
  * @returns An array of `{from, to}` inclusive character ranges.
1224
1226
  *
1225
1227
  * @example
1228
+ * import { sm } from 'jssm';
1226
1229
  * const m = sm`a -> b;`;
1227
- * m.all_action_label_chars().some(r => ' ' >= r.from && ' ' <= r.to); // true
1228
- * m.all_action_label_chars().some(r => "'" >= r.from && "'" <= r.to); // false
1230
+ * m.all_action_label_chars().some(r => ' ' >= r.from && ' ' <= r.to); // => true
1231
+ * m.all_action_label_chars().some(r => "'" >= r.from && "'" <= r.to); // => false
1229
1232
  */
1230
1233
  all_action_label_chars(): ReadonlyArray<{
1231
1234
  from: string;
package/jssm_viz.es6.d.ts CHANGED
@@ -1195,8 +1195,9 @@ declare class Machine<mDT> {
1195
1195
  * @returns An array of `{from, to}` inclusive character ranges.
1196
1196
  *
1197
1197
  * @example
1198
+ * import { sm } from 'jssm';
1198
1199
  * const m = sm`a -> b;`;
1199
- * m.all_state_name_chars().some(r => '+' >= r.from && '+' <= r.to); // true
1200
+ * m.all_state_name_chars().some(r => '+' >= r.from && '+' <= r.to); // => true
1200
1201
  */
1201
1202
  all_state_name_chars(): ReadonlyArray<{
1202
1203
  from: string;
@@ -1209,8 +1210,9 @@ declare class Machine<mDT> {
1209
1210
  * @returns An array of `{from, to}` inclusive character ranges.
1210
1211
  *
1211
1212
  * @example
1213
+ * import { sm } from 'jssm';
1212
1214
  * const m = sm`a -> b;`;
1213
- * m.all_state_name_first_chars().some(r => '+' >= r.from && '+' <= r.to); // false
1215
+ * m.all_state_name_first_chars().some(r => '+' >= r.from && '+' <= r.to); // => false
1214
1216
  */
1215
1217
  all_state_name_first_chars(): ReadonlyArray<{
1216
1218
  from: string;
@@ -1223,9 +1225,10 @@ declare class Machine<mDT> {
1223
1225
  * @returns An array of `{from, to}` inclusive character ranges.
1224
1226
  *
1225
1227
  * @example
1228
+ * import { sm } from 'jssm';
1226
1229
  * const m = sm`a -> b;`;
1227
- * m.all_action_label_chars().some(r => ' ' >= r.from && ' ' <= r.to); // true
1228
- * m.all_action_label_chars().some(r => "'" >= r.from && "'" <= r.to); // false
1230
+ * m.all_action_label_chars().some(r => ' ' >= r.from && ' ' <= r.to); // => true
1231
+ * m.all_action_label_chars().some(r => "'" >= r.from && "'" <= r.to); // => false
1229
1232
  */
1230
1233
  all_action_label_chars(): ReadonlyArray<{
1231
1234
  from: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.121.0",
3
+ "version": "5.122.2",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },
@@ -112,25 +112,24 @@
112
112
  "vitest-stoch": "vitest run --config vitest.stoch.config.ts",
113
113
  "vitest-dragon": "vitest run --config vitest.dragon.config.ts",
114
114
  "vitest-spec": "vitest run --config vitest.spec.config.ts",
115
- "vitest": "npm run vitest-stoch && npm run vitest-spec",
115
+ "vitest-docs": "vitest run --config vitest.docs.config.ts",
116
+ "vitest": "npm run vitest-stoch && npm run vitest-spec && npm run vitest-docs",
116
117
  "test": "npm run make && npm run vitest",
117
- "make_cli": "rollup -c rollup.config.cli.cjs.js && rollup -c rollup.config.cli.esm.js && rollup -c rollup.config.cli.dts.js",
118
+ "make_cli": "rollup -c rollup.config.cli.js",
119
+ "typecheck_cli": "tsc --noEmit -p tsconfig.cli.json",
118
120
  "min_cli": "terser dist/cli/fsl.cjs -o dist/cli/fsl.cjs --comments=/^#!/ && terser dist/cli/fsl-render.cjs -o dist/cli/fsl-render.cjs --comments=/^#!/ && terser dist/cli/lib.cjs -o dist/cli/lib.cjs && terser dist/cli/lib.mjs -o dist/cli/lib.mjs",
119
- "clean": "rm -rf dist && rm -rf docs && cd coverage && rm -rf cloc && cd .. && rm -f src/ts/fsl_parser.ts && rm -f src/ts/version.ts && rm -f *.d.ts && mkdir dist && cd dist && mkdir wc && mkdir cdn && cd .. && mkdir docs && cd coverage && mkdir cloc && cd .. && rm -f ./src/tools/jssm.es5.iife.nonmin.js",
121
+ "clean": "rm -rf dist && rm -rf docs && cd coverage && rm -rf cloc && cd .. && rm -f src/ts/fsl_parser.ts && rm -f src/ts/version.ts && rm -f src/ts/tests/generated/*.docex.ts && rm -f *.d.ts && mkdir dist && cd dist && mkdir wc && mkdir cdn && cd .. && mkdir docs && cd coverage && mkdir cloc && cd .. && rm -f ./src/tools/jssm.es5.iife.nonmin.js",
120
122
  "peg": "rm -f src/ts/fsl_parser.js && pegjs src/ts/fsl_parser.peg && node src/buildjs/fixparser.cjs",
121
123
  "build:cem": "custom-elements-manifest analyze --config custom-elements-manifest.config.mjs",
122
- "make_cjs": "rollup -c rollup.config.es5.js",
123
- "make_es6": "rollup -c rollup.config.es6.js",
124
- "make_iife": "rollup -c rollup.config.iife.js",
124
+ "make_core": "rollup -c rollup.config.core.js",
125
125
  "make_deno": "rollup -c rollup.config.deno.js && cp dist/es6/*.d.ts dist/deno",
126
- "make_viz_cjs": "rollup -c rollup.config.viz.es5.js",
127
- "make_viz_es6": "rollup -c rollup.config.viz.es6.js",
126
+ "make_viz": "rollup -c rollup.config.viz.js",
128
127
  "make_wc_viz_es6": "rollup -c rollup.config.wc.viz.es6.js",
129
128
  "make_wc_viz_cdn": "rollup -c rollup.config.wc.viz.cdn.js",
130
- "make_viz_iife": "rollup -c rollup.config.viz.iife.js",
131
129
  "typescript": "tsc --build tsconfig.json",
132
130
  "makever": "node src/buildjs/makever.cjs",
133
- "make": "npm run clean && npm run makever && npm run peg && npm run build:cem && npm run typescript && npm run make_iife && npm run make_es6 && npm run make_deno && npm run make_cjs && npm run make_viz_iife && npm run make_viz_es6 && npm run make_viz_cjs && npm run make_wc_viz_es6 && npm run make_wc_viz_cdn && npm run make_cli && npm run minify && npm run min_iife && npm run min_es6 && npm run min_cjs && npm run min_deno && npm run min_viz_iife && npm run min_viz_es6 && npm run min_viz_cjs && npm run min_cli && rm ./dist/es6/*.nonmin.js",
131
+ "make_doctests": "node src/buildjs/extract_examples.cjs",
132
+ "make": "npm run clean && npm run makever && npm run peg && npm run build:cem && npm run typescript && npm run make_doctests && npm run make_core && npm run make_deno && npm run make_viz && npm run make_wc_viz_es6 && npm run make_wc_viz_cdn && npm run typecheck_cli && npm run make_cli && npm run minify && npm run min_iife && npm run min_es6 && npm run min_cjs && npm run min_deno && npm run min_viz_iife && npm run min_viz_es6 && npm run min_viz_cjs && npm run min_cli && rm ./dist/es6/*.nonmin.js",
134
133
  "eslint": "eslint --color src/ts/jssm.ts src/ts/jssm_types.ts src/ts/tests/*.ts",
135
134
  "audit": "text_audit -r -t major MAJOR wasteful WASTEFUL any mixed fixme FIXME checkme CHECKME testme TESTME stochable STOCHABLE todo TODO comeback COMEBACK whargarbl WHARGARBL -g ./src/ts/**/*.{js,ts}",
136
135
  "vet": "npm run eslint && npm run audit",
@@ -210,6 +209,7 @@
210
209
  "@types/jsdom": "^21.1.7",
211
210
  "@typescript-eslint/eslint-plugin": "^5.30.4",
212
211
  "@typescript-eslint/parser": "^5.30.4",
212
+ "@vitest/coverage-v8": "^4.1.6",
213
213
  "@viz-js/viz": "^3.26.0",
214
214
  "benny": "^3.7.1",
215
215
  "cloc": "^2.10.0",
@@ -227,6 +227,7 @@
227
227
  "picocolors": "^1.0.0",
228
228
  "rollup": "^4.24.0",
229
229
  "rollup-plugin-dts": "^6.1.1",
230
+ "rollup-plugin-esbuild": "^6.2.1",
230
231
  "semver": "^7.5.4",
231
232
  "terser": "^5.14.2",
232
233
  "text_audit": "^0.9.3",
@@ -235,8 +236,7 @@
235
236
  "typedoc": "^0.22.18",
236
237
  "typedoc-plugin-missing-exports": "^0.23.0",
237
238
  "typescript": "^4.7.4",
238
- "vitest": "^2.1.9",
239
- "@vitest/coverage-v8": "^2.1.9",
239
+ "vitest": "^4.1.6",
240
240
  "xml2js": "^0.6.2"
241
241
  },
242
242
  "dependencies": {
@@ -248,7 +248,9 @@
248
248
  "lit": ">=3"
249
249
  },
250
250
  "peerDependenciesMeta": {
251
- "lit": { "optional": true }
251
+ "lit": {
252
+ "optional": true
253
+ }
252
254
  },
253
255
  "optionalDependencies": {
254
256
  "@resvg/resvg-wasm": "^2.6.0",