Skip to content

Conversation

@benhalverson
Copy link
Member

@benhalverson benhalverson commented Feb 16, 2025

Description

Adds a new article under the getting-started section fetch.md that shows a few examples using undici.

Validation

Visit https://nodejs-org-git-fork-benhalverson-feat-fetch-openjs.vercel.app/en/learn/getting-started/fetch

Related Issues

#7492

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run npm run format to ensure the code follows the style guide.
  • I have run npm run test to check if all tests are passing.
  • I have run npx turbo build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@vercel
Copy link

vercel bot commented Feb 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Feb 21, 2025 5:40am

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

note, undici isn't re-exposed by node so need to add a npm add undici.

@AugustinMauroy
Copy link
Member

you also need to add this news sub-section in navigation explained in CONTRIBUTING.md

@benhalverson benhalverson marked this pull request as ready for review February 16, 2025 11:44
@benhalverson benhalverson requested a review from a team as a code owner February 16, 2025 11:44
Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

Why not making a sub-category ?

@AugustinMauroy
Copy link
Member

cc @nodejs/undici

Copy link
Member

@metcoder95 metcoder95 left a comment

Choose a reason for hiding this comment

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

Overall the examples lgtm, although I was under the impression that if the section is for fetch, maybe narrow more the guide to use fetch and how to extend it with undici?

@github-actions
Copy link
Contributor

github-actions bot commented Feb 21, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 100 🟢 100 🟢 100 🟢 92 🔗
/en/download 🟠 89 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

@github-actions
Copy link
Contributor

github-actions bot commented Feb 21, 2025

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 90%
88.71% (739/833) 76.1% (242/318) 87.65% (142/162)

Unit Test Report

Tests Skipped Failures Errors Time
182 0 💤 0 ❌ 0 🔥 5.821s ⏱️

@AugustinMauroy AugustinMauroy added content Issues/pr concerning content learn Issues/pr concerning the learn section labels Feb 23, 2025
Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

LGTM !

@benhalverson benhalverson added the github_actions:pull-request Trigger Pull Request Checks label Feb 24, 2025
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Feb 24, 2025
@benhalverson benhalverson added this pull request to the merge queue Feb 24, 2025
Merged via the queue into nodejs:main with commit 8f8f028 Feb 24, 2025
36 of 38 checks passed
@benhalverson benhalverson deleted the feat/fetch branch February 24, 2025 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content Issues/pr concerning content learn Issues/pr concerning the learn section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants