Socket
Socket
Sign inDemoInstall

governor-agent

Package Overview
Dependencies
43
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.3.0

15

lib/job.js

@@ -113,2 +113,3 @@ 'use strict';

governor,
taskUtils,
slowTimeout,

@@ -133,2 +134,14 @@ jobId,

taskUtils = {
log: log,
deadletter: function (err) {
if (typeof err === 'string') {
err = new Error(err);
}
err.deadletter = true;
return err;
}
};
return BPromise.try(function () {

@@ -175,3 +188,3 @@

return self.worker(task).then(function () {
return self.worker(task, taskUtils).then(function () {
governor.done();

@@ -178,0 +191,0 @@ }).catch(function (err) {

2

package.json
{
"name": "governor-agent",
"version": "1.2.0",
"version": "1.3.0",
"description": "Agent library to connect worker to governor",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc