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

batch-cluster

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

batch-cluster - npm Package Versions

1
810

1.7.1-0

Diff

mceachen
published 1.7.0 •

Changelog

Source

v1.7.0

  • 📦 Exported kill() and running() from BatchProcess
mceachen
published 1.6.1 •

Changelog

Source

v1.6.1

  • 📦 De-flaked some tests on mac, and added Node 8 to the build matrix.
mceachen
published 1.6.0 •

Changelog

Source

v1.6.0

  • ✨ Processes are forcefully shut down with taskkill on windows and kill -9 on other unix-like platforms if they don't terminate after sending the exitCommand, closing stdin, and sending the proc a SIGTERM. Added a test harness to exercise.
  • 📦 Upgrade to TypeScript 2.6.1
  • 🐞 mocha tests don't require the --exit hack anymore 🎉
mceachen
published 1.5.0 •

Changelog

Source

v1.5.0

  • .running() works correctly for PIDs with different owners now.
  • 📦 yarn upgrade --latest
mceachen
published 1.4.1 •

Changelog

Source

v1.4.1

  • 📦 Replaced an errant console.log with a call to log.
mceachen
published 1.4.0 •

Changelog

Source

v1.4.0

  • 🐞 Discovered maxProcs wasn't always utilized by onIdle, which meant in certain circumstances, only 1 child process would be servicing pending requests. Added breaking tests and fixed impl.
mceachen
published 1.3.0 •

Changelog

Source

v1.3.0

  • 📦 Added tests to verify that the kill(0) calls to verify the child processes are still running work across different node version and OSes
  • 📦 Removed unused methods in BatchProcess (whose API should not be accessed directly by consumers, so the major version remains at 1)
  • 📦 Switched to yarn and upgraded dependencies
mceachen
published 1.2.0 •

Changelog

Source

v1.2.0

  • ✨ Added a configurable cleanup signal to ensure child processes shut down on .end()
  • 📦 Moved child process management from BatchCluster to BatchProcess
  • ✨ More test coverage around batch process concurrency, reuse, flaky task retries, and proper process shutdown
mceachen
published 1.1.0 •

Changelog

Source

v1.1.0

  • BatchCluster now has a force-shutdown exit handler to accompany the graceful-shutdown beforeExit handler. For reference, from the Node docs:

The 'beforeExit' event is not emitted for conditions causing explicit termination, such as calling process.exit() or uncaught exceptions.

  • ✨ Remove Rate's time decay in the interests of simplicity
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