dtable-statistic 5.0.48-alpha.18 → 5.0.48-alpha.19

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.
@@ -23,7 +23,6 @@ async function calcViewRowsWithWorker(view, table, value, username, userId, user
23
23
  return cachedRows;
24
24
  }
25
25
  if (!_resultCacheManager.cachedBase) {
26
- (0, _hasReactElement.containsReactElementSymbol)(value);
27
26
  (0, _resultCacheManager.initCachedBase)(value);
28
27
  }
29
28
  const clonedTable = (0, _lodashEs.cloneDeep)(table);
@@ -33,6 +32,8 @@ async function calcViewRowsWithWorker(view, table, value, username, userId, user
33
32
  delete c.formatter;
34
33
  return c;
35
34
  });
35
+ (0, _hasReactElement.containsReactElementSymbol)(_resultCacheManager.cachedBase);
36
+ (0, _hasReactElement.containsReactElementSymbol)(clonedTable);
36
37
  const workerId = uuid();
37
38
  let worker;
38
39
  try {
@@ -53,7 +54,6 @@ async function calcFormulaResultsWithWorker(table, rows, value, formulaColumns,
53
54
  return cachedResults;
54
55
  }
55
56
  if (!_resultCacheManager.cachedBase) {
56
- (0, _hasReactElement.containsReactElementSymbol)(value);
57
57
  (0, _resultCacheManager.initCachedBase)(value);
58
58
  }
59
59
  const clonedTable = (0, _lodashEs.cloneDeep)(table);
@@ -63,6 +63,8 @@ async function calcFormulaResultsWithWorker(table, rows, value, formulaColumns,
63
63
  delete c.formatter;
64
64
  return c;
65
65
  });
66
+ (0, _hasReactElement.containsReactElementSymbol)(_resultCacheManager.cachedBase);
67
+ (0, _hasReactElement.containsReactElementSymbol)(clonedTable);
66
68
  const workerId = uuid();
67
69
  let worker;
68
70
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.48-alpha.18",
3
+ "version": "5.0.48-alpha.19",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",