From 434a868989d54d76bc9c443d6f2b21d29cc50431 Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sat, 3 Oct 2026 17:19:41 -0700 Subject: [PATCH] fix: raise engines.node to >=22.12.0 The runtime dependency chalk 6 declares node >=22, the current vitest peer (5.x) needs ^22.12.0 || ^24 || >=26, and CI tests from 22.12.0, so the declared >=20.19.0 floor was never true: Node.js 20 installs warned with EBADENGINE and failed under engine-strict. Fixes #72 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3ac8b6d..47385f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "vitest": "^5.0.1" }, "engines": { - "node": ">=20.19.0" + "node": ">=22.12.0" }, "peerDependencies": { "vitest": ">=1.0.0" diff --git a/package.json b/package.json index b499f4f..83f6b49 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "vitest": ">=1.0.0" }, "engines": { - "node": ">=20.19.0" + "node": ">=22.12.0" }, "publishConfig": { "access": "public"