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

@shahidcodes/threadifier

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shahidcodes/threadifier - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

package.json
{
"name": "@shahidcodes/threadifier",
"version": "1.1.2",
"version": "1.1.3",
"description": "A wrapper around node worker_thread with easy promise based api.",

@@ -49,2 +49,2 @@ "main": "index.js",

}
}
}
/* eslint-disable no-plusplus */
const { Worker } = require('worker_threads');
const log = require('debug')('threadifier:main');
const log = () => '';
class WorkerPool {

@@ -29,3 +30,3 @@ constructor(numberOfThreads) {

script: fn.toString(),
args,
args: { ...args, basePath: __dirname },
callback: (e, r) => {

@@ -32,0 +33,0 @@ if (e) reject(e);

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