Skip to content

Migrate to Node.js 26 #9

@hyunbinseo

Description

@hyunbinseo

Upstream

  • @types/node@26 for crypto.randomUUIDv7 type

Corepack is no longer included

- eval "$(fnm env --use-on-cd --corepack-enabled)"
+ eval "$(fnm env --use-on-cd)"

+ npm install -g corepack

Use UUID v7 for Primary Keys

26.1.0 adds support for randomUUIDv7() via nodejs/node#62553

This is efficient for future PostgreSQL migration since it has a native UUID data type:

UUIDs are stored as 128-bit values, represented as a sequence of hexadecimal digits. Source

@types/node@25.6.2 does not include the type:

'"node:crypto"' has no exported member named 'randomUUIDv7'. Did you mean 'randomUUID'?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions