@updog/data-editor 0.1.74 → 0.1.76
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/{encoding-DEo41qNz.js → errors-ClynUKkF.js} +11 -2
- package/index.css +1 -1
- package/index.d.ts +97 -33
- package/index.js +5301 -5086
- package/package.json +1 -1
- package/parsers-Ba4gcvlF.js +72 -0
- package/parsers-UOoRgXk2.js +0 -63
|
@@ -78,6 +78,15 @@ var t = /[\u200B-\u200D\uFEFF\u2060]/g, n = /[\u00A0\u202F]/g, r = (e) => e.repl
|
|
|
78
78
|
encoding: a,
|
|
79
79
|
delimiter: s
|
|
80
80
|
};
|
|
81
|
-
}, b = /^sep=.$/i, x = (e, t) => e.length > 0 && b.test(e[0].join(t)) ? e.slice(1) : e
|
|
81
|
+
}, b = /^sep=.$/i, x = (e, t) => e.length > 0 && b.test(e[0].join(t)) ? e.slice(1) : e, S = class extends Error {
|
|
82
|
+
code;
|
|
83
|
+
constructor(e, t) {
|
|
84
|
+
super(e), this.name = "IoError", this.code = t;
|
|
85
|
+
}
|
|
86
|
+
}, C = /invalid string length|allocation size overflow|array buffer allocation failed|invalid (?:typed )?array length|out of memory/i, w = (e, t) => {
|
|
87
|
+
if (e instanceof S) return e;
|
|
88
|
+
let n = e instanceof Error ? e.message : t;
|
|
89
|
+
return new S(n, C.test(n) ? "TOO_LARGE" : "PARSE");
|
|
90
|
+
};
|
|
82
91
|
//#endregion
|
|
83
|
-
export { y as n, r,
|
|
92
|
+
export { r as a, y as i, w as n, x as r, S as t };
|