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
109
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 1.17.3 to 1.17.4

.cache/325c8f456729b912b0d2134054eb7448-dfeeb2271cc2857eb0a45a5003c8bbee

2

dist/cjs/Lock.js

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

whiteList: _propTypes.default.func,
as: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),
as: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func, _propTypes.default.object]),
lockProps: _propTypes.default.object,

@@ -189,0 +189,0 @@ onActivation: _propTypes.default.func,

@@ -172,3 +172,3 @@ import _extends from "@babel/runtime/helpers/extends";

whiteList: PropTypes.func,
as: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
as: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),
lockProps: PropTypes.object,

@@ -175,0 +175,0 @@ onActivation: PropTypes.func,

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

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

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

- `whiteList` you could _whitelist_ locations FocusLock should carry about. Everything outside it will ignore. For example - any modals.
- `as` if you need to change internal `div` element, to any other
- `as` if you need to change internal `div` element, to any other. Use ref forwarding to give FocusLock the node to work with.
- `lockProps` to pass any extra props (except className) to the internal wrapper.

@@ -77,0 +77,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