docs: fix unbalanced parens in Response example and dead CHANGELOG links by lenoxfernando · Pull Request #1902 · node-fetch/node-fetch · GitHub
Skip to content

docs: fix unbalanced parens in Response example and dead CHANGELOG links - #1902

Open
lenoxfernando wants to merge 1 commit into
node-fetch:mainfrom
lenoxfernando:docs/fix-response-example-and-links
Open

lenoxfernando wants to merge 1 commit into
node-fetch:mainfrom
lenoxfernando:docs/fix-response-example-and-links

Conversation

@lenoxfernando

Copy link
Copy Markdown
  • The body.blob() example in the README closes the new Response(...) call in the wrong place (}.blob()), so the snippet throws a SyntaxError as written.
  • Both upgrade guides link to CHANGELOG.md, which no longer exists in the repo — pointed them at GitHub Releases instead.

Found while running docrot, a small checker that verifies docs examples and links against the code. Happy to adjust anything.

@lbesecker195 lbesecker195 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Verified: CHANGELOG.md no longer exists in the repo, so both upgrade-guide links were dead, and the README snippet did close new Response(...) in the wrong place. LGTM.

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.

2 participants