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

What is the status of this project? #96

Open
scottohara opened this issue Aug 13, 2019 · 2 comments
Open

What is the status of this project? #96

scottohara opened this issue Aug 13, 2019 · 2 comments

Comments

@scottohara
Copy link

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.

@jleufven
Copy link

jleufven commented Nov 1, 2019

I have the same question.

I'd love to use the /* istanbul ignore file */ flag that was added in istanbul-lib-instrument: 1.9.0 (if I got it right: istanbuljs/istanbuljs#108 (comment)).

@alexander-akait
Copy link
Member

If somebody want to help us please ping me again, I will give access, we don't have enough time on this, sorry

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

3 participants