From dc97090ff78f819fbd443038c311b927adb6b43b Mon Sep 17 00:00:00 2001 From: ZayanKhan-12 <108294002+ZayanKhan-12@users.noreply.github.com> Date: Wed, 22 Jul 2026 15:14:24 -0400 Subject: [PATCH] fix: move `@types/readable-stream` to dependencies The type declarations emitted to `dist/` reference types from `readable-stream`, which resolve through `@types/readable-stream` (`readable-stream@^3` ships no types of its own). With the types package in `devDependencies`, TypeScript consumers of this package are forced to install `@types/readable-stream` themselves. Fixes #58 Co-Authored-By: Claude Fable 5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ec23603..3a7e6eb 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "author": "", "license": "ISC", "dependencies": { + "@types/readable-stream": "4.0.0", "once": "^1.4.0", "readable-stream": "^3.6.2" }, @@ -39,7 +40,6 @@ "@metamask/eslint-config-typescript": "^6.0.0", "@types/node": "^16", "@types/once": "^1.4.0", - "@types/readable-stream": "4.0.0", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "eslint": "^7.32.0",