@sa11y/preset-rules
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -7,2 +7,3 @@ "use strict"; | ||
const full_1 = require("./full"); | ||
// TODO (refactor): Can this file be merged into rules.ts ? | ||
exports.ruleSets = new Map(Object.entries({ base: base_1.base, extended: extended_1.extended, full: full_1.full })); | ||
@@ -9,0 +10,0 @@ /** |
@@ -32,2 +32,4 @@ "use strict"; | ||
function filterRulesByPriority(rules, priority = '') { | ||
// TODO (refactor): Could be simplified by filtering and returning a RuleInfo map | ||
// and using the rule keys in the calling function | ||
const ruleIDs = []; | ||
@@ -34,0 +36,0 @@ const priorityOverride = priority || getPriorityFilter(); |
{ | ||
"name": "@sa11y/preset-rules", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Accessibility preset rule configs for axe", | ||
@@ -24,3 +24,3 @@ "license": "BSD-3-Clause", | ||
"devDependencies": { | ||
"@sa11y/common": "3.0.0", | ||
"@sa11y/common": "3.0.1", | ||
"axe-core": "4.3.3", | ||
@@ -32,3 +32,3 @@ "markdown-table-ts": "1.0.3" | ||
}, | ||
"gitHead": "8432157504ec8fb77242fd7901e9ed1fcb2b9c7c" | ||
"gitHead": "93de21f49e8503bbd2a17e30b367cdfa8a42a35f" | ||
} |
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
65824
497