Skip to content

Commit d7cf52e

Browse files
fix(ci): pin light-my-request in the consumer fixture (#89)
The package-consumer fixture pins fastify@5.8.5 but left its transitive dependencies floating. light-my-request@6.8.0 (2026-10-10) moved to cookie@^2, which is ESM-only and requires Node >= 22, so the Fastify fixture fails with ERR_REQUIRE_ESM on the Node 20.11.1 compatibility job. Pin light-my-request@6.6.0, the last release on cookie@^1. The fixture then resolves cookie@1.1.1 (engines: node >= 18) instead of cookie@2.0.2. No runtime, type, or export change in @workit/core. Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
1 parent 0b0e199 commit d7cf52e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/core/scripts/check-package-consumer.mjs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ try {
136136
"@trpc/server@11.17.0",
137137
"express@5.2.1",
138138
"fastify@5.8.5",
139+
// fastify@5.8.5 accepts light-my-request ^6.0.0. From 6.8.0 that range
140+
// resolves to cookie@^2, which is ESM-only and requires Node >= 22, so the
141+
// Node 20.11 fixture cannot load it. Pin the last release on cookie@^1.
142+
"light-my-request@6.6.0",
139143
"ai@6.0.175",
140144
], {
141145
cwd: temp,

0 commit comments

Comments
 (0)