From: Jérôme Benoit Date: Wed, 5 Nov 2025 11:16:19 +0000 (+0100) Subject: chore(deps-dev): apply updates X-Git-Tag: v5.1.7~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1ef9dc0caae2c2c3ae289004d26ea9aa96b4a00f;p=poolifier.git chore(deps-dev): apply updates Signed-off-by: Jérôme Benoit --- diff --git a/biome.json b/biome.json index 25c01f998..07f890839 100644 --- a/biome.json +++ b/biome.json @@ -1,56 +1,57 @@ { - "$schema": "https://biomejs.dev/schemas/2.3.3/schema.json", - "assist": { "actions": { "source": { "organizeImports": "off" } } }, - "linter": { - "enabled": false, - "rules": { - "recommended": true, - "style": { - "noParameterAssign": "error", - "useAsConstAssertion": "error", - "useDefaultParameterLast": "error", - "useEnumInitializers": "error", - "useSelfClosingElements": "error", - "useSingleVarDeclarator": "error", - "noUnusedTemplateLiteral": "error", - "useNumberNamespace": "error", - "noInferrableTypes": "error", - "noUselessElse": "error" - } - } - }, - "formatter": { - "enabled": true, - "useEditorconfig": true, - "indentStyle": "space", - "indentWidth": 2 - }, - "javascript": { - "formatter": { - "arrowParentheses": "asNeeded", - "quoteStyle": "single", - "semicolons": "asNeeded", - "trailingCommas": "es5" - } - }, - "json": { - "parser": { - "allowComments": true - } - }, - "files": { - "maxSize": 2000000, - "includes": [ - "**", - "!.nyc_output/**", - "!coverage/**", - "!docs/**/*.css", - "!docs/**/*.html", - "!docs/**/*.js", - "!lib/**", - "!outputs/**", - "!pnpm-lock.yaml", - "!reports/**" - ] - } + "root": false, + "$schema": "https://biomejs.dev/schemas/2.3.3/schema.json", + "assist": { "actions": { "source": { "organizeImports": "off" } } }, + "linter": { + "enabled": false, + "rules": { + "recommended": true, + "style": { + "noParameterAssign": "error", + "useAsConstAssertion": "error", + "useDefaultParameterLast": "error", + "useEnumInitializers": "error", + "useSelfClosingElements": "error", + "useSingleVarDeclarator": "error", + "noUnusedTemplateLiteral": "error", + "useNumberNamespace": "error", + "noInferrableTypes": "error", + "noUselessElse": "error" + } + } + }, + "formatter": { + "enabled": true, + "useEditorconfig": true, + "indentStyle": "space", + "indentWidth": 2 + }, + "javascript": { + "formatter": { + "arrowParentheses": "asNeeded", + "quoteStyle": "single", + "semicolons": "asNeeded", + "trailingCommas": "es5" + } + }, + "json": { + "parser": { + "allowComments": true + } + }, + "files": { + "maxSize": 2000000, + "includes": [ + "**", + "!.nyc_output/**", + "!coverage/**", + "!docs/**/*.css", + "!docs/**/*.html", + "!docs/**/*.js", + "!lib/**", + "!outputs/**", + "!pnpm-lock.yaml", + "!reports/**" + ] + } } diff --git a/package.json b/package.json index 7efa8e2f3..d20cdb8ea 100644 --- a/package.json +++ b/package.json @@ -1,142 +1,142 @@ { - "$schema": "https://json.schemastore.org/package", - "name": "poolifier", - "version": "5.1.6", - "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool", - "license": "MIT", - "type": "module", - "main": "./lib/index.cjs", - "module": "./lib/index.mjs", - "types": "./lib/index.d.ts", - "exports": { - ".": { - "types": "./lib/index.d.ts", - "require": "./lib/index.cjs", - "import": "./lib/index.mjs" - } - }, - "publishConfig": { - "directory": "package" - }, - "scripts": { - "prepare": "node prepare.mjs", - "build": "rollup --config --environment BUILD:development", - "build:prod": "rollup --config", - "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", - "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", - "benchmark:tinybench": "pnpm build && node --enable-source-maps benchmarks/internal/bench.mjs -t tinybench", - "benchmark:tinybench:prod": "pnpm build:prod && node --enable-source-maps benchmarks/internal/bench.mjs -t tinybench", - "benchmark:tinybench:debug": "pnpm build && node --enable-source-maps --inspect benchmarks/internal/bench.mjs -t tinybench", - "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'", - "test:parallel": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha --parallel 'tests/**/*.test.mjs'", - "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --inspect 'tests/**/*.test.mjs'", - "coverage": "c8 report --reporter=lcov", - "coverage:html": "c8 report --reporter=html", - "format": "biome format . --write; eslint . --cache --fix", - "lint": "eslint . --cache", - "lint:fix": "eslint . --cache --fix", - "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", - "typedoc": "node typedoc.mjs", - "prepublishOnly": "pnpm build:prod && rm -rf ./package && clean-publish", - "postpublish": "rm -rf ./package" - }, - "engines": { - "node": ">=20.11.0", - "pnpm": ">=9.0.0" - }, - "volta": { - "node": "24.11.0", - "pnpm": "10.20.0" - }, - "packageManager": "pnpm@10.20.0", - "repository": { - "type": "git", - "url": "https://github.com/poolifier/poolifier.git" - }, - "keywords": [ - "nodejs", - "worker pool", - "thread pool", - "worker_threads", - "cluster", - "concurrency", - "performance", - "cpu", - "computing", - "scheduling", - "parallelism", - "eventloop" - ], - "author": { - "name": "Alessandro Pio Ardizio", - "email": "alessandroardizio94@gmail.com", - "url": "https://github.com/pioardi" - }, - "contributors": [ - { - "name": "Christopher Quadflieg", - "email": "chrissi92@hotmail.de", - "url": "https://github.com/Shinigami92" - }, - { - "name": "Jérôme Benoit", - "email": "jerome.benoit@piment-noir.org", - "url": "https://github.com/jerome-benoit" - } - ], - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/poolifier" - }, - { - "type": "github", - "url": "https://github.com/sponsors/poolifier" - } - ], - "bugs": { - "url": "https://github.com/poolifier/poolifier/issues" - }, - "homepage": "https://github.com/poolifier/poolifier#readme", - "files": [ - "lib" - ], - "pnpm": { - "overrides": { - "semver": "^7.5.3" - } - }, - "devDependencies": { - "@biomejs/biome": "^2.3.3", - "@commitlint/cli": "^20.1.0", - "@commitlint/config-conventional": "^20.0.0", - "@cspell/eslint-plugin": "^9.2.2", - "@eslint/js": "^9.39.1", - "@rollup/plugin-terser": "^0.4.4", - "@rollup/plugin-typescript": "^12.3.0", - "@std/expect": "npm:@jsr/std__expect@^1.0.17", - "@types/node": "^24.10.0", - "c8": "^10.1.3", - "clean-publish": "^6.0.1", - "cross-env": "^10.1.0", - "eslint": "^9.39.1", - "eslint-plugin-jsdoc": "^61.1.12", - "eslint-plugin-perfectionist": "^4.15.1", - "globals": "^16.5.0", - "husky": "^9.1.7", - "lint-staged": "^16.2.6", - "mocha": "^11.7.4", - "mochawesome": "^7.1.4", - "neostandard": "^0.12.2", - "prettier": "^3.6.2", - "rollup": "^4.52.5", - "rollup-plugin-analyzer": "^4.0.0", - "rollup-plugin-command": "^1.1.3", - "rollup-plugin-delete": "^3.0.1", - "rollup-plugin-dts": "^6.2.3", - "sinon": "^21.0.0", - "tinybench": "^5.1.0", - "typedoc": "^0.28.14", - "typescript": "~5.9.3" - } + "$schema": "https://json.schemastore.org/package", + "name": "poolifier", + "version": "5.1.6", + "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool", + "license": "MIT", + "type": "module", + "main": "./lib/index.cjs", + "module": "./lib/index.mjs", + "types": "./lib/index.d.ts", + "exports": { + ".": { + "types": "./lib/index.d.ts", + "require": "./lib/index.cjs", + "import": "./lib/index.mjs" + } + }, + "publishConfig": { + "directory": "package" + }, + "scripts": { + "prepare": "node prepare.mjs", + "build": "rollup --config --environment BUILD:development", + "build:prod": "rollup --config", + "build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development", + "build:analyze": "rollup --config --environment ANALYZE,BUILD:development", + "benchmark:tinybench": "pnpm build && node --enable-source-maps benchmarks/internal/bench.mjs -t tinybench", + "benchmark:tinybench:prod": "pnpm build:prod && node --enable-source-maps benchmarks/internal/bench.mjs -t tinybench", + "benchmark:tinybench:debug": "pnpm build && node --enable-source-maps --inspect benchmarks/internal/bench.mjs -t tinybench", + "test": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha 'tests/**/*.test.mjs'", + "test:parallel": "pnpm build --environment SOURCEMAP:false && cross-env NODE_ENV=test c8 mocha --parallel 'tests/**/*.test.mjs'", + "test:debug": "pnpm build && cross-env NODE_ENV=test mocha --inspect 'tests/**/*.test.mjs'", + "coverage": "c8 report --reporter=lcov", + "coverage:html": "c8 report --reporter=html", + "format": "biome format . --write; eslint . --cache --fix", + "lint": "eslint . --cache", + "lint:fix": "eslint . --cache --fix", + "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", + "typedoc": "node typedoc.mjs", + "prepublishOnly": "pnpm build:prod && rm -rf ./package && clean-publish", + "postpublish": "rm -rf ./package" + }, + "engines": { + "node": ">=20.11.0", + "pnpm": ">=9.0.0" + }, + "volta": { + "node": "24.11.0", + "pnpm": "10.20.0" + }, + "packageManager": "pnpm@10.20.0", + "repository": { + "type": "git", + "url": "https://github.com/poolifier/poolifier.git" + }, + "keywords": [ + "nodejs", + "worker pool", + "thread pool", + "worker_threads", + "cluster", + "concurrency", + "performance", + "cpu", + "computing", + "scheduling", + "parallelism", + "eventloop" + ], + "author": { + "name": "Alessandro Pio Ardizio", + "email": "alessandroardizio94@gmail.com", + "url": "https://github.com/pioardi" + }, + "contributors": [ + { + "name": "Christopher Quadflieg", + "email": "chrissi92@hotmail.de", + "url": "https://github.com/Shinigami92" + }, + { + "name": "Jérôme Benoit", + "email": "jerome.benoit@piment-noir.org", + "url": "https://github.com/jerome-benoit" + } + ], + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/poolifier" + }, + { + "type": "github", + "url": "https://github.com/sponsors/poolifier" + } + ], + "bugs": { + "url": "https://github.com/poolifier/poolifier/issues" + }, + "homepage": "https://github.com/poolifier/poolifier#readme", + "files": [ + "lib" + ], + "pnpm": { + "overrides": { + "semver": "^7.5.3" + } + }, + "devDependencies": { + "@biomejs/biome": "^2.3.3", + "@commitlint/cli": "^20.1.0", + "@commitlint/config-conventional": "^20.0.0", + "@cspell/eslint-plugin": "^9.2.2", + "@eslint/js": "^9.39.1", + "@rollup/plugin-terser": "^0.4.4", + "@rollup/plugin-typescript": "^12.3.0", + "@std/expect": "npm:@jsr/std__expect@^1.0.17", + "@types/node": "^24.10.0", + "c8": "^10.1.3", + "clean-publish": "^6.0.1", + "cross-env": "^10.1.0", + "eslint": "^9.39.1", + "eslint-plugin-jsdoc": "^61.1.12", + "eslint-plugin-perfectionist": "^4.15.1", + "globals": "^16.5.0", + "husky": "^9.1.7", + "lint-staged": "^16.2.6", + "mocha": "^11.7.5", + "mochawesome": "^7.1.4", + "neostandard": "^0.12.2", + "prettier": "^3.6.2", + "rollup": "^4.52.5", + "rollup-plugin-analyzer": "^4.0.0", + "rollup-plugin-command": "^1.1.3", + "rollup-plugin-delete": "^3.0.1", + "rollup-plugin-dts": "^6.2.3", + "sinon": "^21.0.0", + "tinybench": "^5.1.0", + "typedoc": "^0.28.14", + "typescript": "~5.9.3" + } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1817e0e8d..0577242d6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -66,11 +66,11 @@ importers: specifier: ^16.2.6 version: 16.2.6 mocha: - specifier: ^11.7.4 - version: 11.7.4 + specifier: ^11.7.5 + version: 11.7.5 mochawesome: specifier: ^7.1.4 - version: 7.1.4(mocha@11.7.4) + version: 7.1.4(mocha@11.7.5) neostandard: specifier: ^0.12.2 version: 0.12.2(@typescript-eslint/utils@8.46.3(eslint@9.39.1(jiti@2.6.1))(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.1(jiti@2.6.1))(typescript@5.9.3) @@ -2127,8 +2127,8 @@ packages: resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} engines: {node: '>=16 || 14 >=14.17'} - mocha@11.7.4: - resolution: {integrity: sha512-1jYAaY8x0kAZ0XszLWu14pzsf4KV740Gld4HXkhNTXwcHx4AUEDkPzgEHg9CM5dVcW+zv036tjpsEbLraPJj4w==} + mocha@11.7.5: + resolution: {integrity: sha512-mTT6RgopEYABzXWFx+GcJ+ZQ32kp4fMf0xvpZIIfSq9Z8lC/++MtcCnQ9t5FP2veYEP95FIYSvW+U9fV4xrlig==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true @@ -5000,7 +5000,7 @@ snapshots: minipass@7.1.2: {} - mocha@11.7.4: + mocha@11.7.5: dependencies: browser-stdout: 1.3.1 chokidar: 4.0.3 @@ -5038,7 +5038,7 @@ snapshots: tcomb-validation: 3.4.1 yargs: 17.7.2 - mochawesome@7.1.4(mocha@11.7.4): + mochawesome@7.1.4(mocha@11.7.5): dependencies: chalk: 4.1.2 diff: 5.2.0 @@ -5047,7 +5047,7 @@ snapshots: lodash.isfunction: 3.0.9 lodash.isobject: 3.0.2 lodash.isstring: 4.0.1 - mocha: 11.7.4 + mocha: 11.7.5 mochawesome-report-generator: 6.3.1 strip-ansi: 6.0.1 uuid: 8.3.2