@datapos/datapos-tool-csv-parse 0.0.93 → 0.0.95

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,4 +1,4 @@
1
- import { Options as ParseOptions, Parser } from 'csv-parse/browser/esm';
1
+ import { Options, Parser } from 'csv-parse/browser/esm';
2
2
  import { EngineUtilities } from '@datapos/datapos-shared/engine';
3
3
  import { ConnectionColumnConfig, RetrieveRecordsOptions, RetrieveRecordsSummary } from '@datapos/datapos-shared/component/connector';
4
4
  import { InferenceRecord, ParsingRecord, RecordDelimiterId, ValueDelimiterId } from '@datapos/datapos-shared/component/dataView';
@@ -15,7 +15,7 @@ interface SchemaConfig {
15
15
  /** Tool. */
16
16
  declare class Tool {
17
17
  /** Build parser. */
18
- buildParser(options: ParseOptions): Parser;
18
+ buildParser(options: Options): Parser;
19
19
  /**
20
20
  * Infer schema.
21
21
  */
@@ -23,7 +23,7 @@ declare class Tool {
23
23
  /**
24
24
  * Parse stream.
25
25
  */
26
- parseStream(retrieveRecordsOptions: RetrieveRecordsOptions, parseOptions: ParseOptions, url: string, abortController: AbortController, chunk: (records: ParsingRecord[]) => void): Promise<RetrieveRecordsSummary>;
26
+ parseStream(retrieveRecordsOptions: RetrieveRecordsOptions, parseOptions: Options, url: string, abortController: AbortController, chunk: (records: ParsingRecord[]) => void): Promise<RetrieveRecordsSummary>;
27
27
  }
28
- export type { Options as ParseOptions, Parser } from 'csv-parse/browser/esm';
28
+ export type { Options, Parser } from 'csv-parse/browser/esm';
29
29
  export { Tool };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-tool-csv-parse",
3
- "version": "0.0.93",
3
+ "version": "0.0.95",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "private": false,