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

monitor.io

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monitor.io - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

17

index.js

@@ -271,9 +271,16 @@ var ansi = require('ansi');

Monitor.prototype._monitorFn = function(socket, name, value) {
if (value !== undefined) {
socket._monitor[name] = value;
if (typeof arguments[1] === 'object') {
socket._monitor = arguments[1];
if (this.running) {
this.dirty = true;
}
} else {
return socket._monitor[name];
} else if (typeof arguments[1] === 'string') {
if (value === undefined) {
return socket._monitor[name];
} else {
socket._monitor[name] = value;
if (this.running) {
this.dirty = true;
}
}
}

@@ -431,3 +438,3 @@ };

commaFlag = true,
exitText = '(Ctrl + C to exit)',
exitText = '(ctrl + c to exit)',
windowWidth = this._getWindowSize().width,

@@ -434,0 +441,0 @@ whiteSpace = Array(windowWidth - title.length - exitText.length).join(' ');

{
"name": "monitor.io",
"version": "0.0.2",
"version": "0.0.3",
"main": "index.js",

@@ -5,0 +5,0 @@ "description": "remote monitoring and debugging for socket.io",

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