All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
- handle error when inputSourceMap is not a plain object (#662) (3e3611f)
- exclude Empty Object and Arrays in Truthy Detection (#666) (e279684)
- option to evaluate logical truthiness, for applications such as fuzzing (#629) (a743b84)
- magic-value: make incrementing magic value a manual step (#641) (823010b)
- build: verfiy automated publication (b232690)
- build: verfiy automated publication (74c96bd)
- istanbul-lib-instrument no longer uses babel
- istanbul-lib-instrument no longer uses babel (8d3badb)
- Prevent readInitialCoverage from reading babel config (#562) (49b4745)
- Always call coverage initialization function (#524) (c6536c1)
Note: Version bump only for package istanbul-lib-instrument
Note: Version bump only for package istanbul-lib-instrument
- Produce properly merged source-maps when inputSourceMap is provided (#487) (8f8c88e)
- The defaults for
autoWrap
, preserveComments
,
esModules
and produceSourceMap
are now true. This applies only to
the stand-alone instrumenter, the visitor does not use these options.
- The
flow
and jsx
parser plugins are no longer
enabled by default. This applies only to the stand-alone instrumenter,
the visitor does not use this option.
- The
plugins
option of the stand-alone instrumenter
has been renamed to parserPlugins
to match nyc.
- Update dependencies, require Node.js 8 (#401) (bf3a539)
- Node.js 8 is now required
- Enable classProperties and classPrivateProperties parsers and coverage. (#379) (c09dc38)
- Add bigInt and importMeta to default parser plugins. (#356) (fb4d6ed), closes #338
- Honor istanbul ignore next hints placed before export statement. (#298) (f24795d), closes #297
- dont skip for loop initialization instrumentation (#188) (2e0258e)
- New options coverageGlobalScope and coverageGlobalScopeFunc. (#200) (25509c7), closes #199
Note: Version bump only for package istanbul-lib-instrument
- was added which requires an option for the
decorators
plugin. Add it to get tests working again, commit updated api.md.
Note: Version bump only for package istanbul-lib-instrument
- Don't ignore src/visitor.js for self test. (#194) (71b815d)
- update pinned babel version to latest release. (#189) (ac8ec07)
- Instrument ObjectMethod's. (#182) (126f09d)
- update default args test guard to work on supported versions. (#185) (955511a)
- add support for optional catch binding (#175) (088dd9f)
- add support for optional catch binding (#175) (088dd9f)
Note: Version bump only for package istanbul-lib-instrument
- parenthesize superClass on non-idetifier case (#158) (6202c88)
- babel@7 drops Node@4 support
- allows an array of ignored method names to be provided (#127) (67918e2)
- compatibility with babel 7 (#135) (6cac849)
- handle instrumentation when a function is called Function (#131) (b12a07e)
- proper passing of the preserveComments option to babel (#122) (470bb0e)
- update instrument, account for lack of arrow expression (#119) (#125) (0968206)
- address issue with class instrumentation (#111) (cbd1c14)
- support conditional expression for superClass (#106) (aae256f)
- add support for object-spread syntax (#82) (28d5566)
- name of function is now preserved or named exports (#79) (2ce8974)
- update increment operator to appropriate expression type (#74) (dc69e66)
- hoist statement counter for class variables, so that name is preserved (#60) (120d221)
- don't instrument a file if it has already been instrumented (#38) (9c38e4e)
- use extended babylon support; adding features such as jsx (#22) (11c2438)
- loc is sometimes not defined, so loc.start fails see #99 (#18) (df85ba6)
- adds line number property back to coverage.json (b03b927)
- only hoist counter for a smaller subset of function declarations (9f8931e)
- function declaration assignment now retains function name (#33) (2d781da)
- allow an input source-map to be passed to instrumentSync() (#23) (b08e4f5)
- implement function to extract empty coverage data from an instrumented file (#28) (06d0ef6)
- hoist coverage variable to very top of file (#26) (0225e8c)
- use zero-based numeric indices for much faster instrumented code (#22) (5b401f5)
- upgrade istanbul-lib-coverage (eb9b1f6)
- require more performant babel-generator (#15) (21b2563)