cipher-base icon indicating copy to clipboard operation
cipher-base copied to clipboard

fault

Open impraveen091 opened this issue 2 years ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/cipher-base/index.js b/node_modules/cipher-base/index.js
index 6728005..d9f4e58 100644
--- a/node_modules/cipher-base/index.js
+++ b/node_modules/cipher-base/index.js
@@ -1,5 +1,5 @@
 var Buffer = require('safe-buffer').Buffer
-var Transform = require('stream').Transform
+var Transform = require('readable-stream').Transform // replacing instead of "stream"
 var StringDecoder = require('string_decoder').StringDecoder
 var inherits = require('inherits')
 

This issue body was partially generated by patch-package.

impraveen091 avatar Jul 02 '23 16:07 impraveen091