Skip to content

RenamedHeaders not present in metadata #115

Description

@Robouste

Describe the bug

Trying to parse a csv with duplicate column names and config header: true will rename duplicate headers but will not add the information in the meta properties of the parse result.

To Reproduce

Please provide the necessary steps to reproduce the unwanted behaviour.

this.papa.parse(file, {
        worker: true,
        header: true,
        skipEmptyLines: true,
        complete: (results: ParseResult<{[key: string]: string}[]>) => {
             console.log(results);
        }
}

Expected behavior

According to the documentation, I should see something in ParseResult.meta.renamedHeaders

Software and platform

  • OS: Windows 10
  • Browser: Chrome
  • Version: 118.0.5993.70
  • Angular version: 16.1.8
  • Angular CLI version: 16.1.8
  • Node version: 16.14.2

Additional context

I'm using ngx-papaperse v8.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions