Socket
Socket
Sign inDemoInstall

@web/test-runner-core

Package Overview
Dependencies
Maintainers
6
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/test-runner-core - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

6

CHANGELOG.md
# @web/test-runner-core
## 0.6.6
### Patch Changes
- 4a6b9c2: make coverage work in watch mode
## 0.6.5

@@ -4,0 +10,0 @@

9

dist/coverage/getTestCoverage.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTestCoverage = exports.coverageTypes = void 0;
const istanbul_lib_coverage_1 = require("istanbul-lib-coverage");
const clone_1 = __importDefault(require("clone"));
exports.coverageTypes = [

@@ -69,6 +73,9 @@ 'lines',

const coverageMap = istanbul_lib_coverage_1.createCoverageMap();
const coverages = Array.from(sessions)
let coverages = Array.from(sessions)
.map(s => s.testCoverage)
.filter(c => c);
coverages.push(...browserCoverage);
// istanbul mutates the coverage objects, which pollutes coverage in watch mode
// cloning prevents this
coverages = clone_1.default(coverages);
addingMissingCoverageBranches(coverages);

@@ -75,0 +82,0 @@ for (const coverage of coverages) {

4

package.json
{
"name": "@web/test-runner-core",
"version": "0.6.5",
"version": "0.6.6",
"publishConfig": {

@@ -37,2 +37,4 @@ "access": "public"

"dependencies": {
"@types/clone": "^0.1.30",
"clone": "^2.1.2",
"istanbul-lib-coverage": "^3.0.0",

@@ -39,0 +41,0 @@ "picomatch": "^2.2.2",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc