Commit 13b76f2
committed
fix: declare prism-react-renderer as a direct dependency
It was being imported from components/liveHighlight.tsx,
components/prismLanguageSC.ts, and components/prismTheme.ts but only
resolved as a transitive of react-live-runner. Pinned to 1.3.5 because
the code uses the v1 API (default Highlight export plus named Prism
and Language exports), which v2 dropped.
Also clean up two oxlint warnings in prismLanguageSC.ts: switch the
keyword sort to Array#toSorted and drop a redundant empty export.1 parent da835d4 commit 13b76f2
3 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments