@thi.ng/csv 2.3.117 → 2.3.119
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/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/package.json +8 -9
- package/parse.d.ts +3 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 201 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/csv",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.119",
|
|
4
4
|
"description": "Customizable, transducer-based CSV parser/object mapper and transformer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -33,21 +33,20 @@
|
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
35
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
36
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
37
|
"pub": "yarn npm publish --access public",
|
|
39
38
|
"test": "bun test",
|
|
40
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
44
|
-
"@thi.ng/checks": "^3.6.
|
|
45
|
-
"@thi.ng/strings": "^3.9.
|
|
46
|
-
"@thi.ng/transducers": "^9.2.
|
|
42
|
+
"@thi.ng/api": "^8.11.20",
|
|
43
|
+
"@thi.ng/checks": "^3.6.23",
|
|
44
|
+
"@thi.ng/strings": "^3.9.5",
|
|
45
|
+
"@thi.ng/transducers": "^9.2.18"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
|
-
"esbuild": "^0.
|
|
50
|
-
"typedoc": "^0.27.
|
|
48
|
+
"esbuild": "^0.25.0",
|
|
49
|
+
"typedoc": "^0.27.7",
|
|
51
50
|
"typescript": "^5.7.3"
|
|
52
51
|
},
|
|
53
52
|
"keywords": [
|
|
@@ -88,5 +87,5 @@
|
|
|
88
87
|
"thi.ng": {
|
|
89
88
|
"year": 2014
|
|
90
89
|
},
|
|
91
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
92
91
|
}
|
package/parse.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import type { CSVOpts, CSVRecord, CSVRow, SimpleCSVOpts } from "./api.js";
|
|
|
20
20
|
* result objects will only contain values of the columns specified in `cols`.
|
|
21
21
|
*
|
|
22
22
|
* Also see:
|
|
23
|
+
*
|
|
23
24
|
* - thi.ng/transducers
|
|
24
25
|
* - {@link CSVOpts}
|
|
25
26
|
* - {@link parseCSVFromString}.
|
|
@@ -86,7 +87,7 @@ export declare function parseCSVSimple(opts: Partial<SimpleCSVOpts>, src: Iterab
|
|
|
86
87
|
/**
|
|
87
88
|
* Syntax sugar for iterator version of {@link parseCSV}, efficiently splitting
|
|
88
89
|
* given source string into a line based input using
|
|
89
|
-
* [`split
|
|
90
|
+
* [`split`](https://docs.thi.ng/umbrella/strings/functions/split.html).
|
|
90
91
|
*
|
|
91
92
|
* @param opts -
|
|
92
93
|
* @param src -
|
|
@@ -95,7 +96,7 @@ export declare const parseCSVFromString: (opts: Partial<CSVOpts>, src: string) =
|
|
|
95
96
|
/**
|
|
96
97
|
* Syntax sugar for iterator version of {@link parseCSVSimple}, efficiently
|
|
97
98
|
* splitting given source string into a line based input using
|
|
98
|
-
* [`split
|
|
99
|
+
* [`split`](https://docs.thi.ng/umbrella/strings/functions/split.html).
|
|
99
100
|
*
|
|
100
101
|
* @param opts -
|
|
101
102
|
* @param src -
|