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

@nutrafol/popup-helper

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nutrafol/popup-helper - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

28

index.js

@@ -140,18 +140,16 @@ /**

var isTab = e.key === "Tab" || e.keyCode === 9
if (!isTab) {
return
}
if (e.shiftKey) {
/* shift + tab */
if (document.activeElement === firstFocusableEl) {
lastFocusableEl.focus()
e.preventDefault()
if (isTab) {
if (e.shiftKey) {
/* shift + tab */
if (document.activeElement === firstFocusableEl) {
lastFocusableEl.focus()
e.preventDefault()
}
} else {
/* tab */
if (document.activeElement === lastFocusableEl) {
firstFocusableEl.focus()
e.preventDefault()
}
}
} else {
/* tab */
if (document.activeElement === lastFocusableEl) {
firstFocusableEl.focus()
e.preventDefault()
}
}

@@ -158,0 +156,0 @@ }

{
"name": "@nutrafol/popup-helper",
"version": "0.1.4",
"version": "0.1.5",
"description": "nutrafol popup helper",

@@ -5,0 +5,0 @@ "main": "index.js",

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