diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json index 45c72e45..dc2a7311 100644 --- a/.github/release-please/manifest.json +++ b/.github/release-please/manifest.json @@ -1,3 +1,3 @@ { - ".": "0.4.31" + ".": "0.4.32" } diff --git a/CHANGELOG.md b/CHANGELOG.md index bb351ab5..5ea40dca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.32](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.31...v0.4.32) (2024-10-29) + + +### ✨ Polish + +* cleanup JS runtime detection code ([b366f0e](https://github.com/poolifier/poolifier-web-worker/commit/b366f0ecdc5e34a5942c73dd04ea8c9b1619e2a6)) + ## [0.4.31](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.30...v0.4.31) (2024-10-26) ### ⚡ Performance diff --git a/README.md b/README.md index 7cc15114..bea111cb 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ for more details**: ```js - + ``` ```js @@ -158,7 +158,7 @@ import { DynamicThreadPool, FixedThreadPool, PoolEvents, -} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.31/browser/mod.js' +} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.32/browser/mod.js' ``` diff --git a/deno.json b/deno.json index d67259d5..60ae92e1 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@poolifier/poolifier-web-worker", - "version": "0.4.31", + "version": "0.4.32", "exports": "./src/mod.ts", "compilerOptions": { "lib": [ diff --git a/dist/package.json b/dist/package.json index 893d47cb..b0a93596 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "poolifier-web-worker", - "version": "0.4.31", + "version": "0.4.32", "description": "poolifier-web-worker", "repository": { "type": "git", diff --git a/examples/deno/javascript/dynamicExample.js b/examples/deno/javascript/dynamicExample.js index 987b45b6..c5090633 100644 --- a/examples/deno/javascript/dynamicExample.js +++ b/examples/deno/javascript/dynamicExample.js @@ -2,7 +2,7 @@ import { availableParallelism, DynamicThreadPool, PoolEvents, -} from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version const pool = new DynamicThreadPool( Math.floor(availableParallelism() / 2), diff --git a/examples/deno/javascript/fixedExample.js b/examples/deno/javascript/fixedExample.js index 2cb93791..9668fbc1 100644 --- a/examples/deno/javascript/fixedExample.js +++ b/examples/deno/javascript/fixedExample.js @@ -2,7 +2,7 @@ import { availableParallelism, FixedThreadPool, PoolEvents, -} from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version const pool = new FixedThreadPool( availableParallelism(), diff --git a/examples/deno/javascript/multiFunctionExample.js b/examples/deno/javascript/multiFunctionExample.js index 8296e245..c6e45138 100644 --- a/examples/deno/javascript/multiFunctionExample.js +++ b/examples/deno/javascript/multiFunctionExample.js @@ -1,7 +1,7 @@ import { availableParallelism, FixedThreadPool, -} from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version const pool = new FixedThreadPool( availableParallelism(), diff --git a/examples/deno/javascript/multiFunctionWorker.js b/examples/deno/javascript/multiFunctionWorker.js index 1086b2eb..12b1351f 100644 --- a/examples/deno/javascript/multiFunctionWorker.js +++ b/examples/deno/javascript/multiFunctionWorker.js @@ -1,4 +1,4 @@ -import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version function fn0(data) { console.info('Executing fn0') diff --git a/examples/deno/javascript/yourWorker.js b/examples/deno/javascript/yourWorker.js index bdeb3855..1ff7a08f 100644 --- a/examples/deno/javascript/yourWorker.js +++ b/examples/deno/javascript/yourWorker.js @@ -1,4 +1,4 @@ -import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version function yourFunction() { for (let i = 0; i <= 1000; i++) { diff --git a/examples/deno/typescript/pool.ts b/examples/deno/typescript/pool.ts index 541a0c0d..45cf27d8 100644 --- a/examples/deno/typescript/pool.ts +++ b/examples/deno/typescript/pool.ts @@ -2,7 +2,7 @@ import { availableParallelism, DynamicThreadPool, FixedThreadPool, -} from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version import type { MyData, MyResponse } from './worker.ts' const workerFileURL = new URL('./worker.ts', import.meta.url) diff --git a/examples/deno/typescript/worker.ts b/examples/deno/typescript/worker.ts index d9a2600d..9e3694ae 100644 --- a/examples/deno/typescript/worker.ts +++ b/examples/deno/typescript/worker.ts @@ -1,4 +1,4 @@ -import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.31' // x-release-please-version +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.32' // x-release-please-version export interface MyData { ok: 0 | 1 diff --git a/sonar-project.properties b/sonar-project.properties index c109b004..346df750 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,7 +3,7 @@ sonar.organization=poolifier sonar.typescript.lcov.reportPaths=coverage/lcov.info sonar.projectName=poolifier-web-worker # x-release-please-start-version -sonar.projectVersion=0.4.31 +sonar.projectVersion=0.4.32 # x-release-please-end sonar.host.url=https://sonarcloud.io sonar.sources=src diff --git a/src/pools/version.ts b/src/pools/version.ts index 1c2b56d7..632acfbc 100644 --- a/src/pools/version.ts +++ b/src/pools/version.ts @@ -1,3 +1,3 @@ // x-release-please-start-version -export const version = '0.4.31' +export const version = '0.4.32' // x-release-please-end