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
10

2.2.0

Diff

Changelog

Source

v2.2.0

  • 🐞 Windows taskkill /PID option seemed to work downcased, but the docs say to use uppercase, so I've updated it.
  • 📦 Upgrade all deps including TypeScript to 2.9

(v2.1.2 is the same contents, but np had a crashbug during publish)

mceachen
published 2.1.2 •

mceachen
published 2.1.1 •

Changelog

Source

v2.1.1

  • 📦 More robust end for BatchProcess, which may prevent very long-lived consumers from sporadically leaking child processes on Mac and linux.
  • 📦 Added Node 10 to the build matrix.
mceachen
published 2.1.0 •

Changelog

Source

v2.1.0

  • 📦 Introduced Logger.trace and moved logging related to per-task items down to trace, as heavy load and large request or response payloads could overwhelm loggers. If you really want to see on-the-wire requests and results, enable trace in your debugger implementation. By default, the ConsoleLogger omits log messages with this level.
mceachen
published 2.0.0 •

Changelog

Source

v2.0.0

  • 💔 Replaced BatchClusterObserver with a simple EventEmitter API on BatchCluster to be more idiomatic with node's API
  • 💔 v1.11.0 added "process reuse" after errors, but that turned out to be problematic in recovery, so that change was reverted (and with it, the maxTaskErrorsPerProcess parameter was removed)
  • Rate is simpler and more accurate now.
mceachen
published 1.11.0 •

Changelog

Source

v1.11.0

  • ✨ Added new BatchClusterObserver for error and lifecycle monitoring
  • 📦 Added a number of additional logging calls
mceachen
published 1.10.0 •

Changelog

Source

v1.10.0

  • 🐞 Explicitly use timers.setInterval. May address this issue. Thanks for the PR, Tim Fish!
mceachen
published 1.9.1 •

Changelog

Source

v1.9.1

  • 📦 Changed BatchProcess.end() to use until() rather than Promise.race, and always use kill(pid, forced) after waiting the shutdown grace period to prevent child process leaks.
mceachen
published 1.9.0 •

Changelog

Source

v1.9.0

  • ✨ New Logger.setLogger() for debug, info, warning, and errors. debug and info defaults to Node's debuglog, warn and error default to console.warn and console.error, respectively.
  • 📦 docs generated by typedoc
  • 📦 Upgraded dependencies (including TypeScript 2.7, which has more strict verifications)
  • 📦 Removed tslint, as tsc provides good lint coverage now
  • 📦 The code is now prettier
  • 🐞 delay now allows unrefing the timer, which, in certain circumstances, could prevent node processes from exiting gracefully until their timeouts expired
mceachen
published 1.8.0 •

Changelog

Source

v1.8.0

  • ✨ onIdle now runs as many tasks as it can, rather than just one. This should provide higher throughput.
  • 🐞 Removed stderr emit on race condition between onIdle and execTask. The error condition was already handled appropriately--no need to console.error.
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