@fileverse-dev/fortune-core 1.1.98 → 1.1.99-patch-1

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/es/api/rowcol.js CHANGED
@@ -112,7 +112,6 @@ export function setRowHeight(ctx, rowInfo, options, custom) {
112
112
  throw INVALID_PARAMS;
113
113
  }
114
114
  var sheet = getSheet(ctx, options);
115
- console.log("sheet=======", sheet);
116
115
  var cfg = sheet.config || {};
117
116
  if (cfg.rowlen == null) {
118
117
  cfg.rowlen = {};
package/es/canvas.js CHANGED
@@ -895,7 +895,7 @@ var Canvas = function () {
895
895
  return v.trim();
896
896
  });
897
897
  var rgbArray_1 = [];
898
- for (var i = 0; i < colorValues.length; i += 3) {
898
+ for (var i = 0; i < (colorValues === null || colorValues === void 0 ? void 0 : colorValues.length); i += 3) {
899
899
  rgbArray_1.push(colorValues.slice(i, i + 3).join(", "));
900
900
  }
901
901
  var optionValue_1 = (_e = String(option)) === null || _e === void 0 ? void 0 : _e.split(",");
package/lib/api/rowcol.js CHANGED
@@ -127,7 +127,6 @@ function setRowHeight(ctx, rowInfo, options, custom) {
127
127
  throw _errors.INVALID_PARAMS;
128
128
  }
129
129
  var sheet = (0, _common.getSheet)(ctx, options);
130
- console.log("sheet=======", sheet);
131
130
  var cfg = sheet.config || {};
132
131
  if (cfg.rowlen == null) {
133
132
  cfg.rowlen = {};
package/lib/canvas.js CHANGED
@@ -902,7 +902,7 @@ var Canvas = exports.Canvas = function () {
902
902
  return v.trim();
903
903
  });
904
904
  var rgbArray_1 = [];
905
- for (var i = 0; i < colorValues.length; i += 3) {
905
+ for (var i = 0; i < (colorValues === null || colorValues === void 0 ? void 0 : colorValues.length); i += 3) {
906
906
  rgbArray_1.push(colorValues.slice(i, i + 3).join(", "));
907
907
  }
908
908
  var optionValue_1 = (_e = String(option)) === null || _e === void 0 ? void 0 : _e.split(",");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.1.98",
3
+ "version": "1.1.99-patch-1",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",