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

azure-pipelines-tasks-codecoverage-tools

Package Overview
Dependencies
Maintainers
7
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-pipelines-tasks-codecoverage-tools - npm Package Compare versions

Comparing version 1.177.0 to 2.0.0-preview.0

1

cobertura/cobertura.ant.ccenabler.d.ts

@@ -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");

6

cobertura/cobertura.maven.ccenabler.d.ts

@@ -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 @@ }

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