blakeembrey / change-case

Convert strings between camelCase, PascalCase, Capital Case, snake_case and more
MIT License
2.22k stars 92 forks source link

Why are tslib and typescript dependencies of these libraries? #281

Closed henry-filosa closed 10 months ago

henry-filosa commented 2 years ago

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

greguz commented 1 year ago

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

dmnsgn commented 1 year ago

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
blakeembrey commented 10 months ago

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