Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monitor

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monitor - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

22

package.json
{
name: "monitor",
version: "0.2.9",
main: "./lib/node-monitor.js",
description: "Runtime monitoring for node.js applications",
author: "Loren West<open_source@lorenwest.com>",
directories: {lib: "./lib", test: "./test"},
modules: {
"name": "monitor",
"version": "0.2.10",
"main": "./lib/node-monitor.js",
"description": "Runtime monitoring for node.js applications",
"author": "Loren West<open_source@lorenwest.com>",
"directories": {"lib": "./lib", "test": "./test"},
"modules": {
"console-logger": "./logger/console-logger",

@@ -16,3 +16,3 @@ "file-logger": "./logger/file-logger",

},
dependencies: {
"dependencies": {
"config": ">=0.2.8",

@@ -24,6 +24,6 @@ "sprintf": ">=0.1.1",

},
engines: {"node": ">=0.2.4"},
scripts: {
test: "vows test/*.js --spec"
"engines": {"node": ">=0.2.4"},
"scripts": {
"test": "vows test/*.js --spec"
}
}

@@ -56,3 +56,3 @@ /*******************************************************************************

var monitor = new Monitor('TestMonitor','TestModule',{errorLogger:logger1});
monitor.logError({errorText:"Test error"});
monitor.logError({errorText:"Successful error log test"});
setTimeout(this.callback,100);

@@ -65,3 +65,3 @@ },

var contents = fs.readFileSync(tmpfile1, "utf-8");
assert.isTrue(contents.indexOf("Test error") > 0);
assert.isTrue(contents.indexOf("Successful error log test") > 0);
},

@@ -68,0 +68,0 @@ 'Cleanup': function() {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc