Skip to content

Upgrading karma-coverage 1 to 2

Breaking1.1.2 → 2.2.1Breaking14Security1Platform1New2Fixed9Other2

BreakingUpgrade verdict

14 breaking changes and a platform requirement change and a security fix.

  • Remove unused source cache utilities.
  • reporter: the output folder names change, they no longer contain.
  • deps: This set of changes may impact some use cases.
  • Add Updated Istanbul Dependencies.
Top 5 of 16 that need code or config changes

Requires Node.js >=10.0.0 from 2.0.2 (none stated before).

Adds istanbul-lib-coverage ^3.2.0, istanbul-lib-instrument ^5.1.0, istanbul-lib-report ^3.0.0, istanbul-lib-source-maps ^4.0.1, istanbul-reports ^3.0.5.

Drops dateformat, istanbul, lodash, source-map.

Installs 55 packages in all (was 93).

Breaking14
Remove unused source cache utilities.
reporter: the output folder names change, they no longer contain.
deps: This set of changes may impact some use cases.
Add Updated Istanbul Dependencies.
Follow new report API.
Switch to istanbul-lib-instrument.
An object that contains an Instrumenter constructor.
An Instrumenter constructor itself.
A callable function that returns an Instrumenter instance.
Switch to istanbul-lib-coverage.
Add Reset Functionality.
Track Coverage Maps Properly.
Access Data Properly to Check Coverage.
Update Unit Tests to use new Istanbul API.
Security1
bump lodash for CVE-2018-16487.
Platform1
Drop support for node < 8.