Skip to content

fix(csv-stringify): preserve negative numeric values - #510

Merged
wdavidw merged 1 commit into
adaltas:masterfrom
lux-liang:fix/escape-formulas-negative-numbers-503
Sep 21, 2026
Merged

wdavidw merged 1 commit into
adaltas:masterfrom
lux-liang:fix/escape-formulas-negative-numbers-503

Conversation

@lux-liang

Copy link
Copy Markdown
Contributor

Summary

  • preserve negative number and bigint fields when escape_formulas is enabled
  • continue escaping string fields that begin with -
  • add regression coverage for both numeric and string inputs

Fixes #503

Testing

  • npm --workspace csv-stringify test (212 passing, 1 pending)
  • npx eslint lib/api/index.js test/option.escape_formulas.ts

@wdavidw
wdavidw merged commit 0002d56 into adaltas:master Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

escape_formulas does not work with negative numbers

2 participants