From 79031fdae2b9004de24d9f9af22707153f45fee8 Mon Sep 17 00:00:00 2001 From: Nate Goldman <427322+ungoldman@users.noreply.github.com> Date: Sat, 13 Jun 2026 18:13:20 -0700 Subject: [PATCH 1/2] fix: ship only dist in the published package Drop src from the files allowlist. The exports map only exposes the package entry and the factory subpath, both resolved from dist, so the TypeScript source no longer needs to ship. Smaller install. --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index f332fa2..f1c344d 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,7 @@ } }, "files": [ - "dist", - "src", - "!src/**/*.spec.ts" + "dist" ], "homepage": "https://github.com/ungoldman/hyperaxe#readme", "keywords": [ From 0649862f2726424c8b573e656bee1d14bc03c953 Mon Sep 17 00:00:00 2001 From: Nate Goldman <427322+ungoldman@users.noreply.github.com> Date: Sat, 13 Jun 2026 18:13:33 -0700 Subject: [PATCH 2/2] fix: require node >=22.12 for require(esm) interop Raise the engines floor from >=22 to >=22.12.0, where require() of a synchronous ES module is unflagged, the path a CommonJS consumer uses to load this ESM-only package. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f1c344d..14e7676 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "typescript": "^6.0.3" }, "engines": { - "node": ">=22" + "node": ">=22.12.0" }, "exports": { ".": {