Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

workerpool

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workerpool - npm Package Versions

1
7

6.0.2

Diff

Changelog

Source

2020-10-03, version 6.0.2

  • Fix #32, #175: the promise returned by Pool.terminate() now waits until subprocesses are dead before resolving. Thanks @boneskull.
josdejong
published 6.0.1 •

Changelog

Source

2020-09-23, version 6.0.1

  • Removed examples from the npm package. Thanks @madbence.
josdejong
published 6.0.0 •

Changelog

Source

2020-05-13, version 6.0.0

BREAKING CHANGE: the library entry points are changed and new source maps are added. This may have impact on your project depending on your setup.

  • Created separate library entry points in package.json for node.js and browser. Thanks @boneskull.
  • Generated source maps for both minified and non-minified bundles.
  • Removed deprecation warnings for options.nodeWorker (renamed to options.workerType) and pool.clear() (renamed to pool.terminate()).
josdejong
published 5.0.4 •

Changelog

Source

2019-12-31, version 5.0.4

  • Fixed #121: isMainThread not working when using worker_threads.
  • Drop official support for node.js 8 (end of life).
josdejong
published 5.0.3 •

Changelog

Source

2019-12-23, version 5.0.3

  • Fixed library not working in the browser. See #106.
josdejong
published 5.0.2 •

Changelog

Source

2019-11-06, version 5.0.2

  • Fixed environment detection in browser. See #106. Thanks @acgrid.
josdejong
published 5.0.1 •

Changelog

Source

2019-10-13, version 5.0.1

  • Fixed #96: WorkerPool not cancelling any pending tasks on termination.
josdejong
published 5.0.0 •

Changelog

Source

2019-08-25, version 5.0.0

  • Deprecated option nodeWorker and created a new, more extensive option workerType giving full control over the selected type of worker. Added new option 'web' to enforce use a Web Worker. See #85, #74.
  • In a node.js environment, the default workerType is changed from 'process' to 'thread'. See #85, #50.
  • Improved detection of environment (browser or node), fixing wrong detection in a Jest test environment. See #85.
josdejong
published 4.0.0 •

Changelog

Source

2019-08-21, version 4.0.0

  • Pass argument --max-old-space-size to child processes. Thanks @patte.
  • Removed redundant dependencies, upgraded all devDependencies.
  • Fixed Webpack issues of missing modules child_process and worker_threads. See #43.
  • Bundled library changed due to the upgrade to Webpack 4. This could possibly lead to breaking changes.
  • Implemented new option maxQueueSize. Thanks @colomboe.
  • Fixed exiting workers when the parent process is killed. Thanks @RogerKang.
  • Fixed #81: Option minWorkers: 'max' not using the configured maxWorkers.
  • Fixed not passing nodeWorker to workers initialized when creating a pool. Thanks @spacelan.
  • Internal restructure of the code: moved from lib to src.
josdejong
published 3.1.2 •

Changelog

Source

2019-03-12, version 3.1.2

  • Improved error message when a node.js worker unexpectedly exits (see #58). Thanks @stefanpenner.

  • Allocate debug ports safely, this fixes an issue cause workers to exit unexpectedly if more then one worker pool is active, and the process is started with a debugger (node debug or node --inspect). Thanks @stefanpenner.

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