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

aria-live-capture

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aria-live-capture - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2-snapshot.0

5

dist/utils.js

@@ -64,4 +64,7 @@ "use strict";

const role = element.getAttribute('role');
const ariaLive = element.getAttribute('aria-live');
if (role === 'marquee' || role === 'timer') {
return true;
if (ariaLive !== 'polite' && ariaLive !== 'assertive') {
return true;
}
}

@@ -68,0 +71,0 @@ return queries.closest(element, HIDDEN_QUERY) != null;

69

package.json
{
"name": "aria-live-capture",
"version": "1.0.1",
"version": "1.0.2-snapshot.0",
"description": "Capture announcements of ARIA-live regions",

@@ -17,2 +17,3 @@ "main": "dist/index.js",

},
"packageManager": "pnpm@8.15.5",
"scripts": {

@@ -25,31 +26,45 @@ "changelog": "npx conventional-changelog-cli -i CHANGELOG.md -p angular -s -r 0",

"test:integration": "start-server-and-test docs 6006 'test-storybook'",
"test:docs": "start-server-and-test docs:run 8080 docs:test",
"typecheck": "tsc --noEmit",
"validate": "yarn build && yarn lint && yarn typecheck && yarn test && yarn test:integration",
"docs": "start-storybook -p 6006 --quiet --loglevel error",
"docs:build": "build-storybook --quiet --loglevel error --output-dir docs",
"docs:deploy": "gh-pages -d docs"
"validate": "pnpm build && pnpm lint && pnpm typecheck && pnpm test && pnpm test:integration && pnpm test:docs",
"docs": "storybook dev -p 6006",
"docs:build": "storybook build --output-dir docs",
"docs:deploy": "touch docs/.nojekyll && gh-pages --dist docs --dotfiles true",
"docs:run": "live-server docs --mount=/aria-live-capture:docs",
"docs:test": "vitest run --config ./vitest.config.docs.ts"
},
"devDependencies": {
"@storybook/addon-docs": "^6.5.15",
"@storybook/addon-interactions": "^6.5.15",
"@storybook/builder-vite": "^0.2.7",
"@storybook/html": "^6.5.15",
"@storybook/jest": "^0.0.10",
"@storybook/test-runner": "^0.9.2",
"@storybook/testing-library": "^0.0.13",
"@testing-library/dom": "^8.19.1",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-testing-library": "^5.9.1",
"gh-pages": "^4.0.0",
"jsdom": "^21.0.0",
"prettier": "^2.8.2",
"start-server-and-test": "^1.15.2",
"typescript": "^4.9.4",
"virtual-dom-nodes": "^0.2.0",
"vite": "^4.0.4",
"vitest": "^0.27.0"
"@storybook/addon-docs": "^8.0.0",
"@storybook/addon-interactions": "^8.0.0",
"@storybook/blocks": "^8.0.0",
"@storybook/core-events": "^8.0.0",
"@storybook/html": "^8.0.0",
"@storybook/html-vite": "^8.0.0",
"@storybook/jest": "^0.2.3",
"@storybook/manager-api": "^8.0.0",
"@storybook/preview-api": "^8.0.0",
"@storybook/test-runner": "^0.16.0",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^8.0.0",
"@testing-library/dom": "^9.3.4",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitest/browser": "1.4.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-testing-library": "^6.2.0",
"gh-pages": "^6.1.1",
"jsdom": "^24.0.0",
"live-server": "1.2.2",
"playwright": "1.42.1",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"start-server-and-test": "^2.0.3",
"storybook": "^8.0.0",
"typescript": "^5.4.2",
"virtual-dom-nodes": "^0.2.2",
"vite": "^5.1.6",
"vitest": "1.4.0"
},

@@ -56,0 +71,0 @@ "keywords": [

# aria-live-capture
[![version](https://img.shields.io/npm/v/aria-live-capture)](https://www.npmjs.com/package/aria-live-capture)
<a href="https://www.npmjs.com/package/aria-live-capture">
<img alt="version" src="https://img.shields.io/npm/v/aria-live-capture" />
</a>

@@ -27,3 +29,3 @@ [Installation](#installation) | [Usage](#usage) | [Announcement detection examples](#announcement-detection-examples) | [Support](#support)

```bash
yarn add --dev aria-live-capture
npm install --save-dev aria-live-capture
```

@@ -85,3 +87,3 @@

[Test online](https://ariperkkio.github.io/aria-live-capture) <a href="https://ariperkkio.github.io/aria-live-capture" target="_blank"><img src="https://raw.githubusercontent.com/storybooks/brand/master/badge/badge-storybook.svg"></img></a>
[Test online](https://ariperkkio.github.io/aria-live-capture)&nbsp;&nbsp;<a href="https://ariperkkio.github.io/aria-live-capture" target="_blank"><img src="https://raw.githubusercontent.com/storybooks/brand/master/badge/badge-storybook.svg" /></a>

@@ -88,0 +90,0 @@ <!-- prettier-ignore -->

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