Repository navigation
Bump @x402 dev set to 2.29.0 and exempt it from the release-age soak - #164
Conversation
2.29.0 moves @x402/core to zod 4, dropping the nested zod 3.25.76 copies under @x402/* that carry CVE-2023-54404. The set is exact-pinned, so the pin plus a read of the dist diff is the gate and the 24h soak is lifted for it, matching viem and mppx.
qs 6.16.0, pulled in through the express dev dependency, carries a medium advisory fixed in 6.16.1; the dependency scan fails on it.
Review: x402 2.29.0 dev pins plus the qs refreshVerdict: nothing blocks this PR. This comment is the approval. Reviewed at head Upstream diff, 2.28.0 vs 2.29.0 (npm pack of both, dist read directly; tarball integrity matches the lock for all five packages):
Effect on this library's paths: the Lockfile: qs commit ( bunfig: identical to the three storefronts; pay has the same list plus CI at d75ab32: 9 of 9 rows pass (ci, node-compat 22/24/26, Dependency Scan, CodeQL, three Analyze jobs). Non-blocking, on main before this PR: |
@coinbase/x402 requires @x402/core ^2.0.0 and kept its own 2.26.0 copy. With the set exempt from the release-age soak by name, a lock regeneration could resolve that caret range to an hours-old core; the override holds every copy at the exact pin and leaves one core on the rail.
Round 2 re-check (head
|
Summary
Moves the
@x402/core,@x402/evmand@x402/extensionsdev pins from 2.28.0 to 2.29.0, so the suite runs against the version the storefronts ship, and adds the@x402set tominimumReleaseAgeExcludes. The set is exact-pinned, so the pin is the gate for the version, the same as forviemandmppx.2.29.0 changes on the paths this package uses (the resource server and the EVM exact and upto server schemes):
acceptsis capped at 1024 entries, and facilitator response bodies are capped at 1 MiB.afterSettlehooks can fail a settle closed with the newAfterSettleAbortError. Other hook errors are still logged and ignored.Also refreshes
qs(dev only, throughexpress) from 6.16.0 to 6.17.0 in the lockfile. The dependency scan failed this branch on GHSA-6pq8-jhm2-2vcw, a medium advisory on 6.16.0 fixed in 6.16.1 and published after main last scanned.Also pins
@x402/coreto 2.29.0 inoverrides.@coinbase/x402requires@x402/core ^2.0.0and kept its own 2.26.0 copy, so the name-matched release-age exemption would otherwise let a lock regeneration resolve that caret range to an hours-old core.Type of change
Public API
None. The
@x402packages are dev dependencies loaded through optional dynamic imports; the published manifest's dependencies and peer ranges are unchanged.Test plan
On this branch:
bun installresolves 2.29.0 for every@x402package.bun run lint,typecheck,test(109 files, 1637 tests passed, 4 skipped) andknipall exit 0.Checklist