@fileverse-dev/dsheet 1.2.59-patch-5 → 1.2.59-patch-6

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.
Files changed (2) hide show
  1. package/dist/index.es.js +1 -1
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -189319,7 +189319,7 @@ const LTt = /* @__PURE__ */ fu(DTt), rq = (e, t, r, i, n, a, l, c, f) => {
189319
189319
  dynamicTyping: !0,
189320
189320
  skipEmptyLines: !0,
189321
189321
  complete: (p) => {
189322
- if (p.errors.length > 0) {
189322
+ if (p.errors.length > 0 && p.data.length === 0) {
189323
189323
  console.error("CSV Parsing errors:", p.errors), alert("Error parsing CSV file");
189324
189324
  return;
189325
189325
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "1.2.59-patch-5",
5
+ "version": "1.2.59-patch-6",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {