istanbul-lib-instrument

Core istanbul API for JS code coverage

BSD-3-Clause 75 个版本
安装
npm install istanbul-lib-instrument
yarn add istanbul-lib-instrument
pnpm add istanbul-lib-instrument
bun add istanbul-lib-instrument
README

istanbul-lib-instrument

Build Status

Istanbul instrumenter library.

Version 1.1.x now implements instrumentation using Babel. The implementation is inspired by prior art by @dtinth as demonstrated in the __coverage__ babel plugin.

It provides 2 "modes" of instrumentation.

  • The old API that is mostly unchanged (except for incompatibilities noted) and performs the instrumentation using babel as a library.

  • A programVisitor function for the Babel AST that can be used by a Babel plugin to emit instrumentation for ES6 code directly without any source map processing. This is the preferred path for babel users. The Babel plugin is called babel-plugin-istanbul.

Incompatibilities and changes to instrumentation behavior can be found in v0-changes.md.

版本列表
6.0.3 2024-06-30
6.0.2 2024-02-19
6.0.1 2023-10-04
6.0.0 2023-07-25
5.2.1 2022-10-05
5.2.0 2022-04-20
5.1.0 2021-10-27
5.0.4 2021-10-16
5.0.3 2021-10-06
5.0.2 2021-09-13
4.0.3 2020-05-09
4.0.2 2020-05-06
4.0.1 2020-02-03
4.0.0-alpha.3 2019-12-07
4.0.0-alpha.2 2019-11-01
4.0.0-alpha.1 2019-10-06
4.0.0-alpha.0 2019-06-19
4.0.0 2019-12-20
3.3.0 2019-04-24
3.2.0 2019-04-09
3.1.2 2019-04-03
3.1.1 2019-03-12
3.1.0 2019-01-26
3.0.1 2018-12-25
3.0.0 2018-09-06
2.3.2 2018-07-24
2.3.1 2018-07-07
2.3.0 2018-06-27
2.2.1 2018-06-26
2.2.0 2018-06-06
2.1.0 2018-05-31
2.0.2 2018-05-31
2.0.1 2018-05-31
2.0.0 2018-05-31
1.10.2 2018-09-05
1.10.1 2018-03-09
1.10.0 2018-03-04
1.9.2 2018-02-13
1.9.1 2017-10-22
1.9.0 2017-10-21
1.8.0 2017-09-05
1.7.5 2017-08-23
1.7.4 2017-07-16
1.7.3 2017-06-25
1.7.2 2017-05-27
1.7.1 2017-04-29
1.7.0 2017-03-27
1.6.2 2017-03-22
1.6.1 2017-03-21
1.6.0 2017-03-21
1.5.0 2017-03-20
1.4.2 2017-01-04
1.4.1 2017-01-04
1.4.0 2017-01-04
1.4.0-candidate.0 2017-01-02
1.3.1 2016-12-27
1.3.0 2016-11-10
1.2.0 2016-10-25
1.1.4 2016-10-17
1.1.3 2016-09-13
1.1.2 2016-09-08
1.1.1 2016-08-30
1.1.0-alpha.4 2016-07-20
1.1.0-alpha.3 2016-07-15
1.1.0-alpha.2 2016-06-30
1.1.0-alpha.1 2016-06-25
1.1.0-alpha.0 2016-06-25
1.1.0 2016-08-11
1.0.0-alpha.6 2016-01-25
1.0.0-alpha.5 2015-11-30
1.0.0-alpha.4 2015-11-28
1.0.0-alpha.3 2015-11-27
1.0.0-alpha.2 2015-11-24
1.0.0-alpha.1 2015-11-24
1.0.0-alpha.0 2015-11-21