File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 21
21
"coverage" : " nyc report --reporter=html" ,
22
22
"benchmark" : " node benchmarks/multi_bench.js" ,
23
23
"test" : " nyc --cache mocha ./test/*.js ./test/commands/*.js --timeout=8000" ,
24
- "pretest" : " optional-dev-dependency hiredis" ,
25
24
"posttest" : " eslint . --fix"
26
25
},
27
26
"dependencies" : {
40
39
"metrics" : " ^0.1.9" ,
41
40
"mocha" : " ^2.3.2" ,
42
41
"nyc" : " ^6.0.0" ,
43
- "optional-dev-dependency" : " ^1.1.0" ,
44
42
"tcp-port-used" : " ^0.1.2" ,
45
43
"uuid" : " ^2.0.1" ,
46
44
"win-spawn" : " ^2.0.0"
Original file line number Diff line number Diff line change @@ -163,10 +163,11 @@ module.exports = {
163
163
}
164
164
var parsers = [ 'javascript' ] ;
165
165
var protocols = [ 'IPv4' ] ;
166
- try {
167
- require ( 'hiredis' ) ;
168
- parsers . push ( 'hiredis' ) ;
169
- } catch ( e ) { /* ignore eslint */ }
166
+ // The js parser works the same as the hiredis parser, just activate this if you want to be on the safe side
167
+ // try {
168
+ // require('hiredis');
169
+ // parsers.push('hiredis');
170
+ // } catch (e) {/* ignore eslint */}
170
171
if ( process . platform !== 'win32' ) {
171
172
protocols . push ( 'IPv6' , '/tmp/redis.sock' ) ;
172
173
}
You can’t perform that action at this time.
0 commit comments