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

@sa11y/preset-rules

Package Overview
Dependencies
Maintainers
1
Versions
83
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 0.3.2 to 0.3.3

12

dist/a11yConfig.d.ts

@@ -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 @@ *

2

dist/base.d.ts

@@ -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

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