focus-trap-react 8.4.2 → 8.5.0
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 +6 -0
- package/dist/focus-trap-react.js +1 -1
- package/package.json +22 -24
package/CHANGELOG.md
CHANGED
package/dist/focus-trap-react.js
CHANGED
|
@@ -18,7 +18,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
18
18
|
|
|
19
19
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
20
20
|
|
|
21
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
21
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
22
22
|
|
|
23
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "focus-trap-react",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"description": "A React component that traps focus.",
|
|
5
5
|
"main": "dist/focus-trap-react.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"test:types": "tsc index.d.ts",
|
|
25
25
|
"test:unit": "jest",
|
|
26
26
|
"test:coverage": "jest --coverage",
|
|
27
|
-
"test:coverage:ci": "yarn test:coverage && codecov",
|
|
28
27
|
"test:cypress": "start-server-and-test start 9966 'cypress open'",
|
|
29
28
|
"test:cypress:ci": "start-server-and-test start 9966 'cypress run --browser $CYPRESS_BROWSER --headless'",
|
|
30
29
|
"test": "yarn format:check && yarn lint && yarn test:unit && yarn test:types && CYPRESS_BROWSER=chrome yarn test:cypress:ci",
|
|
@@ -56,44 +55,43 @@
|
|
|
56
55
|
},
|
|
57
56
|
"homepage": "https://github.com/focus-trap/focus-trap-react#readme",
|
|
58
57
|
"devDependencies": {
|
|
59
|
-
"@babel/cli": "^7.
|
|
60
|
-
"@babel/core": "^7.
|
|
58
|
+
"@babel/cli": "^7.13.16",
|
|
59
|
+
"@babel/core": "^7.13.16",
|
|
61
60
|
"@babel/plugin-proposal-class-properties": "^7.12.13",
|
|
62
|
-
"@babel/preset-env": "^7.
|
|
63
|
-
"@babel/preset-react": "^7.
|
|
64
|
-
"@changesets/cli": "^2.
|
|
65
|
-
"@testing-library/cypress": "^7.0.
|
|
66
|
-
"@testing-library/dom": "^7.
|
|
67
|
-
"@testing-library/jest-dom": "^5.11.
|
|
68
|
-
"@testing-library/react": "^11.2.
|
|
69
|
-
"@testing-library/user-event": "^
|
|
61
|
+
"@babel/preset-env": "^7.13.15",
|
|
62
|
+
"@babel/preset-react": "^7.13.13",
|
|
63
|
+
"@changesets/cli": "^2.16.0",
|
|
64
|
+
"@testing-library/cypress": "^7.0.6",
|
|
65
|
+
"@testing-library/dom": "^7.30.3",
|
|
66
|
+
"@testing-library/jest-dom": "^5.11.10",
|
|
67
|
+
"@testing-library/react": "^11.2.6",
|
|
68
|
+
"@testing-library/user-event": "^13.1.5",
|
|
70
69
|
"@types/jquery": "^3.5.5",
|
|
71
|
-
"all-contributors-cli": "^6.
|
|
70
|
+
"all-contributors-cli": "^6.20.0",
|
|
72
71
|
"babel-eslint": "^10.1.0",
|
|
73
72
|
"babel-jest": "^26.6.3",
|
|
74
73
|
"babelify": "^10.0.0",
|
|
75
74
|
"browserify": "^17.0.0",
|
|
76
75
|
"budo": "^11.6.4",
|
|
77
|
-
"
|
|
78
|
-
"cypress": "^6.4.0",
|
|
76
|
+
"cypress": "^7.1.0",
|
|
79
77
|
"cypress-plugin-tab": "^1.0.5",
|
|
80
|
-
"eslint": "^7.
|
|
81
|
-
"eslint-config-prettier": "^
|
|
78
|
+
"eslint": "^7.24.0",
|
|
79
|
+
"eslint-config-prettier": "^8.2.0",
|
|
82
80
|
"eslint-plugin-cypress": "^2.11.2",
|
|
83
|
-
"eslint-plugin-react": "^7.
|
|
81
|
+
"eslint-plugin-react": "^7.23.2",
|
|
84
82
|
"jest": "^26.6.3",
|
|
85
|
-
"jest-watch-typeahead": "^0.6.
|
|
83
|
+
"jest-watch-typeahead": "^0.6.2",
|
|
86
84
|
"onchange": "^7.1.0",
|
|
87
85
|
"prettier": "^2.2.1",
|
|
88
86
|
"prop-types": "^15.7.2",
|
|
89
|
-
"react": "^17.0.
|
|
90
|
-
"react-dom": "^17.0.
|
|
87
|
+
"react": "^17.0.2",
|
|
88
|
+
"react-dom": "^17.0.2",
|
|
91
89
|
"regenerator-runtime": "^0.13.7",
|
|
92
|
-
"start-server-and-test": "^1.12.
|
|
93
|
-
"typescript": "^4.
|
|
90
|
+
"start-server-and-test": "^1.12.1",
|
|
91
|
+
"typescript": "^4.2.4"
|
|
94
92
|
},
|
|
95
93
|
"dependencies": {
|
|
96
|
-
"focus-trap": "^6.
|
|
94
|
+
"focus-trap": "^6.4.0"
|
|
97
95
|
},
|
|
98
96
|
"peerDependencies": {
|
|
99
97
|
"prop-types": "^15.7.2",
|