@cj-tech-master/excelts 3.1.0-canary.20260102064732.ea53170 → 3.1.0-canary.20260102065309.51d781c

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @cj-tech-master/excelts v3.1.0-canary.20260102064732.ea53170
2
+ * @cj-tech-master/excelts v3.1.0-canary.20260102065309.51d781c
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
@@ -1530,6 +1530,7 @@ class Transform extends event_emitter_1.EventEmitter {
1530
1530
  else if (userFlush) {
1531
1531
  if (isNodeStyleFlush) {
1532
1532
  // Node.js style: flush(callback)
1533
+ // isNodeStyleFlush means userFlush.length >= 1
1533
1534
  await new Promise((resolve, reject) => {
1534
1535
  userFlush.call(getInstance(), (err, data) => {
1535
1536
  if (err) {
@@ -1487,6 +1487,7 @@ export class Transform extends EventEmitter {
1487
1487
  else if (userFlush) {
1488
1488
  if (isNodeStyleFlush) {
1489
1489
  // Node.js style: flush(callback)
1490
+ // isNodeStyleFlush means userFlush.length >= 1
1490
1491
  await new Promise((resolve, reject) => {
1491
1492
  userFlush.call(getInstance(), (err, data) => {
1492
1493
  if (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cj-tech-master/excelts",
3
- "version": "3.1.0-canary.20260102064732.ea53170",
3
+ "version": "3.1.0-canary.20260102065309.51d781c",
4
4
  "description": "TypeScript Excel Workbook Manager - Read and Write xlsx and csv Files.",
5
5
  "type": "module",
6
6
  "publishConfig": {