Socket
Socket
Sign inDemoInstall

focus-trap-react

Package Overview
Dependencies
23
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

6

CHANGELOG.md
# CHANGELOG
2.1.0 Head
# 2.1.1
- Allow React 15 as peer dependency.
# 2.1.0
- Upgrade `focus-trap` to add `escapeDeactivates` and `clickOutsideDeactivates` props.

@@ -6,0 +10,0 @@ - Allow arbitrary props passed through to the element itself.

20

package.json
{
"name": "focus-trap-react",
"version": "2.1.0",
"version": "2.1.1",
"description": "A React component that traps focus.",

@@ -40,10 +40,10 @@ "main": "index.js",

"browserify": "13.0.0",
"eslint": "2.2.0",
"react": "0.14.7",
"react-addons-test-utils": "0.14.7",
"react-dom": "0.14.7",
"eslint": "2.7.0",
"react": "15.0.1",
"react-addons-test-utils": "15.0.1",
"react-dom": "15.0.1",
"sinon": "1.17.3",
"tape": "4.4.0",
"watchify": "3.4.0",
"zuul": "3.9.0"
"tape": "4.5.1",
"watchify": "3.7.0",
"zuul": "3.10.1"
},

@@ -54,4 +54,4 @@ "dependencies": {

"peerDependencies": {
"react": "0.14.x",
"react-dom": "0.14.x"
"react": "0.14.x || ^15.0.0",
"react-dom": "0.14.x || ^15.0.0"
},

@@ -58,0 +58,0 @@ "files": [

@@ -8,3 +8,3 @@ # focus-trap-react [![Build Status](https://travis-ci.org/davidtheclark/focus-trap-react.svg?branch=0.1.0)](https://travis-ci.org/davidtheclark/focus-trap-react)

You might want it for, say, building an accessible modal?
You might want it for, say, building [an accessible modal](https://github.com/davidtheclark/react-aria-modal)?

@@ -11,0 +11,0 @@ ## What it does

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc