Skip to content

v3.0.1

Choose a tag to compare

@elkaix elkaix released this 04 Nov 01:32
· 25 commits to main since this release
dfc8ff6

React Frontend Skills v3.0.1

Fixed

  • scan no longer stalls on hostile files. 3.0.0's comment masking was quadratic on some input: 500 KB of unclosed /* or <!-- lines took 30–60 s, and a long CSS line full of // took 10 s. Every case now finishes in milliseconds.
  • Comment masking is more accurate:
    • One-line regex literals such as /[//]/ (including after return) and unquoted CSS url(http://…) count as text.
    • Comments inside template ${…} expressions are masked.
    • JSX and Vue slashes ({b} />, {{a}}/{{b}}) are left alone.
  • Version and check fixes:
    • npm 6 (lockfileVersion 1) lockfiles are read.
    • A check that a config flag rules out is no longer counted as version-unknown.
    • tw4-leading-important-modifier handles doubly nested helper calls.
  • Docs:
    • msw: Node 22.12, .nvmrc, and the tsconfig module/moduleResolution pairing.
    • playwright: .webp CI artifacts, and --project="*" for full runs.
    • tailwind: canonicalization uses the active theme.
    • README: which files scan reads, and how a pinned range sets the version gate.

Install

npx skills add PyModel/react-frontend-skills --all

Full changelog: v3.0.0...v3.0.1