File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var createHash = require('sha.js')
44var md5 = require ( './md5' )
55var rmd160 = require ( 'ripemd160' )
66var Transform = require ( 'stream' ) . Transform ;
7- var inherits = require ( 'util' ) . inherits
7+ var inherits = require ( 'inherits' )
88
99module . exports = function ( alg ) {
1010 if ( 'md5' === alg ) return new HashNoConstructor ( md5 )
Original file line number Diff line number Diff line change 11'use strict' ;
22var createHash = require ( './create-hash' )
33var Transform = require ( 'stream' ) . Transform ;
4- var inherits = require ( 'util' ) . inherits
4+ var inherits = require ( 'inherits' )
55var zeroBuffer = new Buffer ( 128 )
66zeroBuffer . fill ( 0 )
77
Original file line number Diff line number Diff line change 2020 "create-ecdh" : " 1.0.3" ,
2121 "diffie-hellman" : " 2.2.3" ,
2222 "browserify-sign" : " 2.8.0" ,
23+ "inherits" : " ^2.0.1" ,
2324 "pbkdf2-compat" : " 2.0.1" ,
2425 "public-encrypt" : " 1.1.2" ,
2526 "ripemd160" : " 0.2.0" ,
You can’t perform that action at this time.
0 commit comments