@sa11y/preset-rules
Advanced tools
Comparing version 3.1.0 to 4.0.0-alpha.0
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -60,4 +60,4 @@ "use strict"; | ||
toString() { | ||
const SC = this.successCriteria === WcagMetadata.defaultSC ? this.successCriteria : `WCAG-SC${this.successCriteria}`; | ||
return `SA11Y-${SC}-${this.priority}`; | ||
const successCriteria = this.successCriteria === WcagMetadata.defaultSC ? this.successCriteria : `WCAG-SC${this.successCriteria}`; | ||
return `SA11Y-${successCriteria}-${this.priority}`; | ||
} | ||
@@ -64,0 +64,0 @@ } |
{ | ||
"name": "@sa11y/preset-rules", | ||
"version": "3.1.0", | ||
"version": "4.0.0-alpha.0", | ||
"description": "Accessibility preset rule configs for axe", | ||
@@ -24,5 +24,6 @@ "license": "BSD-3-Clause", | ||
"dependencies": { | ||
"@sa11y/common": "3.1.0" | ||
"@sa11y/common": "4.0.0-alpha.0" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "28.1.3", | ||
"axe-core": "4.3.3", | ||
@@ -34,3 +35,3 @@ "markdown-table-ts": "1.0.3" | ||
}, | ||
"gitHead": "6c900d72c6fad8e5ca94852cf0b2b983939476a6" | ||
"gitHead": "aeb87b6b27bfd56cf9f3de201456dd821e57b408" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
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
66097
501
3
1
1
+ Added@sa11y/common@4.0.0-alpha.0(transitive)
- Removed@sa11y/common@3.1.0(transitive)
Updated@sa11y/common@4.0.0-alpha.0