Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sa11y/preset-rules

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sa11y/preset-rules - npm Package Compare versions

Comparing version 3.1.0 to 4.0.0-alpha.0

6

dist/docgen.js
"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;

4

dist/wcag.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc