chore(deps): update dependency @types/marked to v6 - #1142
Conversation
doistbot
left a comment
There was a problem hiding this comment.
This PR bumps @types/marked from v4.3.2 to v6.0.0 via Renovate.
Few things worth tightening:
@types/markedv6 is a deprecated stub that expectsmarkedto ship its own type definitions, but the project pinsmarkedat v4.3.0, which doesn't include built-in types (those were added in v5). This will break TypeScript type resolution for themarkedimport insrc/prose/prose-example.tsand failnpm run type-check. Either upgrademarkedto v5+ alongside this change, or hold@types/markedat v4.x untilmarkedis bumped.
| "@types/jest": "28.1.8", | ||
| "@types/jest-axe": "3.5.9", | ||
| "@types/marked": "4.3.2", | ||
| "@types/marked": "6.0.0", |
There was a problem hiding this comment.
@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.
5d95e02 to
8bccab1
Compare
This PR contains the following updates:
4.3.2→6.0.0Configuration
📅 Schedule: (UTC)
* * * * 1-5)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.