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')
4
4
var md5 = require ( './md5' )
5
5
var rmd160 = require ( 'ripemd160' )
6
6
var Transform = require ( 'stream' ) . Transform ;
7
- var inherits = require ( 'util' ) . inherits
7
+ var inherits = require ( 'inherits' )
8
8
9
9
module . exports = function ( alg ) {
10
10
if ( 'md5' === alg ) return new HashNoConstructor ( md5 )
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
var createHash = require ( './create-hash' )
3
3
var Transform = require ( 'stream' ) . Transform ;
4
- var inherits = require ( 'util' ) . inherits
4
+ var inherits = require ( 'inherits' )
5
5
var zeroBuffer = new Buffer ( 128 )
6
6
zeroBuffer . fill ( 0 )
7
7
Original file line number Diff line number Diff line change 20
20
"create-ecdh" : " 1.0.3" ,
21
21
"diffie-hellman" : " 2.2.3" ,
22
22
"browserify-sign" : " 2.7.5" ,
23
+ "inherits" : " ^2.0.1" ,
23
24
"pbkdf2-compat" : " 2.0.1" ,
24
25
"public-encrypt" : " 1.1.2" ,
25
26
"ripemd160" : " 0.2.0" ,
You can’t perform that action at this time.
0 commit comments