keymetrics-api
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -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", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 18 instances 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
2781094
81
19679
20