Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@web/test-runner-coverage-v8

Package Overview
Dependencies
Maintainers
6
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/test-runner-coverage-v8 - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

CHANGELOG.md
# @web/test-runner-coverage-v8
## 0.0.4
### Patch Changes
- ad11e36: resolve coverage include/exclude patterns
## 0.0.3

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

2

dist/index.d.ts

@@ -8,4 +8,4 @@ /// <reference types="node" />

};
export declare function v8ToIstanbul(config: TestRunnerCoreConfig, testFiles: string[], coverage: V8Coverage[]): Promise<CoverageMapData>;
export { V8Coverage };
export declare function v8ToIstanbul(config: TestRunnerCoreConfig, testFiles: string[], coverage: V8Coverage[]): Promise<CoverageMapData>;
//# sourceMappingURL=index.d.ts.map

@@ -12,2 +12,4 @@ "use strict";

const cachedMatchers = new Map();
// coverage base dir must be separated with "/"
const coverageBaseDir = process.cwd().split(path_1.sep).join('/');
function getMatcher(patterns) {

@@ -20,3 +22,6 @@ if (!patterns || patterns.length === 0) {

if (!matcher) {
matcher = picomatch_1.default(patterns);
const resolvedPatterns = patterns.map(pattern => !path_1.isAbsolute(pattern) && !pattern.startsWith('*')
? path_1.posix.join(coverageBaseDir, pattern)
: pattern);
matcher = picomatch_1.default(resolvedPatterns);
cachedMatchers.set(key, matcher);

@@ -23,0 +28,0 @@ }

{
"name": "@web/test-runner-coverage-v8",
"version": "0.0.3",
"version": "0.0.4",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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