@sa11y/preset-rules
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -1,13 +0,3 @@ | ||
import { RunOptions } from 'axe-core'; | ||
import { A11yConfig } from '@sa11y/common'; | ||
/** | ||
* A11yConfig defines options to run accessibility checks using axe specifying list of rules to test | ||
*/ | ||
export interface A11yConfig extends RunOptions { | ||
runOnly: { | ||
type: 'rule'; | ||
values: string[]; | ||
}; | ||
resultTypes: ['violations']; | ||
} | ||
/** | ||
* Returns config to be used in axe.run() with given rules | ||
@@ -14,0 +4,0 @@ * |
@@ -1,2 +0,2 @@ | ||
export declare const base: import("./a11yConfig").A11yConfig; | ||
export declare const base: import("@sa11y/common").A11yConfig; | ||
//# sourceMappingURL=base.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const full: import("./a11yConfig").A11yConfig; | ||
export declare const full: import("@sa11y/common").A11yConfig; | ||
//# sourceMappingURL=full.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export { getA11yConfig, A11yConfig } from './a11yConfig'; | ||
export { getA11yConfig } from './a11yConfig'; | ||
export { recommended } from './recommended'; | ||
@@ -3,0 +3,0 @@ export { base } from './base'; |
@@ -1,2 +0,2 @@ | ||
export declare const recommended: import("./a11yConfig").A11yConfig; | ||
export declare const recommended: import("@sa11y/common").A11yConfig; | ||
//# sourceMappingURL=recommended.d.ts.map |
{ | ||
"name": "@sa11y/preset-rules", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Accessibility preset rule configs for axe", | ||
@@ -24,6 +24,6 @@ "license": "BSD-3-Clause", | ||
"dependencies": { | ||
"axe-core": "4.1.2" | ||
"axe-core": "4.1.4" | ||
}, | ||
"devDependencies": { | ||
"@sa11y/common": "0.2.5-beta.0" | ||
"@sa11y/common": "0.3.0" | ||
}, | ||
@@ -33,3 +33,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "caa24df18b75514bfbcbb4680d17dd51d7e7560e" | ||
"gitHead": "09bb4b86cfb6dba0a4d083ee98facfc58d948cd3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
83
4
7
2
49000
10715
210
+ Addedaxe-core@4.1.4(transitive)
- Removedaxe-core@4.1.2(transitive)
Updatedaxe-core@4.1.4