Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
8244ffc
feature
Apr 26, 2023
fec13dc
fixing function name
Apr 26, 2023
34a330d
fixing headers when supported quoted field
Apr 26, 2023
2775862
class CsvToJson
J-Siu Jul 18, 2023
7b0640e
Bump chai from 4.3.7 to 4.3.8
dependabot[bot] Aug 24, 2023
5e58ac7
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
569f352
Bump chai from 4.3.8 to 4.3.9
dependabot[bot] Sep 27, 2023
b40b1a1
Bump chai from 4.3.9 to 4.3.10
dependabot[bot] Sep 28, 2023
067e06f
Bump actions/setup-node from 3 to 4
dependabot[bot] Oct 23, 2023
9c2c107
add node 20.x CI
iuccio Nov 19, 2023
b2dad16
Update README.md
iuccio Nov 28, 2023
f24badf
Bump github/codeql-action from 2 to 3
dependabot[bot] Dec 18, 2023
382b354
Bump mocha from 10.2.0 to 10.3.0
dependabot[bot] Feb 8, 2024
3b66b6a
WIP migrate to jest
iuccio Feb 17, 2024
66e4fc0
migrate do jest
iuccio Feb 17, 2024
8703340
add jest config
iuccio Feb 17, 2024
79f576b
remove nodeJs 12.x support, add v 21.x
iuccio Feb 17, 2024
43b7f59
update security info and docu
iuccio Feb 17, 2024
18abbb1
add scritp for manual versioning
iuccio Feb 17, 2024
dcf23c9
2.1.0
iuccio Feb 17, 2024
3c3759b
2.2.0
iuccio Feb 17, 2024
853a318
update security docu
iuccio Feb 17, 2024
b27f326
add CD releasing [PATCH]
iuccio Feb 24, 2024
503e9d1
add git config global for cd
iuccio Feb 24, 2024
7a8c6c8
add acces key to push on master
iuccio Feb 25, 2024
226c4b5
exec jobs sequentially, return script status
iuccio Feb 25, 2024
cd648b3
2.3.0
iuccio Feb 25, 2024
8efba93
2.4.0
github-actions[bot] Feb 25, 2024
9cfeef0
2.5.0
github-actions[bot] Feb 25, 2024
6ac8bf4
2.6.0
github-actions[bot] Feb 25, 2024
7134331
disable temporary releasing
iuccio Feb 25, 2024
03f09d7
2.7.0
iuccio Feb 25, 2024
ef31def
2.8.0
iuccio Feb 25, 2024
a93b7bb
2.9.0
iuccio Feb 25, 2024
f4189b1
2.10.0
iuccio Feb 25, 2024
fd4691a
2.11.0
iuccio Feb 25, 2024
3760d16
new release v2.12.0 [skip ci]
iuccio Feb 25, 2024
887a155
2.13.0
iuccio Feb 25, 2024
633672e
2.14.0
iuccio Feb 25, 2024
8311985
2.15.0
iuccio Feb 25, 2024
1855a95
new release v2.16.0 [skip ci]
iuccio Feb 25, 2024
32ed2c9
2.17.0
iuccio Feb 25, 2024
b94f637
2.8.0
iuccio Feb 25, 2024
1266655
2.9.0
iuccio Feb 25, 2024
e7a4d5b
new release v2.10.0 [skip ci]
iuccio Feb 25, 2024
463fbc9
new release v2.8.0 [skip ci]
iuccio Feb 25, 2024
33a47da
new release v2.9.0 [skip ci]
iuccio Feb 25, 2024
a139161
new release v2.8.0 [skip ci]
iuccio Feb 25, 2024
662367d
update ci/cd
iuccio Feb 25, 2024
7a93640
enable npm and git publication
iuccio Feb 25, 2024
911f733
new release v2.8.0 [skip ci]
github-actions[bot] Feb 25, 2024
1311fed
push git tag
iuccio Feb 25, 2024
f84b4ae
new release v2.9.0 [skip ci]
github-actions[bot] Feb 25, 2024
90b820c
updade node ci/cd badge status
iuccio Feb 25, 2024
05db22c
new release v2.10.0 [skip ci]
github-actions[bot] Feb 25, 2024
c82e72f
try to fix tag pushing [PATCH]
iuccio Feb 25, 2024
47b5640
new release v2.10.1 [skip ci]
github-actions[bot] Feb 25, 2024
52aa38b
new release v2.11.0 [skip ci]
iuccio Feb 25, 2024
b6c2022
new release v2.12.0 [skip ci]
iuccio Feb 25, 2024
8407511
fix tagging [PATCH]
iuccio Feb 25, 2024
2a6668c
new release v2.12.1 [skip ci]
iuccio Feb 25, 2024
20b382d
new release v2.10.2 [skip ci]
iuccio Feb 25, 2024
52ab2ea
new release v2.14.0 [skip ci]
iuccio Feb 25, 2024
c0c27b8
new release v2.15.0 [skip ci]
iuccio Feb 25, 2024
2dffb53
new release v2.16.0 [skip ci]
iuccio Feb 25, 2024
0c811f5
tray to fix tag publishing [PATCH]
iuccio Feb 25, 2024
f7a4b49
new release v2.16.1 [skip ci]
github-actions[bot] Feb 25, 2024
3fce343
add tag to commit id [PATCH]
iuccio Feb 25, 2024
556669a
code clean up
iuccio Feb 25, 2024
a39a249
2.17.0
iuccio Feb 25, 2024
918cb4e
new release v2.18.0 [skip ci]
iuccio Feb 25, 2024
3a5705c
new release v2.19.0 [skip ci]
iuccio Feb 25, 2024
1697c4f
fix ci/cd
iuccio Feb 25, 2024
175da56
new release v2.20.0 [skip ci]
github-actions[bot] Feb 25, 2024
d394e77
new release v2.21.0 [skip ci]
iuccio Feb 25, 2024
50f88c2
[skip ci]
iuccio Feb 25, 2024
8aa7777
fix versioning
iuccio Feb 25, 2024
8ade580
fix versioning
github-actions[bot] Feb 25, 2024
0b2cedb
fix versioning
github-actions[bot] Feb 25, 2024
cc0973b
fix versioning
github-actions[bot] Feb 25, 2024
f838c7e
fix versioning
github-actions[bot] Feb 25, 2024
6a244d0
disable cd
iuccio Feb 25, 2024
3931513
disable cd
iuccio Feb 25, 2024
a620885
disable cd
iuccio Feb 25, 2024
cecf426
new release [skip-ci]
iuccio Feb 25, 2024
bf57a7b
fix ci/cd action
iuccio Feb 25, 2024
8244fe7
new release [skip ci]
github-actions[bot] Feb 25, 2024
2fa0ac8
update documentation
iuccio Feb 25, 2024
2f78866
new release [skip ci]
github-actions[bot] Feb 25, 2024
da915c1
use iuccio/[email protected] to publish npm
iuccio Mar 9, 2024
2b90da2
new release [skip ci]
github-actions[bot] Mar 9, 2024
c6d4b98
update docu and ci
iuccio Mar 9, 2024
4298bb0
new release [skip ci]
github-actions[bot] Mar 9, 2024
ee07748
update ci/cd
iuccio Mar 15, 2024
5108651
new release [skip ci]
github-actions[bot] Mar 15, 2024
034d9cc
update badge
iuccio Mar 15, 2024
65d2a22
new release [skip ci]
github-actions[bot] Mar 15, 2024
b1125a7
Bump iuccio/npm-semver-publish-action from 1.0.0 to 1.10.0
dependabot[bot] Mar 18, 2024
ab5c5f7
apply publish on master branch
iuccio Mar 22, 2024
e31ae5a
new release [skip ci]
github-actions[bot] Mar 22, 2024
6d34f73
exec release only on master
iuccio Mar 22, 2024
2855d82
new release [skip ci]
iuccio Mar 22, 2024
a176c0e
new release [skip ci]
iuccio Mar 22, 2024
82af3be
update docu
iuccio Mar 22, 2024
39f60cc
new release [skip ci]
github-actions[bot] Mar 22, 2024
ec14602
Merge branch 'master' into master
iuccio Mar 29, 2024
68c25cf
Merge pull request #38 from airon-assustadus/master
iuccio Mar 29, 2024
44c75a6
new release [skip ci]
github-actions[bot] Mar 29, 2024
5056ab5
update docu
iuccio Mar 29, 2024
610bd4a
new release [skip ci]
github-actions[bot] Mar 29, 2024
ae22ee5
upgrade semver action publishing
iuccio Mar 30, 2024
553ea28
try to fix permision
iuccio Mar 30, 2024
5c12141
2.40.0
iuccio Mar 30, 2024
41900a3
fix publishing
iuccio Mar 30, 2024
0f14570
update semver action
iuccio Mar 30, 2024
a130811
2.41.0
iuccio Mar 30, 2024
9afc560
fix ci/cd
iuccio Mar 30, 2024
f6c65ea
fix ci/cd
iuccio Mar 30, 2024
cac43da
2.42.0
iuccio Mar 30, 2024
644a16e
new release [skip ci]
github-actions[bot] Mar 30, 2024
b41d2b9
Create FUNDING.yml
iuccio Mar 31, 2024
48b93c9
new release [skip ci]
github-actions[bot] Mar 31, 2024
fec3e80
Create CODE_OF_CONDUCT.md
iuccio Apr 21, 2024
9454ddb
new release [skip ci]
github-actions[bot] Apr 21, 2024
7c77a26
Create CONTRIBUTING.md
iuccio Apr 21, 2024
6214f3a
new release [skip ci]
github-actions[bot] Apr 21, 2024
c6d9e77
fux license mismatch, close #61
iuccio May 12, 2024
b718c45
new release [skip ci]
github-actions[bot] May 12, 2024
2610c98
Bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group
dependabot[bot] Jun 18, 2024
819ad04
Merge pull request #63 from iuccio/dependabot/npm_and_yarn/npm_and_ya…
iuccio Jun 18, 2024
64a1668
new release [skip ci]
github-actions[bot] Jun 18, 2024
41bb231
Bump micromatch from 4.0.5 to 4.0.8 in the npm_and_yarn group
dependabot[bot] Sep 8, 2024
7bd43f9
new release [skip ci]
github-actions[bot] Sep 8, 2024
d0d732b
Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group
dependabot[bot] Dec 3, 2024
748c846
new release [skip ci]
github-actions[bot] Dec 3, 2024
a538be5
change license to MIT. Closes #62. [major]
iuccio May 2, 2025
d2e8adc
new release [skip ci]
github-actions[bot] May 2, 2025
98b5dd3
Update issue templates
iuccio May 3, 2025
a973f8d
new release [skip ci]
github-actions[bot] May 3, 2025
83ebeb0
toggle on/off to remove whitespaces from header fields: closes #67
iuccio May 4, 2025
80143de
new release [skip ci]
github-actions[bot] May 4, 2025
44dbff9
enable support for nodejs 22
iuccio May 4, 2025
2e0d5ca
new release [skip ci]
github-actions[bot] May 4, 2025
ecf85f6
Update README.md
iuccio May 4, 2025
b44e7fc
new release [skip ci]
github-actions[bot] May 4, 2025
237fc08
README broken link, close #72
iuccio Jun 14, 2025
611835c
new release [skip ci]
github-actions[bot] Jun 14, 2025
857c916
Bump actions/checkout from 4 to 5
dependabot[bot] Aug 12, 2025
bffa13e
new release [skip ci]
github-actions[bot] Sep 5, 2025
91c657e
Update index.d.ts
matt-laird Sep 10, 2025
8b106d8
new release [skip ci]
github-actions[bot] Sep 19, 2025
553b705
Bump actions/setup-node from 4 to 5
dependabot[bot] Sep 8, 2025
18f30a5
new release [skip ci]
github-actions[bot] Sep 19, 2025
e66e1a0
Change license from GPL v3.0 to MIT in Readme.md
Uzlopak Sep 30, 2025
b327cf2
new release [skip ci]
github-actions[bot] Oct 1, 2025
6a2dd88
chore: add node 24 and remove node 21 to/from ci -cd workflow
Uzlopak Sep 30, 2025
c802687
Apply suggestion from @Uzlopak
Uzlopak Oct 1, 2025
a13ef28
new release [skip ci]
github-actions[bot] Oct 1, 2025
8f2a48b
Merge branch 'FixIssue39'
J-Siu Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

buy_me_a_coffee: BTC tip address: 37vdjQhbaR7k7XzhMKWzMcnqUxfw1njBNk
custom: BTC tip address: 37vdjQhbaR7k7XzhMKWzMcnqUxfw1njBNk
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
53 changes: 53 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Node CI

on: [push]

jobs:
build:
name: build
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x, 22.x, 24.x]

steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm ci
npm test
env:
CI: true

release:
needs: build
permissions:
id-token: write
if: github.ref == 'refs/heads/master'
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.ACTION_TOKEN }}
- uses: fregante/setup-git-user@v2
- run: git config --global user.name "dependabot"
- name: Use Node.js 22.x
uses: actions/setup-node@v5
with:
node-version: 22.x
registry-url: 'https://registry.npmjs.org'
- name: npm-semver-publish
uses: iuccio/[email protected]
with:
target-branch: 'master'
provenance: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
26 changes: 0 additions & 26 deletions .github/workflows/nodejs.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.project
.settings/
.idea/
coverage/
*.iml
node_modules
.DS_Store
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome",
"request": "launch",
"type": "chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/index.js"
}
]
}
133 changes: 133 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@

# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[INSERT CONTACT METHOD].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
41 changes: 41 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## Contributing

[fork]: /fork
[pr]: /compare
[style]: https://standardjs.com/
[code-of-conduct]: CODE_OF_CONDUCT.md

Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.

Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project you agree to abide by its terms.

## Issues and PRs

If you have suggestions for how this project could be improved, or want to report a bug, open an issue! We'd love all and any contributions. If you have questions, too, we'd love to hear them.

We'd also love PRs. If you're thinking of a large PR, we advise opening up an issue first to talk about it, though! Look at the links below if you're not sure how to open a PR.

## Submitting a pull request

1. [Fork][fork] and clone the repository.
1. Configure and install the dependencies: `npm install`.
1. Make sure the tests pass on your machine: `npm test`, note: these tests also apply the linter, so there's no need to lint separately.
1. Create a new branch: `git checkout -b my-branch-name`.
1. Make your change, add tests, and make sure the tests still pass.
1. Push to your fork and [submit a pull request][pr].
1. Pat your self on the back and wait for your pull request to be reviewed and merged.

Here are a few things you can do that will increase the likelihood of your pull request being accepted:

- Follow the [style guide][style] which is using standard. Any linting errors should be shown when running `npm test`.
- Write and update tests.
- Keep your changes as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).

Work in Progress pull requests are also welcome to get feedback early on, or if there is something blocked you.

## Resources

- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
- [GitHub Help](https://help.github.com)
Loading