Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csv42

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv42 - npm Package Versions

2

5.0.3

Diff

Changelog

Source

5.0.3 (2024-11-05)

josdejong
published 5.0.2 •

Changelog

Source

5.0.2 (2024-11-05)

Bug Fixes

  • publish on npm again since npm doesn't show a readme (15b4882)
josdejong
published 5.0.1 •

Changelog

Source

5.0.1 (2024-11-05)

  • Update information badges in the readme
josdejong
published 5.0.0 •

Changelog

Source

5.0.0 (2023-09-07)

⚠ BREAKING CHANGES

    • parseValue now receives the escaped value and an additional argument quoted
  • utility function unescapeValue is removed

Features

  • parseValue now receives the escaped value and an additional argument quoted (fbc13bc)
  • support dot notation like coordinates.1 for headers to parse into a nested array (67c2685)

Bug Fixes

  • change the nested CSV benchmark to not use nested arrays (not supported by all libraries) (14c45bd)
  • create unique column names in case of duplicates (ac5c247)
josdejong
published 4.0.0 •

Changelog

Source

4.0.0 (2023-06-02)

⚠ BREAKING CHANGES

  • The API is now generic, so you can use the library like json2csv<User>(...) and csv2json<User>(...). The typings of the value getters and setters (getValue and setValue) is changed, and the type of NestedObject is changed.

Features

  • improved TypeScript support (fixes #2) (9ec74ae)
josdejong
published 3.0.4 •

Changelog

Source

3.0.4 (2023-05-31)

Bug Fixes

  • workaround for TypeScript throwing an error regarding a circular reference (see #2) (219df1a)
josdejong
published 3.0.3 •

Changelog

Source

3.0.3 (2023-04-03)

Bug Fixes

  • escape double quotes in column names (72519a9)
josdejong
published 3.0.2 •

Changelog

Source

3.0.2 (2023-03-09)

Bug Fixes

  • make the build-in parseValue robust against invalid json arrays and objects (4faa963)
josdejong
published 3.0.1 •

Changelog

Source

3.0.1 (2023-03-08)

Bug Fixes

  • negative values not being parsed into numbers when converting a csv file to json (8a99af7)
josdejong
published 3.0.0 •

Changelog

Source

3.0.0 (2023-03-07)

⚠ BREAKING CHANGES

  • Dropped the flattenArray option, use flatten: isObjectOrArray instead. Also, the utility function isObjectOrArray is now strict and does not return true for classes.

Features

  • change flatten into a boolean or callback again and make it strict, not matching classes (5d99eb6)
  • export utility functions isObject and isObjectAndArray (ecdf273)
  • performance improvement (b6b2528)
  • performance improvement in parsing a CSV file (baef63a)
  • use the esm output instead of src in the benchmarks (is faster) (cefeeb6)
2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc