jssm 5.91.0 → 5.93.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.
@@ -20043,7 +20043,7 @@ var jssm = (function (exports) {
20043
20043
  named_colors: named_colors$1
20044
20044
  });
20045
20045
 
20046
- const version = "5.91.0", build_time = 1703626449533;
20046
+ const version = "5.93.0", build_time = 1703723662470;
20047
20047
 
20048
20048
  // whargarbl lots of these return arrays could/should be sets
20049
20049
  const { shapes, gviz_shapes, named_colors } = constants;
@@ -21644,6 +21644,9 @@ var jssm = (function (exports) {
21644
21644
  if (data_changed) {
21645
21645
  this._data = hook_args.data;
21646
21646
  }
21647
+ else if (newData !== undefined) {
21648
+ this._data = newData;
21649
+ }
21647
21650
  // success fallthrough to posthooks; intentionally no return here
21648
21651
  // look for "posthooks begin here"
21649
21652
  // or without hooks
@@ -21653,6 +21656,11 @@ var jssm = (function (exports) {
21653
21656
  this._history.shove([this._state, this._data]);
21654
21657
  }
21655
21658
  this._state = newState;
21659
+ // TODO known bug: this gives no way to set data to undefined
21660
+ // see https://github.com/StoneCypher/fsl/issues/1264
21661
+ if (newData !== undefined) {
21662
+ this._data = newData;
21663
+ }
21656
21664
  // success fallthrough to posthooks; intentionally no return here
21657
21665
  // look for "posthooks begin here"
21658
21666
  }
@@ -20044,7 +20044,7 @@ var constants = /*#__PURE__*/Object.freeze({
20044
20044
  named_colors: named_colors$1
20045
20045
  });
20046
20046
 
20047
- const version = "5.91.0", build_time = 1703626449533;
20047
+ const version = "5.93.0", build_time = 1703723662470;
20048
20048
 
20049
20049
  // whargarbl lots of these return arrays could/should be sets
20050
20050
  const { shapes, gviz_shapes, named_colors } = constants;
@@ -21645,6 +21645,9 @@ class Machine {
21645
21645
  if (data_changed) {
21646
21646
  this._data = hook_args.data;
21647
21647
  }
21648
+ else if (newData !== undefined) {
21649
+ this._data = newData;
21650
+ }
21648
21651
  // success fallthrough to posthooks; intentionally no return here
21649
21652
  // look for "posthooks begin here"
21650
21653
  // or without hooks
@@ -21654,6 +21657,11 @@ class Machine {
21654
21657
  this._history.shove([this._state, this._data]);
21655
21658
  }
21656
21659
  this._state = newState;
21660
+ // TODO known bug: this gives no way to set data to undefined
21661
+ // see https://github.com/StoneCypher/fsl/issues/1264
21662
+ if (newData !== undefined) {
21663
+ this._data = newData;
21664
+ }
21657
21665
  // success fallthrough to posthooks; intentionally no return here
21658
21666
  // look for "posthooks begin here"
21659
21667
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.91.0",
3
+ "version": "5.93.0",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },