-
Notifications
You must be signed in to change notification settings - Fork 247
Comparing changes
Open a pull request
base repository: karma-runner/karma-coverage
base: 070bba3a8378f0895ea90239a36f6b155a546d82
head repository: karma-runner/karma-coverage
compare: 32acafa90ed621abd1df730edb44ae55a4009c2c
Commits on Mar 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 15f8b12 - Browse repository at this point
Copy the full SHA 15f8b12View commit details
Commits on Mar 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e288ca4 - Browse repository at this point
Copy the full SHA e288ca4View commit details
Commits on Mar 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c642c6b - Browse repository at this point
Copy the full SHA c642c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d40463d - Browse repository at this point
Copy the full SHA d40463dView commit details -
Configuration menu - View commit details
-
Copy full SHA for eefaaa2 - Browse repository at this point
Copy the full SHA eefaaa2View commit details -
BREAKING CHANGE: drop support for node < 8
Configuration menu - View commit details
-
Copy full SHA for 00090ea - Browse repository at this point
Copy the full SHA 00090eaView commit details
Commits on Apr 4, 2019
-
Merge pull request #371 from hicom150/update_travis
Drop testing on node 4, 5, 7
Configuration menu - View commit details
-
Copy full SHA for ac445f1 - Browse repository at this point
Copy the full SHA ac445f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b0f17 - Browse repository at this point
Copy the full SHA a6b0f17View commit details -
Merge pull request #372 from hicom150/update_eslint_dependencies
Update eslint dependencies
Configuration menu - View commit details
-
Copy full SHA for 14c8cba - Browse repository at this point
Copy the full SHA 14c8cbaView commit details -
Update test dependencies (#373)
* Update travis to match parent karma project * test: Update testing dependencies * test: Fix dependency update errors
Configuration menu - View commit details
-
Copy full SHA for b51cee7 - Browse repository at this point
Copy the full SHA b51cee7View commit details -
Update grunt dependencies (#374)
* chore: Update grunt dependencies
Configuration menu - View commit details
-
Copy full SHA for b8f82a0 - Browse repository at this point
Copy the full SHA b8f82a0View commit details
Commits on Jun 19, 2019
-
chore(deps): Use latest istanbul lib packages (#377)
BREAKING CHANGE: This set of changes may impact some use cases. * chore: Add Updated Istanbul Dependencies The istanbul package is deprecated in favor several split packages that control different aspects of how istanbul works. This commit adds the recommended packages that will be used in future commits as karma-coverage's usage of istanbul is updated to the latest api. * refactor(reporter): Follow new report API This commit refactors the in memory report implementation to use the new istanbul report API. Report creation is removed from newer versions of the istanbul API, so this commit adds a set of utility functions to wrap around the new API and provide similar functionality as the old API. The top level export uses the new utility function to register the in-memory report. * refactor(preprocessor): Switch to istanbul-lib-instrument This commit updates the preprocessor to use istanbul-lib-instrument instead of the deprecated istanbul package. The biggest change in this refactor is using a callable function instead of a constructor when creating instrumenters The old istanbul package exposed the Instrumenter directly, allowing the preprocessor to create an instance of it. istanbul-lib-instrument, however, exposes a callable function that creates an Instrumenter. This commit updates the preprocessor to follow this new pattern of using a callable function. In order to ensure backwards compatibility, a utility function is added to wrap constructors with a callable function for creation automatically. This change allows the following configuration for creating instrumenters: 1. An object that contains an Instrumenter constructor 2. An Instrumenter constructor itself 3. A callable function that returns an Instrumenter instance. This commit also uses the istanbul-lib-source-maps package to handle storing source maps. A global source map store registers source maps so they can be used later on in the reporter. * refactor(reporter): Switch to istanbul-lib-coverage This commit updates the reporter by using the istanbul-lib-coverage package api for handling coverage checking/management and the istanbul-lib-report package api for handling reporting. The new apis remove the need for collectors and remove the need to handle disposing collectors. * refactor: Remove unused source cache utilities This commit removes the source-cache-store and source-cache files as they are no longer being used. The source-map-store and istanbul-lib-source-maps are used instead, so these files are no longer needed. * feat(util): Add Reset Functionality This commit updates the report creator utility to allow resetting the custom reporter map. * fix(preprocessor): Track Coverage Maps Properly This commit updates the preprocessor to properly access file coverage when storing it in the global coverage map (when includeAllSources is true). The previous method did not work because the returned instrumented code from the default istanbul instrumenter returns the coverage map in a POJO object instead of JSON notation. This breaks the coverage regex used to match and parse the coverage map. The istanbul instrumenter offers the ability to receive the coverage map for the last instrumented file through a separate function, so that is tested for and used if it is supported. The original method is used as a fallback for backwards compatibility. This commit also addresses changes from the v0 instanbul instrumenter options. The changes are additive only to maintain backwards compatibility for other instrumenters. * fix(reporter): Access Data Properly to Check Coverage This commit fixes errors with accessing data properly during the checkCoverage method. A previous commit updated the implementation to use istanbul-lib-coverage, but this involved an api change to access the raw coverage data (which checkCoverage uses). This commit also fixes the checking coverage for each file by using a map to store file coverage summaries instead of merging summaries like the global results. Per file coverage now works as expected. * test: Update Unit Tests to use new Istanbul API This commit updates the mocking done in unit tests to properly mock the new istanbul API. Additionally, new unit test suites are added for the utility methods report-creator and source-map-store.
Configuration menu - View commit details
-
Copy full SHA for f40d6af - Browse repository at this point
Copy the full SHA f40d6afView commit details
Commits on Aug 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 99c0c35 - Browse repository at this point
Copy the full SHA 99c0c35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e2800b - Browse repository at this point
Copy the full SHA 0e2800bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57d4bd3 - Browse repository at this point
Copy the full SHA 57d4bd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9184fc0 - Browse repository at this point
Copy the full SHA 9184fc0View commit details
Commits on Sep 3, 2019
-
Remove unused istanbul dependency (#382)
This avoid the deprecation warning being printed on `npm install` for packages with a dependency on karma-coverage.
Configuration menu - View commit details
-
Copy full SHA for 075ece0 - Browse repository at this point
Copy the full SHA 075ece0View commit details
Commits on Sep 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b76db9e - Browse repository at this point
Copy the full SHA b76db9eView commit details
Commits on Sep 30, 2019
-
Make travis file simpler (#386)
* Make travis file simpler the are two reasons 1. Since of May 2019 by default start Ubuntu Xenial 16.04 https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment 2. and also since Ubuntu 16.04 you can start xvfb as services https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-to-run-tests-that-require-a-gui - move xvfb to services - Remove update npm (it was need for old versions of node) * travis executes export DISPLAY=:99.0 when service xvfb start and don't need repeat again
Configuration menu - View commit details
-
Copy full SHA for 9c8a222 - Browse repository at this point
Copy the full SHA 9c8a222View commit details
Commits on Oct 1, 2019
-
chore(all): Migrate to ES6 (#385)
* Convert InMemoryReport to the ES6 class * Use default params for reporters and coverageReporter * Remove lodash usages and dependencies * Replace all vars on const vs let in preprocessor
Configuration menu - View commit details
-
Copy full SHA for d3f53e3 - Browse repository at this point
Copy the full SHA d3f53e3View commit details
Commits on Dec 9, 2019
-
Added debug msg whether coverage is in reporters (#396)
* Added debug msg whether coverage is in reporters * Change log level to info if coverage is not included in reporters
Configuration menu - View commit details
-
Copy full SHA for b23664e - Browse repository at this point
Copy the full SHA b23664eView commit details -
Update Source Map Handling (#394)
* refactor(preprocessor): Update Source Map Handling This commit updates the handling of source map inclusion in the preprocessor. Instead of attempting to combine both the incoming source map and instrumented source map, a single one is chosen and included as an inline comment of the instrumented code. This commit also adds a null/undefined check before registering an incoming source map in the sourceMapStore. * chore(deps): Remove unused source-map package The previous commit removes the need for the source-map package. * test(preprocessor): Update test mocks This commit updates the instrumenter mock. Since the new logic calls instrumenter.lastSourceMap() in more cases, this has to be mocked properly. * fix(preprocessor): merging source maps This commit fixes an issue where karma would be unable to report correctly mapped stacktraces back to original sources. Instead of manually merging source maps, the default instrumenter, istanbul, supports passing in an input source map and having that merged automatically with the internal source map of instrumented code. The merged source map is now available for access using instrumenter.lastSourceMap(), so that is what file.sourceMap gets updated to (if the merge completed successfully). Istanbul reporting still requires the original source map only, so the check to register the source map with the source store is made before this merged source map is used. This allows istanbul to use the original incoming source map, while still allowing karma to use the merged source map.
Configuration menu - View commit details
-
Copy full SHA for 55aeead - Browse repository at this point
Copy the full SHA 55aeeadView commit details -
chore(deps-dev): bump eslint from 2.13.1 to 4.18.2 (#397)
Bumps [eslint](https://github.com/eslint/eslint) from 2.13.1 to 4.18.2. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](eslint/eslint@v2.13.1...v4.18.2) Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for d18cde4 - Browse repository at this point
Copy the full SHA d18cde4View commit details -
chore(deps): bump lodash.template from 4.4.0 to 4.5.0 (#392)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.4.0...4.5.0) Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 0ee780c - Browse repository at this point
Copy the full SHA 0ee780cView commit details
Commits on Mar 18, 2020
-
chore(deps): bump handlebars from 4.1.2 to 4.5.3 (#399)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.1.2...v4.5.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 352254a - Browse repository at this point
Copy the full SHA 352254aView commit details
Commits on Mar 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5cf931a - Browse repository at this point
Copy the full SHA 5cf931aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cfa697 - Browse repository at this point
Copy the full SHA 4cfa697View commit details
Commits on Mar 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 49f174d - Browse repository at this point
Copy the full SHA 49f174dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83bafc3 - Browse repository at this point
Copy the full SHA 83bafc3View commit details -
refactor: remove isAbsolute and replace with path.isAbsolute (#405)
path.isAbsolute added in node v0.11.2
Configuration menu - View commit details
-
Copy full SHA for fc6e289 - Browse repository at this point
Copy the full SHA fc6e289View commit details
Commits on Mar 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4962a70 - Browse repository at this point
Copy the full SHA 4962a70View commit details
Commits on Mar 25, 2020
-
ci: drop node 8, adopt node 12 (#409)
BREAKING CHANGES: drop node 8
Configuration menu - View commit details
-
Copy full SHA for 1adb27a - Browse repository at this point
Copy the full SHA 1adb27aView commit details
Commits on Mar 30, 2020
-
ci(test): use eslint as ci command and add all js files to check by e…
…slint (#410) no-unused-expressions ignore for tests uses chai expect
Configuration menu - View commit details
-
Copy full SHA for 27822c9 - Browse repository at this point
Copy the full SHA 27822c9View commit details
Commits on Apr 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9c37de6 - Browse repository at this point
Copy the full SHA 9c37de6View commit details
Commits on Apr 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bb8f9ee - Browse repository at this point
Copy the full SHA bb8f9eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32acafa - Browse repository at this point
Copy the full SHA 32acafaView commit details
There are no files selected for viewing
This file was deleted.