pinia-orm icon indicating copy to clipboard operation
pinia-orm copied to clipboard

nanoid v5 - async API removed

Open daniser opened this issue 2 years ago • 1 comments

Environment

Reproduction

Describe the bug

In the latest version of nanoid, they removed nanoid/async module https://github.com/ai/nanoid/blob/main/CHANGELOG.md#50 Hence Pinia ORM (master branch as of now) build failing:

src/packages/nanoid/casts/AsyncCast.ts(1,24): error TS2307: Cannot find module 'nanoid/async' or its corresponding type declarations.

I think we should remove it too.

Additional context

No response

Logs

No response

daniser avatar Sep 13 '23 19:09 daniser

Totally aggree with you. Its going to be removed in v2. Now i need to mapke it deprecated to use it. The User can still use v5 already. He just cant use the async uuid method

CodeDredd avatar Sep 17 '23 06:09 CodeDredd