diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57a5f38f..f70015c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: uses: btravstack/tools/.github/workflows/ci-reusable.yml@workflows-v1 with: integration-tests: true - node-versions: '["", "22.19.0"]' + node-versions: '["", "22.22.0"]' package-check: name: Package diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 108b35da..2b129f42 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ Thanks for your interest! This file is a quick on-ramp; the agent rules in [`.ag ## Prerequisites -- **Node.js** 22.19+ (the supported floor — CI and `.node-version` use 24) +- **Node.js** 22.22+ (the supported floor — CI and `.node-version` use 24) - **pnpm** 11+ - **Docker** (for integration tests) diff --git a/README.md b/README.md index 3fb3a44f..eba72036 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ pnpm add unthrown \ pnpm add zod ``` -Requires **Node.js ≥ 22.19**, ESM (`"type": "module"`), and TypeScript `strict`. +Requires **Node.js ≥ 22.22**, ESM (`"type": "module"`), and TypeScript `strict`. Developed against **TypeScript 6.0**. > Install `unthrown` explicitly even if your package manager auto-installs diff --git a/docs/how-to/install.md b/docs/how-to/install.md index fff2ebc7..0428aa0d 100644 --- a/docs/how-to/install.md +++ b/docs/how-to/install.md @@ -4,7 +4,7 @@ | | | | ------------- | -------------------------------------------------------------- | -| Node.js | ≥ 22.19.0 | +| Node.js | ≥ 22.22.0 | | Module system | ESM only (`"type": "module"`) | | TypeScript | Developed against 6.0; `strict` required for correct inference | | Temporal SDK | `@temporalio/*` v1 | diff --git a/docs/tutorial/your-first-workflow.md b/docs/tutorial/your-first-workflow.md index ce03868a..2bc588d9 100644 --- a/docs/tutorial/your-first-workflow.md +++ b/docs/tutorial/your-first-workflow.md @@ -12,7 +12,7 @@ lists live in [Reference](/reference/contract-surface). ## What you need -- **Node.js ≥ 22.19** +- **Node.js ≥ 22.22** - **A Temporal server** running on `localhost:7233` - About 20 minutes diff --git a/package.json b/package.json index e2695093..aba65652 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "vitest": "catalog:" }, "engines": { - "node": ">=22.19.0" + "node": ">=22.22.0" }, "packageManager": "pnpm@11.7.0" } diff --git a/packages/client/package.json b/packages/client/package.json index 46918863..fa040070 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -74,6 +74,6 @@ "unthrown": "^5.0.0" }, "engines": { - "node": ">=22.19.0" + "node": ">=22.22.0" } } diff --git a/packages/contract/package.json b/packages/contract/package.json index 6d0b17ac..f610db95 100644 --- a/packages/contract/package.json +++ b/packages/contract/package.json @@ -77,6 +77,6 @@ } }, "engines": { - "node": ">=22.19.0" + "node": ">=22.22.0" } } diff --git a/packages/testing/package.json b/packages/testing/package.json index 8eb6e25d..c77ceeec 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -104,6 +104,6 @@ } }, "engines": { - "node": ">=22.19.0" + "node": ">=22.22.0" } } diff --git a/packages/worker/package.json b/packages/worker/package.json index 9ea3623e..d1967aad 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -85,6 +85,6 @@ "unthrown": "^5.0.0" }, "engines": { - "node": ">=22.19.0" + "node": ">=22.22.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 441a6fb1..d321c816 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -100,8 +100,8 @@ catalogs: specifier: 0.3.23 version: 0.3.23 testcontainers: - specifier: 12.0.4 - version: 12.0.4 + specifier: 12.1.0 + version: 12.1.0 tsdown: specifier: 0.22.14 version: 0.22.14 @@ -513,7 +513,7 @@ importers: version: 0.3.23 testcontainers: specifier: 'catalog:' - version: 12.0.4 + version: 12.1.0 tsdown: specifier: 'catalog:' version: 0.22.14(@arethetypeswrong/core@0.18.5)(oxc-resolver@11.24.2)(publint@0.3.23)(tsx@4.23.12)(typescript@6.0.3) @@ -2923,9 +2923,6 @@ packages: '@types/node@18.19.130': resolution: {integrity: sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==} - '@types/node@26.1.1': - resolution: {integrity: sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw==} - '@types/node@26.1.2': resolution: {integrity: sha512-Vu4a5UFA9rIIFJ7rB/Vaafh9lrCQszopTCx6KjFboXTGQbPNasehVR5TEiithSDGyd1DEiUByggTZsg8jukeIg==} @@ -3891,8 +3888,8 @@ packages: resolution: {integrity: sha512-XJgGhoR/CLpqshm4d3L7rzH6t8NgDFUIIpztYlLHIApeJjMZKYJMz2zxPsYxnejq5h3ELYSw/RBsi3t5h7gNTA==} engines: {node: '>= 8.0'} - dockerode@5.0.0: - resolution: {integrity: sha512-C52mvJ+7lcyhWNfrzVfFsbTrBfy/ezE9FGEYLpu17FUeBcCkxERk9nN7uDl/478ynDiQ4U+5DbQC2vENHkVEtQ==} + dockerode@5.0.1: + resolution: {integrity: sha512-avsq/xk4YPIrn0CgleX5bjT9Y8IT1p9PxrNQ++RBQ2WEyFfHCTDsT9kmyxz+H/axnjAwg8wJWEIuPGOUuNupiA==} engines: {node: '>= 14.17'} dompurify@3.4.13: @@ -5350,8 +5347,8 @@ packages: tar-fs@2.1.4: resolution: {integrity: sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==} - tar-fs@3.1.2: - resolution: {integrity: sha512-QGxxTxxyleAdyM3kpFs14ymbYmNFrfY+pHj7Z8FgtbZ7w2//VAgLMac7sT6nRpIHjppXO2AwwEOg0bPFVRcmXw==} + tar-fs@3.1.3: + resolution: {integrity: sha512-/hU4AXnIdZu+Gvl1pk0oI5f5HxWsCJRtY2aFaJdk9VvyL48DWU6iU5WAIPG+wIi1YvWA6eTJvIviP/tMAZZNwQ==} tar-stream@2.2.0: resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} @@ -5372,8 +5369,9 @@ packages: engines: {node: '>=10'} hasBin: true - testcontainers@12.0.4: - resolution: {integrity: sha512-QIR/8xF1+F/26cIM+9B4yyxNTbKJxAv3hygZyhPRgZ8Q2AhlPZjDdpXRuk16V37X4bgJRI3hXFhoEICMBA7Adg==} + testcontainers@12.1.0: + resolution: {integrity: sha512-YjDLqIITuhGLMnM10yhg3oV6lIG5IMpz1R1DPBZoOOks83q7i7IVpeSWRTiyl7roozjiyLmwIoLK/KY8OnZmIA==} + engines: {node: '>= 22.22'} text-decoder@1.2.7: resolution: {integrity: sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==} @@ -7988,13 +7986,13 @@ snapshots: '@types/docker-modem@3.0.6': dependencies: - '@types/node': 26.1.1 + '@types/node': 26.1.2 '@types/ssh2': 1.15.5 '@types/dockerode@4.0.1': dependencies: '@types/docker-modem': 3.0.6 - '@types/node': 26.1.1 + '@types/node': 26.1.2 '@types/ssh2': 1.15.5 '@types/estree@1.0.9': {} @@ -8026,10 +8024,6 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/node@26.1.1': - dependencies: - undici-types: 8.3.0 - '@types/node@26.1.2': dependencies: undici-types: 8.3.0 @@ -8040,7 +8034,7 @@ snapshots: '@types/ssh2@0.5.52': dependencies: - '@types/node': 26.1.1 + '@types/node': 26.1.2 '@types/ssh2-streams': 0.1.13 '@types/ssh2@1.15.5': @@ -9003,7 +8997,7 @@ snapshots: transitivePeerDependencies: - supports-color - dockerode@5.0.0: + dockerode@5.0.1: dependencies: '@balena/dockerignore': 1.0.2 '@grpc/grpc-js': 1.14.4 @@ -10533,7 +10527,7 @@ snapshots: pump: 3.0.4 tar-stream: 2.2.0 - tar-fs@3.1.2: + tar-fs@3.1.3: dependencies: pump: 3.0.4 tar-stream: 3.2.0 @@ -10580,7 +10574,7 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 - testcontainers@12.0.4: + testcontainers@12.1.0: dependencies: '@balena/dockerignore': 1.0.2 '@types/dockerode': 4.0.1 @@ -10589,12 +10583,12 @@ snapshots: byline: 5.0.0 debug: 4.4.3 docker-compose: 1.4.2 - dockerode: 5.0.0 + dockerode: 5.0.1 get-port: 5.1.1 proper-lockfile: 4.1.2 properties-reader: 3.0.1 ssh-remote-port-forward: 1.0.4 - tar-fs: 3.1.2 + tar-fs: 3.1.3 tmp: 0.2.7 undici: 8.9.0 transitivePeerDependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e54b09cb..f5fdca96 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -41,7 +41,7 @@ catalog: pino: 10.3.1 pino-pretty: 13.1.3 publint: 0.3.23 - testcontainers: 12.0.4 + testcontainers: 12.1.0 tsdown: 0.22.14 tsx: 4.23.12 turbo: 2.10.9