Skip to content

fix: remove syntax dep, highlight diffs inline#23

Merged
Lauri "datafox" Heino (melodicore) merged 2 commits into
masterfrom
fix/remove-syntax
Jul 7, 2026
Merged

fix: remove syntax dep, highlight diffs inline#23
Lauri "datafox" Heino (melodicore) merged 2 commits into
masterfrom
fix/remove-syntax

Conversation

@melodicore

@melodicore Lauri "datafox" Heino (melodicore) commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Removes the syntax package and its transitive dependencies (tokenizr, sax) which failed to bundle correctly on GitHub Actions runners due to the Browserify bundle's external require() fallback hitting Node's CJS loader with no node_modules present
  • Replaces with a simple inline implementation in formatDiff: ---/+++ lines dimmed, @@ hunk headers cyan, + lines green, - lines red
  • Bumps version to 1.1.2

Removes the `syntax` package and its transitive deps (tokenizr, sax)
which failed to bundle correctly for GitHub Actions runners. Diff
colorization is now handled inline in formatDiff.

Signed-off-by: melodicore <lauri@elide.dev>
Signed-off-by: melodicore <datafox@datafox.me>
@melodicore Lauri "datafox" Heino (melodicore) merged commit eaea069 into master Jul 7, 2026
2 checks passed
@melodicore Lauri "datafox" Heino (melodicore) deleted the fix/remove-syntax branch July 7, 2026 12:30
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.

1 participant