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

cipher transform issue

Open Misbah-Mushtaq 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..16426bf 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**
 var StringDecoder = require('string_decoder').StringDecoder
 var inherits = require('inherits')
 

This issue body was partially generated by patch-package.

Misbah-Mushtaq avatar Mar 24 '22 10:03 Misbah-Mushtaq