convert-csv-to-json 2.38.0 → 2.40.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.
@@ -26,25 +26,26 @@ jobs:
26
26
  CI: true
27
27
 
28
28
  release:
29
+ permissions:
30
+ contents: write
31
+ id-token: write
29
32
  needs: build
30
33
  if: github.ref == 'refs/heads/master'
31
34
  name: release
32
35
  runs-on: ubuntu-latest
33
36
  steps:
34
- - uses: actions/checkout@v4
35
- with:
36
- token: ${{ secrets.ACTION_TOKEN }}
37
- - uses: fregante/setup-git-user@v2
38
- - run: git config --global user.name "dependabot"
37
+ - name: Git Checkout
38
+ uses: actions/checkout@v4
39
39
  - name: Use Node.js 21.x
40
40
  uses: actions/setup-node@v4
41
41
  with:
42
42
  node-version: 21.x
43
43
  registry-url: 'https://registry.npmjs.org'
44
- - name: npm-semver-publish
45
- uses: iuccio/npm-semver-publish-action@v1.10.0
44
+ - name: Execute semver npm publishing
45
+ uses: iuccio/npm-semver-publish-action@v1.31.0
46
46
  with:
47
47
  target-branch: 'master'
48
+ provenance: true
48
49
  env:
49
50
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
50
51
 
package/README.md CHANGED
@@ -6,16 +6,24 @@
6
6
  [![NPM Version](https://img.shields.io/npm/v/convert-csv-to-json.svg)](https://npmjs.org/package/convert-csv-to-json)
7
7
  ![NodeJS Version](https://img.shields.io/badge/nodeJS-%3E=14.x-brightgreen.svg)
8
8
  [![Downloads](https://img.shields.io/npm/dm/convert-csv-to-json.svg)](https://npmjs.org/package/convert-csv-to-json)
9
+ [![NPM total downloads](https://img.shields.io/npm/dt/convert-csv-to-json.svg?style=flat)](https://npmjs.org/package/convert-csv-to-json)
10
+
11
+ ![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white)
12
+ ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)
9
13
 
10
14
  **This project is not dependent on others packages or libraries.**
11
15
 
12
16
  This repository uses [![GitHub Action - iuccio/npm-semantic-publish-action@latest](https://img.shields.io/badge/GitHub_Action_-iuccio%2Fnpm--semantic--publish--action%40latest-2ea44f)](https://github.com/marketplace/actions/npm-semver-publish)
13
17
 
18
+ Follow [me](https://github.com/iuccio), and consider starring the project to
19
+ show your :heart: and support.
20
+
14
21
  ## Table of Contents
15
22
 
16
23
  <!-- toc -->
17
24
 
18
25
  - [Description](#description)
26
+ - [Support for JS & TS](#support-for-js--ts)
19
27
  - [Prerequisites](#prerequisites)
20
28
  - [Install npm *convert-csv-to-json package*](#install-npm-convert-csv-to-json-package)
21
29
  * [Install](#install)
@@ -33,7 +41,7 @@ This repository uses [![GitHub Action - iuccio/npm-semantic-publish-action@late
33
41
  + [Encoding](#encoding)
34
42
  * [Chaining Pattern](#chaining-pattern)
35
43
  - [Development](#development)
36
- - [CI CD](#ci-cd-github-action)
44
+ - [CI CD github action](#ci-cd-github-action)
37
45
  - [License](#license)
38
46
  - [Buy me a Coffee](#buy-me-a-coffee)
39
47
 
@@ -81,6 +89,9 @@ will generate:
81
89
  }
82
90
  ]
83
91
  ```
92
+ ## Support for JS & TS
93
+
94
+ This package is compatible with ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E) and ![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white).
84
95
 
85
96
  ## Prerequisites
86
97
  **NPM** (see [Installing Npm](https://docs.npmjs.com/getting-started/installing-node)).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "convert-csv-to-json",
3
- "version": "2.38.0",
3
+ "version": "2.40.0",
4
4
  "description": "Convert CSV to JSON",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -31,7 +31,11 @@
31
31
  "npm",
32
32
  "npm-package",
33
33
  "npm-module",
34
- "csv-parser"
34
+ "csv-parser",
35
+ "js",
36
+ "javascript",
37
+ "ts",
38
+ "typescript"
35
39
  ],
36
40
  "author": "iuccio",
37
41
  "license": "ISC",