New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

axe-core

Package Overview
Dependencies
Maintainers
4
Versions
1397
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axe-core - npm Package Compare versions

Comparing version

to
4.9.1-canary.a6361bb

23

axe.d.ts

@@ -73,12 +73,15 @@ // Type definitions for axe-core

type SelectorList = Array<Selector | FramesSelector> | NodeList;
type ContextProp = Selector | SelectorList;
type ContextObject =
| {
include: Selector | SelectorList;
exclude?: Selector | SelectorList;
include: ContextProp;
exclude?: ContextProp;
}
| {
exclude: Selector | SelectorList;
include?: Selector | SelectorList;
exclude: ContextProp;
include?: ContextProp;
};
type ElementContext = Selector | SelectorList | ContextObject;
type ContextSpec = ContextProp | ContextObject;
/** Synonym to ContextSpec */
type ElementContext = ContextSpec;

@@ -410,2 +413,12 @@ type SerialSelector =

getStandards(): Required<Standards>;
isContextSpec: (context: unknown) => context is ContextSpec;
isContextObject: (context: unknown) => context is ContextObject;
isContextProp: (context: unknown) => context is ContextProp;
isLabelledFramesSelector: (
selector: unknown
) => selector is LabelledFramesSelector;
isLabelledShadowDomSelector: (
selector: unknown
) => selector is LabelledShadowDomSelector;
DqElement: new (

@@ -412,0 +425,0 @@ elm: Element,

{
"name": "axe-core",
"description": "Accessibility engine for automated Web UI testing",
"version": "4.9.1-canary.a2effe4",
"version": "4.9.1-canary.a6361bb",
"license": "MPL-2.0",

@@ -6,0 +6,0 @@ "engines": {

@@ -382,6 +382,6 @@ {

},
"4.9.1-canary.a2effe4": {
"axe.js": "sha256-diQr4DZmcboAVLEdXA85g0lo4GFd7T1G/esNQk3YXHM=",
"axe.min.js": "sha256-z2qDn6mDFyMzH+UMV7PQ4ZH79ap/BeRjyVg+QvHA+Uo="
"4.9.1-canary.a6361bb": {
"axe.js": "sha256-ywPpBNuVnx3bCboh9+lqXtATRT7AHZVXCfP20ecPQq0=",
"axe.min.js": "sha256-gAxT6sZqIK2fdFuX8ERGhEnH4tK+PH2L5GsciLnB7Jo="
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display