Skip to content

Bump convert-csv-to-json from 3.20.0 to 4.51.0#53

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/convert-csv-to-json-4.51.0
Open

Bump convert-csv-to-json from 3.20.0 to 4.51.0#53
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/convert-csv-to-json-4.51.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 26, 2026

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

Release notes

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

v4.37.0

Release Notes - v4.37.

🚀 New Features

Enhanced Streaming Parsing for Large Files

Memory-Efficient File Processing

  • Added getJsonFromFileStreamingAsync(file) method for processing large CSV files without loading them entirely into memory
  • Automatic fallback to regular parsing for older browsers that don't support native streaming
  • Optimized for files larger than 1MB to prevent memory issues

Progress Callbacks for Real-Time Feedback

  • New getJsonFromFileStreamingAsyncWithCallback(file, options) method with progress tracking
  • onChunk callback provides real-time updates during processing: (rows, processed, total) => {}
  • onComplete callback fires when processing finishes: (allRows) => {}
  • onError callback for error handling: (error) => {}
  • Configurable chunkSize option (default: 1000 rows per chunk)

Improved Browser Demo Experience

Visual Progress Indicators

  • Real-time progress bar for large file processing
  • Animated loading spinner with "Processing large file" message
  • Progress updates during chunked processing operations
  • Automatic progress bar removal after completion

Enhanced User Interface

  • Refactored demo code with modular architecture (UIManager, ConfigManager, FileProcessor, etc.)
  • Better error handling and user feedback
  • Improved responsive design and accessibility
  • Automatic streaming options for files > 1MB

📋 API Changes

New Methods

// Basic streaming (memory-efficient)
const data = await csvToJson.browser.getJsonFromFileStreamingAsync(file);
// Streaming with progress callbacks
await csvToJson.browser.getJsonFromFileStreamingAsyncWithCallback(file, {
chunkSize: 1000,
onChunk: (rows, processed, total) => {
console.log(Processed ${processed}/${total} rows);
// Update progress bar here
},
onComplete: (allRows) => {
console.log('Processing complete!');
},
</tr></table>

... (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
Maintainer changes

This version was pushed to npm by 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.51.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.51.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot requested a review from patchoulish as a code owner May 26, 2026 10:06
@dependabot dependabot Bot added the chore This is a chore label May 26, 2026
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