Comparing version 0.0.2 to 0.0.3
@@ -62,6 +62,1 @@ var pmx = require('pmx'); | ||
var queries = require('./lib/queries'); | ||
pmx.action('restart', function(reply) { | ||
var child = shelljs.exec('/etc/init.d/redis-server restart'); | ||
return reply(child); | ||
}); |
@@ -64,3 +64,3 @@ var pmx = require('pmx'); | ||
user : conf.module_conf.user, | ||
password : conf.module_conf.password | ||
password : conf.password | ||
}); | ||
@@ -75,3 +75,3 @@ | ||
user : conf.module_conf.user, | ||
password : conf.module_conf.password | ||
password : conf.password | ||
}); | ||
@@ -78,0 +78,0 @@ connection.connect(function(err){ |
{ | ||
"name": "pm2-mysql", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Mysql module", | ||
"dependencies": { | ||
"pmx" : "*", | ||
"mysql" : "*", | ||
"shelljs" : "*" | ||
"mysql" : "*" | ||
}, | ||
@@ -10,0 +9,0 @@ "config": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
2
3
5445
147
- Removedshelljs@*
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglob@7.2.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinterpret@1.4.0(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedrechoir@0.6.2(transitive)
- Removedresolve@1.22.10(transitive)
- Removedshelljs@0.8.5(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedwrappy@1.0.2(transitive)