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.4 to 0.3.0

14

dist/esm/worker.js

@@ -17,2 +17,12 @@ "use strict";

import { pathToFileURL } from "url";
// src/utils.ts
function stdout() {
return console._stdout || process.stdout || void 0;
}
function stderr() {
return console._stderr || process.stderr || void 0;
}
// src/worker.ts
var [tinypoolPrivateData, workerData] = tinypoolData;

@@ -110,6 +120,6 @@ process.__tinypool_state__ = {

};
if (process.stdout.writableLength > 0) {
if (stdout()?.writableLength > 0) {
await new Promise((resolve) => process.stdout.write("", resolve));
}
if (process.stderr.writableLength > 0) {
if (stderr()?.writableLength > 0) {
await new Promise((resolve) => process.stderr.write("", resolve));

@@ -116,0 +126,0 @@ }

2

package.json
{
"name": "tinypool",
"version": "0.2.4",
"version": "0.3.0",
"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",

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