azure-pipelines-tasks-codecoverage-tools
Advanced tools
Comparing version 1.177.0 to 2.0.0-preview.0
@@ -0,1 +1,2 @@ | ||
/// <reference types="cheerio" /> | ||
import * as Q from "q"; | ||
@@ -2,0 +3,0 @@ import * as cc from "../codecoverageenabler"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CoberturaAntCodeCoverageEnabler = void 0; | ||
const Q = require("q"); | ||
@@ -4,0 +5,0 @@ const util = require("../utilities"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CoberturaGradleCodeCoverageEnabler = void 0; | ||
const util = require("../utilities"); | ||
@@ -4,0 +5,0 @@ const tl = require("azure-pipelines-task-lib/task"); |
@@ -11,6 +11,6 @@ import * as cc from "../codecoverageenabler"; | ||
protected addCodeCoverageNodes(buildJsonContent: any): Q.Promise<any>; | ||
private getBuildDataNode(buildJsonContent); | ||
private getPluginDataNode(buildNode); | ||
private getReportingPluginNode(reportNode); | ||
private getBuildDataNode; | ||
private getPluginDataNode; | ||
private getReportingPluginNode; | ||
protected addCodeCoveragePluginData(pomJson: any): Q.Promise<void>; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CoberturaMavenCodeCoverageEnabler = void 0; | ||
const util = require("../utilities"); | ||
@@ -4,0 +5,0 @@ const tl = require("azure-pipelines-task-lib/task"); |
@@ -0,1 +1,2 @@ | ||
/// <reference types="q" /> | ||
export declare function jacocoGradleMultiModuleEnable(excludeFilter: string, includeFilter: string, classFileDirectory: string, reportDir: string): string; | ||
@@ -16,2 +17,2 @@ export declare function jacocoGradleSingleModuleEnable(excludeFilter: string, includeFilter: string, classFileDirectory: string, reportDir: string): string; | ||
export declare function coberturaAntClasspathRef(): string; | ||
export declare const coberturaGradleBuildScript: string; | ||
export declare const coberturaGradleBuildScript = "\nbuildscript {\n repositories {\n mavenCentral()\n }\n dependencies {\n classpath 'net.saliman:gradle-cobertura-plugin:2.2.7'\n }\n}\n"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.coberturaGradleBuildScript = exports.coberturaAntClasspathRef = exports.coberturaAntProperties = exports.coberturaAntInstrumentedClasses = exports.coberturaAntCoverageEnable = exports.coberturaAntReport = exports.jacocoAntCoverageEnable = exports.jacocoAntReport = exports.coberturaMavenReport = exports.coberturaMavenEnable = exports.jacocoMavenMultiModuleReport = exports.jacocoMavenPluginEnable = exports.coberturaGradleMultiModuleEnable = exports.coberturaGradleSingleModuleEnable = exports.jacocoGradleSingleModuleEnable = exports.jacocoGradleMultiModuleEnable = void 0; | ||
const path = require("path"); | ||
@@ -4,0 +5,0 @@ const util = require("./utilities"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.JacocoCodeCoverageEnabler = exports.CoberturaCodeCoverageEnabler = exports.CodeCoverageEnabler = void 0; | ||
const tl = require("azure-pipelines-task-lib/task"); | ||
@@ -4,0 +5,0 @@ const util = require("./utilities"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CodeCoverageEnablerFactory = void 0; | ||
const jacoco_ant_ccenabler_1 = require("./jacoco/jacoco.ant.ccenabler"); | ||
@@ -4,0 +5,0 @@ const jacoco_gradle_ccenabler_1 = require("./jacoco/jacoco.gradle.ccenabler"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isCodeCoverageFileEmpty = void 0; | ||
const Q = require("q"); | ||
@@ -4,0 +5,0 @@ const tl = require("azure-pipelines-task-lib/task"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.JacocoAntCodeCoverageEnabler = void 0; | ||
const util = require("../utilities"); | ||
@@ -4,0 +5,0 @@ const tl = require("azure-pipelines-task-lib/task"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.JacocoGradleCodeCoverageEnabler = void 0; | ||
const util = require("../utilities"); | ||
@@ -4,0 +5,0 @@ const tl = require("azure-pipelines-task-lib/task"); |
@@ -16,6 +16,6 @@ import * as cc from "../codecoverageenabler"; | ||
protected addCodeCoverageNodes(buildJsonContent: any): Q.Promise<any>; | ||
private getBuildDataNode(buildJsonContent); | ||
private getPluginDataNode(buildNode); | ||
private getBuildDataNode; | ||
private getPluginDataNode; | ||
protected createMultiModuleReport(reportDir: string): Q.Promise<any>; | ||
protected addCodeCoveragePluginData(pomJson: any): Q.Promise<any>; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.JacocoMavenCodeCoverageEnabler = void 0; | ||
const util = require("../utilities"); | ||
@@ -4,0 +5,0 @@ const tl = require("azure-pipelines-task-lib/task"); |
{ | ||
"name": "azure-pipelines-tasks-codecoverage-tools", | ||
"version": "1.177.0", | ||
"version": "2.0.0-preview.0", | ||
"author": "Microsoft Corporation", | ||
@@ -11,11 +11,14 @@ "description": "VSTS Tasks Code Coverage Tools", | ||
"dependencies": { | ||
"azure-pipelines-task-lib": "^2.11.2", | ||
"@types/cheerio": "0.22.0", | ||
"@types/node": "^10.17.0", | ||
"@types/q": "^1.5.4", | ||
"azure-pipelines-task-lib": "^3.0.6-preview.0", | ||
"cheerio": "^0.22.0", | ||
"fs-extra": "^0.30.0", | ||
"os": "^0.1.1", | ||
"xml2js": "^0.4.17", | ||
"cheerio": "^0.22.0", | ||
"strip-bom": "^3.0.0" | ||
"strip-bom": "^3.0.0", | ||
"xml2js": "^0.4.17" | ||
}, | ||
"devDependencies": { | ||
"typescript": "2.3.4" | ||
"typescript": "4.0.2" | ||
}, | ||
@@ -22,0 +25,0 @@ "scripts": { |
@@ -0,1 +1,2 @@ | ||
/// <reference types="cheerio" /> | ||
import * as Q from "q"; | ||
@@ -2,0 +3,0 @@ export interface GetOrCreateResult<T> { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.readXmlFileAsDom = exports.addPropToJson = exports.writeFile = exports.writeJsonAsXmlFile = exports.convertXmlStringToJson = exports.readFile = exports.readXmlFileAsJson = exports.trimEnd = exports.insertTextToFileSync = exports.prependTextToFileSync = exports.appendTextToFileSync = exports.trimToEmptyString = exports.isNullOrWhitespace = exports.isFileExists = exports.isDirectoryExists = exports.sortStringArray = exports.sharedSubString = void 0; | ||
const Q = require("q"); | ||
@@ -91,3 +92,7 @@ const fs = require("fs"); | ||
fs.writeSync(fd, data, 0, data.length, 0); // append old data | ||
fs.close(fd); | ||
fs.close(fd, (err) => { | ||
if (err) { | ||
tl.error(err.message); | ||
} | ||
}); | ||
} | ||
@@ -111,3 +116,7 @@ } | ||
} | ||
fs.close(fd); | ||
fs.close(fd, (err) => { | ||
if (err) { | ||
tl.error(err.message); | ||
} | ||
}); | ||
} | ||
@@ -114,0 +123,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
71493
1612
0
9
1
+ Added@types/cheerio@0.22.0
+ Added@types/node@^10.17.0
+ Added@types/q@^1.5.4
+ Added@types/cheerio@0.22.0(transitive)
+ Added@types/concat-stream@1.6.1(transitive)
+ Added@types/form-data@0.0.33(transitive)
+ Added@types/node@10.17.608.10.66(transitive)
+ Added@types/q@1.5.8(transitive)
+ Added@types/qs@6.9.17(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedazure-pipelines-task-lib@3.4.0(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@2.5.2(transitive)
+ Addedget-port@3.2.0(transitive)
+ Addedhttp-basic@8.1.3(transitive)
+ Addedhttp-response-object@3.0.2(transitive)
+ Addedinterpret@1.4.0(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedminimatch@3.0.5(transitive)
+ Addedmockery@2.1.0(transitive)
+ Addedparse-cache-control@1.0.1(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpromise@8.3.0(transitive)
+ Addedrechoir@0.6.2(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedshelljs@0.8.5(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedsync-request@6.1.0(transitive)
+ Addedsync-rpc@1.3.6(transitive)
+ Addedthen-request@6.0.2(transitive)
- Removedazure-pipelines-task-lib@2.12.2(transitive)
- Removedcaseless@0.11.0(transitive)
- Removedhttp-basic@2.5.1(transitive)
- Removedhttp-response-object@1.1.0(transitive)
- Removedminimatch@3.0.4(transitive)
- Removedmockery@1.7.0(transitive)
- Removedpromise@7.3.1(transitive)
- Removedshelljs@0.3.0(transitive)
- Removedsync-request@3.0.1(transitive)
- Removedthen-request@2.2.0(transitive)