@prisma/internals
(previously @prisma/sdk) uses deprecated dependencies uuid@3.4.0
via temp-write 4.0.0
#11960
Labels
kind/improvement
An improvement to existing feature and code.
team/client
Issue for team Client.
topic: dependencies
topic: internal
topic: sdk
Milestone
Bug description
@prisma/sdk uses outdated dependency
temp-write 4.0.0
which uses deprecateduuid@3.4.0
which is I believe inappropriate to use in modern development. Know versiontemp-write 5.0.0
is available to use.How to reproduce
Use pnpm as package manager(at least i used pnpm to detect it)
pnpm init -y
pnpm add @prisma/sdk
and you will see:
WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
Run
pnpm why uuid
and you will see:Expected behavior
No depreciation warning and no use of deprecated packages which have problems.
Prisma information
@prisma/sdk
Environment & setup
Windows 11,
pnpm
as package managerPrisma Version
3.9.2
The text was updated successfully, but these errors were encountered: