@dpuse/dpuse-tool-adaltas-csv-parser 1.0.129 → 1.0.130
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,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ParsedRecordsChunk, ParserInterface, ParseStreamOptions, ParseStreamSummary, ParseTextOptions, ParseTextResult } from '@dpuse/dpuse-shared';
|
|
2
2
|
export type { Options, Parser } from 'csv-parse/browser/esm';
|
|
3
3
|
export declare class Tool implements ParserInterface {
|
|
4
4
|
/**
|
|
5
5
|
* Parse stream. Reads delimited text from the stream. The caller owns the stream and its fetch, so a failed fetch is
|
|
6
6
|
* the caller's to report. Aborting the signal stops the read and rejects with the signal's reason.
|
|
7
7
|
*/
|
|
8
|
-
parseStream(stream: ReadableStream<Uint8Array>, options: ParseStreamOptions
|
|
8
|
+
parseStream(stream: ReadableStream<Uint8Array>, options: ParseStreamOptions): AsyncGenerator<ParsedRecordsChunk, ParseStreamSummary, undefined>;
|
|
9
9
|
/**
|
|
10
10
|
* Parse text. 'isComplete' says whether the text is the whole file rather than a preview of its start, so a quote
|
|
11
11
|
* still open at its end is an error rather than a value the preview cut off.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-tool-adaltas-csv-parser",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.130",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "...",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"test": "node -e \"import('@dpuse/dpuse-development').then(m => m.testProject())\""
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@dpuse/dpuse-shared": "^1.0.
|
|
64
|
+
"@dpuse/dpuse-shared": "^1.0.211",
|
|
65
65
|
"csv-parse": "^7.0.3"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
"@types/node": "^26.6.6",
|
|
71
71
|
"@vitest/coverage-v8": "^5.1.0",
|
|
72
72
|
"eslint": "^10.14.0",
|
|
73
|
-
"prettier": "^3.
|
|
73
|
+
"prettier": "^3.10.0",
|
|
74
74
|
"sonda": "^0.14.0",
|
|
75
75
|
"typescript": "^6.0.3",
|
|
76
76
|
"vite": "^8.3.8",
|
|
77
77
|
"vite-plugin-dts": "^5.1.2",
|
|
78
78
|
"vitest": "^5.1.0",
|
|
79
|
-
"wrangler": "^4.160.
|
|
79
|
+
"wrangler": "^4.160.1"
|
|
80
80
|
}
|
|
81
81
|
}
|