Skip to content

Conversation

@9saurabh9
Copy link
Contributor

Replaced incorrect destructured import with default import for the 'net' module.

Old:
import { net } from 'node:net'

Corrected to:
import net from 'node:net'

This fix applies to the server and client example for mjs on this page :-
https://nodejs.org/en/learn/modules/how-to-use-streams#key-methods-and-events-in-duplex-streams

@9saurabh9 9saurabh9 requested a review from a team as a code owner July 12, 2025 18:19
@vercel
Copy link

vercel bot commented Jul 12, 2025

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

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Jul 12, 2025 6:20pm

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

@codecov
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.09%. Comparing base (33aed03) to head (32e94b1).
Report is 10 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7975      +/-   ##
==========================================
- Coverage   73.68%   73.09%   -0.60%     
==========================================
  Files          96       95       -1     
  Lines        8354     8355       +1     
  Branches      219      219              
==========================================
- Hits         6156     6107      -49     
- Misses       2197     2247      +50     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@avivkeller avivkeller enabled auto-merge July 14, 2025 13:59
@avivkeller avivkeller added the github_actions:pull-request Trigger Pull Request Checks label Jul 14, 2025
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Jul 14, 2025
@avivkeller avivkeller added this pull request to the merge queue Jul 14, 2025
Merged via the queue into nodejs:main with commit b035290 Jul 14, 2025
13 checks passed
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.

3 participants