semantic-release / semantic-release/release-notes-generator

replace intoStream with readable.from

Open
#268 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
368
Forks
55
Avg merge
10m
Merged PRs (30d)
1

Description

Is there a need for intoStream when nodejs basically has this built in?

https://github.com/semantic-release/release-notes-generator/blob/9f3380217a1dc76bf99884806bd69cbb3134fd6c/index.js#L89

another option could just be to simply just work with generators instead.

replacing into-stream with node:stream.Readable.from(x) could reduce the pkg by a bit
https://npmgraph.js.org/?q=into-stream@6.0.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with index.js at the linked line and search the repository for other uses of into-stream and the related dependency declaration. Compare replacing it with node:stream.Readable.from(x) against the generator alternative; done means the dependency can be removed without changing release-note generation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
release, tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.