blakeembrey / change-case

Convert strings between camelCase, PascalCase, Capital Case, snake_case and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why are tslib and typescript dependencies of these libraries?

henry-filosa opened this issue · comments

Since these packages are retrieved by npm as compiled JS, it seems unnecessary that some of these packages have them marked as dependencies.

Moved to case-anything because of that. Single-package lib, without any dependency (less tiny files in node_modules).

Seems to be impacting the size of the lib quite a lot: https://bundlephobia.com/package/change-case@4.1.2
Screenshot 2023-01-17 at 11 02 29

This has been fixed with change-case@5.0.0. Please update and let me know if you still see any issues.