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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6ee37fb: Bump focus-trap from 6.3.0 to 6.4.0. There should be no changes in behavior as a result of this upgrade.
8
+
3
9
  ## 8.4.2
4
10
 
5
11
  ### Patch Changes
@@ -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 { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
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.4.2",
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.12.13",
60
- "@babel/core": "^7.12.13",
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.12.13",
63
- "@babel/preset-react": "^7.12.13",
64
- "@changesets/cli": "^2.14.0",
65
- "@testing-library/cypress": "^7.0.3",
66
- "@testing-library/dom": "^7.29.4",
67
- "@testing-library/jest-dom": "^5.11.9",
68
- "@testing-library/react": "^11.2.5",
69
- "@testing-library/user-event": "^12.6.3",
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.19.0",
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
- "codecov": "^3.8.1",
78
- "cypress": "^6.4.0",
76
+ "cypress": "^7.1.0",
79
77
  "cypress-plugin-tab": "^1.0.5",
80
- "eslint": "^7.19.0",
81
- "eslint-config-prettier": "^7.2.0",
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.22.0",
81
+ "eslint-plugin-react": "^7.23.2",
84
82
  "jest": "^26.6.3",
85
- "jest-watch-typeahead": "^0.6.1",
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.1",
90
- "react-dom": "^17.0.1",
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.0",
93
- "typescript": "^4.1.3"
90
+ "start-server-and-test": "^1.12.1",
91
+ "typescript": "^4.2.4"
94
92
  },
95
93
  "dependencies": {
96
- "focus-trap": "^6.3.0"
94
+ "focus-trap": "^6.4.0"
97
95
  },
98
96
  "peerDependencies": {
99
97
  "prop-types": "^15.7.2",