Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions pages/blog/posts/2020-10-10-webpack-5-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ That means the following information about modules has been moved:

- Module connections -> ModuleGraph
- Module issuer -> ModuleGraph
- Module optimization bailout -> ModuleGraph (TODO: check if it should ChunkGraph instead)
- Module optimization bailout -> ModuleGraph
- Module usedExports -> ModuleGraph
- Module providedExports -> ModuleGraph
- Module pre order index -> ModuleGraph
Expand Down Expand Up @@ -1257,8 +1257,8 @@ These dependencies are cheaper to process and webpack uses them when possible
- `Chunk.getChunkModuleMaps` is deprecated
- `Chunk.hasModuleInGraph` is deprecated
- `Chunk.updateHash` signature changed
- `Chunk.getChildIdsByOrders` signature changed (TODO: consider moving to `ChunkGraph`)
- `Chunk.getChildIdsByOrdersMap` signature changed (TODO: consider moving to `ChunkGraph`)
- `Chunk.getChildIdsByOrders` signature changed
- `Chunk.getChildIdsByOrdersMap` signature changed
- `Chunk.getChunkModuleMaps` removed
- `Chunk.setModules` removed
- deprecated Chunk methods removed
Expand Down
3 changes: 3 additions & 0 deletions scripts/markdown/readmes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ const discoverRepos = async () => {

while (url) {
const res = await fetchWithAuth(url);
if (!res.ok) {
throw new Error(`GitHub API returned ${res.status}: ${await res.text()}`);
}

for (const repo of await res.json()) {
if (repo.archived) continue;
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/fetch.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const fetchWithAuth = (url, fetchOptions = {}, retryOptions) =>
...fetchOptions,
headers: {
...fetchOptions?.headers,
githubHeaders,
...githubHeaders,
Comment thread
moshams272 marked this conversation as resolved.
},
},
retryOptions
Expand Down