Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.
This repository was 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

@Artoria2e5

Description

@Artoria2e5

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions