@types/istanbul-reports
Advanced tools
Comparing version 1.1.2 to 3.0.0
@@ -1,28 +0,34 @@ | ||
// Type definitions for istanbul-reports 1.1 | ||
// Type definitions for istanbul-reports 3.0 | ||
// Project: https://github.com/istanbuljs/istanbuljs, https://istanbul.js.org | ||
// Definitions by: Jason Cheatham <https://github.com/jason0x43> | ||
// Elena Shcherbakova <https://github.com/not-a-doctor> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.4 | ||
import { Context, Node, FileWriter, Visitor } from 'istanbul-lib-report'; | ||
import { CoverageSummary } from 'istanbul-lib-coverage'; | ||
import { Node, Visitor } from 'istanbul-lib-report'; | ||
export function create<T extends keyof ReportOptions>( | ||
name: T, | ||
options?: Partial<ReportOptions[T]> | ||
): Visitor; | ||
export function create<T extends keyof ReportOptions>(name: T, options?: Partial<ReportOptions[T]>): Visitor; | ||
export interface FileOptions { | ||
file: string; | ||
} | ||
export interface ProjectOptions { | ||
projectRoot: string; | ||
} | ||
export interface ReportOptions { | ||
clover: RootedOptions; | ||
cobertura: RootedOptions; | ||
clover: CloverOptions; | ||
cobertura: CoberturaOptions; | ||
'html-spa': HtmlSpaOptions; | ||
html: HtmlOptions; | ||
json: Options; | ||
'json-summary': Options; | ||
lcov: never; | ||
lcovonly: Options; | ||
none: RootedOptions; | ||
teamcity: Options & { blockName: string }; | ||
text: Options & { maxCols: number }; | ||
'text-lcov': Options; | ||
'text-summary': Options; | ||
json: JsonOptions; | ||
'json-summary': JsonSummaryOptions; | ||
lcov: LcovOptions; | ||
lcovonly: LcovOnlyOptions; | ||
none: never; | ||
teamcity: TeamcityOptions; | ||
text: TextOptions; | ||
'text-lcov': TextLcovOptions; | ||
'text-summary': TextSummaryOptions; | ||
} | ||
@@ -32,16 +38,34 @@ | ||
export interface Options { | ||
file: string; | ||
} | ||
export interface CloverOptions extends FileOptions, ProjectOptions {} | ||
export interface RootedOptions extends Options { | ||
projectRoot: string; | ||
export interface CoberturaOptions extends FileOptions, ProjectOptions {} | ||
export interface HtmlSpaOptions extends HtmlOptions { | ||
metricsToShow: Array<'lines' | 'branches' | 'functions' | 'statements'>; | ||
} | ||
export interface HtmlOptions { | ||
verbose: boolean; | ||
skipEmpty: boolean; | ||
subdir: string; | ||
linkMapper: LinkMapper; | ||
subdir: string; | ||
} | ||
export type JsonOptions = FileOptions; | ||
export type JsonSummaryOptions = FileOptions; | ||
export interface LcovOptions extends FileOptions, ProjectOptions {} | ||
export interface LcovOnlyOptions extends FileOptions, ProjectOptions {} | ||
export interface TeamcityOptions extends FileOptions { | ||
blockName: string; | ||
} | ||
export interface TextOptions extends FileOptions { | ||
maxCols: number; | ||
skipEmpty: boolean; | ||
skipFull: boolean; | ||
} | ||
export type TextLcovOptions = ProjectOptions; | ||
export type TextSummaryOptions = FileOptions; | ||
export interface LinkMapper { | ||
@@ -48,0 +72,0 @@ getPath(node: string | Node): string; |
{ | ||
"name": "@types/istanbul-reports", | ||
"version": "1.1.2", | ||
"version": "3.0.0", | ||
"description": "TypeScript definitions for istanbul-reports", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "jason0x43" | ||
}, | ||
{ | ||
"name": "Elena Shcherbakova", | ||
"url": "https://github.com/not-a-doctor", | ||
"githubUsername": "not-a-doctor" | ||
} | ||
@@ -23,7 +28,6 @@ ], | ||
"dependencies": { | ||
"@types/istanbul-lib-coverage": "*", | ||
"@types/istanbul-lib-report": "*" | ||
}, | ||
"typesPublisherContentHash": "c13cd090c027208710520a039ec004ef0045ea12516dc4c71d648e4fce9ff9f7", | ||
"typesPublisherContentHash": "71342edcc57e7212d17e794fa519955e496dd3b6696e2738904679ef3aa59d70", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 04:09:43 GMT | ||
* Dependencies: [@types/istanbul-lib-report](https://npmjs.com/package/@types/istanbul-lib-report), [@types/istanbul-lib-coverage](https://npmjs.com/package/@types/istanbul-lib-coverage) | ||
* Last updated: Mon, 20 Jul 2020 21:55:27 GMT | ||
* Dependencies: [@types/istanbul-lib-report](https://npmjs.com/package/@types/istanbul-lib-report) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [Jason Cheatham](https://github.com/jason0x43). | ||
These definitions were written by [Jason Cheatham](https://github.com/jason0x43), and [Elena Shcherbakova](https://github.com/not-a-doctor). |
Floating dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
4950
1
60
1
- Removed@types/istanbul-lib-coverage@*