Skip to content
Closed
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
16 changes: 16 additions & 0 deletions src/generate/deprecations.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const toc = [
{
type: 'heading',
depth: 2,
children: [
{
type: 'text',
value: 'Deprecations',
},
{
type: 'text',
value: ' (DEP-XXXX)',
},
],
},
];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unused placeholder TOC file

Medium Severity

This new src/generate/deprecations.js file hardcodes a TOC with the placeholder (DEP-XXXX) and never exports or uses toc. Nothing imports the file, so it does not change TOC generation. Deprecation IDs still get stripped by headingLabel in buildBarProps.mjs, so the claimed fix never takes effect.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit edd4999. Configure here.