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

5.6.4

Diff

Changelog

Source

v5.6.4

  • 📦 Updated development dependencies
mceachen
published 5.6.3 •

Changelog

Source

v5.6.3

  • 📦 Moved to the PhotoStructure org. Updated URLs in docs.
mceachen
published 5.6.2 •

Changelog

Source

v5.6.2

  • 📦 Updated development dependencies
  • 📦 Removed trace and debug log calls in BatchProcess (which incurred GC overhead even when disabled)
mceachen
published 5.6.1 •

Changelog

Source

v5.6.1

  • 📦 Expose BatchCluster.options. Note that the object is frozen at construction.
mceachen
published 5.6.0 •

Changelog

Source

v5.6.0

  • 🐞/✨ BatchProcess.end() didn't correctly implement gracefully (which resulted in spurious end(): called while not idle errors), and allowed for multiple calls to destroy and disconnect from the child process, which may or may not have been ill-advised.
mceachen
published 5.5.0 •

Changelog

Source

v5.5.0

  • ✨ Added BatchCluster.isIdle. Updated development dependencies. Deflaked CI by embiggening
  • ✨ Added BatchClusterOptions.cleanupChildProcs, in case you want to handle process cleanup yourself.
  • 📦 Updated development dependencies. Deflaked CI by embiggening timeouts.
  • Happy 🥧 day.
mceachen
published 5.4.0 •

Changelog

Source

v5.4.0

  • ✨ "wear-leveling" for processes. Previously, only the first-spawned child process would service most task requests, but that caused issues with (very) long-running tasks where the other child processes would be spooled off ram, and could time out when requested later.
  • 🐞 maxProcs is respected again. In prior builds, if tasks were enqueued all at once, prior dispatch code would only spin 1 concurrent task at a time.
  • 🐞 Multiple calls to BatchProcess.end would result in different promise resolution targets: the second call to .end() would resolve before the first. This was fixed.
  • BatchProcessOptions's minDelayBetweenSpawnMillis was added, to help relieve undue system load on startup. It defaults to 1.5 seconds and can be disabled by setting it to 0.
mceachen
published 5.3.1 •

Changelog

Source

v5.3.1

  • 📦 Removed Deferred's warn log messages.
mceachen
published 5.3.0 •

Changelog

Source

v5.3.0

  • 🐞 .pass and .fail regex now support multiple line outputs per task.
mceachen
published 5.2.0 •

Changelog

Source

v5.2.0

  • 🐞 BatchProcessOptions.pass and .fail had poorly specified and implemented failure semantics. Prior implementations would capture a "failed" string, but not tell the task that the service returned a failure status.

    Task Parsers already accept stdout and stderr, and are the "final word" in resolving or rejecting Tasks.

    v5.2.0 provides a boolean to Parser's callable indicating if the wrapped service returned pass or fail, and the Parser may return a Promise now, as well.

    There's a new SimpleParser implementation you can use that fails if stderr is non-blank or a stream matched the .fail pattern.

  • 🐞 initial BatchProcess validation uses the new SimpleParser to verify the initial versionCommand.

  • ✨ child process pids are delivered to event listeners on spawn and close. See BatchClusterEmitter.

  • 🐞 fix "Error: end() called when not idle" by debouncing stdout and stderr readers. Note that this adds latency to every task. See BatchProcessOptions's streamFlushMillis option, which defaults to 10 milliseconds.

  • 🐞 RegExp for pass and fail tokens handle newline edge cases now.

  • 📦 re-added tslint and delinted code.

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