Socket
Socket
Sign inDemoInstall

@types/aria-query

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.2 to 5.0.0

38

aria-query/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for aria-query 4.2
// Type definitions for aria-query 5.0
// Project: https://github.com/A11yance/aria-query#readme

@@ -7,6 +7,17 @@ // Definitions by: Sebastian Silbermann <https://github.com/eps1lon>

// Disable automatic exports.
export {};
interface MapLike<Key, Value> {
entries: () => Array<[Key, Value]>;
get: (key: Key) => Value | undefined;
has: (key: Key) => boolean;
keys: () => Key[];
values: () => Value[];
}
// index.js
export type ARIARoleDefintionKey = ARIAAbstractRole | ARIARole | ARIADPubRole;
export const aria: Map<ARIAProperty, ARIAPropertyDefinition>;
export const aria: MapLike<ARIAProperty, ARIAPropertyDefinition>;
export interface DOMDefinition {

@@ -16,6 +27,6 @@ reserved?: boolean | undefined;

}
export const dom: Map<string, DOMDefinition>;
export const elementRoles: Map<ARIARoleRelationConcept, Set<ARIARoleDefintionKey>>;
export const roles: Map<ARIARoleDefintionKey, ARIARoleDefinition>;
export const roleElements: Map<ARIARoleDefintionKey, Set<ARIARoleRelationConcept>>;
export const dom: MapLike<string, DOMDefinition>;
export const elementRoles: MapLike<ARIARoleRelationConcept, Set<ARIARoleDefintionKey>>;
export const roles: MapLike<ARIARoleDefintionKey, ARIARoleDefinition>;
export const roleElements: MapLike<ARIARoleDefintionKey, Set<ARIARoleRelationConcept>>;

@@ -218,3 +229,2 @@ // types

| 'aria-current'
| 'aria-describedat'
| 'aria-describedby'

@@ -326,8 +336,10 @@ | 'aria-details'

// https://www.w3.org/TR/html-aria
constraints?: Array<
| 'direct descendant of document'
| 'direct descendant of ol, ul or menu'
| 'direct descendant of details element with the open attribute defined'
| 'descendant of table'
> | undefined;
constraints?:
| Array<
| 'direct descendant of document'
| 'direct descendant of ol, ul or menu'
| 'direct descendant of details element with the open attribute defined'
| 'descendant of table'
>
| undefined;
}

@@ -334,0 +346,0 @@

{
"name": "@types/aria-query",
"version": "4.2.2",
"version": "5.0.0",
"description": "TypeScript definitions for aria-query",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aria-query",

"dependencies": {},
"typesPublisherContentHash": "4094e62823ffb018c2ec51d16482a29e2ccca6c2a001af679e6621715f58c651",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "59cd1a99d754755bb733fb2ea7236ec6eadf56e32b17b14e490c8ce25e5c9634",
"typeScriptVersion": "3.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 06 Jul 2021 18:05:35 GMT
* Last updated: Mon, 18 Oct 2021 21:31:28 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc