GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: use module names in stability overview table · nodejs/node@d2fc2aa

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/doc
    • stability.mjs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/doc/stability.mjs‎

Copy file name to clipboardExpand all lines: tools/doc/stability.mjs
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,23 @@ function collectStability(data) {
3232

3333
stability.push({
3434
api: mod.name,
35+
displayName: mod.textRaw,
3536
link: link,
3637
stability: mod.stability,
3738
stabilityText: `(${mod.stability}) ${mod.stabilityText}`,
3839
});
3940
}
4041
}
4142

42-
stability.sort((a, b) => a.api.localeCompare(b.api));
43+
stability.sort((a, b) => a.displayName.localeCompare(b.displayName));
4344
return stability;
4445
}
4546

4647
function createMarkdownTable(data) {
4748
const md = ['| API | Stability |', '| --- | --------- |'];
4849

4950
for (const mod of data) {
50-
md.push(`| [${mod.api}](${mod.link}) | ${mod.stabilityText} |`);
51+
md.push(`| [${mod.displayName}](${mod.link}) | ${mod.stabilityText} |`);
5152
}
5253

5354
return md.join('\n');

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.