Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
Bug Fixes
- Prevent readInitialCoverage from reading babel config (#562) (49b4745)
Bug Fixes
- Add ts-ignore to reassignment of generated function (#557) (817efb0)
- Use @babel/core for all babel imports. (#555) (a99a13e)
Bug Fixes
- 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
Bug Fixes
- Produce properly merged source-maps when inputSourceMap is provided (#487) (8f8c88e)
Bug Fixes
Features
BREAKING CHANGES
- 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.
Features
- Update dependencies, require Node.js 8 (#401) (bf3a539)
BREAKING CHANGES
- Node.js 8 is now required
Features
- Enable classProperties and classPrivateProperties parsers and coverage. (#379) (c09dc38)
Features
- Add bigInt and importMeta to default parser plugins. (#356) (fb4d6ed), closes #338
Bug Fixes
Bug Fixes
- Honor istanbul ignore next hints placed before export statement. (#298) (f24795d), closes #297
Features
- 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
Chores
Features
BREAKING CHANGES
- 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
Bug Fixes
- Don’t ignore src/visitor.js for self test. (#194) (71b815d)
Features
- update pinned babel version to latest release. (#189) (ac8ec07)
Bug Fixes
- Instrument ObjectMethod’s. (#182) (126f09d)
- update default args test guard to work on supported versions. (#185) (955511a)
Features
- add support for optional catch binding (#175) (088dd9f)
Features
- add support for optional catch binding (#175) (088dd9f)
Note: Version bump only for package istanbul-lib-instrument
Bug Fixes
Bug Fixes
- parenthesize superClass on non-idetifier case (#158) (6202c88)
Chores
BREAKING CHANGES
- babel@7 drops Node@4 support
Bug Fixes
Features
- allows an array of ignored method names to be provided (#127) (67918e2)
Bug Fixes
- 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)
Bug Fixes
- address issue with class instrumentation (#111) (cbd1c14)
Bug Fixes
- support conditional expression for superClass (#106) (aae256f)
Features
Features
- add support for object-spread syntax (#82) (28d5566)
Bug Fixes
- name of function is now preserved or named exports (#79) (2ce8974)
Bug Fixes
- update increment operator to appropriate expression type (#74) (dc69e66)
Bug Fixes
- hoist statement counter for class variables, so that name is preserved (#60) (120d221)
Bug Fixes
- don’t instrument a file if it has already been instrumented (#38) (9c38e4e)
Features
- use extended babylon support; adding features such as jsx (#22) (11c2438)
Bug Fixes
- loc is sometimes not defined, so loc.start fails see #99 (#18) (df85ba6)
Features
- adds line number property back to coverage.json (b03b927)
Bug Fixes
- only hoist counter for a smaller subset of function declarations (9f8931e)
Bug Fixes
Features
Bug Fixes
- function declaration assignment now retains function name (#33) (2d781da)
Features
- allow an input source-map to be passed to instrumentSync() (#23) (b08e4f5)
Features
- implement function to extract empty coverage data from an instrumented file (#28) (06d0ef6)
Bug Fixes
- hoist coverage variable to very top of file (#26) (0225e8c)
- use zero-based numeric indices for much faster instrumented code (#22) (5b401f5)
Bug Fixes
- upgrade istanbul-lib-coverage (eb9b1f6)
Bug Fixes
Bug Fixes
- require more performant babel-generator (#15) (21b2563)