focus-trap-react 10.2.3 → 10.3.1
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 +12 -0
- package/README.md +4 -2
- package/dist/focus-trap-react.js +20 -30
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 10.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ee62d91: Bump focus-trap to v7.6.1
|
|
8
|
+
|
|
9
|
+
## 10.3.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 1738674: Bump focus-trap dependency to 7.6.0 for customizable ESC behavior ([#1346](https://github.com/focus-trap/focus-trap-react/pull/1346))
|
|
14
|
+
|
|
3
15
|
## 10.2.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# focus-trap-react [](https://github.com/focus-trap/focus-trap-react/actions?query=workflow:CI+branch:master) [](https://codecov.io/gh/focus-trap/focus-trap-react) [](./LICENSE)
|
|
2
2
|
|
|
3
3
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
4
|
-
[](#contributors)
|
|
5
5
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
6
6
|
|
|
7
7
|
A React component that traps focus.
|
|
@@ -350,19 +350,21 @@ In alphabetical order:
|
|
|
350
350
|
<td align="center" valign="top" width="14.28%"><a href="https://marais.io/"><img src="https://avatars2.githubusercontent.com/u/599459?v=4?s=100" width="100px;" alt="Marais Rossouw"/><br /><sub><b>Marais Rossouw</b></sub></a><br /><a href="#infra-maraisr" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
351
351
|
</tr>
|
|
352
352
|
<tr>
|
|
353
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/StackOverflowIsBetterThanAnyAI"><img src="https://avatars.githubusercontent.com/u/140268904?v=4?s=100" width="100px;" alt="Michael"/><br /><sub><b>Michael</b></sub></a><br /><a href="#example-StackOverflowIsBetterThanAnyAI" title="Examples">💡</a></td>
|
|
353
354
|
<td align="center" valign="top" width="14.28%"><a href="https://www.moroshko.me"><img src="https://avatars.githubusercontent.com/u/259753?v=4?s=100" width="100px;" alt="Misha Moroshko"/><br /><sub><b>Misha Moroshko</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Amoroshko" title="Bug reports">🐛</a></td>
|
|
354
355
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/liunate"><img src="https://avatars2.githubusercontent.com/u/38996291?v=4?s=100" width="100px;" alt="Nate Liu"/><br /><sub><b>Nate Liu</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=liunate" title="Tests">⚠️</a></td>
|
|
355
356
|
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/rivajunior/"><img src="https://avatars1.githubusercontent.com/u/11370172?v=4?s=100" width="100px;" alt="Rivaldo Junior"/><br /><sub><b>Rivaldo Junior</b></sub></a><br /><a href="#maintenance-rivajunior" title="Maintenance">🚧</a></td>
|
|
356
357
|
<td align="center" valign="top" width="14.28%"><a href="https://scottrippey.github.io/"><img src="https://avatars3.githubusercontent.com/u/430608?v=4?s=100" width="100px;" alt="Scott Rippey"/><br /><sub><b>Scott Rippey</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=scottrippey" title="Code">💻</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Ascottrippey" title="Bug reports">🐛</a></td>
|
|
357
358
|
<td align="center" valign="top" width="14.28%"><a href="https://seanmcp.com/"><img src="https://avatars1.githubusercontent.com/u/6360367?v=4?s=100" width="100px;" alt="Sean McPherson"/><br /><sub><b>Sean McPherson</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=SeanMcP" title="Code">💻</a></td>
|
|
358
359
|
<td align="center" valign="top" width="14.28%"><a href="http://smoores.dev"><img src="https://avatars.githubusercontent.com/u/5354254?v=4?s=100" width="100px;" alt="Shane Moore"/><br /><sub><b>Shane Moore</b></sub></a><br /><a href="#platform-SMores" title="Packaging/porting to new platform">📦</a></td>
|
|
359
|
-
<td align="center" valign="top" width="14.28%"><a href="https://recollectr.io"><img src="https://avatars2.githubusercontent.com/u/6835891?v=4?s=100" width="100px;" alt="Slapbox"/><br /><sub><b>Slapbox</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=Slapbox" title="Documentation">📖</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3ASlapbox" title="Bug reports">🐛</a></td>
|
|
360
360
|
</tr>
|
|
361
361
|
<tr>
|
|
362
|
+
<td align="center" valign="top" width="14.28%"><a href="https://recollectr.io"><img src="https://avatars2.githubusercontent.com/u/6835891?v=4?s=100" width="100px;" alt="Slapbox"/><br /><sub><b>Slapbox</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=Slapbox" title="Documentation">📖</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3ASlapbox" title="Bug reports">🐛</a></td>
|
|
362
363
|
<td align="center" valign="top" width="14.28%"><a href="https://stefancameron.com/"><img src="https://avatars3.githubusercontent.com/u/2855350?v=4?s=100" width="100px;" alt="Stefan Cameron"/><br /><sub><b>Stefan Cameron</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=stefcameron" title="Code">💻</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Astefcameron" title="Bug reports">🐛</a> <a href="#infra-stefcameron" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/focus-trap/focus-trap-react/commits?author=stefcameron" title="Tests">⚠️</a> <a href="https://github.com/focus-trap/focus-trap-react/commits?author=stefcameron" title="Documentation">📖</a> <a href="#maintenance-stefcameron" title="Maintenance">🚧</a></td>
|
|
363
364
|
<td align="center" valign="top" width="14.28%"><a href="http://tylerhawkins.info/201R/"><img src="https://avatars0.githubusercontent.com/u/13806458?v=4?s=100" width="100px;" alt="Tyler Hawkins"/><br /><sub><b>Tyler Hawkins</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=thawkin3" title="Documentation">📖</a> <a href="#example-thawkin3" title="Examples">💡</a> <a href="https://github.com/focus-trap/focus-trap-react/commits?author=thawkin3" title="Tests">⚠️</a> <a href="#tool-thawkin3" title="Tools">🔧</a></td>
|
|
364
365
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/wandroll"><img src="https://avatars.githubusercontent.com/u/4492317?v=4?s=100" width="100px;" alt="Wandrille Verlut"/><br /><sub><b>Wandrille Verlut</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=wandroll" title="Code">💻</a> <a href="https://github.com/focus-trap/focus-trap-react/commits?author=wandroll" title="Tests">⚠️</a></td>
|
|
365
366
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/krikienoid"><img src="https://avatars3.githubusercontent.com/u/8528227?v=4?s=100" width="100px;" alt="krikienoid"/><br /><sub><b>krikienoid</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Akrikienoid" title="Bug reports">🐛</a></td>
|
|
367
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/robert-westenberger"><img src="https://avatars.githubusercontent.com/u/44252092?v=4?s=100" width="100px;" alt="robert-westenberger"/><br /><sub><b>robert-westenberger</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/commits?author=robert-westenberger" title="Documentation">📖</a> <a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Arobert-westenberger" title="Bug reports">🐛</a></td>
|
|
366
368
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/syntactic-salt"><img src="https://avatars.githubusercontent.com/u/9385662?v=4?s=100" width="100px;" alt="syntactic-salt"/><br /><sub><b>syntactic-salt</b></sub></a><br /><a href="https://github.com/focus-trap/focus-trap-react/issues?q=author%3Asyntactic-salt" title="Bug reports">🐛</a></td>
|
|
367
369
|
</tr>
|
|
368
370
|
</tbody>
|
package/dist/focus-trap-react.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
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
|
-
function _classCallCheck(
|
|
5
|
-
function _defineProperties(
|
|
6
|
-
function _createClass(
|
|
7
|
-
function
|
|
8
|
-
function
|
|
9
|
-
function
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function _defineProperty(
|
|
15
|
-
function _toPropertyKey(
|
|
16
|
-
function _toPrimitive(
|
|
4
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
5
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
6
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
7
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
9
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
10
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
12
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
13
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
14
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17
17
|
var React = require('react');
|
|
18
18
|
var PropTypes = require('prop-types');
|
|
19
19
|
var _require = require('focus-trap'),
|
|
@@ -21,12 +21,10 @@ var _require = require('focus-trap'),
|
|
|
21
21
|
var _require2 = require('tabbable'),
|
|
22
22
|
isFocusable = _require2.isFocusable;
|
|
23
23
|
var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
24
|
-
_inherits(FocusTrap, _React$Component);
|
|
25
|
-
var _super = _createSuper(FocusTrap);
|
|
26
24
|
function FocusTrap(props) {
|
|
27
25
|
var _this;
|
|
28
26
|
_classCallCheck(this, FocusTrap);
|
|
29
|
-
_this =
|
|
27
|
+
_this = _callSuper(this, FocusTrap, [props]);
|
|
30
28
|
/**
|
|
31
29
|
* Gets the node for the given option, which is expected to be an option that
|
|
32
30
|
* can be either a DOM node, a string that is a selector to get a node, `false`
|
|
@@ -40,7 +38,7 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
40
38
|
* @throws {Error} If the option is set, not `false`, and is not, or does not
|
|
41
39
|
* resolve to a node.
|
|
42
40
|
*/
|
|
43
|
-
_defineProperty(
|
|
41
|
+
_defineProperty(_this, "getNodeForOption", function (optionName) {
|
|
44
42
|
var _this$internalOptions;
|
|
45
43
|
// use internal options first, falling back to original options
|
|
46
44
|
var optionValue = (_this$internalOptions = this.internalOptions[optionName]) !== null && _this$internalOptions !== void 0 ? _this$internalOptions : this.originalOptions[optionName];
|
|
@@ -53,7 +51,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
53
51
|
if (optionValue === true) {
|
|
54
52
|
optionValue = undefined; // use default value
|
|
55
53
|
}
|
|
56
|
-
|
|
57
54
|
if (!optionValue) {
|
|
58
55
|
if (optionValue === undefined || optionValue === false) {
|
|
59
56
|
return optionValue;
|
|
@@ -73,9 +70,9 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
73
70
|
}
|
|
74
71
|
return node;
|
|
75
72
|
});
|
|
76
|
-
_this.handleDeactivate = _this.handleDeactivate.bind(
|
|
77
|
-
_this.handlePostDeactivate = _this.handlePostDeactivate.bind(
|
|
78
|
-
_this.handleClickOutsideDeactivates = _this.handleClickOutsideDeactivates.bind(
|
|
73
|
+
_this.handleDeactivate = _this.handleDeactivate.bind(_this);
|
|
74
|
+
_this.handlePostDeactivate = _this.handlePostDeactivate.bind(_this);
|
|
75
|
+
_this.handleClickOutsideDeactivates = _this.handleClickOutsideDeactivates.bind(_this);
|
|
79
76
|
|
|
80
77
|
// focus-trap options used internally when creating the trap
|
|
81
78
|
_this.internalOptions = {
|
|
@@ -120,7 +117,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
120
117
|
_this.originalOptions[optionName] = focusTrapOptions[optionName];
|
|
121
118
|
continue; // exclude from internalOptions
|
|
122
119
|
}
|
|
123
|
-
|
|
124
120
|
_this.internalOptions[optionName] = focusTrapOptions[optionName];
|
|
125
121
|
}
|
|
126
122
|
|
|
@@ -146,7 +142,8 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
146
142
|
* document, if it exists. During SSR, `undefined` is returned since the
|
|
147
143
|
* document doesn't exist.
|
|
148
144
|
*/
|
|
149
|
-
|
|
145
|
+
_inherits(FocusTrap, _React$Component);
|
|
146
|
+
return _createClass(FocusTrap, [{
|
|
150
147
|
key: "getDocument",
|
|
151
148
|
value: function getDocument() {
|
|
152
149
|
// SSR: careful to check if `document` exists before accessing it as a variable
|
|
@@ -219,7 +216,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
219
216
|
if (this.originalOptions.onDeactivate) {
|
|
220
217
|
this.originalOptions.onDeactivate.call(null); // call user's handler out of context
|
|
221
218
|
}
|
|
222
|
-
|
|
223
219
|
this.deactivateTrap();
|
|
224
220
|
}
|
|
225
221
|
}, {
|
|
@@ -244,7 +240,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
244
240
|
|
|
245
241
|
// if no, the restore focus to `returnFocusNode` at this point
|
|
246
242
|
);
|
|
247
|
-
|
|
248
243
|
var _this2$internalOption = _this2.internalOptions.preventScroll,
|
|
249
244
|
preventScroll = _this2$internalOption === void 0 ? false : _this2$internalOption;
|
|
250
245
|
if (canReturnFocus) {
|
|
@@ -256,10 +251,8 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
256
251
|
if (_this2.originalOptions.onPostDeactivate) {
|
|
257
252
|
_this2.originalOptions.onPostDeactivate.call(null); // don't call it in context of "this"
|
|
258
253
|
}
|
|
259
|
-
|
|
260
254
|
_this2.outsideClick = null; // reset: no longer needed
|
|
261
255
|
};
|
|
262
|
-
|
|
263
256
|
if (this.originalOptions.checkCanReturnFocus) {
|
|
264
257
|
this.originalOptions.checkCanReturnFocus.call(null, this.getReturnFocusNode()) // call out of context
|
|
265
258
|
.then(finishDeactivation, finishDeactivation);
|
|
@@ -335,7 +328,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
335
328
|
this.deactivateTrap();
|
|
336
329
|
return; // un/pause does nothing on an inactive trap
|
|
337
330
|
}
|
|
338
|
-
|
|
339
331
|
if (hasPaused) {
|
|
340
332
|
this.focusTrap.pause();
|
|
341
333
|
}
|
|
@@ -394,7 +386,6 @@ var FocusTrap = /*#__PURE__*/function (_React$Component) {
|
|
|
394
386
|
return null;
|
|
395
387
|
}
|
|
396
388
|
}]);
|
|
397
|
-
return FocusTrap;
|
|
398
389
|
}(React.Component); // support server-side rendering where `Element` will not be defined
|
|
399
390
|
var ElementType = typeof Element === 'undefined' ? Function : Element;
|
|
400
391
|
FocusTrap.propTypes = {
|
|
@@ -441,7 +432,6 @@ FocusTrap.propTypes = {
|
|
|
441
432
|
// specify it here. It's expected to be set to the function returned from
|
|
442
433
|
// require('focus-trap'), or one with a compatible interface.
|
|
443
434
|
};
|
|
444
|
-
|
|
445
435
|
FocusTrap.defaultProps = {
|
|
446
436
|
active: true,
|
|
447
437
|
paused: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "focus-trap-react",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.3.1",
|
|
4
4
|
"description": "A React component that traps focus.",
|
|
5
5
|
"main": "dist/focus-trap-react.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -57,45 +57,45 @@
|
|
|
57
57
|
},
|
|
58
58
|
"homepage": "https://github.com/focus-trap/focus-trap-react#readme",
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@babel/cli": "^7.
|
|
61
|
-
"@babel/core": "^7.
|
|
62
|
-
"@babel/eslint-parser": "^7.
|
|
60
|
+
"@babel/cli": "^7.25.9",
|
|
61
|
+
"@babel/core": "^7.26.0",
|
|
62
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
63
63
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
64
|
-
"@babel/preset-env": "^7.
|
|
65
|
-
"@babel/preset-react": "^7.
|
|
66
|
-
"@changesets/cli": "^2.
|
|
67
|
-
"@testing-library/cypress": "^10.0.
|
|
68
|
-
"@testing-library/dom": "^
|
|
69
|
-
"@testing-library/jest-dom": "^6.
|
|
70
|
-
"@testing-library/react": "^
|
|
71
|
-
"@testing-library/user-event": "^14.5.
|
|
72
|
-
"@types/jquery": "^3.5.
|
|
64
|
+
"@babel/preset-env": "^7.26.0",
|
|
65
|
+
"@babel/preset-react": "^7.25.9",
|
|
66
|
+
"@changesets/cli": "^2.27.9",
|
|
67
|
+
"@testing-library/cypress": "^10.0.2",
|
|
68
|
+
"@testing-library/dom": "^10.4.0",
|
|
69
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
70
|
+
"@testing-library/react": "^16.0.1",
|
|
71
|
+
"@testing-library/user-event": "^14.5.2",
|
|
72
|
+
"@types/jquery": "^3.5.32",
|
|
73
73
|
"all-contributors-cli": "^6.26.1",
|
|
74
74
|
"babel-jest": "^29.7.0",
|
|
75
75
|
"babelify": "^10.0.0",
|
|
76
|
-
"browserify": "^17.0.
|
|
76
|
+
"browserify": "^17.0.1",
|
|
77
77
|
"budo": "^11.8.4",
|
|
78
|
-
"cypress": "^13.
|
|
78
|
+
"cypress": "^13.15.2",
|
|
79
79
|
"cypress-plugin-tab": "^1.0.5",
|
|
80
|
-
"eslint": "^8.
|
|
81
|
-
"eslint-config-prettier": "^9.
|
|
82
|
-
"eslint-plugin-cypress": "^
|
|
83
|
-
"eslint-plugin-jest": "^
|
|
84
|
-
"eslint-plugin-react": "^7.
|
|
80
|
+
"eslint": "^8.57.0",
|
|
81
|
+
"eslint-config-prettier": "^9.1.0",
|
|
82
|
+
"eslint-plugin-cypress": "^3.6.0",
|
|
83
|
+
"eslint-plugin-jest": "^28.9.0",
|
|
84
|
+
"eslint-plugin-react": "^7.37.2",
|
|
85
85
|
"jest": "^29.7.0",
|
|
86
86
|
"jest-environment-jsdom": "^29.7.0",
|
|
87
87
|
"jest-watch-typeahead": "^2.2.2",
|
|
88
88
|
"onchange": "^7.1.0",
|
|
89
|
-
"prettier": "^3.
|
|
89
|
+
"prettier": "^3.3.3",
|
|
90
90
|
"prop-types": "^15.8.1",
|
|
91
|
-
"react": "^18.
|
|
92
|
-
"react-dom": "^18.
|
|
93
|
-
"regenerator-runtime": "^0.14.
|
|
94
|
-
"start-server-and-test": "^2.0.
|
|
95
|
-
"typescript": "^5.
|
|
91
|
+
"react": "^18.3.1",
|
|
92
|
+
"react-dom": "^18.3.1",
|
|
93
|
+
"regenerator-runtime": "^0.14.1",
|
|
94
|
+
"start-server-and-test": "^2.0.8",
|
|
95
|
+
"typescript": "^5.6.3"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"focus-trap": "^7.
|
|
98
|
+
"focus-trap": "^7.6.1",
|
|
99
99
|
"tabbable": "^6.2.0"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|