@thi.ng/csv 2.2.29 → 2.2.31
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 +7 -7
- package/parse.d.ts +2 -2
- package/parse.js +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This project is part of the
|
|
|
21
21
|
|
|
22
22
|
## About
|
|
23
23
|
|
|
24
|
-
Customizable, transducer-based CSV parser/object mapper and transformer
|
|
24
|
+
Customizable, transducer-based CSV parser/object mapper and transformer.
|
|
25
25
|
|
|
26
26
|
Partially ported and extended from the Clojure versions of the
|
|
27
27
|
[ws-ldn-1](https://github.com/thi-ng/ws-ldn-1/blob/master/src/ws_ldn_1/day1/csv.clj)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/csv",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.31",
|
|
4
4
|
"description": "Customizable, transducer-based CSV parser/object mapper and transformer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.6.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/strings": "^3.3.
|
|
40
|
-
"@thi.ng/transducers": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.6.2",
|
|
38
|
+
"@thi.ng/checks": "^3.3.6",
|
|
39
|
+
"@thi.ng/strings": "^3.3.22",
|
|
40
|
+
"@thi.ng/transducers": "^8.3.28"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@microsoft/api-extractor": "^7.33.7",
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
+
"@thi.ng/testament": "^0.3.8",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
47
|
"typedoc": "^0.23.22",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"thi.ng": {
|
|
86
86
|
"year": 2014
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "bc6f7f5e2765bb96fe64db804eaf4b2443b47fc6\n"
|
|
89
89
|
}
|
package/parse.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare function parseCSVSimple(opts: Partial<SimpleCSVOpts>, src: Iterab
|
|
|
78
78
|
/**
|
|
79
79
|
* Syntax sugar for iterator version of {@link parseCSV}, efficiently splitting
|
|
80
80
|
* given source string into a line based input using
|
|
81
|
-
*
|
|
81
|
+
* [`split()`](https://docs.thi.ng/umbrella/strings/functions/split.html).
|
|
82
82
|
*
|
|
83
83
|
* @param opts -
|
|
84
84
|
* @param src -
|
|
@@ -87,7 +87,7 @@ export declare const parseCSVFromString: (opts: Partial<CSVOpts>, src: string) =
|
|
|
87
87
|
/**
|
|
88
88
|
* Syntax sugar for iterator version of {@link parseCSVSimple}, efficiently
|
|
89
89
|
* splitting given source string into a line based input using
|
|
90
|
-
*
|
|
90
|
+
* [`split()`](https://docs.thi.ng/umbrella/strings/functions/split.html).
|
|
91
91
|
*
|
|
92
92
|
* @param opts -
|
|
93
93
|
* @param src -
|
package/parse.js
CHANGED
|
@@ -121,7 +121,7 @@ export function parseCSVSimple(opts, src) {
|
|
|
121
121
|
/**
|
|
122
122
|
* Syntax sugar for iterator version of {@link parseCSV}, efficiently splitting
|
|
123
123
|
* given source string into a line based input using
|
|
124
|
-
*
|
|
124
|
+
* [`split()`](https://docs.thi.ng/umbrella/strings/functions/split.html).
|
|
125
125
|
*
|
|
126
126
|
* @param opts -
|
|
127
127
|
* @param src -
|
|
@@ -130,7 +130,7 @@ export const parseCSVFromString = (opts, src) => parseCSV(opts, split(src));
|
|
|
130
130
|
/**
|
|
131
131
|
* Syntax sugar for iterator version of {@link parseCSVSimple}, efficiently
|
|
132
132
|
* splitting given source string into a line based input using
|
|
133
|
-
*
|
|
133
|
+
* [`split()`](https://docs.thi.ng/umbrella/strings/functions/split.html).
|
|
134
134
|
*
|
|
135
135
|
* @param opts -
|
|
136
136
|
* @param src -
|