jssm 5.157.2 → 5.157.4

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
@@ -1415,6 +1415,12 @@ declare function wrap_parse(input: string, options?: Object): any;
1415
1415
  * semantic error thrown will carry a `source_location` span
1416
1416
  * pointing at the offending statement.
1417
1417
  *
1418
+ * @throws {JssmError} If the document declares no transitions (for example a
1419
+ * states-first document of only `state` blocks) — a
1420
+ * machine requires at least one transition; also for
1421
+ * repeated property definitions, group errors, and other
1422
+ * semantic problems noted throughout.
1423
+ *
1418
1424
  */
1419
1425
  declare function compile<StateType, mDT>(tree: JssmParseTree<StateType, mDT>): JssmGenericConfig<StateType, mDT>;
1420
1426
  /*********
package/jssm.es6.d.ts CHANGED
@@ -1415,6 +1415,12 @@ declare function wrap_parse(input: string, options?: Object): any;
1415
1415
  * semantic error thrown will carry a `source_location` span
1416
1416
  * pointing at the offending statement.
1417
1417
  *
1418
+ * @throws {JssmError} If the document declares no transitions (for example a
1419
+ * states-first document of only `state` blocks) — a
1420
+ * machine requires at least one transition; also for
1421
+ * repeated property definitions, group errors, and other
1422
+ * semantic problems noted throughout.
1423
+ *
1418
1424
  */
1419
1425
  declare function compile<StateType, mDT>(tree: JssmParseTree<StateType, mDT>): JssmGenericConfig<StateType, mDT>;
1420
1426
  /*********
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.157.2",
3
+ "version": "5.157.4",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },
@@ -221,7 +221,7 @@
221
221
  "qbuild": "npm run test",
222
222
  "hosted_test": "node src/buildjs/hosted_test.cjs",
223
223
  "e2e:install": "node src/buildjs/playwright_install.cjs",
224
- "e2e": "npm run e2e:install && node src/buildjs/hosted_test.cjs --serve-dir=src/ts/e2e/fixtures",
224
+ "e2e": "npm run e2e:install && node src/buildjs/hosted_test.cjs --serve-dir=.",
225
225
  "ci_build": "npm run vet && npm run test",
226
226
  "ci_test": "npm run vet && npm run make_ci && npm run vitest",
227
227
  "minify": "mv dist/es6/fsl_parser.js dist/es6/fsl_parser.nonmin.js && terser dist/es6/fsl_parser.nonmin.js > dist/es6/fsl_parser.js",
@@ -232,6 +232,7 @@
232
232
  "min_viz_iife": "mv dist/jssm_viz.es5.iife.js dist/jssm_viz.es5.iife.nonmin.cjs && terser dist/jssm_viz.es5.iife.nonmin.cjs > dist/jssm_viz.iife.cjs",
233
233
  "min_viz_cjs": "mv dist/jssm_viz.es5.cjs.js dist/jssm_viz.es5.nonmin.cjs && terser dist/jssm_viz.es5.nonmin.cjs > dist/jssm_viz.cjs",
234
234
  "min_viz_es6": "mv dist/jssm_viz.es6.js dist/jssm_viz.es6.nonmin.cjs && terser dist/jssm_viz.es6.nonmin.cjs > dist/jssm_viz.mjs",
235
+ "min_cdn": "terser dist/cdn/viz.js -o dist/cdn/viz.js --module && terser dist/cdn/instance.js -o dist/cdn/instance.js --module",
235
236
  "rm_nonmin": "rm ./dist/es6/*.nonmin.js",
236
237
  "site": "cp src/site/* docs/ && cp -r src/assets docs/assets/ && cp -r src/demo docs/ && cp dist/jssm.es5.iife.js docs/demo",
237
238
  "make_cookbook": "node src/fsl.tools/site/scripts/build.cjs",
@@ -290,7 +291,7 @@
290
291
  "@codemirror/language": "^6.12.3",
291
292
  "@codemirror/lint": "^6.9.7",
292
293
  "@codemirror/state": "^6.6.0",
293
- "@codemirror/view": "^6.43.2",
294
+ "@codemirror/view": "6.43.2",
294
295
  "@custom-elements-manifest/analyzer": "^0.10.4",
295
296
  "@knodes/typedoc-plugin-pages": "^0.22.5",
296
297
  "@lezer/highlight": "^1.2.3",