npm / csv-parse
csv-parse
What changed in csv-parse 6 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
1 breaking2 security3 new APIs and options1 behavior and defaults9 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcsv-parse 710 changes
Breaking changes 1
Trim behavior now aligns with ECMAScript whitespace.
Security 1
Fixes prototype replacement reachable through the columns option.
New APIs and options 3
CsvError is now exported.
Delimiter discovery was added to csv-parse.
normalize_options is now exported.
Behavior and default changes 1
Delimiter splitting is disabled when the delimiter is an empty array.
Fixes and other changes 4
Preserves typed column keys.
Types the score callback arguments.
A CommonJS export is now shipped for the stream entry point.
Sync parsing no longer modifies the prototype.
csv-parse 66 changes
Security 1
Fixes prototype pollution associated with the objname option.
Fixes and other changes 5
Support is added for number columns with cast.
The inherited type for delimiter is fixed.
The error type no longer uses TypeScript all.
TypeScript info interfaces are aligned with the JavaScript API.
A declaration for a nonexistent TypeScript function is removed.