Skip to content

Commit a26c5f2

Browse files
authored
chore: remove readable-stream (#35)
1 parent 3fa8938 commit a26c5f2

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎commit-stream.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function commitStream (ghUser, ghProject) {
4747
}
4848
commit.reviewers.push({ name: m[1], email: m[2] })
4949
} else if ((m = line.match(/\bCVE-ID:\s+(CVE-\d{4}-\d{4,})\b/)) !== null) {
50-
commit.cveId = m[1];
50+
commit.cveId = m[1]
5151
} else if ((m = line.match(/^\s+PR(?:[- ]?URL)?:?\s*(.+)\s*$/) || line.match(/\(#(\d+)\)$/)) !== null) {
5252
commit.prUrl = m[1]
5353
if (

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"@semantic-release/release-notes-generator": "^14.1.0",
2929
"conventional-changelog-conventionalcommits": "^9.3.1",
3030
"list-stream": "^2.1.0",
31-
"readable-stream": "^4.3.0",
3231
"semantic-release": "^25.0.3",
3332
"split2": "^4.2.0"
3433
},

‎test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import assert from 'node:assert/strict'
44
import nodeTest from 'node:test'
55
import split2 from 'split2'
66
import listStream from 'list-stream'
7-
import { pipeline } from 'readable-stream'
7+
import { pipeline } from 'node:stream'
88

99
function test (name, fn) {
1010
return nodeTest(name, (_, done) => fn({

0 commit comments

Comments
 (0)