Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"@types/classnames": "2.3.4",
"@types/jest": "28.1.8",
"@types/jest-axe": "3.5.9",
"@types/marked": "4.3.2",
"@types/marked": "6.0.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 @types/marked v6.0.0 is a stub that re-exports types from the marked package itself (it even carries a deprecation notice: "marked provides its own type definitions, so you do not need this installed"). But the project pins marked at v4.3.0, which does not ship its own types — its package.json has no types field. The result: TypeScript will fail to resolve the marked module's types, and npm run type-check (and npm run validate) will break on src/prose/prose-example.ts (import { marked } from 'marked'). Either bump marked to v5+ (which added built-in types) along with this change, or keep @types/marked at v4.x.

"@types/react": "19.2.17",
"@types/react-18": "npm:@types/react@18.3.31",
"@types/react-dom": "19.2.3",
Expand Down
Loading