Last 12 weeks · 0 commits
5 of 6 standards met
Description Reopens #4 (closed accidentally by deleting the fork). Bumps and from to (and the devDependency to match). Consumers that upgraded to shiki v4 (e.g. nuxt/ui#6679) currently end up with two copies of (v3 from this package, v4 from shiki), which fails typecheck: Since is recursive ( references from its own copy), the two majors can never be reconciled structurally — the only fix is resolving a single copy. No source changes needed: shiki v4 only drops Node 18 and removes deprecated typo-APIs, none of which are used here (, , transformer hooks are all unchanged). Verified: tests, typecheck, build, lint all pass passes (vitepress still bundles shiki v3 — runtime compatible) packed tarball installed next to dedupes to a single and the previously failing assignment typechecks BREAKING CHANGE Requires shiki v4 (Node ≥ 20). Consumers still on shiki v3 would hit the mirrored type error, so this should be released as a new major.
Description Bumps and from to (and the devDependency to match). Consumers that upgraded to shiki v4 (e.g. nuxt/ui#6679) currently end up with two copies of (v3 from this package, v4 from shiki), which fails typecheck: Since is recursive ( references from its own copy), the two majors can never be reconciled structurally — the only fix is resolving a single copy. No source changes needed: shiki v4 only drops Node 18 and removes deprecated typo-APIs, none of which are used here (, , transformer hooks are all unchanged). Verified: tests, typecheck, build, lint all pass passes (vitepress still bundles shiki v3 — runtime compatible) packed tarball installed next to dedupes to a single and the previously failing assignment typechecks BREAKING CHANGE Requires shiki v4 (Node ≥ 20). Consumers still on shiki v3 would hit the mirrored type error, so this should be released as a new major.
Repository: antfu/shiki-transformer-color-highlight. Description: Shiki transformer that highlights colors Stars: 70, Forks: 3. Primary language: TypeScript. Languages: TypeScript (54.1%), HTML (45.5%), JavaScript (0.4%). License: MIT. Homepage: https://shiki-color-highlight.netlify.app/ Latest release: v1.1.0 (6mo ago). Open PRs: 1, open issues: 0. Last activity: 6mo ago. Community health: 85%. Top contributors: antfu, libondev, KazariEX.