Skip to content

Replace concat-stream w/ node:stream/consumers in docs - #274

Merged
wooorm merged 1 commit into
unifiedjs:mainfrom
ChristianMurphy:docs/replace-concat-stream
Oct 3, 2026
Merged

wooorm merged 1 commit into
unifiedjs:mainfrom
ChristianMurphy:docs/replace-concat-stream

Conversation

@ChristianMurphy

Copy link
Copy Markdown
Member

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything or linked relevant results below
  • I made sure the docs are up to date
  • I included tests (or that’s not needed)

Description of changes

Related to unifiedjs/unified-engine#92 and unifiedjs/unified-engine#93.

The processor() example in readme.md and in the JSDoc of lib/index.js read stdin with concat-stream.
unified does not depend on concat-stream, so readers had to install it to run the example.
The example now reads stdin with text() from node:stream/consumers and needs only remark.
The rest stays the same, including processSync.

@github-actions github-actions Bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Sep 29, 2026
@codecov

codecov Bot commented Sep 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ba1af68) to head (13960a4).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #274   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines         1363      1361    -2     
=========================================
- Hits          1363      1361    -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wooorm
wooorm merged commit dfaf172 into unifiedjs:main Oct 3, 2026
11 checks passed
@wooorm wooorm added 📚 area/docs This affects documentation 💪 phase/solved Post is done labels Oct 3, 2026
@github-actions

This comment has been minimized.

@wooorm

wooorm commented Oct 3, 2026

Copy link
Copy Markdown
Member

thank you! :)

@github-actions github-actions Bot removed the 🤞 phase/open Post is being triaged manually label Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 area/docs This affects documentation 💪 phase/solved Post is done

Development

Successfully merging this pull request may close these issues.

2 participants