Comparing version 0.2.6 to 0.2.7
@@ -118,4 +118,4 @@ /******************************************************************************* | ||
if (events.length > 0) { | ||
sys.puts("\nModule Event Hits Total Avg"); | ||
sys.puts("---------------------------------------------------------------------------------"); | ||
sys.puts("\nModule Event Hits Total Avg"); | ||
sys.puts("--------------------------------------------------------------------------------"); | ||
var lastMod = ""; | ||
@@ -127,3 +127,3 @@ _.each(events, function(monitor){ | ||
} | ||
sys.puts(sprintf("%-13.13s %-40.40s %8d %8f %8f", | ||
sys.puts(sprintf("%-13.13s %-39.39s %8d %8f %8f", | ||
modName, monitor.getName(), monitor.getHits(), monitor.getTotal(), | ||
@@ -137,4 +137,4 @@ monitor.getAvg() | ||
if (errors.length > 0) { | ||
sys.puts("\nModule Error Hits"); | ||
sys.puts("---------------------------------------------------------------------------------"); | ||
sys.puts("\nModule Error Hits"); | ||
sys.puts("--------------------------------------------------------------------------------"); | ||
var lastMod = ""; | ||
@@ -146,3 +146,3 @@ _.each(errors, function(monitor){ | ||
} | ||
sys.puts(sprintf("%-13.13s %-58.58s %8d", | ||
sys.puts(sprintf("%-13.13s %-57.57s %8d", | ||
modName, monitor.getName(), monitor.getHits() | ||
@@ -154,4 +154,4 @@ )); | ||
// Footer | ||
sys.puts("---------------------------------------------------------------------------------"); | ||
sys.puts(" node.js monitor"); | ||
sys.puts("--------------------------------------------------------------------------------"); | ||
sys.puts(" node.js monitor"); | ||
@@ -169,3 +169,3 @@ }; | ||
process.nextTick(function(){process.exit(0);}); | ||
} | ||
}; | ||
@@ -172,0 +172,0 @@ // Hook process events |
{ | ||
name: "monitor", | ||
version: "0.2.6", | ||
version: "0.2.7", | ||
main: "./lib/node-monitor.js", | ||
@@ -5,0 +5,0 @@ description: "Runtime monitoring for node.js applications", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
84961