@dxatscale/sfpowerscripts.core
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -42,3 +42,3 @@ "use strict"; | ||
if (util_1.isNullOrUndefined(packageDirectory)) | ||
throw new Error("Package or package directory not exist"); | ||
throw new Error("Package or package directory does not exist"); | ||
else | ||
@@ -162,2 +162,2 @@ return sfdxPackageDescriptor; | ||
exports.default = ManifestHelpers; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWFuaWZlc3RIZWxwZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL21hbmlmZXN0L01hbmlmZXN0SGVscGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtCQUF5QztBQUN6QyxJQUFJLEVBQUUsR0FBRyxPQUFPLENBQUMsVUFBVSxDQUFDLENBQUM7QUFDN0IsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBQzNCLE1BQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxXQUFXLENBQUMsQ0FBQztBQUVuQyxNQUFxQixlQUFlO0lBRTNCLE1BQU0sQ0FBQyxzQkFBc0IsQ0FDbEMsZ0JBQXdCO1FBRXhCLElBQUksaUJBQXlCLENBQUM7UUFDOUIsSUFBSSxDQUFDLHdCQUFpQixDQUFDLGdCQUFnQixDQUFDLEVBQUU7WUFDeEMsaUJBQWlCLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxnQkFBZ0IsRUFBRSxtQkFBbUIsQ0FBQyxDQUFDO1NBQ3RFO2FBQU07WUFDTCxpQkFBaUIsR0FBRyxtQkFBbUIsQ0FBQztTQUN6QztRQUVELElBQUksYUFBYSxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLFlBQVksQ0FBQyxpQkFBaUIsRUFBRSxNQUFNLENBQUMsQ0FBQyxDQUFDO1FBRTNFLElBQU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ELHdCQUF3QixDQUFDLElBQUksQ0FBQyxDQUFDO2FBQ2hDO1NBQ0Y7YUFBTTtZQUNMLElBQUksSUFBSSxHQUFHLG9CQUFvQixDQUFDLFNBQVMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1lBQ3BELHdCQUF3QixDQUFDLElBQUksQ0FBQyxDQUFDO1NBQ2hDO1FBQ0QsT0FBTyxDQUFDLEdBQUcsQ0FBQywwQ0FBMEMsQ0FBQyxDQUFDO1FBQ3hELE9BQU8sQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDLFFBQVEsRUFBRSxDQUFDLENBQUM7SUFDaEMsQ0FBQztDQUNGO0FBdExELGtDQXNMQyJ9 |
@@ -16,2 +16,4 @@ export default interface PackageMetadata { | ||
isApexFound?: boolean; | ||
apexTestClassses?: string[]; | ||
isTriggerAllTests?: boolean; | ||
isProfilesFound?: boolean; | ||
@@ -18,0 +20,0 @@ tag?: string; |
@@ -9,3 +9,8 @@ import PackageMetadata from "../PackageMetadata"; | ||
exec(): Promise<PackageMetadata>; | ||
private handleApexTestClasses; | ||
private printEmptyArtifactWarning; | ||
private printHintForOptimizedDeployment; | ||
private printSlowDeploymentWarning; | ||
private getDestructiveChanges; | ||
private printClassesIdentified; | ||
} |
@@ -19,3 +19,7 @@ "use strict"; | ||
const util_1 = require("util"); | ||
const os_1 = require("os"); | ||
const fs = require("fs-extra"); | ||
const path = require("path"); | ||
const ApexTypeFetcher_1 = __importDefault(require("../parser/ApexTypeFetcher")); | ||
const Table = require("cli-table"); | ||
class CreateSourcePackageImpl { | ||
@@ -31,3 +35,6 @@ constructor(projectDirectory, sfdx_package, destructiveManifestFilePath, packageArtifactMetadata) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
this.packageArtifactMetadata.package_type = "source"; | ||
//Only set package type to source if its not provided, delta will be setting it up | ||
if (this.packageArtifactMetadata.package_type === null || | ||
this.packageArtifactMetadata.package_type === undefined) | ||
this.packageArtifactMetadata.package_type = "source"; | ||
console.log("--------------Create Source Package---------------------------"); | ||
@@ -65,8 +72,6 @@ console.log("Project Directory", this.projectDirectory); | ||
this.packageArtifactMetadata.isProfilesFound = ManifestHelpers_1.default.checkProfilesinPayload(mdapiPackage.manifest); | ||
this.handleApexTestClasses(mdapiPackage); | ||
} | ||
else { | ||
console.log("---------------------WARNING! Empty aritfact encountered-------------------------------"); | ||
console.log("Either this folder is empty or the application of .forceignore results in an empty folder"); | ||
console.log("Proceeding to create an empty artifact"); | ||
console.log("---------------------------------------------------------------------------------------"); | ||
this.printEmptyArtifactWarning(); | ||
} | ||
@@ -78,3 +83,5 @@ } | ||
//Get Artifact Detailes | ||
let sourcePackageArtifactDir = SourcePackageGenerator_1.default.generateSourcePackageArtifact(this.projectDirectory, this.sfdx_package, packageDirectory, util_1.isNullOrUndefined(destructiveChanges) ? undefined : destructiveChanges.destructiveChangesPath); | ||
let sourcePackageArtifactDir = SourcePackageGenerator_1.default.generateSourcePackageArtifact(this.projectDirectory, this.sfdx_package, packageDirectory, util_1.isNullOrUndefined(destructiveChanges) | ||
? undefined | ||
: destructiveChanges.destructiveChangesPath); | ||
this.packageArtifactMetadata.sourceDir = sourcePackageArtifactDir; | ||
@@ -91,2 +98,58 @@ //Add Timestamps | ||
} | ||
handleApexTestClasses(mdapiPackage) { | ||
var _a, _b, _c; | ||
let apexTypeFetcher = new ApexTypeFetcher_1.default(); | ||
let classTypes; | ||
try { | ||
classTypes = apexTypeFetcher.getApexTypeOfClsFiles(path.join(mdapiPackage.mdapiDir, `classes`)); | ||
} | ||
catch (error) { | ||
return; | ||
} | ||
if (!this.packageArtifactMetadata.isTriggerAllTests) { | ||
if (this.packageArtifactMetadata.isApexFound && | ||
(((_a = classTypes === null || classTypes === void 0 ? void 0 : classTypes.testClass) === null || _a === void 0 ? void 0 : _a.length) == 0)) { | ||
this.printSlowDeploymentWarning(); | ||
this.packageArtifactMetadata.isTriggerAllTests = true; | ||
} | ||
else if (this.packageArtifactMetadata.isApexFound && | ||
((_b = classTypes === null || classTypes === void 0 ? void 0 : classTypes.testClass) === null || _b === void 0 ? void 0 : _b.length) > 0) { | ||
if (((_c = classTypes === null || classTypes === void 0 ? void 0 : classTypes.parseError) === null || _c === void 0 ? void 0 : _c.length) > 0) { | ||
console.log("---------------------------------------------------------------------------------------"); | ||
console.log("Unable to parse these classes to correctly identify test classes, Its not your issue, its ours! Please raise a issue in our repo!"); | ||
this.printClassesIdentified(classTypes === null || classTypes === void 0 ? void 0 : classTypes.parseError); | ||
this.packageArtifactMetadata.isTriggerAllTests = true; | ||
} | ||
else { | ||
this.printHintForOptimizedDeployment(); | ||
this.packageArtifactMetadata.isTriggerAllTests = false; | ||
this.printClassesIdentified(classTypes === null || classTypes === void 0 ? void 0 : classTypes.testClass); | ||
this.packageArtifactMetadata.apexTestClassses = []; | ||
classTypes === null || classTypes === void 0 ? void 0 : classTypes.testClass.forEach(element => { | ||
this.packageArtifactMetadata.apexTestClassses.push(element.name); | ||
}); | ||
} | ||
} | ||
} | ||
} | ||
printEmptyArtifactWarning() { | ||
console.log("---------------------WARNING! Empty aritfact encountered-------------------------------"); | ||
console.log("Either this folder is empty or the application of .forceignore results in an empty folder"); | ||
console.log("Proceeding to create an empty artifact"); | ||
console.log("---------------------------------------------------------------------------------------"); | ||
} | ||
printHintForOptimizedDeployment() { | ||
console.log(`---------------- OPTION FOR DEPLOYMENT OPTIMIZATION AVAILABLE-----------------------------------`); | ||
console.log(`Following apex test classes were identified and can be used for deploying this package,${os_1.EOL}` + | ||
`in an optimal manner, provided each individual class meets the test coverage requirement of 75% and above${os_1.EOL}` + | ||
`Ensure each apex class/trigger is validated for coverage in the validation stage`); | ||
console.log(`-----------------------------------------------------------------------------------------------`); | ||
} | ||
printSlowDeploymentWarning() { | ||
console.log(`-------WARNING! YOU MIGHT NOT BE ABLE TO DEPLOY OR WILL HAVE A SLOW DEPLOYMENT---------------`); | ||
console.log(`This package has apex classes/triggers, however apex test classes were not found, You would not be able to deploy${os_1.EOL}` + | ||
`to production org optimally if each class do not have coverage of 75% and above,We will attempt deploying${os_1.EOL}` + | ||
`this package by triggering all local tests in the org which could be realy costly in terms of deployment time!${os_1.EOL}`); | ||
console.log(`---------------------------------------------------------------------------------------------`); | ||
} | ||
getDestructiveChanges(packageDescriptor, destructiveManifestFilePath) { | ||
@@ -124,4 +187,17 @@ let destructiveChanges; | ||
} | ||
printClassesIdentified(fetchedClasses) { | ||
if (fetchedClasses === null || fetchedClasses === undefined) | ||
return; | ||
let table = new Table({ | ||
head: ["Class", "Path", "Error"], | ||
}); | ||
for (let fetchedClass of fetchedClasses) { | ||
let item = [fetchedClass.name, fetchedClass.filepath, fetchedClass.error ? fetchedClass.error : "N/A"]; | ||
table.push(item); | ||
} | ||
console.log("Following apex test classes were identified"); | ||
console.log(table.toString()); | ||
} | ||
} | ||
exports.default = CreateSourcePackageImpl; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3JlYXRlU291cmNlUGFja2FnZUltcGwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc2ZkeHdyYXBwZXJzL0NyZWF0ZVNvdXJjZVBhY2thZ2VJbXBsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7O0FBQ0Esa0dBQTBFO0FBQzFFLGtGQUEwRDtBQUMxRCxnR0FBd0U7QUFDeEUsK0JBQXlDO0FBQ3pDLE1BQU0sRUFBRSxHQUFHLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQztBQUUvQixNQUFxQix1QkFBdUI7SUFDMUMsWUFDVSxnQkFBd0IsRUFDeEIsWUFBb0IsRUFDcEIsMkJBQW1DLEVBQ25DLHVCQUF3QztRQUh4QyxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQVE7UUFDeEIsaUJBQVksR0FBWixZQUFZLENBQVE7UUFDcEIsZ0NBQTJCLEdBQTNCLDJCQUEy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xPQUFPLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQyxRQUFRLEVBQUUsQ0FBQyxDQUFDO0lBQ2hDLENBQUM7Q0FDRjtBQXBQRCwwQ0FvUEMifQ== |
@@ -5,2 +5,4 @@ export default class TriggerApexTestImpl { | ||
private project_directory; | ||
private packageDescriptor; | ||
private apexSortedByType; | ||
constructor(target_org: string, test_options: any, project_directory: string); | ||
@@ -14,5 +16,11 @@ exec(): Promise<{ | ||
private validateClassCodeCoverage; | ||
/** | ||
* Filter code coverage to classes and triggers in the package | ||
* @param codeCoverage | ||
* @param packageClasses | ||
* @param triggers | ||
*/ | ||
private filterCodeCoverageToPackageClasses; | ||
private getTriggersFromPackageManifest; | ||
private getClassesFromPackageManifest; | ||
private getPackageDirectory; | ||
} |
@@ -18,5 +18,7 @@ "use strict"; | ||
const util_1 = require("util"); | ||
let fs = require("fs-extra"); | ||
let path = require("path"); | ||
const fs = require("fs-extra"); | ||
const path = require("path"); | ||
const MDAPIPackageGenerator_1 = __importDefault(require("../generators/MDAPIPackageGenerator")); | ||
const ApexTypeFetcher_1 = __importDefault(require("../parser/ApexTypeFetcher")); | ||
const ManifestHelpers_1 = __importDefault(require("../manifest/ManifestHelpers")); | ||
class TriggerApexTestImpl { | ||
@@ -52,2 +54,5 @@ constructor(target_org, test_options, project_directory) { | ||
catch (err) { | ||
if (err.message === "Package or package directory does not exist") { | ||
console.log(err.message); | ||
} | ||
} | ||
@@ -112,5 +117,10 @@ finally { | ||
//testlevel | ||
// allowed options: RunLocalTests, RunAllTestsInOrg, RunSpecifiedTests | ||
// allowed options: RunLocalTests, RunAllTestsInOrg, RunSpecifiedTests, RunAllTestsInPackage | ||
if (this.test_options["testlevel"] !== "RunApexTestSuite") { | ||
command += ` -l ${this.test_options["testlevel"]}`; | ||
if (this.test_options["testlevel"] === "RunAllTestsInPackage") { | ||
command += ` -l RunSpecifiedTests`; | ||
} | ||
else { | ||
command += ` -l ${this.test_options["testlevel"]}`; | ||
} | ||
} | ||
@@ -120,2 +130,10 @@ if (this.test_options["testlevel"] == "RunSpecifiedTests") { | ||
} | ||
else if (this.test_options["testlevel"] === "RunAllTestsInPackage") { | ||
// Get name of test classes in package directory | ||
this.packageDescriptor = ManifestHelpers_1.default.getSFDXPackageDescriptor(this.project_directory, this.test_options["package"]); | ||
let apexTypeFetcher = new ApexTypeFetcher_1.default(); | ||
this.apexSortedByType = apexTypeFetcher.getApexTypeOfClsFiles(this.packageDescriptor["path"]); | ||
let testClassNames = this.apexSortedByType["testClass"].map((fileDescriptor) => fileDescriptor.name); | ||
command += ` -t ${testClassNames.toString()}`; | ||
} | ||
else if (this.test_options["testlevel"] == "RunApexTestSuite") { | ||
@@ -131,6 +149,9 @@ command += ` -s ${this.test_options["apextestsuite"]}`; | ||
let classesWithInvalidCoverage = []; | ||
let packageClasses = yield this.getClassesFromPackageManifest(); | ||
let mdapiPackage = yield MDAPIPackageGenerator_1.default.getMDAPIPackageFromSourceDirectory(this.project_directory, this.packageDescriptor["path"]); | ||
let packageClasses = this.getClassesFromPackageManifest(mdapiPackage); | ||
let triggers = this.getTriggersFromPackageManifest(mdapiPackage); | ||
let code_coverage = fs.readFileSync(path.join(this.test_options["outputdir"], `test-result-codecoverage.json`), "utf8"); | ||
let code_coverage_json = JSON.parse(code_coverage); | ||
code_coverage_json = this.filterCodeCoverageToPackageClasses(code_coverage_json, packageClasses); | ||
code_coverage_json = this.filterCodeCoverageToPackageClasses(code_coverage_json, packageClasses, triggers); | ||
// Check code coverage of package classes that have test classes | ||
for (let classCoverage of code_coverage_json) { | ||
@@ -142,54 +163,126 @@ if (classCoverage["coveredPercent"] !== null && | ||
} | ||
// Check for package classes with no test class | ||
let classesWithoutTest = packageClasses.filter((packageClass) => { | ||
// Filter out package class if accounted for in coverage json | ||
for (let classCoverage of code_coverage_json) { | ||
if (classCoverage["name"] === packageClass) { | ||
return false; | ||
} | ||
} | ||
return true; | ||
}); | ||
if (classesWithoutTest.length > 0) { | ||
classesWithInvalidCoverage = classesWithInvalidCoverage.concat(classesWithoutTest); | ||
} | ||
return classesWithInvalidCoverage; | ||
}); | ||
} | ||
filterCodeCoverageToPackageClasses(codeCoverage, packageClasses) { | ||
let filteredCodeCoverage = codeCoverage; | ||
if (!util_1.isNullOrUndefined(packageClasses)) { | ||
// only include package classes in code coverage report | ||
filteredCodeCoverage = codeCoverage.filter((classCoverage) => { | ||
/** | ||
* Filter code coverage to classes and triggers in the package | ||
* @param codeCoverage | ||
* @param packageClasses | ||
* @param triggers | ||
*/ | ||
filterCodeCoverageToPackageClasses(codeCoverage, packageClasses, triggers) { | ||
let filteredCodeCoverage = codeCoverage.filter((classCoverage) => { | ||
if (packageClasses != null) { | ||
for (let packageClass of packageClasses) { | ||
if (packageClass == classCoverage["name"]) | ||
if (packageClass === classCoverage["name"]) | ||
return true; | ||
} | ||
return false; | ||
}); | ||
} | ||
} | ||
if (triggers != null) { | ||
for (let trigger of triggers) { | ||
if (trigger === classCoverage["name"]) { | ||
return true; | ||
} | ||
} | ||
} | ||
return false; | ||
}); | ||
return filteredCodeCoverage; | ||
} | ||
getClassesFromPackageManifest() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let packageClasses; | ||
let packageDirectory = this.getPackageDirectory(); | ||
let mdapiPackage = yield MDAPIPackageGenerator_1.default.getMDAPIPackageFromSourceDirectory(this.project_directory, packageDirectory); | ||
for (let type of mdapiPackage.manifest["Package"]["types"]) { | ||
if (type["name"] == "ApexClass") { | ||
packageClasses = type["members"]; | ||
break; | ||
getTriggersFromPackageManifest(mdapiPackage) { | ||
let triggers; | ||
let types; | ||
if (mdapiPackage.manifest["Package"]["types"] instanceof Array) { | ||
types = mdapiPackage.manifest["Package"]["types"]; | ||
} | ||
else { | ||
// Create array with single type | ||
types = [mdapiPackage.manifest["Package"]["types"]]; | ||
} | ||
for (let type of types) { | ||
if (type["name"] === "ApexTrigger") { | ||
if (type["members"] instanceof Array) { | ||
triggers = type["members"]; | ||
} | ||
else { | ||
// Create array with single member | ||
triggers = [type["members"]]; | ||
} | ||
break; | ||
} | ||
return packageClasses; | ||
}); | ||
} | ||
return triggers; | ||
} | ||
getPackageDirectory() { | ||
let packageDirectory; | ||
let projectConfig; | ||
if (!util_1.isNullOrUndefined(this.project_directory)) { | ||
projectConfig = path.join(this.project_directory, "sfdx-project.json"); | ||
getClassesFromPackageManifest(mdapiPackage) { | ||
let packageClasses; | ||
let types; | ||
if (mdapiPackage.manifest["Package"]["types"] instanceof Array) { | ||
types = mdapiPackage.manifest["Package"]["types"]; | ||
} | ||
else { | ||
projectConfig = "sfdx-project.json"; | ||
// Create array with single type | ||
types = [mdapiPackage.manifest["Package"]["types"]]; | ||
} | ||
let projectJson = JSON.parse(fs.readFileSync(projectConfig, "utf8")); | ||
projectJson["packageDirectories"].forEach((pkg) => { | ||
if (this.test_options["packageToValidate"] == pkg["package"]) | ||
packageDirectory = pkg["path"]; | ||
}); | ||
if (util_1.isNullOrUndefined(packageDirectory)) | ||
throw new Error("Package or package directory to validate does not exist"); | ||
else | ||
return packageDirectory; | ||
for (let type of types) { | ||
if (type["name"] === "ApexClass") { | ||
if (type["members"] instanceof Array) { | ||
packageClasses = type["members"]; | ||
} | ||
else { | ||
// Create array with single member | ||
packageClasses = [type["members"]]; | ||
} | ||
break; | ||
} | ||
} | ||
if (packageClasses != null) { | ||
if (this.apexSortedByType["testClass"].length > 0) { | ||
// Filter out test classes | ||
packageClasses = packageClasses.filter((packageClass) => { | ||
for (let testClass of this.apexSortedByType["testClass"]) { | ||
if (testClass["name"] === packageClass) { | ||
return false; | ||
} | ||
} | ||
if (this.apexSortedByType["parseError"].length > 0) { | ||
// Filter out undetermined classes that failed to parse | ||
for (let parseError of this.apexSortedByType["parseError"]) { | ||
if (parseError["name"] === packageClass) { | ||
console.log(`Skipping coverage validation for ${packageClass}, unable to determine identity of class`); | ||
return false; | ||
} | ||
} | ||
} | ||
return true; | ||
}); | ||
} | ||
if (this.apexSortedByType["interface"].length > 0) { | ||
// Filter out interfaces | ||
packageClasses = packageClasses.filter((packageClass) => { | ||
for (let interfaceClass of this.apexSortedByType["interface"]) { | ||
if (interfaceClass["name"] === packageClass) { | ||
return false; | ||
} | ||
} | ||
return true; | ||
}); | ||
} | ||
} | ||
return packageClasses; | ||
} | ||
} | ||
exports.default = TriggerApexTestImpl; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHJpZ2dlckFwZXhUZXN0SW1wbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZmR4d3JhcHBlcnMvVHJpZ2dlckFwZXhUZXN0SW1wbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQUFBLCtDQUFnRDtBQUNoRCw0Q0FBeUM7QUFDekMsK0JBQXlDO0FBQ3pDLElBQUksRUFBRSxHQUFHLE9BQU8sQ0FBQyxVQUFVLENBQUMsQ0FBQztBQUM3QixJQUFJLElBQUksR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLENBQUM7QUFDM0IsZ0dBQXdFO0FBRXhFLE1BQXFCLG1CQUFtQjtJQUN0QyxZQUNVLFVBQWtCLEVBQ2xCLFlBQWlCLEVBQ2pCLGlCQUF5QjtRQUZ6QixlQUFVLEdBQVYsVUFBVSxDQUFRO1FBQ2xCLGlCQUFZLEdBQVosWUFBWSxDQUFLO1FBQ2pCLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBUTtJQUNoQyxDQUFDO0lBRVMsSUFBSTs7WUFNZixNQUFNLFdBQVcsR0FBcUQ7Z0JBQ3BFLEVBQUUsRUFBRSxFQUFFO2dCQUNOLE1BQU0sRUFBRSxLQUFLO2dCQUNiLE9BQU8sRUFBRSxFQUFFO2FBQ1osQ0FBQztZQUVGLElBQUksTUFBTSxHQUFHLEVBQUUsQ0FBQztZQUNoQixJQUFJLEtBQUssR0FBRyxFQUFFLENBQUE7WUFDZCxJQUFJO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ixDQUFDLFdBQVcsQ0FBQyxFQUFFO3dCQUM3RCxJQUFJLGNBQWMsQ0FBQyxNQUFNLENBQUMsS0FBSyxZQUFZLEVBQUU7NEJBQzNDLE9BQU8sS0FBSyxDQUFDO3lCQUNkO3FCQUNGO29CQUNELE9BQU8sSUFBSSxDQUFDO2dCQUNkLENBQUMsQ0FBQyxDQUFDO2FBQ0o7U0FDRjtRQUVELE9BQU8sY0FBYyxDQUFDO0lBQ3hCLENBQUM7Q0FDRjtBQXhVRCxzQ0F3VUMifQ== |
{ | ||
"name": "@dxatscale/sfpowerscripts.core", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Core Module used by sfpowerscripts", | ||
@@ -16,5 +16,8 @@ "main": "lib/index", | ||
"dependencies": { | ||
"antlr4ts": "^0.5.0-alpha.3", | ||
"apex-parser": "^2.5.0", | ||
"async-retry": "^1.3.1", | ||
"cli-table": "^0.3.1", | ||
"fs-extra": "^8.1.0", | ||
"glob": "^7.1.6", | ||
"ignore": "^5.1.6", | ||
@@ -45,3 +48,3 @@ "rimraf": "^3.0.2", | ||
"homepage": "https://github.com/Accenture/sfpowerscripts#readme", | ||
"gitHead": "bc0707ed0fd4ede5227ec9efc7a5bbbb0eeafd91" | ||
"gitHead": "ce58ab16ef15fca290c0733568eab928a601a4ae" | ||
} |
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
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
252841
74
3067
12
15
+ Addedantlr4ts@^0.5.0-alpha.3
+ Addedapex-parser@^2.5.0
+ Addedglob@^7.1.6
+ Addedantlr4ts@0.5.0-dev(transitive)
+ Addedapex-parser@2.17.0(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addednode-dir@0.1.17(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsource-map-support@0.5.21(transitive)