istanbul-instrumenter-loader
istanbul-instrumenter-loader copied to clipboard
What is the status of this project?
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.
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: https://github.com/istanbuljs/istanbuljs/pull/108#issuecomment-338424895).
If somebody want to help us please ping me again, I will give access, we don't have enough time on this, sorry