handsontable 0.0.0-next-2c60f30-20240111 → 0.0.0-next-d247bd5-20240112

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.

Potentially problematic release.


This version of handsontable might be problematic. Click here for more details.

package/helpers/mixed.js CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
134
134
  function _injectProductInfo(key, element) {
135
135
  const hasValidType = !isEmpty(key);
136
136
  const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
137
- const hotVersion = "0.0.0-next-2c60f30-20240111";
137
+ const hotVersion = "0.0.0-next-d247bd5-20240112";
138
138
  let keyValidityDate;
139
139
  let consoleMessageState = 'invalid';
140
140
  let domMessageState = 'invalid';
package/helpers/mixed.mjs CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
124
124
  export function _injectProductInfo(key, element) {
125
125
  const hasValidType = !isEmpty(key);
126
126
  const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
127
- const hotVersion = "0.0.0-next-2c60f30-20240111";
127
+ const hotVersion = "0.0.0-next-d247bd5-20240112";
128
128
  let keyValidityDate;
129
129
  let consoleMessageState = 'invalid';
130
130
  let domMessageState = 'invalid';
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/handsontable/handsontable/issues"
11
11
  },
12
12
  "author": "Handsoncode <hello@handsontable.com>",
13
- "version": "0.0.0-next-2c60f30-20240111",
13
+ "version": "0.0.0-next-d247bd5-20240112",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
@@ -282,7 +282,7 @@ class AxisSyncer {
282
282
  return;
283
283
  }
284
284
  const newSequence = _classPrivateFieldGet(this, _indexMapper).getIndexesSequence();
285
- if (source === 'update') {
285
+ if (source === 'update' && newSequence.length > 0) {
286
286
  const relativeTransformation = _classPrivateFieldGet(this, _indexesSequence).map(index => newSequence.indexOf(index));
287
287
  const sheetDimensions = _classPrivateFieldGet(this, _indexSyncer).getEngine().getSheetDimensions(_classPrivateFieldGet(this, _indexSyncer).getSheetId());
288
288
  let sizeForAxis;
@@ -279,7 +279,7 @@ class AxisSyncer {
279
279
  return;
280
280
  }
281
281
  const newSequence = _classPrivateFieldGet(this, _indexMapper).getIndexesSequence();
282
- if (source === 'update') {
282
+ if (source === 'update' && newSequence.length > 0) {
283
283
  const relativeTransformation = _classPrivateFieldGet(this, _indexesSequence).map(index => newSequence.indexOf(index));
284
284
  const sheetDimensions = _classPrivateFieldGet(this, _indexSyncer).getEngine().getSheetDimensions(_classPrivateFieldGet(this, _indexSyncer).getSheetId());
285
285
  let sizeForAxis;