@dpuse/dpuse-shared 1.0.151 → 1.0.153
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/README.md +2 -2
- package/dist/dpuse-shared.es.js +16 -15
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/component/module/connector/index.d.ts +9 -3
- package/dist/types/src/component/module/connector/objectParsing.d.ts +2 -1
- package/dist/types/src/component/module/tool/parser.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -241,11 +241,11 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
241
241
|
|
|
242
242
|
| Chunk/Module/File | Composition |
|
|
243
243
|
| :-------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
|
|
244
|
-
| **dist/dpuse-shared.es.js** | 59.
|
|
244
|
+
| **dist/dpuse-shared.es.js** | 59.2 kB · gzip 17.1 kB · 100.0% of the build |
|
|
245
245
|
| src → index.ts + 13 more | `███████████████░░░░░` 76.6% · 45.3 kB |
|
|
246
246
|
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 36.4% · 21.5 kB |
|
|
247
247
|
| ↳ dataFormatIcons.ts | `▒▒▒▒▒░░░░░░░░░░░░░░░` 26.0% · 15.4 kB |
|
|
248
|
-
| ↳ objectParsing.ts | `▒░░░░░░░░░░░░░░░░░░░`
|
|
248
|
+
| ↳ objectParsing.ts | `▒░░░░░░░░░░░░░░░░░░░` 5.0% · 2.9 kB |
|
|
249
249
|
| ↳ delimitedText.ts | `▒░░░░░░░░░░░░░░░░░░░` 2.6% · 1.6 kB |
|
|
250
250
|
| ↳ connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.1% · 1.2 kB |
|
|
251
251
|
| ↳ 9 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 4.6% · 2.7 kB |
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -1001,24 +1001,25 @@ async function Ge(e) {
|
|
|
1001
1001
|
}, t);
|
|
1002
1002
|
}
|
|
1003
1003
|
async function Ke(e) {
|
|
1004
|
-
let { constructColumnAuditor: t, onProgress: n,
|
|
1005
|
-
abortSignal:
|
|
1006
|
-
chunkSize:
|
|
1007
|
-
dataFormatId:
|
|
1008
|
-
encodingId:
|
|
1009
|
-
valueDelimiterId:
|
|
1004
|
+
let { constructColumnAuditor: t, onProgress: n, onRecords: r, options: i, signal: a, stream: o, toolConfigs: s } = e, c = Date.now(), l = performance.now(), u = t(i.hasHeaders), { parser: d } = await q(s, i.dataFormatId, i.parserId), f = await d.parseStream(o, {
|
|
1005
|
+
abortSignal: a,
|
|
1006
|
+
chunkSize: i.chunkSize,
|
|
1007
|
+
dataFormatId: i.dataFormatId,
|
|
1008
|
+
encodingId: i.encodingId,
|
|
1009
|
+
valueDelimiterId: i.valueDelimiterId
|
|
1010
1010
|
}, (e, t) => {
|
|
1011
|
-
|
|
1011
|
+
let i = u.auditRecords(t);
|
|
1012
|
+
return n(t.length), r?.(i);
|
|
1012
1013
|
});
|
|
1013
1014
|
return {
|
|
1014
|
-
asAt:
|
|
1015
|
-
columns:
|
|
1016
|
-
commentLineCount:
|
|
1017
|
-
duration: performance.now() -
|
|
1018
|
-
emptyLineCount:
|
|
1019
|
-
invalidFieldLengthCount:
|
|
1020
|
-
lineCount:
|
|
1021
|
-
recordCount: Math.max(0,
|
|
1015
|
+
asAt: c,
|
|
1016
|
+
columns: u.completeAudit(),
|
|
1017
|
+
commentLineCount: f.commentLineCount,
|
|
1018
|
+
duration: performance.now() - l,
|
|
1019
|
+
emptyLineCount: f.emptyLineCount,
|
|
1020
|
+
invalidFieldLengthCount: f.nonUniformRecordCount,
|
|
1021
|
+
lineCount: f.lineCount,
|
|
1022
|
+
recordCount: Math.max(0, f.recordCount - +!!i.hasHeaders)
|
|
1022
1023
|
};
|
|
1023
1024
|
}
|
|
1024
1025
|
async function q(e, t, n) {
|