focus-trap-react 10.1.4 → 10.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 10.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 10dc372: Bump focus-trap to 7.5.3 for typings fix
8
+
9
+ ## 10.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 1d58209: Bump focus-trap to v7.5.2 for Safari-related bug fix with `Array.findLast()`
14
+
15
+ ## 10.2.0
16
+
17
+ ### Minor Changes
18
+
19
+ - e42bf28: Bump focus-trap to v7.5.1 for new positive tab index support in single-container traps
20
+
3
21
  ## 10.1.4
4
22
 
5
23
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
5
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
6
6
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "focus-trap-react",
3
- "version": "10.1.4",
3
+ "version": "10.2.2",
4
4
  "description": "A React component that traps focus.",
5
5
  "main": "dist/focus-trap-react.js",
6
6
  "types": "index.d.ts",
@@ -57,46 +57,46 @@
57
57
  },
58
58
  "homepage": "https://github.com/focus-trap/focus-trap-react#readme",
59
59
  "devDependencies": {
60
- "@babel/cli": "^7.21.5",
61
- "@babel/core": "^7.21.8",
62
- "@babel/eslint-parser": "^7.21.8",
60
+ "@babel/cli": "^7.22.15",
61
+ "@babel/core": "^7.22.20",
62
+ "@babel/eslint-parser": "^7.22.15",
63
63
  "@babel/plugin-proposal-class-properties": "^7.18.6",
64
- "@babel/preset-env": "^7.21.5",
65
- "@babel/preset-react": "^7.18.6",
66
- "@changesets/cli": "^2.26.1",
67
- "@testing-library/cypress": "^9.0.0",
68
- "@testing-library/dom": "^9.3.0",
69
- "@testing-library/jest-dom": "^5.16.5",
64
+ "@babel/preset-env": "^7.22.20",
65
+ "@babel/preset-react": "^7.22.15",
66
+ "@changesets/cli": "^2.26.2",
67
+ "@testing-library/cypress": "^10.0.1",
68
+ "@testing-library/dom": "^9.3.3",
69
+ "@testing-library/jest-dom": "^6.1.3",
70
70
  "@testing-library/react": "^14.0.0",
71
- "@testing-library/user-event": "^14.4.3",
72
- "@types/jquery": "^3.5.16",
73
- "all-contributors-cli": "^6.25.1",
74
- "babel-jest": "^29.5.0",
71
+ "@testing-library/user-event": "^14.5.1",
72
+ "@types/jquery": "^3.5.19",
73
+ "all-contributors-cli": "^6.26.1",
74
+ "babel-jest": "^29.7.0",
75
75
  "babelify": "^10.0.0",
76
76
  "browserify": "^17.0.0",
77
77
  "budo": "^11.8.4",
78
- "cypress": "^12.12.0",
78
+ "cypress": "^13.2.0",
79
79
  "cypress-plugin-tab": "^1.0.5",
80
- "eslint": "^8.40.0",
81
- "eslint-config-prettier": "^8.8.0",
82
- "eslint-plugin-cypress": "^2.13.3",
83
- "eslint-plugin-jest": "^27.2.1",
84
- "eslint-plugin-react": "^7.32.2",
85
- "jest": "^29.5.0",
86
- "jest-environment-jsdom": "^29.5.0",
80
+ "eslint": "^8.49.0",
81
+ "eslint-config-prettier": "^9.0.0",
82
+ "eslint-plugin-cypress": "^2.15.1",
83
+ "eslint-plugin-jest": "^27.4.0",
84
+ "eslint-plugin-react": "^7.33.2",
85
+ "jest": "^29.7.0",
86
+ "jest-environment-jsdom": "^29.7.0",
87
87
  "jest-watch-typeahead": "^2.2.2",
88
88
  "onchange": "^7.1.0",
89
- "prettier": "^2.8.8",
89
+ "prettier": "^3.0.3",
90
90
  "prop-types": "^15.8.1",
91
91
  "react": "^18.2.0",
92
92
  "react-dom": "^18.2.0",
93
- "regenerator-runtime": "^0.13.11",
93
+ "regenerator-runtime": "^0.14.0",
94
94
  "start-server-and-test": "^2.0.0",
95
- "typescript": "^5.0.4"
95
+ "typescript": "^5.2.2"
96
96
  },
97
97
  "dependencies": {
98
- "focus-trap": "^7.4.3",
99
- "tabbable": "^6.1.2"
98
+ "focus-trap": "^7.5.3",
99
+ "tabbable": "^6.2.0"
100
100
  },
101
101
  "peerDependencies": {
102
102
  "prop-types": "^15.8.1",