jssm 5.147.3 → 5.147.5

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
@@ -2416,8 +2416,12 @@ declare class Machine<mDT> {
2416
2416
  * @returns The definition string.
2417
2417
  */
2418
2418
  machine_definition(): string;
2419
- /** Get the machine's language (ISO 639-1). Set via the FSL `machine_language` directive.
2420
- * @returns The language code string.
2419
+ /** Get the machine's natural language as an ISO 639-1 code. Set via the FSL
2420
+ * `machine_language` directive, which accepts a language name or code, or a
2421
+ * BCP-47 tag whose region subtag is dropped (`en-us` -> `en`). Unrecognized
2422
+ * values resolve to `undefined`.
2423
+ * @returns The ISO 639-1 language code (e.g. `'en'`), or `undefined` if the
2424
+ * supplied value did not resolve to a known language.
2421
2425
  */
2422
2426
  machine_language(): string;
2423
2427
  /** Get the machine's license string. Set via the FSL `machine_license` directive.
package/jssm.es6.d.ts CHANGED
@@ -2416,8 +2416,12 @@ declare class Machine<mDT> {
2416
2416
  * @returns The definition string.
2417
2417
  */
2418
2418
  machine_definition(): string;
2419
- /** Get the machine's language (ISO 639-1). Set via the FSL `machine_language` directive.
2420
- * @returns The language code string.
2419
+ /** Get the machine's natural language as an ISO 639-1 code. Set via the FSL
2420
+ * `machine_language` directive, which accepts a language name or code, or a
2421
+ * BCP-47 tag whose region subtag is dropped (`en-us` -> `en`). Unrecognized
2422
+ * values resolve to `undefined`.
2423
+ * @returns The ISO 639-1 language code (e.g. `'en'`), or `undefined` if the
2424
+ * supplied value did not resolve to a known language.
2421
2425
  */
2422
2426
  machine_language(): string;
2423
2427
  /** Get the machine's license string. Set via the FSL `machine_license` directive.
@@ -1752,8 +1752,12 @@ declare class Machine<mDT> {
1752
1752
  * @returns The definition string.
1753
1753
  */
1754
1754
  machine_definition(): string;
1755
- /** Get the machine's language (ISO 639-1). Set via the FSL `machine_language` directive.
1756
- * @returns The language code string.
1755
+ /** Get the machine's natural language as an ISO 639-1 code. Set via the FSL
1756
+ * `machine_language` directive, which accepts a language name or code, or a
1757
+ * BCP-47 tag whose region subtag is dropped (`en-us` -> `en`). Unrecognized
1758
+ * values resolve to `undefined`.
1759
+ * @returns The ISO 639-1 language code (e.g. `'en'`), or `undefined` if the
1760
+ * supplied value did not resolve to a known language.
1757
1761
  */
1758
1762
  machine_language(): string;
1759
1763
  /** Get the machine's license string. Set via the FSL `machine_license` directive.
package/jssm_viz.es6.d.ts CHANGED
@@ -1752,8 +1752,12 @@ declare class Machine<mDT> {
1752
1752
  * @returns The definition string.
1753
1753
  */
1754
1754
  machine_definition(): string;
1755
- /** Get the machine's language (ISO 639-1). Set via the FSL `machine_language` directive.
1756
- * @returns The language code string.
1755
+ /** Get the machine's natural language as an ISO 639-1 code. Set via the FSL
1756
+ * `machine_language` directive, which accepts a language name or code, or a
1757
+ * BCP-47 tag whose region subtag is dropped (`en-us` -> `en`). Unrecognized
1758
+ * values resolve to `undefined`.
1759
+ * @returns The ISO 639-1 language code (e.g. `'en'`), or `undefined` if the
1760
+ * supplied value did not resolve to a known language.
1757
1761
  */
1758
1762
  machine_language(): string;
1759
1763
  /** Get the machine's license string. Set via the FSL `machine_license` directive.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.147.3",
3
+ "version": "5.147.5",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },
@@ -170,7 +170,7 @@
170
170
  "makever": "node src/buildjs/makever.cjs",
171
171
  "make_doctests": "node src/buildjs/extract_examples.cjs",
172
172
  "prep": "npm run makever && npm run peg",
173
- "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 make_wc_instance_es6 && npm run make_wc_instance_cdn && npm run make_cm6 && 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",
173
+ "make": "node src/buildjs/run_build.cjs --profile=fast",
174
174
  "make_ci": "npm run clean && npm run makever && npm run peg && npm run build:cem && npm run typescript && npm run make_doctests && npm run make_wc_viz_es6 && npm run make_wc_viz_cdn && npm run make_wc_instance_es6 && npm run make_wc_instance_cdn && npm run make_cm6 && npm run typecheck_cli && npm run make_cli",
175
175
  "eslint": "eslint --color src/ts/jssm.ts src/ts/jssm_types.ts src/ts/tests/*.ts",
176
176
  "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}",
@@ -181,7 +181,7 @@
181
181
  "graviton_perf": "node ./src/scripts/graviton_perf_launch.cjs",
182
182
  "perf_chart": "node ./src/scripts/make_perf_chart.cjs",
183
183
  "ci_profile": "node ./src/buildjs/ci_profile.cjs",
184
- "build": "npm run vet && npm run test && npm run site && npm run make_cookbook && npm run site_fsl_tools && npm run changelog && npm run perf_chart && npm run docs && npm run cloc && npm run readme",
184
+ "build": "node src/buildjs/run_build.cjs --profile=release",
185
185
  "clean_bench": "npm run test && npm run benny",
186
186
  "qbuild": "npm run test",
187
187
  "hosted_test": "node src/buildjs/hosted_test.cjs",
@@ -197,6 +197,7 @@
197
197
  "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",
198
198
  "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",
199
199
  "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",
200
+ "rm_nonmin": "rm ./dist/es6/*.nonmin.js",
200
201
  "site": "cp src/site/* docs/ && cp -r src/assets docs/assets/ && cp -r src/demo docs/ && cp dist/jssm.es5.iife.js docs/demo",
201
202
  "make_cookbook": "node src/fsl.tools/site/scripts/build.cjs",
202
203
  "site_fsl_tools": "cd docs && mkdir fsl.tools && cd .. && cp -r src/fsl.tools/site/* docs/fsl.tools/ && rm -rf docs/fsl.tools/recipes docs/fsl.tools/scripts",