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
Slim down on dependencies #3055
Labels
Comments
mcmxcdev
added
the
needs-triage
A ticket that needs to be triaged by a team member
label
Mar 27, 2024
Hello @mcmxcdev Resources: |
I appreciate the openness to my suggestions! I will consider creating some PRs if I can manage to find the time. |
jescalan
removed
the
needs-triage
A ticket that needs to be triaged by a team member
label
Apr 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preliminary Checks
Reproduction
Publishable key
Description
Looking at the
package.json
below, Clerk pulls in various dependencies that can probably be dropped nowadays:javascript/packages/clerk-js/package.json
Lines 63 to 68 in 50b4176
copy-to-clipboard
is a one liner nowadays withnavigator.clipboard.writeText()
core-js
andregenerator-runtime
are polyfill compatibility layers that most developers with modern tech-stacks don't care aboutqs
can be replaced with nativeURLSearchParams
APIExpected behavior:
Project should be kept as slim as possible
Actual behavior:
End users of Clerk have to download and install more deps, which can have CVEs and require more disk space and install time.
Environment
The text was updated successfully, but these errors were encountered: