Skip to content

v0.4.0

Choose a tag to compare

@SBoudrias SBoudrias released this 20 Nov 08:05
· 71 commits to main since this release

New features

Cache clearing

Now every instrumented file will be cleared from require.cache so the next time they're required, we'll use the instrumented version.

This fix issues with people requiring modules to be covered inside their Gulpfile (ideally don't do this to yourself - keep it simple, but the edge case is fixed).

Syntax error detection

Sometime you may pass an invalid JS to istanbul. This resulted in parsing errors that were hard to debug because it didn't logged the path of the currently parsed file.

Now the file path is logged along with the syntax error.