-
Notifications
You must be signed in to change notification settings - Fork 15
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
Missing information when using --checkFeatures #231
Comments
Hello @p3k! Thanks for the issue! Why can't the people make updates on based on the error using find & replace? |
@yowainwright Apart from the inconvenience to find out which feature caused the error in which file, it looks like an inconsistency to get information about filename and line number in one case but only a stack trace in another. |
Thanks! I agree that the error logs for the new |
Would it be possible to provide the list of unsupported features in a machine-readable format? This way one could use es-check to automatically bundle the needed polyfills: $ es-check es2017 /path/to/bundle.min.js --check-features --format json
["ErgonomicBrandChecks", "ArrayPrototypeAt"] |
I noticed this too and my first thought was that es-check had an error in itself before I understood what was going on. |
Requested Update
If running
es-check es2017 --checkFeatures
detects an unsupported feature it does not output the erroring file and line number:Why Is This Update Needed?
When running
es-check
on a list of files defined by a glob (as done in the example above), it does not become clear where the unsupported feature is located.Compared to the output of a “ES version matching error”:
Are There Examples Of This Requested Update Elsewhere?
🤷
The text was updated successfully, but these errors were encountered: