From 7ed1a66d8c0a50de496d2ea48d1bfc55e7461db1 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Mon, 2 Nov 2026 13:42:34 +1100 Subject: [PATCH] chore: remove readable-stream --- commit-stream.js | 2 +- package.json | 1 - test.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/commit-stream.js b/commit-stream.js index 0ed4a48..b793898 100644 --- a/commit-stream.js +++ b/commit-stream.js @@ -47,7 +47,7 @@ export default function commitStream (ghUser, ghProject) { } commit.reviewers.push({ name: m[1], email: m[2] }) } else if ((m = line.match(/\bCVE-ID:\s+(CVE-\d{4}-\d{4,})\b/)) !== null) { - commit.cveId = m[1]; + commit.cveId = m[1] } else if ((m = line.match(/^\s+PR(?:[- ]?URL)?:?\s*(.+)\s*$/) || line.match(/\(#(\d+)\)$/)) !== null) { commit.prUrl = m[1] if ( diff --git a/package.json b/package.json index 272a477..40a0d14 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "@semantic-release/release-notes-generator": "^14.1.0", "conventional-changelog-conventionalcommits": "^9.3.1", "list-stream": "^2.1.0", - "readable-stream": "^4.3.0", "semantic-release": "^25.0.3", "split2": "^4.2.0" }, diff --git a/test.js b/test.js index 11c3504..ac843e3 100644 --- a/test.js +++ b/test.js @@ -4,7 +4,7 @@ import assert from 'node:assert/strict' import nodeTest from 'node:test' import split2 from 'split2' import listStream from 'list-stream' -import { pipeline } from 'readable-stream' +import { pipeline } from 'node:stream' function test (name, fn) { return nodeTest(name, (_, done) => fn({