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

piscina

Package Overview
Dependencies
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piscina - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [4.2.1](https://github.com/piscinajs/piscina/compare/v4.2.0...v4.2.1) (2023-12-13)
### Bug Fixes
* default minThreads with odd CPU count ([#457](https://github.com/piscinajs/piscina/issues/457)) ([f4edf87](https://github.com/piscinajs/piscina/commit/f4edf87c8c4883e06ab70e99a8a5050eded89c5d))
## [4.2.0](https://github.com/piscinajs/piscina/compare/v4.1.0...v4.2.0) (2023-11-19)

@@ -7,0 +14,0 @@

6

dist/package.json
{
"name": "piscina",
"version": "4.2.0",
"version": "4.2.1",
"description": "A fast, efficient Node.js Worker Thread Pool implementation",

@@ -46,4 +46,4 @@ "main": "./dist/src/index.js",

"tap": "^16.3.7",
"ts-node": "^9.1.1",
"typescript": "5.1.6"
"ts-node": "^10.9.2",
"typescript": "5.3.2"
},

@@ -50,0 +50,0 @@ "dependencies": {

@@ -77,3 +77,3 @@ "use strict";

name: 'default',
minThreads: Math.max(cpuCount / 2, 1),
minThreads: Math.max(Math.floor(cpuCount / 2), 1),
maxThreads: cpuCount * 1.5,

@@ -80,0 +80,0 @@ idleTimeout: 0,

{
"name": "piscina",
"version": "4.2.0",
"version": "4.2.1",
"description": "A fast, efficient Node.js Worker Thread Pool implementation",

@@ -46,4 +46,4 @@ "main": "./dist/src/index.js",

"tap": "^16.3.7",
"ts-node": "^9.1.1",
"typescript": "5.1.6"
"ts-node": "^10.9.2",
"typescript": "5.3.2"
},

@@ -50,0 +50,0 @@ "dependencies": {

@@ -146,3 +146,3 @@ import { Worker, MessageChannel, MessagePort, receiveMessageOnPort } from 'worker_threads';

name: 'default',
minThreads: Math.max(cpuCount / 2, 1),
minThreads: Math.max(Math.floor(cpuCount / 2), 1),
maxThreads: cpuCount * 1.5,

@@ -149,0 +149,0 @@ idleTimeout: 0,

Sorry, the diff of this file is not supported yet

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