Socket
Socket
Sign inDemoInstall

worker-farm

Package Overview
Dependencies
3
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.1

12

lib/fork.js

@@ -18,2 +18,6 @@ 'use strict'

child.on('error', function() {
// this *should* be picked up by onExit and the operation requeued
})
child.send({ module: forkModule })

@@ -23,9 +27,3 @@

return {
send : function (data) {
try {
child.send(data)
} catch (e) {
// this *should* be picked up by onExit and the operation requeued
}
}
send : child.send.bind(child)
, child : child

@@ -32,0 +30,0 @@ }

{
"name": "worker-farm",
"description": "Distribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options.",
"version": "1.5.0",
"version": "1.5.1",
"homepage": "https://github.com/rvagg/node-worker-farm",

@@ -6,0 +6,0 @@ "authors": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc