axe-sarif-converter
Advanced tools
Comparing version 2.9.0 to 2.9.1
@@ -36,3 +36,3 @@ import { ImpactValue } from 'axe-core'; | ||
} | ||
export declare type ResultValue = 'passed' | 'failed' | 'inapplicable' | 'cantTell'; | ||
export declare type Selector = string[]; | ||
export type ResultValue = 'passed' | 'failed' | 'inapplicable' | 'cantTell'; | ||
export type Selector = string[]; |
import * as Axe from 'axe-core'; | ||
import * as Sarif from 'sarif'; | ||
import { AxeRawResult } from './axe-raw-result'; | ||
export declare type SarifLog = Sarif.Log; | ||
export type SarifLog = Sarif.Log; | ||
export declare function convertAxeToSarif(axeResults: Axe.AxeResults): SarifLog; | ||
export declare function sarifReporter(rawResults: AxeRawResult[], runOptions: Axe.RunOptions, callback: (sarifResults: SarifLog) => void): void; |
{ | ||
"name": "axe-sarif-converter", | ||
"version": "2.9.0", | ||
"version": "2.9.1", | ||
"description": "Convert axe-core accessibility scan results to the SARIF format", | ||
@@ -31,7 +31,7 @@ "main": "dist/index.js", | ||
"jest": "^27.0.3", | ||
"jest-junit": "^13.0.0", | ||
"jest-junit": "^15.0.0", | ||
"license-check-and-add": "^4.0.1", | ||
"lodash": "^4.17.15", | ||
"prettier": "^2.0.1", | ||
"rimraf": "^3.0.0", | ||
"rimraf": "^4.0.4", | ||
"semantic-release": "^19.0.2", | ||
@@ -43,7 +43,3 @@ "ts-jest": "^27.0.2", | ||
"resolutions": { | ||
"minimist": "^1.2.3", | ||
"acorn": "^7.1.1", | ||
"kind-of": "^6.0.3", | ||
"ansi-regex": "^5.0.1", | ||
"@npmcli/arborist": ">=2.8.2" | ||
"ansi-regex": "^5.0.1" | ||
}, | ||
@@ -53,3 +49,3 @@ "scripts": { | ||
"build": "tsc -p .", | ||
"clean": "rimraf dist/* test-results/*", | ||
"clean": "rimraf dist test-results", | ||
"test": "jest", | ||
@@ -56,0 +52,0 @@ "lint": "eslint src/**/*.{js,ts,tsx}", |
61667