Skip to content

chore: bump @projectwallace/css-parser to 0.19.0 - #257

Merged
bartveneman merged 1 commit into
mainfrom
claude/bump-css-parser-0-19-0
Oct 21, 2026
Merged

bartveneman merged 1 commit into
mainfrom
claude/bump-css-parser-0-19-0

Conversation

@bartveneman

Copy link
Copy Markdown
Member

Summary

  • Bumps @projectwallace/css-parser from ^0.18.12 to ^0.19.0 (package.json and pnpm-lock.yaml).
  • 0.19.0 changes the argument order of the string helpers: str_index_of and str_starts_with now take the lowercase needle first, like str_equals. TypeScript can't flag this because both signatures are (string, string).
  • The only affected call site on main is str_index_of(prelude, 'selector(') in format_atrule_prelude, now str_index_of('selector(', prelude). The str_equals calls already used this order.
  • Split out of fix: correctly print atrule preludes without regexes #255 to keep that PR focused; fix: correctly print atrule preludes without regexes #255 builds on this change.

Test plan

  • vitest run passes (277 passed, 1 skipped)
  • tsc clean
  • oxlint / oxfmt --check clean


Generated by Claude Code

str_index_of and str_starts_with now take the lowercase needle first.
Update the one str_index_of call site accordingly.
@github-actions

Copy link
Copy Markdown
Contributor

📦 Package Bundle Size

No bundle size changes.

@bartveneman
bartveneman merged commit 123edb0 into main Oct 21, 2026
9 checks passed
@bartveneman
bartveneman deleted the claude/bump-css-parser-0-19-0 branch October 21, 2026 18:31
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.

2 participants