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

8.0.1

Diff

Changelog

Source

v8.0.1

  • 🐞/📦 BatchProcess now end on spurious stderr/stdout, and reject tasks if ending.

  • 📦 Relaxed default for streamFlushMillis to deflake CI

mceachen
published 8.0.0 •

Changelog

Source

v8.0.0

  • 💔/📦 RegExp pass/fail strings are escaped (which could conceivably be a breaking change, hence the major version bump)

  • 📦 Refactored stdout/stderr merging code and added more tests

  • 📦 Added new "taskResolved" event

  • 📦 Rebuild docs

  • 📦 Updated development dependencies

mceachen
published 7.2.1 •

Changelog

Source

v7.2.1

  • 📦 Relax typing for optional BatchProcessOptions fields
mceachen
published 7.2.0 •

Changelog

Source

v7.2.0

  • 📦 Upgrade all dev dependencies. Pulling in new TypeScript 4.4 required redoing all node imports.
mceachen
published 7.1.0 •

Changelog

Source

v7.1.0

  • ✨ Added on("healthCheckError", err, proc) event

  • 🐞 Fixed process start lag (due to startup tasks not emitting an .onIdle)

  • 🐞 Reworked when health checks were run, and add tests to validate failing health checks recycle children

  • 📦 Rebuild docs

mceachen
published 7.0.0 •

Changelog

Source

v7.0.0

  • 💔 Several fields were renamed to make things more consistent:

    • BatchCluster.pendingTasks was renamed to BatchCluster.pendingTaskCount.
    • A new BatchCluster.pendingTasks method now matches BatchCluster.currentTasks, which both return Task[].
    • BatchCluster.busyProcs was renamed to busyProcCount.
    • BatchCluster.spawnedProcs was renamed to spawnedProcCount.
  • ✨ Added support for "health checks" that run periodically on child processes. Both healthCheckCommand and healthCheckIntervalMillis must be set to enable this feature.

  • ✨ New pidCheckIntervalMillis to verify internal child process state is kept in sync with the process table. Defaults to every 2 minutes. Will no-op if idle.

  • ✨ New BatchCluster.childEndCounts to report why child processes were recycled (currently "dead" | "ending" | "closed" | "worn" | "idle" | "broken" | "old" | "timeout" )

  • 📦 Cleaned up scheduling: the prior implementation generated a bunch of Promises per idle period, which was rough on the GC. Use of Mutex is now relegated to tests.

  • 📦 tsconfig now emits ES2018 output and doesn't have downlevelIteration, which reduces the size of the generated javascript, but requires contemporary versions of Node.js.

  • 📦 BatchClusterOptions doesn't mark fields as readonly anymore

  • 📦 Task has a default type of any now.

mceachen
published 6.2.1 •

Changelog

Source

v6.2.1

  • 📦 Added BatchCluster.currentTasks
mceachen
published 6.2.0 •

Changelog

Source

v6.2.0

  • 📦 Updated development dependencies, which required handling undefined process ids.
mceachen
published 6.1.0 •

Changelog

Source

v6.1.0

  • ✨ Added BatchCluster.closeChildProcesses() (ends child processes but doesn't .end() the BatchCluster instance)
  • 📦 Updated development dependencies
mceachen
published 6.0.2 •

Changelog

Source

v6.0.2

  • 📦 Include sourcemaps
  • 📦 Updated development dependencies
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