Skip to content

reference: fix the orphaned assert/strict node nav link#3327

Merged
bartlomieju merged 1 commit into
mainfrom
reference-fix-assert-strict
Jun 20, 2026
Merged

reference: fix the orphaned assert/strict node nav link#3327
bartlomieju merged 1 commit into
mainfrom
reference-fix-assert-strict

Conversation

@bartlomieju

Copy link
Copy Markdown
Member

The node counterpart of the Temporal fix (#3323), and the last known
broken link from the reference rearchitecture.

The node reference sidebar lists modules from node-rewrite-map.json.
node:assert/strict is in that list, but it only re-exports node:assert
in strict mode and declares no symbols of its own, so deno doc generates
no page for it (zero entries in the generated node.json). The sidebar
still linked to /api/node/assert/strict/ - a 404 on every node
reference page.

Removing it from the rewrite map drops the broken link with no effect on
generated output, since it produced nothing. Users find the same symbols
under node:assert, which is unchanged.

Audited: assert/strict is the only orphan among the 55 node modules.

Verified: reference build green (105 pages), no page links to
/api/node/assert/strict/ anymore, and the assert module page and its
sidebar entry are unchanged.

The node sidebar lists modules from node-rewrite-map.json, but
node:assert/strict only re-exports node:assert and produces no symbols of
its own, so deno doc generates no page for it (0 entries in node.json).
The sidebar still linked to /api/node/assert/strict/ though - a 404 on
every node reference page.

Removing it from the rewrite map drops the broken link with no effect on
generated output (it produced nothing). assert/strict users find the same
symbols under node:assert, which is unchanged.

This is the node counterpart of the Temporal fix (#3323); assert/strict
is the only such orphan in the node module list.
@bartlomieju bartlomieju merged commit 85f57f6 into main Jun 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant