@cj-tech-master/excelts 5.1.1 → 5.1.2

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.
@@ -147,7 +147,7 @@ class Cell {
147
147
  if (this.type === Cell.Types.Merge) {
148
148
  this._value.release();
149
149
  this._value = Value.create(Cell.Types.Null, this);
150
- this.style = this._mergeStyle(this._row.style, this._column.style, {});
150
+ this.style = this._mergeStyle(this._row.style, this._column.style, { ...this.style });
151
151
  }
152
152
  }
153
153
  isMergedTo(master) {
@@ -150,7 +150,7 @@ class Cell {
150
150
  if (this.type === Cell.Types.Merge) {
151
151
  this._value.release();
152
152
  this._value = Value.create(Cell.Types.Null, this);
153
- this.style = this._mergeStyle(this._row.style, this._column.style, {});
153
+ this.style = this._mergeStyle(this._row.style, this._column.style, { ...this.style });
154
154
  }
155
155
  }
156
156
  isMergedTo(master) {
@@ -147,7 +147,7 @@ class Cell {
147
147
  if (this.type === Cell.Types.Merge) {
148
148
  this._value.release();
149
149
  this._value = Value.create(Cell.Types.Null, this);
150
- this.style = this._mergeStyle(this._row.style, this._column.style, {});
150
+ this.style = this._mergeStyle(this._row.style, this._column.style, { ...this.style });
151
151
  }
152
152
  }
153
153
  isMergedTo(master) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @cj-tech-master/excelts v5.1.1
2
+ * @cj-tech-master/excelts v5.1.2
3
3
  * TypeScript Excel Workbook Manager - Read and Write xlsx and csv Files.
4
4
  * (c) 2026 cjnoname
5
5
  * Released under the MIT License
@@ -768,7 +768,7 @@ var ExcelTS = (function(exports) {
768
768
  if (this.type === Cell.Types.Merge) {
769
769
  this._value.release();
770
770
  this._value = Value.create(Cell.Types.Null, this);
771
- this.style = this._mergeStyle(this._row.style, this._column.style, {});
771
+ this.style = this._mergeStyle(this._row.style, this._column.style, { ...this.style });
772
772
  }
773
773
  }
774
774
  isMergedTo(master) {