-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renamedHeaders not showing in meta #1024
Comments
@dasveloper - thanks for raising this issue. I contributed to this new field. As you might see the latest released version @mholt @pokoli can you kindly make another release on current |
When this gets released, there should be a corresponding pull request to the @types/papaparse package adding this new field: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/papaparse/index.d.ts#L433 |
Using 5.4.1 (or you can view in the demo page). When setting { header: true } in the config and having duplicate headers in your data, the headers are renamed correctly but the renamedHeaders meta are not being returned. The docs say "Renamed fields with original (or transformed by transformHeader) are stored in ParseResult.meta.renamedHeaders".
Code to replicate:
The text was updated successfully, but these errors were encountered: