-
-
Notifications
You must be signed in to change notification settings - Fork 207
(deps) Replace pascal-case
with change-case
(Maintained & Lighter)
#2706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
(deps) Replace pascal-case
with change-case
(Maintained & Lighter)
#2706
Conversation
Seemed simple and easy, of course working locally! |
The CI is probably broken because the default environment has changed. It probably failed in the master branch, too. I'll try to fix it later. |
Hooo okay. |
Weird... The problem is because change-case is an ESM libary. For some odd reason, the test breaks as long as you import any ESM libary. It probably has something to do with the loader API mocha depends on to run TypeScript tests. |
I'm willing to work on this if you are ok with it :) |
Sure. I haven't figure out a solution or found a upstream issue yet. |
I'm turning and turning and turning, but can't find a solution! |
FWIW we have a "would be nice" ticket to migrate from |
Let's see tomorrow if I can start something. 🫠 |
Mhhhm can we do this just yet? |
This PR replaces the unmaintained
pascal-case
package with its recommended successor,change-case
.Why?
[email protected]
is outdated, and4.0.0
is deprecated.change-case
.change-case
has 0 dependencies and a smaller total footprint.Comparison:
no-case
25KB,lower-case
17KB)✅ Net win: Fewer dependencies, lower size, and a more future-proof solution.