UNPKG

axe-sarif-converter

Version:

Convert axe-core accessibility scan results to the SARIF format

23 lines (22 loc) 904 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getAxeToolProperties = getAxeToolProperties; var wcag_taxonomy_provider_1 = require("./wcag-taxonomy-provider"); function getAxeToolProperties(environmentData) { var version = environmentData.axeVersion; return { name: 'axe-core', fullName: "axe for Web v".concat(version), shortDescription: { text: 'An open source accessibility rules library for automated testing.', }, version: version, semanticVersion: version, informationUri: 'https://www.deque.com/axe/axe-for-web/', downloadUri: "https://www.npmjs.com/package/axe-core/v/".concat(version), properties: { 'microsoft/qualityDomain': 'Accessibility', }, supportedTaxonomies: [(0, wcag_taxonomy_provider_1.getWcagTaxonomyReference)()], }; }