zemirco / json2csv

Convert json to csv with column titles
http://zemirco.github.io/json2csv
MIT License
2.71k stars 366 forks source link

[jsonparse] new Buffer() constructor is deprecated #552

Closed RomainOliva closed 2 years ago

RomainOliva commented 2 years ago

https://github.com/zemirco/json2csv/blob/d5f20bbb3670dd76d4be19fee2ba63918b0443bf/lib/JSON2CSVTransform.js#L60

You are using a library that uses the new Buffer() constructor which is currently deprecated :

I have created an issue (https://github.com/creationix/jsonparse/issues/46) on the project but it doesn't seem to be really maintained anymore, do you think it is possible to make a fork or to use another library ?

knownasilya commented 2 years ago

Will probably be resolved by https://github.com/zemirco/json2csv/pull/551

juanjoDiaz commented 2 years ago

It is resolved by #551 indeed. The new version doesn't use Buffer at all. Just plain TypedArrays.

RomainOliva commented 2 years ago

Nice, thanks for the answer :)

akornmeier commented 2 years ago

Any updates on when the new version will be released?

knownasilya commented 2 years ago

@akornmeier should be released as 6.0.0-alpha.1