feat: R1C1 notation, inline strings, CSV hardening, VBA injection#169
Merged
productdevbook merged 1 commit intomainfrom Apr 4, 2026
Merged
feat: R1C1 notation, inline strings, CSV hardening, VBA injection#169productdevbook merged 1 commit intomainfrom
productdevbook merged 1 commit intomainfrom
Conversation
- R1C1 notation: r1c1ToA1() and a1ToR1C1() formula converters for programmatic formula generation (#162) - Inline string mode: stringMode option on WriteOptions — skip SST for faster writes with unique strings (#166) - CSV injection hardening: expanded FORMULA_PREFIXES with \n, \0, | and added DANGEROUS_PATTERNS for DDE/HYPERLINK detection (#164) - VBA/macro injection: vbaProject option on WriteOptions to embed vbaProject.bin and output macro-enabled format (#160) 19 new tests, 2106 total passing. Closes #162, closes #166, closes #164, closes #160 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
r1c1ToA1()anda1ToR1C1()formula converters — easier programmatic formula generationstringMode: "inline"on WriteOptions — skip shared string table for faster writes\n,\0,|) + dangerous pattern detection (DDE, HYPERLINK, IMPORTXML)vbaProject: Uint8Arrayon WriteOptions — embed vbaProject.bin for .xlsm outputExamples
Test plan
Closes #162, #166, #164, #160
🤖 Generated with Claude Code