Skip to content

Commit 1fba911

Browse files
committed
Added support for React 18
1 parent 2025ee2 commit 1fba911

File tree

2 files changed

+48
-52
lines changed

2 files changed

+48
-52
lines changed

package-lock.json

Lines changed: 43 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@rollup/plugin-typescript": "^8.3.1",
3636
"@shlinkio/eslint-config-js-coding-standard": "~2.0.1",
3737
"@testing-library/jest-dom": "^5.16.3",
38-
"@testing-library/react": "^12.1.4",
38+
"@testing-library/react": "^13.0.0",
3939
"@types/jest": "^27.4.1",
4040
"@types/react": "^17.0.43",
4141
"@types/react-dom": "^17.0.14",
@@ -44,16 +44,16 @@
4444
"eslint-loader": "^4.0.2",
4545
"jest": "^27.5.1",
4646
"prepend-file": "^2.0.1",
47-
"react": "^17.0.2",
48-
"react-dom": "^17.0.2",
47+
"react": "^18.0.0",
48+
"react-dom": "^18.0.0",
4949
"rollup": "^2.70.1",
5050
"ts-jest": "^27.1.4",
5151
"tslib": "^2.3.1",
5252
"typescript": "^4.6.3"
5353
},
5454
"peerDependencies": {
55-
"react": "^17.0",
56-
"react-dom": "^17.0"
55+
"react": "^17.0 || ^18.0",
56+
"react-dom": "^17.0 || ^18.0"
5757
},
5858
"files": [
5959
"dist"

0 commit comments

Comments
 (0)