New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mishguru/flacutono

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mishguru/flacutono - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

test/Foreman.js

23

dist/Foreman.js

@@ -22,13 +22,24 @@ 'use strict';

this.onLog = this.logStatus;
this.interval = setInterval(() => {
this.logStatus();
this.onLog(this.getStatus());
}, this.logInterval);
}
logStatus() {
getStatus() {
const activeJobs = this.logger.activeJobs();
const groupedJobs = groupJobsBySection(activeJobs);
for (const [section, jobs] of Object.entries(groupedJobs)) {
return Object.entries(groupedJobs).reduce((status, entry) => {
const [section, jobs] = entry;
status[section] = jobs.map(job => {
`${job.data.name} (${job.age()}s)`;
});
return status;
}, {});
}
logStatus(status) {
for (const [section, jobs] of Object.entries(status)) {
console.log(section.replace(/./g, '='));

@@ -38,5 +49,3 @@ console.log(section);

jobs.forEach(job => {
console.log(` - ${job.data.name} (${job.age()}s)`);
});
jobs.forEach(job => console.log(job));
}

@@ -43,0 +52,0 @@ }

{
"name": "@mishguru/flacutono",
"version": "3.0.1",
"version": "3.1.0",
"description": "Server status monitor",

@@ -5,0 +5,0 @@ "main": "dist/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