From 92553dd068f8aa9305b125acbc12752ecbc3fffb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 23:38:32 +0000 Subject: [PATCH 1/2] build(deps): bump chokidar from 5.0.0 to 6.0.0 Bumps [chokidar](https://github.com/paulmillr/chokidar) from 5.0.0 to 6.0.0. - [Release notes](https://github.com/paulmillr/chokidar/releases) - [Changelog](https://github.com/paulmillr/chokidar/blob/main/CHANGELOG.md) - [Commits](https://github.com/paulmillr/chokidar/compare/5.0.0...6.0.0) --- updated-dependencies: - dependency-name: chokidar dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4c3f8ca8..264c519b 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@domstack/sync": "^0.0.8", "argsclopts": "^1.0.4", "async-folder-walker": "^3.0.5", - "chokidar": "^5.0.0", + "chokidar": "^6.0.0", "clean-deep": "^3.4.0", "cpx2": "^9.0.3", "esbuild": "^0.28.1", From df16a20213763867a56658e847b2a04c9949bb40 Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Sat, 31 Oct 2026 12:31:17 -0700 Subject: [PATCH 2/2] Require Node.js 22.22 for Chokidar 6 --- README.md | 2 +- docs/migrations/v12-migration.md | 10 +++++----- docs/typescript/README.md | 2 +- examples/basic/README.md | 2 +- examples/default-layout/README.md | 2 +- examples/string-layouts/README.md | 2 +- examples/uhtml-isomorphic/README.md | 2 +- package.json | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index aaf7d103..41d157c8 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ The [documentation](docs/) covers each convention in detail. ## Installation and first build -Use Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer, with npm 10 or newer. +Use Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer, with npm 10 or newer. ### Create a new app diff --git a/docs/migrations/v12-migration.md b/docs/migrations/v12-migration.md index e2727952..2bdd1899 100644 --- a/docs/migrations/v12-migration.md +++ b/docs/migrations/v12-migration.md @@ -22,19 +22,19 @@ Then apply the v12 changes below. ## Runtime requirements -DOMStack v12 supports Node.js 22.18+ within the 22.x release line, and Node.js 24 or newer: +DOMStack v12 supports Node.js 22.22+ within the 22.x release line, and Node.js 24 or newer: ```json { "engines": { - "node": "^22.18.0 || >=24.0.0" + "node": "^22.22.0 || >=24.0.0" } } ``` Node.js 23 satisfied v11's `>=22` engine range but is not supported by v12. -Move development, CI, and deployment environments to Node.js 22.18+ within the 22.x release line, or Node.js 24+ before upgrading. -The minimum matches `@domstack/sync` and enables native TypeScript type stripping without an experimental flag. +Move development, CI, and deployment environments to Node.js 22.22+ within the 22.x release line, or Node.js 24+ before upgrading. +The minimum satisfies Chokidar 6's Node.js requirement and enables native TypeScript type stripping without an experimental flag. --- @@ -586,7 +586,7 @@ This lets DOMStack inject the finalized `manifest.version` into `/service-worker ## Migration checklist -- [ ] Run development, CI, and deployment builds on Node.js 22.18+ within the 22.x release line, or Node.js 24+. Do not use Node.js 23. +- [ ] Run development, CI, and deployment builds on Node.js 22.22+ within the 22.x release line, or Node.js 24+. Do not use Node.js 23. - [ ] If you import public types from `@domstack/static`, update those imports to `@domstack/static/types.js`. - [ ] If you rely on BrowserSync-specific dev-server behavior, test watch mode with `@domstack/sync`. - [ ] If you use the new `--serve` preview, keep it separate from watch modes and use `--port` only with `--serve`. diff --git a/docs/typescript/README.md b/docs/typescript/README.md index da50c81e..6a7ad626 100644 --- a/docs/typescript/README.md +++ b/docs/typescript/README.md @@ -15,7 +15,7 @@ Node.js strips types from server-side modules, esbuild handles browser bundles, ## Runtime requirements -- Use Node.js 22.18+ within the 22.x release line, or Node.js 24 and newer, as required by DOMStack v12. +- Use Node.js 22.22+ within the 22.x release line, or Node.js 24 and newer, as required by DOMStack v12. These versions enable type stripping by default; no `NODE_OPTIONS` flag is needed. - Seamlessly mix `.ts`, `.mts`, `.cts` files alongside `.js`, `.mjs`, `.cjs`. - No explicit compilation step needed—Node.js handles type stripping at runtime. diff --git a/examples/basic/README.md b/examples/basic/README.md index 6ed2964a..588c5228 100644 --- a/examples/basic/README.md +++ b/examples/basic/README.md @@ -17,7 +17,7 @@ The basic example illustrates: ### Prerequisites -- Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer +- Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer ### Installation diff --git a/examples/default-layout/README.md b/examples/default-layout/README.md index f578b5b4..1d4dc5a3 100644 --- a/examples/default-layout/README.md +++ b/examples/default-layout/README.md @@ -17,7 +17,7 @@ When no layout is provided, DOMStack will: ### Prerequisites -- Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer +- Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer ### Installation diff --git a/examples/string-layouts/README.md b/examples/string-layouts/README.md index e4c3d324..b005d3c9 100644 --- a/examples/string-layouts/README.md +++ b/examples/string-layouts/README.md @@ -15,7 +15,7 @@ String layouts provide a straightforward approach to creating HTML templates wit ### Prerequisites -- Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer +- Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer ### Installation diff --git a/examples/uhtml-isomorphic/README.md b/examples/uhtml-isomorphic/README.md index 281de472..d0d94cf7 100644 --- a/examples/uhtml-isomorphic/README.md +++ b/examples/uhtml-isomorphic/README.md @@ -16,7 +16,7 @@ uhtml-isomorphic is a lightweight library that provides the same API for both se ### Prerequisites -- Node.js 22.18+ within the 22.x release line, or Node.js 24 or newer +- Node.js 22.22+ within the 22.x release line, or Node.js 24 or newer ### Installation diff --git a/package.json b/package.json index 264c519b..b78846d7 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "url": "https://github.com/bcomnes/domstack/issues" }, "engines": { - "node": "^22.18.0 || >=24.0.0" + "node": "^22.22.0 || >=24.0.0" }, "dependencies": { "@11ty/dependency-tree-typescript": "^1.0.0",