Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

What is the status of this project? #96

@scottohara

Description

@scottohara

Just wondering if this project is still being maintained?

(It has not received any commits in almost 18 months, and a few recent pull requests appear to have been closed by their authors without any activity)

The version of instanbul-lib-instrumenter specified in the package.json dependencies is significantly out of date:

"istanbul-lib-instrument": "^1.7.3"

(latest version of this library is up to 3.3.0)

The reason this is an issue (for me) is that the specified version of this library does not support code that uses ES2019 "optional catch bindings", i.e.

The following code works:

try {
  // do something
} catch (e) {
  // do nothing (not that `e` is unused)
}

Removing the unused e catch binding (which is perfectly valid ES2019, supported by modern browsers) causes instanbul to break the compilation with a SyntaxError: Unexpected token, expected ( error`:

try {
  // do something
} catch {
  // do nothing
}

Support for optional catch bindings was added to istanbul-lib-instrumenter in version 2.2.0, in June 2018.

I'm happy to submit a PR to bump the dependency version, but I don't want to waste my time if there's nobody maintaining this project anymore.

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