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

23
10

13.0.0

Diff

Changelog

Source

v13.0.0

  • 💔 Dropped official support for Node v16, which is EOL.

  • 💔 Several methods, including BatchCluster#pids() were changed from async to sync (as they were needlessly async).

  • 📦 A number of timeout options can now be validly 0 to disable timeouts:

    • spawnTimeoutMillis
    • taskTimeoutMillis
  • 📦 Added eslint @typescript-eslint/await-thenable rule and delinted.

  • 📦 Updated development dependencies and rebuilt docs

mceachen
published 12.1.0 •

Changelog

Source

v12.1.0

  • 🐞 pidExists now handles EPERM properly (previous implementation would mischaracterize pids as being dead due to insufficient permissions)

  • 📦 Updated development dependencies and rebuilt docs

mceachen
published 12.0.0 •

Changelog

Source

v12.0.0

  • 💔/✨ pidExists and killPid are no longer async, as process management is now performed via node:process.kill(), instead of forking ps or tasklist.

  • 📦 Updated development dependencies and rebuilt docs

mceachen
published 11.0.0 •

Changelog

Source

v11.0.0

mceachen
published 10.4.3 •

Changelog

Source

v10.4.3

  • 🐞 Fix support for zero value of maxProcAgeMillis

  • 📦 Updated development dependencies and rebuilt docs

mceachen
published 10.4.2 •

Changelog

Source

v10.4.2

mceachen
published 10.4.1 •

Changelog

Source

v10.4.1

  • 📦 Improved concurrent event Rate measurement.
mceachen
published 10.4.0 •

Changelog

Source

v10.4.0

  • ✨ If healthCheckCommand is set and any task fails, that child process will have a health check run before being put back into rotation.

  • 📦 Updated development dependencies and rebuilt docs

mceachen
published 10.3.2 •

Changelog

Source

v10.3.2

  • 🐞 BatchCluster#maybeSpawnProcs in prior versions could spawn too many processes, especially if process startup was slow. Heuristics for when to spawn new processes now take into account pending task length and processes busy due to initial setup.

  • 📦 BatchCluster.vacuumProcs returns a promise that is only fulfilled after all reaped child processes have completed BatchProcess.#end.

  • 📦 BatchProcess.whyNotHealthy can now return startError.

  • 📦 childEnd is now emitted only after the child process exits

  • 📦 BatchCluster.#onIdle is debounced during the same event loop

  • 📦 Added startup and shutdown spec assertions

  • 📦 Updated development dependencies and rebuilt docs

mceachen
published 10.3.1 •

Changelog

Source

v10.3.1

  • 📦 Add Rate.msSinceLastEvent

  • 📦 Adjusted streamFlushMillis to remove onTaskData errors in CI.

23
10
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