MCPcopy Index your code
hub / github.com/nodejs/nodejs.org / fetchDocs

Function fetchDocs

apps/site/scripts/release-post/index.mjs:103–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 .then(({ version }) => version.substr(1));
102
103const fetchDocs = version => {
104 const blogPostPieces = [
105 fetchChangelogBody(version),
106 fetchAuthor(version),
107 fetchVersionPolicy(version),
108 fetchShasums(version),
109 verifyDownloads(version),
110 ];
111
112 return Promise.all(blogPostPieces).then(
113 ([changelog, author, versionPolicy, shasums, files]) => ({
114 version,
115 changelog,
116 author,
117 versionPolicy,
118 shasums,
119 files,
120 })
121 );
122};
123
124const fetchAuthor = version => {
125 return fetchChangelog(version)

Callers

nothing calls this directly

Calls 5

fetchChangelogBodyFunction · 0.85
fetchAuthorFunction · 0.85
fetchVersionPolicyFunction · 0.85
fetchShasumsFunction · 0.85
verifyDownloadsFunction · 0.85

Tested by

no test coverage detected