coston / react-json-to-csv

A react button component to easily generate csv downloads of your json data. ✨
MIT License
56 stars 6 forks source link

fix(deps): update dependency json-to-csv-export to v3 #189

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
json-to-csv-export 2.1.1 -> 3.0.1 age adoption passing confidence

Release Notes

coston/json-to-csv-export (json-to-csv-export) ### [`v3.0.1`](https://togithub.com/coston/json-to-csv-export/releases/tag/v3.0.1) [Compare Source](https://togithub.com/coston/json-to-csv-export/compare/v3.0.0...v3.0.1) ##### Bug Fixes - **[#​65](https://togithub.com/coston/json-to-csv-export/issues/65):** map all headers to csv ([#​66](https://togithub.com/coston/json-to-csv-export/issues/66)) ([8d966d1](https://togithub.com/coston/json-to-csv-export/commit/8d966d1c894c7457a3eae41f61d07b69a907a120)), closes [#​65](https://togithub.com/coston/json-to-csv-export/issues/65) ### [`v3.0.0`](https://togithub.com/coston/json-to-csv-export/releases/tag/v3.0.0): RFC-4180 Compliance [Compare Source](https://togithub.com/coston/json-to-csv-export/compare/v2.1.1...v3.0.0) #### Breaking Change - Default Delimiter Change: The default delimiter has been switched from semicolon (;) to comma (,), in compliance with RFC-4180. This change may affect users relying on the previous default delimiter. Please update your configurations accordingly. For more details, see the discussion here. #### New Features and Improvements - RFC-4180 Compliance: The library now adheres to RFC-4180 rules, ensuring that cell values are wrapped in double-quotes only when they contain a quote, comma (or semicolon if using a semicolon as the delimiter), or carriage-return/newline. This improvement reduces the total file size by avoiding unnecessary quote wrapping and adds stability to generated files, preventing issues with values containing delimiters or newline characters, which are valid for CSV but could previously cause output errors. #### Other Updates - Testing Enhancements: Additional tests have been added to ensure that the generated Blob used in CSV downloads is correctly formatted. #### Acknowledgments Thank you [@​zachelrath](https://togithub.com/zachelrath) for delivering RFC-4180 compliance ⭐ #### Updates - feat([#​61](https://togithub.com/coston/json-to-csv-export/issues/61))!: Change default delimiter to comma ([#​64](https://togithub.com/coston/json-to-csv-export/issues/64)) [`d1221b8`](https://togithub.com/coston/json-to-csv-export/commit/d1221b8) - chore(deps): Bump postcss and next ([#​54](https://togithub.com/coston/json-to-csv-export/issues/54)) [`7c6a93f`](https://togithub.com/coston/json-to-csv-export/commit/7c6a93f) - chore(deps-dev): Bump [@​babel/traverse](https://togithub.com/babel/traverse) from 7.20.12 to 7.23.2 ([#​56](https://togithub.com/coston/json-to-csv-export/issues/56)) [`08c5449`](https://togithub.com/coston/json-to-csv-export/commit/08c5449) - chore: Increase Node compatibility [`ec243d8`](https://togithub.com/coston/json-to-csv-export/commit/ec243d8) - chore: Increase Node version compatibility [`eca2d64`](https://togithub.com/coston/json-to-csv-export/commit/eca2d64) For a full list of changes, see the [compare view](https://togithub.com/coston/json-to-csv-export/compare/v2.2.0-0...v3.0.0).

Configuration

πŸ“… Schedule: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
react-json-to-csv ❌ Failed (Inspect) Aug 17, 2024 4:03am