@cj-tech-master/excelts 6.1.2 → 6.1.3

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.
@@ -49,7 +49,7 @@ export class WorkbookWriterBase {
49
49
  this._worksheets = [];
50
50
  this.views = [];
51
51
  this.zipOptions = options.zip;
52
- const level = options.zip?.zlib?.level ?? options.zip?.compressionOptions?.level ?? 1;
52
+ const level = options.zip?.zlib?.level ?? options.zip?.compressionOptions?.level ?? 6;
53
53
  this.compressionLevel = Math.max(0, Math.min(9, level));
54
54
  this.media = [];
55
55
  this.commentRefs = [];
@@ -52,7 +52,7 @@ class WorkbookWriterBase {
52
52
  this._worksheets = [];
53
53
  this.views = [];
54
54
  this.zipOptions = options.zip;
55
- const level = options.zip?.zlib?.level ?? options.zip?.compressionOptions?.level ?? 1;
55
+ const level = options.zip?.zlib?.level ?? options.zip?.compressionOptions?.level ?? 6;
56
56
  this.compressionLevel = Math.max(0, Math.min(9, level));
57
57
  this.media = [];
58
58
  this.commentRefs = [];
@@ -49,7 +49,7 @@ export class WorkbookWriterBase {
49
49
  this._worksheets = [];
50
50
  this.views = [];
51
51
  this.zipOptions = options.zip;
52
- const level = options.zip?.zlib?.level ?? options.zip?.compressionOptions?.level ?? 1;
52
+ const level = options.zip?.zlib?.level ?? options.zip?.compressionOptions?.level ?? 6;
53
53
  this.compressionLevel = Math.max(0, Math.min(9, level));
54
54
  this.media = [];
55
55
  this.commentRefs = [];
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @cj-tech-master/excelts v6.1.2
2
+ * @cj-tech-master/excelts v6.1.3
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
@@ -30718,7 +30718,7 @@ self.onmessage = async function(event) {
30718
30718
  this._worksheets = [];
30719
30719
  this.views = [];
30720
30720
  this.zipOptions = options.zip;
30721
- const level = options.zip?.zlib?.level ?? options.zip?.compressionOptions?.level ?? 1;
30721
+ const level = options.zip?.zlib?.level ?? options.zip?.compressionOptions?.level ?? 6;
30722
30722
  this.compressionLevel = Math.max(0, Math.min(9, level));
30723
30723
  this.media = [];
30724
30724
  this.commentRefs = [];