@datapos/datapos-tool-csv-parse 0.0.4 → 0.0.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.
@@ -3331,8 +3331,9 @@ const qn = function() {
3331
3331
  return n;
3332
3332
  };
3333
3333
  class zn {
3334
- getParser() {
3335
- return qn;
3334
+ /** Operations - Build parser. */
3335
+ buildParser(e) {
3336
+ return qn(e);
3336
3337
  }
3337
3338
  }
3338
3339
  export {
@@ -1,9 +1,9 @@
1
- /**
2
- * CSV Parse tool class.
3
- */
1
+ import { Options, Parser } from 'csv-parse/browser/esm';
4
2
  /** Classes - CSV Parse tool. */
5
3
  declare class CSVParseTool {
6
- getParser(): any;
4
+ /** Operations - Build parser. */
5
+ buildParser(options: Options): Parser;
7
6
  }
8
7
  /** Exposures */
8
+ export type { Options, Parser } from 'csv-parse/browser/esm';
9
9
  export { CSVParseTool };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-tool-csv-parse",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "private": false,