chore(deps): migrate uuid to 14#96
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates
uuid10→14 across all 7 packages (supersedes dependabot #91). uuid 10 is deprecated.uuid 14 is ESM-only
uuid@14.0.1ships no CJS build ("type":"module", norequireexport condition). Consequences handled:babel-jesttransform for.js+ pnpm-awaretransformIgnorePatterns: ['/node_modules/\\.pnpm/(?!uuid@)']so uuid's ESM is transpiled for the CJS test runtime (ts-jest still handles all real.tstest code). Vitest packages (web/mobile) need nothing — native ESM.require('uuid')(ESM), which Node supports unflagged only on ≥22.12 / ≥20.19. Bumpedengines.node>=22.0.0→>=22.12.0accordingly (CI's setup-node 22.x/20.x resolve to safe patches). Verified:node -e "require('packages/datacollect/dist/cjs/index.js')"loads OK.@types/uuid(uuid 14 bundles its own types).Verification
All suites pass, counts preserved: datacollect 857, backend 421 (Postgres), adapters 140/27/53, web 74, mobile 193. CJS + ESM builds clean.
Note: uuid 11 (dual CJS/ESM) was the alternative that avoids the babel transform + engines floor; 14 chosen to stay on latest.
🤖 Generated with Claude Code