Add rowNumber field to ParseError for better error reporting
This commit adds a rowNumber field to the ParseError class to make it
easier for users to identify which CSV record failed during parsing.
Changes:
- Add rowNumber field to ParseErrorOptions interface and ParseError class
- Update Lexer to include rowNumber when throwing ParseError
- Add unit tests for rowNumber property
- Add integration test verifying rowNumber is set correctly on parse errors
The rowNumber field provides more intuitive error messages compared to
line numbers, especially when CSV files contain multi-line quoted fields.
Fixes #519
š¤ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
refactor: simplify exports by removing redundant import conditions
Since we now only distribute ESM, the 'import' condition is redundant.
All exports now use only 'types' and 'default' conditions.
š¤ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>