jssm 5.157.2 → 5.157.3

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.3",
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",
@@ -290,7 +290,7 @@
290
290
  "@codemirror/language": "^6.12.3",
291
291
  "@codemirror/lint": "^6.9.7",
292
292
  "@codemirror/state": "^6.6.0",
293
- "@codemirror/view": "^6.43.2",
293
+ "@codemirror/view": "6.43.2",
294
294
  "@custom-elements-manifest/analyzer": "^0.10.4",
295
295
  "@knodes/typedoc-plugin-pages": "^0.22.5",
296
296
  "@lezer/highlight": "^1.2.3",