Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-focus-lock

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-focus-lock - npm Package Compare versions

Comparing version 2.10.0 to 2.10.1

2

dist/cjs/Trap.js

@@ -112,3 +112,3 @@ "use strict";

}
if (document) {
if (document && activeElement !== document.activeElement && document.querySelector('[data-focus-auto-guard]')) {
var newActiveElement = document && document.activeElement;

@@ -115,0 +115,0 @@ var allNodes = (0, _focusLock.expandFocusableNodes)(workingArea);

@@ -101,3 +101,3 @@ import * as React from 'react';

}
if (document) {
if (document && activeElement !== document.activeElement && document.querySelector('[data-focus-auto-guard]')) {
var newActiveElement = document && document.activeElement;

@@ -104,0 +104,0 @@ var allNodes = expandFocusableNodes(workingArea);

{
"name": "react-focus-lock",
"version": "2.10.0",
"version": "2.10.1",
"description": "It is a trap! (for a focus)",

@@ -104,3 +104,3 @@ "main": "dist/cjs/index.js",

"@babel/runtime": "^7.0.0",
"focus-lock": "^1.1.0",
"focus-lock": "^1.2.0",
"prop-types": "^15.6.2",

@@ -107,0 +107,0 @@ "react-clientside-effect": "^1.2.6",

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