aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@types/istanbul-lib-coverage
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.h.kronqvist@gmail.com>2022-03-05 19:02:27 +0200
committerJoel Kronqvist <joel.h.kronqvist@gmail.com>2022-03-05 19:02:27 +0200
commit5d309ff52cd399a6b71968a6b9a70c8ac0b98981 (patch)
tree360f7eb50f956e2367ef38fa1fc6ac7ac5258042 /node_modules/@types/istanbul-lib-coverage
parentb500a50f1b97d93c98b36ed9a980f8188d648147 (diff)
downloadLYLLRuoka-5d309ff52cd399a6b71968a6b9a70c8ac0b98981.tar.gz
LYLLRuoka-5d309ff52cd399a6b71968a6b9a70c8ac0b98981.zip
Added node_modules for the updating to work properly.
Diffstat (limited to 'node_modules/@types/istanbul-lib-coverage')
-rwxr-xr-xnode_modules/@types/istanbul-lib-coverage/LICENSE21
-rwxr-xr-xnode_modules/@types/istanbul-lib-coverage/README.md16
-rwxr-xr-xnode_modules/@types/istanbul-lib-coverage/index.d.ts117
-rwxr-xr-xnode_modules/@types/istanbul-lib-coverage/package.json25
4 files changed, 179 insertions, 0 deletions
diff --git a/node_modules/@types/istanbul-lib-coverage/LICENSE b/node_modules/@types/istanbul-lib-coverage/LICENSE
new file mode 100755
index 0000000..9e841e7
--- /dev/null
+++ b/node_modules/@types/istanbul-lib-coverage/LICENSE
@@ -0,0 +1,21 @@
+ MIT License
+
+ Copyright (c) Microsoft Corporation.
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE
diff --git a/node_modules/@types/istanbul-lib-coverage/README.md b/node_modules/@types/istanbul-lib-coverage/README.md
new file mode 100755
index 0000000..890b545
--- /dev/null
+++ b/node_modules/@types/istanbul-lib-coverage/README.md
@@ -0,0 +1,16 @@
+# Installation
+> `npm install --save @types/istanbul-lib-coverage`
+
+# Summary
+This package contains type definitions for istanbul-lib-coverage (https://istanbul.js.org).
+
+# Details
+Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-coverage.
+
+### Additional Details
+ * Last updated: Thu, 23 Dec 2021 23:34:53 GMT
+ * Dependencies: none
+ * Global values: none
+
+# Credits
+These definitions were written by [Jason Cheatham](https://github.com/jason0x43).
diff --git a/node_modules/@types/istanbul-lib-coverage/index.d.ts b/node_modules/@types/istanbul-lib-coverage/index.d.ts
new file mode 100755
index 0000000..eebb4ac
--- /dev/null
+++ b/node_modules/@types/istanbul-lib-coverage/index.d.ts
@@ -0,0 +1,117 @@
+// Type definitions for istanbul-lib-coverage 2.0
+// Project: https://istanbul.js.org, https://github.com/istanbuljs/istanbuljs
+// Definitions by: Jason Cheatham <https://github.com/jason0x43>
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+// TypeScript Version: 2.4
+
+export interface CoverageSummaryData {
+ lines: Totals;
+ statements: Totals;
+ branches: Totals;
+ functions: Totals;
+}
+
+export class CoverageSummary {
+ constructor(data: CoverageSummary | CoverageSummaryData);
+ merge(obj: CoverageSummary): CoverageSummary;
+ toJSON(): CoverageSummaryData;
+ isEmpty(): boolean;
+ data: CoverageSummaryData;
+ lines: Totals;
+ statements: Totals;
+ branches: Totals;
+ functions: Totals;
+}
+
+export interface CoverageMapData {
+ [key: string]: FileCoverage | FileCoverageData;
+}
+
+export class CoverageMap {
+ constructor(data: CoverageMapData | CoverageMap);
+ addFileCoverage(pathOrObject: string | FileCoverage | FileCoverageData): void;
+ files(): string[];
+ fileCoverageFor(filename: string): FileCoverage;
+ filter(callback: (key: string) => boolean): void;
+ getCoverageSummary(): CoverageSummary;
+ merge(data: CoverageMapData | CoverageMap): void;
+ toJSON(): CoverageMapData;
+ data: CoverageMapData;
+}
+
+export interface Location {
+ line: number;
+ column: number;
+}
+
+export interface Range {
+ start: Location;
+ end: Location;
+}
+
+export interface BranchMapping {
+ loc: Range;
+ type: string;
+ locations: Range[];
+ line: number;
+}
+
+export interface FunctionMapping {
+ name: string;
+ decl: Range;
+ loc: Range;
+ line: number;
+}
+
+export interface FileCoverageData {
+ path: string;
+ statementMap: { [key: string]: Range };
+ fnMap: { [key: string]: FunctionMapping };
+ branchMap: { [key: string]: BranchMapping };
+ s: { [key: string]: number };
+ f: { [key: string]: number };
+ b: { [key: string]: number[] };
+}
+
+export interface Totals {
+ total: number;
+ covered: number;
+ skipped: number;
+ pct: number;
+}
+
+export interface Coverage {
+ covered: number;
+ total: number;
+ coverage: number;
+}
+
+export class FileCoverage implements FileCoverageData {
+ constructor(data: string | FileCoverage | FileCoverageData);
+ merge(other: FileCoverageData): void;
+ getBranchCoverageByLine(): { [line: number]: Coverage };
+ getLineCoverage(): { [line: number]: number };
+ getUncoveredLines(): number[];
+ resetHits(): void;
+ computeBranchTotals(): Totals;
+ computeSimpleTotals(): Totals;
+ toSummary(): CoverageSummary;
+ toJSON(): object;
+
+ data: FileCoverageData;
+ path: string;
+ statementMap: { [key: string]: Range };
+ fnMap: { [key: string]: FunctionMapping };
+ branchMap: { [key: string]: BranchMapping };
+ s: { [key: string]: number };
+ f: { [key: string]: number };
+ b: { [key: string]: number[] };
+}
+
+export const classes: {
+ FileCoverage: FileCoverage;
+};
+
+export function createCoverageMap(data?: CoverageMap | CoverageMapData): CoverageMap;
+export function createCoverageSummary(obj?: CoverageSummary | CoverageSummaryData): CoverageSummary;
+export function createFileCoverage(pathOrObject: string | FileCoverage | FileCoverageData): FileCoverage;
diff --git a/node_modules/@types/istanbul-lib-coverage/package.json b/node_modules/@types/istanbul-lib-coverage/package.json
new file mode 100755
index 0000000..ab6688e
--- /dev/null
+++ b/node_modules/@types/istanbul-lib-coverage/package.json
@@ -0,0 +1,25 @@
+{
+ "name": "@types/istanbul-lib-coverage",
+ "version": "2.0.4",
+ "description": "TypeScript definitions for istanbul-lib-coverage",
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-coverage",
+ "license": "MIT",
+ "contributors": [
+ {
+ "name": "Jason Cheatham",
+ "url": "https://github.com/jason0x43",
+ "githubUsername": "jason0x43"
+ }
+ ],
+ "main": "",
+ "types": "index.d.ts",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
+ "directory": "types/istanbul-lib-coverage"
+ },
+ "scripts": {},
+ "dependencies": {},
+ "typesPublisherContentHash": "4df627cf114fc2a3196e0bde6df85bc30eb84e778319bcc5dcfdf962ee9fe093",
+ "typeScriptVersion": "3.8"
+} \ No newline at end of file