Skip to content

Bump convert-csv-to-json from 3.20.0 to 4.31.0#43

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/convert-csv-to-json-4.31.0
Open

Bump convert-csv-to-json from 3.20.0 to 4.31.0#43
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/convert-csv-to-json-4.31.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 6, 2026

Bumps convert-csv-to-json from 3.20.0 to 4.31.0.

Release notes

Sourced from convert-csv-to-json's releases.

Release Notes - RFC 4180 Compliance Update

Version 4.0. - RFC 4180 Compliance

Overview

This release makes csvToJson fully compliant with RFC 4180, the standard format specification for CSV files. This is a significant update that improves standards compliance, reliability, and compatibility with CSV data from various sources.

RFC 4180 (Common Format and MIME Type for Comma-Separated Values (CSV) Files) is the official standard specification for CSV file formatting, maintained by the Internet Engineering Task Force (IETF).


🚀 Key Features

1. RFC 4180 Compliant CSV Parsing

  • Full support for RFC 4180 standard CSV format
  • Proper handling of quoted fields with embedded delimiters
  • Support for multi-line fields (fields containing newlines)
  • Correct quote escaping using double quotes ("")

2. Default Comma Delimiter (Breaking Change)

  • NEW: Comma (,) is now the default field delimiter (RFC 4180 standard)
  • BREAKING: Previous default was semicolon (;)
  • Allows parsing standard CSV files without explicit configuration
  • Maintains backward compatibility through explicit fieldDelimiter() calls

3. Improved Quoted Field Handling

  • Properly handles fields wrapped in quotes
  • Correctly processes escaped quotes within quoted fields
  • Supports empty quoted fields ("")
  • Handles fields containing delimiters, newlines, and special characters

4. Line Ending Support

  • Support for CRLF (\r\n) - Windows standard
  • Support for LF (\n) - Unix/Linux standard
  • Support for CR (\r) - older Mac standard
  • Automatic detection and handling

5. Code Quality Improvements

  • Refactored for better readability and maintainability
  • Added comprehensive JSDoc comments
  • Extracted complex logic into focused helper methods
  • Removed deprecated substr() method (replaced with slice())
  • Added braces to all conditional statements
  • Removed deprecated jsonToCsv() function

6. Comprehensive Test Coverage

  • 12 new RFC 4180 compliance tests
  • 12 new comma-delimiter tests
  • 109 total tests (up from 94)
  • Edge case handling verification

... (truncated)

Changelog

Sourced from convert-csv-to-json's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • New csvStringToJsonStringified() method that converts CSV content directly to a validated JSON string without requiring file I/O
  • Improved test coverage for string-based CSV parsing

Changed

  • No breaking changes - all existing APIs remain unchanged

[4.0.0] - RFC 4180 Compliance Update

Overview

This release makes csvToJson fully compliant with RFC 4180, the standard format specification for CSV files. This is a significant update that improves standards compliance, reliability, and compatibility with CSV data from various sources.

Added

  • RFC 4180 Compliant CSV Parsing - Full support for RFC 4180 standard with proper handling of quoted fields with embedded delimiters, newlines, and correct quote escaping
  • Comprehensive Test Coverage - 12 new RFC 4180 compliance tests and 12 new comma-delimiter tests (109 total tests, up from 94)
  • Enhanced Documentation - Comprehensive JSDoc comments and extracted complex logic into focused helper methods

Changed

  • Default Field Delimiter - Changed from semicolon (;) to comma (,) for RFC 4180 compliance ⚠️ BREAKING CHANGE
  • Line Ending Support - Enhanced support for CRLF (\r\n), LF (\n), and CR (\r) line endings with automatic detection
  • Code Quality - Refactored for better readability with all conditional statements now having braces
  • Quote Handling - Improved quoted field parsing with proper handling of fields containing delimiters, newlines, and special characters

Removed

  • Deprecated jsonToCsv() function - Use generateJsonFileFromCsv() instead ⚠️ BREAKING CHANGE
  • Deprecated substr() method - Replaced with slice() for better compatibility

Fixed

  • Fixed handling of empty quoted fields ("")
  • Fixed multi-line field parsing within quoted regions
  • Fixed quote escaping detection (RFC 4180 compliant "")
  • Fixed line ending detection (CRLF, LF, CR)

Migration Guide

For users upgrading to this version:

  • If using semicolon-delimited files: Explicitly set the delimiter with .fieldDelimiter(';')
  • If using jsonToCsv(): Replace with generateJsonFileFromCsv()
  • Reference: See RFC4180_MIGRATION_GUIDE.md for detailed migration instructions

... (truncated)

Commits
  • 67bc553 new release [skip ci]
  • 69ff52c Bump eslint from 10.1.0 to 10.2.0
  • d7a3b23 new release [skip ci]
  • 721a4b5 Bump typescript from 5.9.3 to 6.0.2
  • 50737d0 new release [skip ci]
  • 43d2fe9 Bump lodash in the npm_and_yarn group across 1 directory
  • 91deec4 new release [skip ci]
  • 6637318 Bump eslint-plugin-jsdoc from 62.8.1 to 62.9.0
  • f1ff8e2 new release [skip ci]
  • 43e93b6 Bump ts-jest from 29.4.6 to 29.4.9
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for convert-csv-to-json since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [convert-csv-to-json](https://github.com/iuccio/CSVtoJSON) from 3.20.0 to 4.31.0.
- [Release notes](https://github.com/iuccio/CSVtoJSON/releases)
- [Changelog](https://github.com/iuccio/csvToJson/blob/master/CHANGELOG.md)
- [Commits](iuccio/csvToJson@v3.20.0...v4.31.0)

---
updated-dependencies:
- dependency-name: convert-csv-to-json
  dependency-version: 4.31.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the chore This is a chore label Apr 6, 2026
@dependabot dependabot bot requested a review from patchoulish as a code owner April 6, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore This is a chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant