convert-csv-to-json 4.9.0 → 4.11.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.
@@ -50,35 +50,3 @@ jobs:
50
50
  run: |
51
51
  npm ci
52
52
  npm run release
53
-
54
- pages:
55
- needs: release
56
- if: github.ref == 'refs/heads/master'
57
- name: deploy docs to GitHub Pages
58
- environment:
59
- name: github-pages
60
- url: ${{ steps.deployment.outputs.page_url }}
61
- runs-on: ubuntu-latest
62
- permissions:
63
- pages: write
64
- id-token: write
65
- contents: read
66
- steps:
67
- - uses: actions/checkout@v6
68
- - name: Use Node.js 24.x
69
- uses: actions/setup-node@v6
70
- with:
71
- node-version: 24.x
72
- - name: Install dependencies
73
- run: npm ci
74
- - name: Generate API docs
75
- run: npm run docs:api
76
- - name: Configure GitHub Pages
77
- uses: actions/configure-pages@v4
78
- - name: Upload pages artifact
79
- uses: actions/upload-pages-artifact@v3
80
- with:
81
- path: docs/api
82
- - name: Deploy to GitHub Pages
83
- uses: actions/deploy-pages@v2
84
-
@@ -0,0 +1,39 @@
1
+ name: Node CI
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ pages:
7
+ needs: release
8
+ if: github.ref == 'refs/heads/master'
9
+ name: deploy docs to GitHub Pages
10
+ environment:
11
+ name: github-pages
12
+ url: ${{ steps.deployment.outputs.page_url }}
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ pages: write
16
+ id-token: write
17
+ contents: read
18
+ steps:
19
+ - uses: actions/checkout@v6
20
+ - name: Use Node.js 24.x
21
+ uses: actions/setup-node@v6
22
+ with:
23
+ node-version: 24.x
24
+ - name: Install dependencies
25
+ run: npm ci
26
+ - name: Generate API docs
27
+ run: npm run docs:api
28
+ - name: Configure GitHub Pages
29
+ uses: actions/configure-pages@v4
30
+ - name: Upload pages artifact
31
+ uses: actions/upload-pages-artifact@v3
32
+ with:
33
+ path: docs/api
34
+ - name: Deploy to GitHub Pages
35
+ uses: actions/deploy-pages@v4
36
+ with:
37
+ artifact_name: github-pages
38
+
39
+
@@ -2426,7 +2426,7 @@ console.log(rows);</code></pre>
2426
2426
  <br class="clear">
2427
2427
 
2428
2428
  <footer>
2429
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
2429
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
2430
2430
  </footer>
2431
2431
 
2432
2432
  <script> prettyPrint(); </script>
@@ -513,7 +513,7 @@ Occurs when file read or CSV parse fails</p>
513
513
  <br class="clear">
514
514
 
515
515
  <footer>
516
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
516
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
517
517
  </footer>
518
518
 
519
519
  <script> prettyPrint(); </script>
@@ -585,7 +585,7 @@ Occurs when quote character is used as delimiter while quoted fields are enabled
585
585
  <br class="clear">
586
586
 
587
587
  <footer>
588
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
588
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
589
589
  </footer>
590
590
 
591
591
  <script> prettyPrint(); </script>
@@ -521,7 +521,7 @@ Occurs when no valid header row is found in CSV</p>
521
521
  <br class="clear">
522
522
 
523
523
  <footer>
524
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
524
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
525
525
  </footer>
526
526
 
527
527
  <script> prettyPrint(); </script>
@@ -375,7 +375,7 @@ Provides consistent error formatting and context</p></div>
375
375
  <br class="clear">
376
376
 
377
377
  <footer>
378
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
378
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
379
379
  </footer>
380
380
 
381
381
  <script> prettyPrint(); </script>
@@ -3127,7 +3127,7 @@ When enabled, fields wrapped in double quotes can contain delimiters and newline
3127
3127
  <br class="clear">
3128
3128
 
3129
3129
  <footer>
3130
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
3130
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
3131
3131
  </footer>
3132
3132
 
3133
3133
  <script> prettyPrint(); </script>
@@ -2663,7 +2663,7 @@ console.log(data);</code></pre>
2663
2663
  <br class="clear">
2664
2664
 
2665
2665
  <footer>
2666
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
2666
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
2667
2667
  </footer>
2668
2668
 
2669
2669
  <script> prettyPrint(); </script>
@@ -261,7 +261,7 @@ Thrown when file read or write operations fail</p></div>
261
261
  <br class="clear">
262
262
 
263
263
  <footer>
264
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
264
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
265
265
  </footer>
266
266
 
267
267
  <script> prettyPrint(); </script>
@@ -1003,7 +1003,7 @@ Uses fs.promises when available, falls back to callback-based API</p>
1003
1003
  <br class="clear">
1004
1004
 
1005
1005
  <footer>
1006
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
1006
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
1007
1007
  </footer>
1008
1008
 
1009
1009
  <script> prettyPrint(); </script>
@@ -284,7 +284,7 @@ Thrown when function parameters don't meet expected type or value requirements</
284
284
  <br class="clear">
285
285
 
286
286
  <footer>
287
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
287
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
288
288
  </footer>
289
289
 
290
290
  <script> prettyPrint(); </script>
@@ -331,7 +331,7 @@
331
331
  <br class="clear">
332
332
 
333
333
  <footer>
334
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
334
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
335
335
  </footer>
336
336
 
337
337
  <script> prettyPrint(); </script>
@@ -238,7 +238,7 @@ Thrown when parsed CSV data cannot be converted to valid JSON</p></div>
238
238
  <br class="clear">
239
239
 
240
240
  <footer>
241
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
241
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
242
242
  </footer>
243
243
 
244
244
  <script> prettyPrint(); </script>
@@ -3306,7 +3306,7 @@ When inactive, only trims leading and trailing whitespace</p>
3306
3306
  <br class="clear">
3307
3307
 
3308
3308
  <footer>
3309
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
3309
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
3310
3310
  </footer>
3311
3311
 
3312
3312
  <script> prettyPrint(); </script>
@@ -317,7 +317,7 @@ async function processCSV() {
317
317
  <br class="clear">
318
318
 
319
319
  <footer>
320
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
320
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
321
321
  </footer>
322
322
 
323
323
  <script> prettyPrint(); </script>
@@ -332,7 +332,7 @@ exports.browser = require('./src/browserApi');
332
332
  <br class="clear">
333
333
 
334
334
  <footer>
335
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
335
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
336
336
  </footer>
337
337
 
338
338
  <script> prettyPrint(); </script>
@@ -262,7 +262,7 @@ module.exports = new BrowserApi();
262
262
  <br class="clear">
263
263
 
264
264
  <footer>
265
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
265
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
266
266
  </footer>
267
267
 
268
268
  <script> prettyPrint(); </script>
@@ -596,7 +596,7 @@ module.exports = new CsvToJson();
596
596
  <br class="clear">
597
597
 
598
598
  <footer>
599
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
599
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
600
600
  </footer>
601
601
 
602
602
  <script> prettyPrint(); </script>
@@ -235,7 +235,7 @@ module.exports = new CsvToJsonAsync();</code></pre>
235
235
  <br class="clear">
236
236
 
237
237
  <footer>
238
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
238
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
239
239
  </footer>
240
240
 
241
241
  <script> prettyPrint(); </script>
@@ -365,7 +365,7 @@ module.exports = {
365
365
  <br class="clear">
366
366
 
367
367
  <footer>
368
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
368
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
369
369
  </footer>
370
370
 
371
371
  <script> prettyPrint(); </script>
@@ -138,7 +138,7 @@ module.exports = new FileUtils();
138
138
  <br class="clear">
139
139
 
140
140
  <footer>
141
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
141
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
142
142
  </footer>
143
143
 
144
144
  <script> prettyPrint(); </script>
@@ -66,7 +66,7 @@ module.exports = new JsonUtil();</code></pre>
66
66
  <br class="clear">
67
67
 
68
68
  <footer>
69
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
69
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
70
70
  </footer>
71
71
 
72
72
  <script> prettyPrint(); </script>
@@ -203,7 +203,7 @@ module.exports = new StringUtils();
203
203
  <br class="clear">
204
204
 
205
205
  <footer>
206
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:47:17 GMT+0000 (Coordinated Universal Time)
206
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 15:59:19 GMT+0000 (Coordinated Universal Time)
207
207
  </footer>
208
208
 
209
209
  <script> prettyPrint(); </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "convert-csv-to-json",
3
- "version": "4.9.0",
3
+ "version": "4.11.0",
4
4
  "description": "Convert CSV to JSON",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,43 +0,0 @@
1
- # Simple workflow for deploying static content to GitHub Pages
2
- name: Deploy static content to Pages
3
-
4
- on:
5
- # Runs on pushes targeting the default branch
6
- push:
7
- branches: ["master"]
8
-
9
- # Allows you to run this workflow manually from the Actions tab
10
- workflow_dispatch:
11
-
12
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
- permissions:
14
- contents: read
15
- pages: write
16
- id-token: write
17
-
18
- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19
- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20
- concurrency:
21
- group: "pages"
22
- cancel-in-progress: false
23
-
24
- jobs:
25
- # Single deploy job since we're just deploying
26
- deploy:
27
- environment:
28
- name: github-pages
29
- url: ${{ steps.deployment.outputs.page_url }}
30
- runs-on: ubuntu-latest
31
- steps:
32
- - name: Checkout
33
- uses: actions/checkout@v4
34
- - name: Setup Pages
35
- uses: actions/configure-pages@v5
36
- - name: Upload artifact
37
- uses: actions/upload-pages-artifact@v3
38
- with:
39
- # Upload entire repository
40
- path: '.'
41
- - name: Deploy to GitHub Pages
42
- id: deployment
43
- uses: actions/deploy-pages@v4