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

poolifier

Package Overview
Dependencies
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poolifier - npm Package Compare versions

Comparing version 3.1.11 to 3.1.12-0

lib/index.cjs

15

package.json
{
"$schema": "https://json.schemastore.org/package",
"name": "poolifier",
"version": "3.1.11",
"version": "3.1.12-0",
"description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool",
"license": "MIT",
"main": "./lib/index.js",
"type": "module",
"main": "./lib/index.cjs",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.js",
"require": "./lib/index.cjs",
"import": "./lib/index.mjs"

@@ -31,3 +32,3 @@ }

"node": "20.10.0",
"pnpm": "8.12.1"
"pnpm": "8.13.1"
},

@@ -95,4 +96,4 @@ "repository": {

"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"benchmark": "^2.1.4",

@@ -104,3 +105,3 @@ "c8": "^8.0.1",

"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-define-config": "^2.0.0",
"eslint-define-config": "^2.1.0",
"eslint-import-resolver-typescript": "^3.6.1",

@@ -107,0 +108,0 @@ "eslint-plugin-import": "^2.29.1",

@@ -93,4 +93,3 @@ <div align="center">

```js
'use strict'
const { ThreadWorker } = require('poolifier')
import { ThreadWorker } from 'poolifier'

@@ -111,4 +110,3 @@ function yourFunction(data) {

```js
'use strict'
const { DynamicThreadPool, FixedThreadPool, PoolEvents, availableParallelism } = require('poolifier')
import { DynamicThreadPool, FixedThreadPool, PoolEvents, availableParallelism } from 'poolifier'

@@ -115,0 +113,0 @@ // a fixed worker_threads pool

Sorry, the diff of this file is not supported yet

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