Socket
Socket
Sign inDemoInstall

@github/details-menu-element

Package Overview
Dependencies
Maintainers
20
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/details-menu-element - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

2

dist/index.js

@@ -134,3 +134,3 @@ class DetailsMenuElement extends HTMLElement {

function sibling(details, next) {
const options = Array.from(details.querySelectorAll('[role^="menuitem"]:not([hidden]):not([disabled]):not([aria-disabled="true"])'));
const options = Array.from(details.querySelectorAll('[role^="menuitem"]:not([hidden]):not([disabled])'));
const selected = document.activeElement;

@@ -137,0 +137,0 @@ const index = selected instanceof HTMLElement ? options.indexOf(selected) : -1;

{
"name": "@github/details-menu-element",
"version": "1.0.12",
"version": "1.0.13",
"description": "A menu opened with a <details> button.",

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

"chai": "^4.3.4",
"chromium": "^3.0.3",
"eslint": "^7.32.0",

@@ -34,0 +35,0 @@ "eslint-plugin-github": "^4.2.0",

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