Closed exploids closed 1 year ago
Thanks for reporting this. I think that it is weird that it has worked fine this far. We do actually use change-case
which contains the pascalCase function, so it might just be swapping the dependencies.
I have also thought about writing some tests to find all these small bugs, but I haven't had the time.
Edit: Ahh, I think I know why it worked, since it is a dependency of change-case
, it could found by yarn. However it should definitely still be changed.
This should be fixed in the latest patch v0.5.5
.
Please reopen this issue if you are still experiencing this issue
It looks like
pascal-case
is used in this module, but not declared in the dependencies. This is in theory not allowed when using npm (although npm allows it) and Yarn 3 (with PnP) throws the following error:This should be easily fixable by adding
pascal-case
to the package dependencies.