-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
detect-intent is buggy and we cannot update it #5664
Comments
Could we just convert detect-intent to commonjs using babel? |
Hmm, the suggestions that I've received are to fork detect-indent and create a commonjs version, or to use babel. I don't know the first thing about babel, and this doesn't seem worth forking a package with the consistency issues that creates. What detect-indent does and how it does it are so minor that for me the path of least resistance would be just to contribute totally fresh code that does the same thing. It would just be a single, not-all-that-long function in read-project-manifest. Would such a contribution, removing the dependency on detect-indent altogether, be considered for merging? Thanks for letting me know. |
you may just fork https://github.com/sindresorhus/detect-indent change it to commonjs publish it under your scope to npmjs and we'll use your fork instead. |
I guess if you are now against exploring ESM imports altogether, I could alternatively make a PR that would supply an internal, written-from-scratch replacement for detect-indent. Would you be willing to consider that alternative if you are against ESM?
Thanks for letting me know which way to try to go with this.
Originally posted by @gwhitney in #3139 (comment)
The text was updated successfully, but these errors were encountered: