Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

[feature request] wrapper command for "minimum ES version" for a file #101

Open
Artoria2e5 opened this issue Nov 5, 2019 · 0 comments
Open

Comments

@Artoria2e5
Copy link

Requested Update

es-check can have a function to tell us the minimum version of all ES versions that allows a file to parse normally.

This can be done by simply testing against all parsers, or by bisection (with es4 singled out of course) in a million years when testing all yearly ES versions becomes uneconomical.

Why Is This Update Needed?

One can use the new feature to determine the approximate compatibility of a piece of code. With #72 in place this would make a great tool for devs.

It can also be used for "dating" a piece of ancient code found in some ancient ruins.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant