@datapos/datapos-tool-csv-parse 0.0.5 → 0.0.7

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
- import { parse } from 'csv-parse/browser/esm';
2
- /** Interfaces/Types */
3
- type CSVParse = typeof parse;
1
+ import { Options, Parser } from 'csv-parse/browser/esm';
4
2
  /** Classes - CSV Parse tool. */
5
3
  declare class CSVParseTool {
6
- getParser(): typeof parse;
4
+ /** Operations - Build parser. */
5
+ buildParser(options: Options): Parser;
7
6
  }
8
7
  /** Exposures */
9
- export { type CSVParse, CSVParseTool };
8
+ export type { Options, Parser } from 'csv-parse/browser/esm';
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.5",
3
+ "version": "0.0.7",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -8,16 +8,16 @@
8
8
  "homepage": "https://www.datapos.app",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/data-positioning/datapos-tool-micromark.git"
11
+ "url": "https://github.com/data-positioning/datapos-tool-csv-parse.git"
12
12
  },
13
13
  "bugs": {
14
- "url": "https://github.com/data-positioning/datapos-tool-micromark/issues"
14
+ "url": "https://github.com/data-positioning/datapos-tool-csv-parse/issues"
15
15
  },
16
- "module": "./dist/datapos-tool-micromark.es.js",
16
+ "module": "./dist/datapos-tool-csv-parse.es.js",
17
17
  "types": "./dist/types/src/index.d.ts",
18
18
  "exports": {
19
19
  ".": {
20
- "import": "./dist/datapos-tool-micromark.es.js",
20
+ "import": "./dist/datapos-tool-csv-parse.es.js",
21
21
  "types": "./dist/types/src/index.d.ts"
22
22
  }
23
23
  },