convert-csv-to-json 3.5.0 → 3.7.0
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.
|
@@ -12,7 +12,7 @@ jobs:
|
|
|
12
12
|
node-version: [14.x, 16.x, 18.x, 20.x, 21.x, 22.x]
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v5
|
|
16
16
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
17
17
|
uses: actions/setup-node@v4
|
|
18
18
|
with:
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
name: release
|
|
34
34
|
runs-on: ubuntu-latest
|
|
35
35
|
steps:
|
|
36
|
-
- uses: actions/checkout@
|
|
36
|
+
- uses: actions/checkout@v5
|
|
37
37
|
with:
|
|
38
38
|
token: ${{ secrets.ACTION_TOKEN }}
|
|
39
39
|
- uses: fregante/setup-git-user@v2
|
package/index.d.ts
CHANGED
|
@@ -6,9 +6,17 @@ declare module 'convert-csv-to-json' {
|
|
|
6
6
|
formatValueByType(active: boolean): this;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Removes any whitespaces in the header field
|
|
10
|
+
* @defaultValue `false`
|
|
11
|
+
*/
|
|
12
|
+
trimHeaderFieldWhiteSpace(active: boolean): this;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Makes parser aware of quoted fields
|
|
16
|
+
* @defaultValue `false`
|
|
10
17
|
*/
|
|
11
18
|
supportQuotedField(active: boolean): this;
|
|
19
|
+
|
|
12
20
|
/**
|
|
13
21
|
* Defines the field delimiter which will be used to split the fields
|
|
14
22
|
*/
|