Socket
Socket
Sign inDemoInstall

tinypool

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinypool - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

6

dist/esm/index.js

@@ -728,2 +728,8 @@ "use strict";

constructor(options = {}) {
if (options.minThreads !== void 0 && options.minThreads > 0 && options.minThreads < 1) {
options.minThreads = Math.max(1, Math.floor(options.minThreads * cpuCount));
}
if (options.maxThreads !== void 0 && options.maxThreads > 0 && options.maxThreads < 1) {
options.maxThreads = Math.max(1, Math.floor(options.maxThreads * cpuCount));
}
super({ ...options, name: "Tinypool" });

@@ -730,0 +736,0 @@ __privateAdd(this, _pool, void 0);

2

package.json
{
"name": "tinypool",
"version": "0.2.3",
"version": "0.2.4",
"description": "A minimal and tiny Node.js Worker Thread Pool implementation, a fork of piscina, but with fewer features",

@@ -5,0 +5,0 @@ "type": "module",

@@ -16,5 +16,5 @@ # Tinypool - the node.js worker pool ๐Ÿงต

*In case you need more tiny libraries like tinypool or tinyspy, please consider submitting an [RFC](https://github.com/tinylibs/rfcs)*
_In case you need more tiny libraries like tinypool or tinyspy, please consider submitting an [RFC](https://github.com/tinylibs/rfcs)_
## Docs
Read **[full docs](https://github.com/aslemammad/tinypool#readme)** on GitHub.
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