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

keymetrics-api

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keymetrics-api - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

lel

8

lib/services/worker.js

@@ -13,9 +13,7 @@ 'use strict';

data.event = this.event;
self.formatStatus(data, function() {
self.bus.emit(data.event.replace('raw:', 'data:'), data);
});
self.bus.emit(data.event.replace('raw:', 'data:'), self.formatStatus(data));
})
}
Worker.prototype.formatStatus = function (status, done) {
Worker.prototype.formatStatus = function (status) {
var formatted = { servers: {}, _server_list: {}, apps: {}, apps_server: {}, mini_metrics: {}, event: status.event};

@@ -115,3 +113,3 @@

return done(formatted);
return formatted;
};
{
"name": "keymetrics-api",
"version": "1.2.0",
"version": "1.2.1",
"description": "Keymetrics API Wrapper",

@@ -5,0 +5,0 @@ "main": "index.js",

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