Socket
Socket
Sign inDemoInstall

dom-accessibility-api

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-accessibility-api - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

dist/is-inaccessible.d.ts

9

CHANGELOG.md
# dom-accessibility-api changelog
## 0.5.8
### Patch Changes
- [#343](https://github.com/eps1lon/dom-accessibility-api/pull/343) [`3d755c2`](https://github.com/eps1lon/dom-accessibility-api/commit/3d755c2b851d7e5da762494559347dfcc25a6654) Thanks [@eps1lon](https://github.com/eps1lon)! - Add `isInaccessible` and `isSubtreeInaccessible`.
`isInaccessible` implements https://www.w3.org/TR/wai-aria-1.2/#tree_exclusion.
`isSubtreeInaccessible` can be used to inject a memoized version of that function into `isInaccessible`.
## 0.5.7

@@ -4,0 +13,0 @@

1

dist/index.d.ts
export { computeAccessibleDescription } from "./accessible-description";
export { computeAccessibleName } from "./accessible-name";
export { default as getRole } from "./getRole";
export * from "./is-inaccessible";
//# sourceMappingURL=index.d.ts.map
"use strict";
exports.__esModule = true;
var _exportNames = {
computeAccessibleDescription: true,
computeAccessibleName: true,
getRole: true
};
exports.getRole = exports.computeAccessibleName = exports.computeAccessibleDescription = void 0;

@@ -18,3 +23,12 @@

var _isInaccessible = require("./is-inaccessible");
Object.keys(_isInaccessible).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _isInaccessible[key]) return;
exports[key] = _isInaccessible[key];
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//# sourceMappingURL=index.js.map

12

dist/util.js

@@ -5,13 +5,13 @@ "use strict";

exports.getLocalName = getLocalName;
exports.hasAnyConcreteRoles = hasAnyConcreteRoles;
exports.isElement = isElement;
exports.isHTMLTableCaptionElement = isHTMLTableCaptionElement;
exports.isHTMLFieldSetElement = isHTMLFieldSetElement;
exports.isHTMLInputElement = isHTMLInputElement;
exports.isHTMLLegendElement = isHTMLLegendElement;
exports.isHTMLOptGroupElement = isHTMLOptGroupElement;
exports.isHTMLSelectElement = isHTMLSelectElement;
exports.isHTMLSlotElement = isHTMLSlotElement;
exports.isHTMLTableCaptionElement = isHTMLTableCaptionElement;
exports.isHTMLTableElement = isHTMLTableElement;
exports.isHTMLTextAreaElement = isHTMLTextAreaElement;
exports.safeWindow = safeWindow;
exports.isHTMLFieldSetElement = isHTMLFieldSetElement;
exports.isHTMLLegendElement = isHTMLLegendElement;
exports.isHTMLSlotElement = isHTMLSlotElement;
exports.isSVGElement = isSVGElement;

@@ -21,3 +21,3 @@ exports.isSVGSVGElement = isSVGSVGElement;

exports.queryIdRefs = queryIdRefs;
exports.hasAnyConcreteRoles = hasAnyConcreteRoles;
exports.safeWindow = safeWindow;

@@ -24,0 +24,0 @@ var _getRole = _interopRequireDefault(require("./getRole"));

{
"name": "dom-accessibility-api",
"description": "Implements https://w3c.github.io/accname/",
"version": "0.5.7",
"version": "0.5.8",
"main": "dist/index.js",

@@ -52,3 +52,3 @@ "module": "dist/index.mjs",

"@testing-library/dom": "^8.0.0",
"@types/jest": "^26.0.23",
"@types/jest": "^27.0.0",
"@typescript-eslint/eslint-plugin": "^4.25.0",

@@ -64,5 +64,5 @@ "@typescript-eslint/parser": "^4.25.0",

"jest-environment-jsdom": "^27.0.3",
"jest-junit": "^12.1.0",
"jest-junit": "^13.0.0",
"js-yaml": "^4.1.0",
"jsdom": "^16.6.0",
"jsdom": "^17.0.0",
"minimatch": "^3.0.4",

@@ -69,0 +69,0 @@ "mocha": "^9.0.0",

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