Socket
Socket
Sign inDemoInstall

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.5.1 to 2.5.2

8

package.json
{
"name": "react-focus-lock",
"version": "2.5.1",
"version": "2.5.2",
"description": "It is a trap! (for a focus)",

@@ -99,6 +99,6 @@ "main": "dist/cjs/index.js",

"prop-types": "^15.6.2",
"react-clientside-effect": "^1.2.2",
"use-callback-ref": "^1.2.1",
"use-sidecar": "^1.0.1"
"react-clientside-effect": "^1.2.5",
"use-callback-ref": "^1.2.5",
"use-sidecar": "^1.0.5"
}
}

@@ -71,2 +71,3 @@ <div align="left">

- `disabled`, to disable(enable) behavior without altering the tree.
- `className`, to set the `className` of the internal wrapper.
- `returnFocus`, to return focus into initial position on unmount(not disable).

@@ -73,0 +74,0 @@ > By default `returnFocus` is disabled, so FocusLock will __not__ restore original focus on deactivation.

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