soywod / react-pin-field

📟 React component for entering PIN codes.
https://soywod.github.io/react-pin-field/
MIT License
412 stars 24 forks source link

react-pin-field@2.0.0-beta.2" has incorrect peer dependency "@soywod/pin-field@^0.1.6" #51

Closed luckyxhu closed 2 years ago

luckyxhu commented 2 years ago

when install react-pin-field, yarn give below warning:

 react-pin-field@2.0.0-beta.2" has incorrect peer dependency "@soywod/pin-field@^0.1.6"
luckyxhu commented 2 years ago

I have install @soywod/pin-field 0.2.1

soywod commented 2 years ago

Yes, since the v2 you need to install also @soywod/pin-field, see the installation guide.

luckyxhu commented 2 years ago

No, I mean i have already install @soywod/pin-field 0.2.1, but still get the warning message. maybe is peer dependency version need upgrade to ^0.2.

soywod commented 2 years ago

It has been upgrade with the previous release, it should be OK now!

luckyxhu commented 2 years ago

Yes, the warning is gone, thank you.