diff --git a/.depcheckrc b/.depcheckrc index d2ee940d..77048747 100644 --- a/.depcheckrc +++ b/.depcheckrc @@ -1 +1 @@ -ignores: ["core-js", "@yarnpkg/pnpify", "@yarnpkg/sdks", "babel-loader", "depcheck", "karma-browserstack-launcher", "karma-chrome-launcher", "karma-firefox-launcher", "karma-safari-launcher", "karma-coverage", "karma-sourcemap-loader", "karma-tap", "karma-webpack", "nyc", "prettier", "webpack-cli", "worker-plugin", "buffer", "process"] +ignores: ["core-js", "@yarnpkg/pnpify", "@yarnpkg/sdks", "babel-loader", "depcheck", "karma-browserstack-launcher", "karma-chrome-launcher", "karma-firefox-launcher", "karma-safari-launcher", "karma-sourcemap-loader", "karma-tap", "karma-webpack", "nyc", "prettier", "webpack-cli", "worker-plugin", "buffer", "process"] diff --git a/.gitignore b/.gitignore index fd838edd..100e4781 100644 --- a/.gitignore +++ b/.gitignore @@ -157,16 +157,6 @@ pids *.seed *.pid.lock -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) .grunt diff --git a/karma.global.js b/karma.global.js index 006cd24a..f43c6bb0 100644 --- a/karma.global.js +++ b/karma.global.js @@ -47,16 +47,11 @@ module.exports = (config) => ({ plugins: [ 'karma-tap', - 'karma-coverage', 'karma-webpack', 'karma-sourcemap-loader', ], - reporters: ['progress', 'coverage'], - - coverageReporter: { - reporters: [{ type: 'lcov' }], - }, + reporters: ['progress'], // TODO - https://github.com/transcend-io/penumbra/issues/249 // // Create a secure context so `crypto.subtle` is defined diff --git a/package.json b/package.json index b3caf7c6..762cf584 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,6 @@ "karma": "^6.3.20", "karma-browserstack-launcher": "^1.6.0", "karma-chrome-launcher": "^3.1.1", - "karma-coverage": "^2.2.0", "karma-firefox-launcher": "^2.1.2", "karma-safari-launcher": "^1.0.0", "karma-sourcemap-loader": "^0.3.8", diff --git a/yarn.lock b/yarn.lock index 479f65dc..7b73d835 100644 --- a/yarn.lock +++ b/yarn.lock @@ -55,29 +55,6 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.12.3": - version: 7.17.5 - resolution: "@babel/core@npm:7.17.5" - dependencies: - "@ampproject/remapping": ^2.1.0 - "@babel/code-frame": ^7.16.7 - "@babel/generator": ^7.17.3 - "@babel/helper-compilation-targets": ^7.16.7 - "@babel/helper-module-transforms": ^7.16.7 - "@babel/helpers": ^7.17.2 - "@babel/parser": ^7.17.3 - "@babel/template": ^7.16.7 - "@babel/traverse": ^7.17.3 - "@babel/types": ^7.17.0 - convert-source-map: ^1.7.0 - debug: ^4.1.0 - gensync: ^1.0.0-beta.2 - json5: ^2.1.2 - semver: ^6.3.0 - checksum: c5e7dddb4feaacb91175d22a6edc8e93804242328a82b80732c6e84a0647bc0a9c9d5b05f3ce13138b8e59bf7aba4ff9f7b7446302f141f243ba51df02c318a5 - languageName: node - linkType: hard - "@babel/core@npm:^7.18.2": version: 7.18.2 resolution: "@babel/core@npm:7.18.2" @@ -432,22 +409,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.16.7": - version: 7.17.6 - resolution: "@babel/helper-module-transforms@npm:7.17.6" - dependencies: - "@babel/helper-environment-visitor": ^7.16.7 - "@babel/helper-module-imports": ^7.16.7 - "@babel/helper-simple-access": ^7.16.7 - "@babel/helper-split-export-declaration": ^7.16.7 - "@babel/helper-validator-identifier": ^7.16.7 - "@babel/template": ^7.16.7 - "@babel/traverse": ^7.17.3 - "@babel/types": ^7.17.0 - checksum: f3722754411ec2fb7975dac4bc1843c2fcd59a7ffbbc78be9d403e13b0e3b07661813cdb96b322bb9560841b3b73a63616633d78667b3c23ab8ce43b25232804 - languageName: node - linkType: hard - "@babel/helper-module-transforms@npm:^7.18.0": version: 7.18.0 resolution: "@babel/helper-module-transforms@npm:7.18.0" @@ -570,15 +531,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-simple-access@npm:^7.16.7": - version: 7.16.7 - resolution: "@babel/helper-simple-access@npm:7.16.7" - dependencies: - "@babel/types": ^7.16.7 - checksum: 8d22c46c5ec2ead0686c4d5a3d1d12b5190c59be676bfe0d9d89df62b437b51d1a3df2ccfb8a77dded2e585176ebf12986accb6d45a18cff229eef3b10344f4b - languageName: node - linkType: hard - "@babel/helper-simple-access@npm:^7.17.7, @babel/helper-simple-access@npm:^7.18.2": version: 7.18.2 resolution: "@babel/helper-simple-access@npm:7.18.2" @@ -659,17 +611,6 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.17.2": - version: 7.17.2 - resolution: "@babel/helpers@npm:7.17.2" - dependencies: - "@babel/template": ^7.16.7 - "@babel/traverse": ^7.17.0 - "@babel/types": ^7.17.0 - checksum: 5fa06bbf59636314fb4098bb2e70cf488e0fb6989553438abab90356357b79976102ac129fb16fc8186893c79e0809de1d90e3304426d6fcdb1750da2b6dff9d - languageName: node - linkType: hard - "@babel/helpers@npm:^7.18.2": version: 7.18.2 resolution: "@babel/helpers@npm:7.18.2" @@ -721,7 +662,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.4, @babel/parser@npm:^7.16.7, @babel/parser@npm:^7.17.3": +"@babel/parser@npm:^7.16.4, @babel/parser@npm:^7.16.7, @babel/parser@npm:^7.17.3": version: 7.17.3 resolution: "@babel/parser@npm:7.17.3" bin: @@ -1715,7 +1656,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.12.5, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.16.7, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.17.0, @babel/traverse@npm:^7.17.3": +"@babel/traverse@npm:^7.12.5, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.16.7, @babel/traverse@npm:^7.16.8": version: 7.17.3 resolution: "@babel/traverse@npm:7.17.3" dependencies: @@ -2051,7 +1992,6 @@ __metadata: karma: ^6.3.20 karma-browserstack-launcher: ^1.6.0 karma-chrome-launcher: ^3.1.1 - karma-coverage: ^2.2.0 karma-firefox-launcher: ^2.1.2 karma-safari-launcher: ^1.0.0 karma-sourcemap-loader: ^0.3.8 @@ -7071,13 +7011,6 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-coverage@npm:^3.2.0": - version: 3.2.0 - resolution: "istanbul-lib-coverage@npm:3.2.0" - checksum: a2a545033b9d56da04a8571ed05c8120bf10e9bce01cf8633a3a2b0d1d83dff4ac4fe78d6d5673c27fc29b7f21a41d75f83a36be09f82a61c367b56aa73c1ff9 - languageName: node - linkType: hard - "istanbul-lib-hook@npm:^3.0.0": version: 3.0.0 resolution: "istanbul-lib-hook@npm:3.0.0" @@ -7099,19 +7032,6 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-instrument@npm:^5.1.0": - version: 5.1.0 - resolution: "istanbul-lib-instrument@npm:5.1.0" - dependencies: - "@babel/core": ^7.12.3 - "@babel/parser": ^7.14.7 - "@istanbuljs/schema": ^0.1.2 - istanbul-lib-coverage: ^3.2.0 - semver: ^6.3.0 - checksum: 8b82e733c69fe9f94d2e21f3e5760c9bedb110329aa75df4bd40df95f1cac3bf38767e43f35b125cc547ceca7376b72ce7d95cc5238b7e9088345c7b589233d3 - languageName: node - linkType: hard - "istanbul-lib-processinfo@npm:^2.0.2": version: 2.0.2 resolution: "istanbul-lib-processinfo@npm:2.0.2" @@ -7149,17 +7069,6 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-source-maps@npm:^4.0.1": - version: 4.0.1 - resolution: "istanbul-lib-source-maps@npm:4.0.1" - dependencies: - debug: ^4.1.1 - istanbul-lib-coverage: ^3.0.0 - source-map: ^0.6.1 - checksum: 21ad3df45db4b81852b662b8d4161f6446cd250c1ddc70ef96a585e2e85c26ed7cd9c2a396a71533cfb981d1a645508bc9618cae431e55d01a0628e7dec62ef2 - languageName: node - linkType: hard - "istanbul-reports@npm:^3.0.2": version: 3.0.2 resolution: "istanbul-reports@npm:3.0.2" @@ -7170,16 +7079,6 @@ __metadata: languageName: node linkType: hard -"istanbul-reports@npm:^3.0.5": - version: 3.1.4 - resolution: "istanbul-reports@npm:3.1.4" - dependencies: - html-escaper: ^2.0.0 - istanbul-lib-report: ^3.0.0 - checksum: 2132983355710c522f6b26808015cab9a0ee8b9f5ae0db0d3edeff40b886dd83cb670fb123cb7b32dbe59473d7c00cdde2ba6136bc0acdb20a865fccea64dfe1 - languageName: node - linkType: hard - "iterate-iterator@npm:^1.0.1": version: 1.0.1 resolution: "iterate-iterator@npm:1.0.1" @@ -7406,20 +7305,6 @@ __metadata: languageName: node linkType: hard -"karma-coverage@npm:^2.2.0": - version: 2.2.0 - resolution: "karma-coverage@npm:2.2.0" - dependencies: - 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 - minimatch: ^3.0.4 - checksum: 79c9df27c2de956e3314077256e508befbb7bc797f77c1ec495fc3d905574047269bfd015ea2da644a9b188fde09da42a4186b466a1cce86db45026b566b8cf0 - languageName: node - linkType: hard - "karma-firefox-launcher@npm:^2.1.2": version: 2.1.2 resolution: "karma-firefox-launcher@npm:2.1.2"