Socket
Socket
Sign inDemoInstall

focus-trap-react

Package Overview
Dependencies
Maintainers
5
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focus-trap-react - npm Package Compare versions

Comparing version 8.3.0 to 8.3.1

6

CHANGELOG.md
# Changelog
## 8.3.1
### Patch Changes
- 5d70831: Bump focus-trap to [6.2.1](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md#621) for bug fixes.
## 8.3.0

@@ -4,0 +10,0 @@

34

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

@@ -20,9 +20,9 @@ "main": "dist/focus-trap-react.js",

"format": "prettier --write \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
"format-check": "prettier --check \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
"format:check": "prettier --check \"{*,src/**/*,test/**/*,demo/js/**/*,.github/workflows/*,cypress/**/*}.+(js|yml)\"",
"build": "babel src -d dist",
"test-types": "tsc index.d.ts",
"test-unit": "jest",
"test-cypress": "start-server-and-test start 9966 'cypress open'",
"test-cypress-ci": "start-server-and-test start 9966 'cypress run --browser $CYPRESS_BROWSER --headless'",
"test": "yarn format-check && yarn lint && yarn test-unit && yarn test-types && CYPRESS_BROWSER=chrome yarn test-cypress-ci",
"test:types": "tsc index.d.ts",
"test:unit": "jest",
"test:cypress": "start-server-and-test start 9966 'cypress open'",
"test:cypress-ci": "start-server-and-test start 9966 'cypress run --browser $CYPRESS_BROWSER --headless'",
"test": "yarn format:check && yarn lint && yarn test:unit && yarn test:types && CYPRESS_BROWSER=chrome yarn test:cypress-ci",
"prepare": "yarn build",

@@ -56,9 +56,9 @@ "release": "yarn build && changeset publish"

"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@changesets/cli": "^2.11.2",
"@testing-library/cypress": "^7.0.1",
"@testing-library/cypress": "^7.0.2",
"@types/jquery": "^3.5.4",

@@ -73,3 +73,3 @@ "all-contributors-cli": "^6.19.0",

"cypress-plugin-tab": "^1.0.5",
"eslint": "^7.13.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",

@@ -79,11 +79,11 @@ "eslint-plugin-cypress": "^2.11.2",

"jest": "^26.6.3",
"prettier": "^2.1.2",
"prettier": "^2.2.0",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"start-server-and-test": "^1.11.5",
"typescript": "^4.0.5"
"start-server-and-test": "^1.11.6",
"typescript": "^4.1.2"
},
"dependencies": {
"focus-trap": "^6.2.0"
"focus-trap": "^6.2.1"
},

@@ -90,0 +90,0 @@ "peerDependencies": {

@@ -36,6 +36,4 @@ # focus-trap-react [![CI](https://github.com/focus-trap/focus-trap-react/workflows/CI/badge.svg?branch=master&event=push)](https://github.com/focus-trap/focus-trap-react/actions?query=workflow:CI+branch:master) [![license](https://badgen.now.sh/badge/license/MIT)](./LICENSE)

Version 2+ is compatible with React >0.14+.
React `>= 16.0.0`.
Version 1 is compatible with React 0.13.
## Browser Support

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