@sa11y/format
Advanced tools
Comparing version 6.10.2-alpha.3 to 6.10.2
@@ -46,9 +46,2 @@ import { AxeResults } from '@sa11y/common'; | ||
} | ||
export declare class AxeError extends Error { | ||
/** | ||
* Throw error with Axe error | ||
*/ | ||
constructor(message: string); | ||
static throwAxeError(e: Error): void; | ||
} | ||
//# sourceMappingURL=format.d.ts.map |
@@ -9,3 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AxeError = exports.A11yError = void 0; | ||
exports.A11yError = void 0; | ||
const common_1 = require("@sa11y/common"); | ||
@@ -72,16 +72,2 @@ const result_1 = require("./result"); | ||
exports.A11yError = A11yError; | ||
class AxeError extends Error { | ||
/** | ||
* Throw error with Axe error | ||
*/ | ||
constructor(message) { | ||
super(message); | ||
this.name = AxeError.name; | ||
this.message = message; | ||
} | ||
static throwAxeError(e) { | ||
throw new AxeError(`${e.message}`); | ||
} | ||
} | ||
exports.AxeError = AxeError; | ||
//# sourceMappingURL=format.js.map |
@@ -1,4 +0,4 @@ | ||
export { A11yError, AxeError, Options } from './format'; | ||
export { A11yError, Options } from './format'; | ||
export { exceptionListFilter, exceptionListFilterSelectorKeywords } from './filter'; | ||
export { A11yResult, A11yResults, appendWcag } from './result'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,6 +9,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.appendWcag = exports.A11yResults = exports.A11yResult = exports.exceptionListFilterSelectorKeywords = exports.exceptionListFilter = exports.AxeError = exports.A11yError = void 0; | ||
exports.appendWcag = exports.A11yResults = exports.A11yResult = exports.exceptionListFilterSelectorKeywords = exports.exceptionListFilter = exports.A11yError = void 0; | ||
var format_1 = require("./format"); | ||
Object.defineProperty(exports, "A11yError", { enumerable: true, get: function () { return format_1.A11yError; } }); | ||
Object.defineProperty(exports, "AxeError", { enumerable: true, get: function () { return format_1.AxeError; } }); | ||
var filter_1 = require("./filter"); | ||
@@ -15,0 +14,0 @@ Object.defineProperty(exports, "exceptionListFilter", { enumerable: true, get: function () { return filter_1.exceptionListFilter; } }); |
{ | ||
"name": "@sa11y/format", | ||
"version": "6.10.2-alpha.3", | ||
"version": "6.10.2", | ||
"description": "Accessibility results re-formatter", | ||
@@ -27,4 +27,4 @@ "license": "BSD-3-Clause", | ||
"dependencies": { | ||
"@sa11y/common": "6.10.2-alpha.3", | ||
"@sa11y/preset-rules": "6.10.2-alpha.3", | ||
"@sa11y/common": "6.10.2", | ||
"@sa11y/preset-rules": "6.10.2", | ||
"axe-core": "4.9.0" | ||
@@ -34,3 +34,3 @@ }, | ||
"@jest/globals": "28.1.3", | ||
"@sa11y/test-utils": "6.10.2-alpha.3" | ||
"@sa11y/test-utils": "6.10.2" | ||
}, | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "d4ef2132111101a7107bf506689cbc1ae421bd58" | ||
"gitHead": "65768ad5f397356dcebdcd79f8459d4f3fd9d5a0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
22160
400
+ Added@sa11y/common@6.10.2(transitive)
+ Added@sa11y/preset-rules@6.10.2(transitive)
- Removed@sa11y/common@6.10.2-alpha.3(transitive)
- Removed@sa11y/preset-rules@6.10.2-alpha.3(transitive)
Updated@sa11y/common@6.10.2
Updated@sa11y/preset-rules@6.10.2